next up previous contents
Next: Barycentrisation Up: Useful recipes for JEM-X Previous: Combining spectra and lightcurves   Contents


Create your own ``user catalog''

Read this if you are familiar with the sources in your field of view and you want to build your own catalog for the Imaging step, spectral and light curve extraction.

As already discussed in section [*], it can be very useful to use your own input catalog for the imaging, and in particular spectral and light curve extraction. The easiest way to build it is to modify the general catalog with the help of the fcopy program of FTOOLS. For example, if you want to create a catalog (usrcat.fits) with only three sources, Crab, 3C111, and XPer do the following:

cd $REP_BASE_PROD
fcopy "$ISDC_REF_CAT[NAME == 'Crab'|| NAME == '3C 111'|| NAME == 'X Per']" usrcat.fits
chmod -w  usrcat.fits

If you want to add a new source, not specified in the general reference catalog, add a line to usrcat.fits with the help of the fv tool, and fill in the Source_ID, NAME, RA_OBJ and DEC_OBJ columns. As Source_ID you can choose whatever you like provided that this identifier is unique.

This catalog can be used in JEM-X analysis, by means of the CAT_I_usrCat parameter (see an example in section [*]).

The FLAG column in usrcat.fits should be set to 1 (e.g. with the program fv) to have the catalog source position information copied, after the IMA step, into the columns RA_CAT and DEC_CAT of jmxi_srcl_res.fits, and to force the spectral extraction for this source in SCWs where it is below the detection threshold. Alternatively, the FLAG column could be set to 3 to handle differently the flux fitting procedure. j_ima_iros will accept a maximum of 75 ``FLAG=1'' and 3 ``FLAG=3'' sources in the FOV, while spectral extraction for additional flagged sources will be skipped. See a discussion on FLAG values in Sect. [*].

See the Known Issues description in Section [*], to force the usage of RA_CAT and DEC_CAT coordinates at SPE and LCR levels.


next up previous contents
Next: Barycentrisation Up: Useful recipes for JEM-X Previous: Combining spectra and lightcurves   Contents
inthelp@sciops.esa.int