To produce the Crab lightcurve, we have to run the lightcurve analysis in
directory
$REP_BASE_PROD/obs/crab_usrcat.
The LCR level of the jemx_science_analysis script
produces the lightcurves of the sources from the catalog of sources
found in the imaging analysis, jmx2_srcl_res.fits. To obtain the lightcurve of the only found
source (Crab) you can give the command
jemx_science_analysis startLevel="LCR" endLevel="LCR" skipLevels=""\ nChanBins=2 chanLow="46 129" chanHigh="128 223" \ CAT_I_usrCat=user_cat.fits jemxNum=2 LCR_timeStep=100.0The parameter LCR_timeStep sets the binning time of the light curve in seconds. Selecting nChanBins=2, chanLow="46 129" chanHigh="128 223" we choose to produce the lightcurve in two energy bins: 3-10 keV and 10-35 keV.
Notice that the hidden parameter LCR_fluxScaling controls the unity in which the count rate is displayed. Until OSA9 and again with OSA10.1, the count rates are scaled per detector area (i.e., one dm ; this can be set with LCR_fluxScaling=2).
As a result for each found source a lightcurve is produced in each energy band. The results are written into the file
scw/RRRRPPPPSSSF.001/jmx2_src_lc.fits