Read this if you want to apply barycentrisation to an extracted lightcurve.
The tool making such a correction is called barycent. Note that it re-writes the input file, so it may be worth to copy the original file first. Below we show an example for 4U 1700-377, Science Window number 011800900010 and observation group identification ("ogid" parameter of og_create) equal to "OGID":
cd $REP_BASE_PROD/obs/OGID cp scw/011800900010.001/isgri_lcr.fits isgri_lcr_011800900010_bar.fits barycent inCOL=TIME outCOL=TIME \ outDOL="isgri_lcr_011800900010_bar.fits[2]" \ inDOL='' auxDOL="../../aux/adp/0118.001/orbit_historic.fits" \ raOBJ=255.9865 decOBJ=-37.84414In the example we have applied barycentrisation to the first energy range of 4U 1700-377 that happens to be in the extension number 2 (``[2]''). Thus the extension you give as ``outDOL'' depends on the source and energy range you need to correct. The overview of the content of each extension is in the input file isgri_lcr.fits, i.e. the first extension (GROUPING).
Note that barycent tool does not use group concept, and is used directly with the lightcurve. But for it successful work the REF_BASE_PROD variable should be set and point to the place in which there is an ic directory, e.g. directory_of_ic_files_installation__/ic.
See more details on barycent tool in the Data Analysis section of [1].