See gtsrcmaps:

Help | Examples

Also see:


Convolves source model components with instrument response.

This tool convolves the components of the specified source model with the instrument response for a given observation. The geometry in sky and energy coordinates of the output maps match that of the input counts map.

Usage: gtsrcmaps scfile expcube cmap srcmdl bexpmap outfile irfs


General Parameters

  scfile [file]

Spacecraft data file.

Contains information such as the spacecraft pointing as a function of time. Can be generated by gtorbsim for simulated observations, or it can be obtained from SLAC's Data Portal.

  (sctable = SC_DATA) [string]
    Spacecraft data extension. This is a hidden parameter. (default: SC_DATA)
  expcube [file]

Exposure hypercube file.

FITS file containing livetime as a function of sky position and off-axis angle. This file should be generated by gtltcube, or it can be obtained from SLAC's Data Portal.

  cmap [file]
    Counts map file created by gtbin.
  srcmdl [file]

XML file containing the source model definitions.

Same source model file used by gtlike. Can be generated by the ModelEditor
utility (recommended), or manually edited following source model templates.

  bexpmap [file]
    Exposure map for binned analysis. If this file does not exist, an exposure map with the specified name will be computed.
  outfile [file]
    Source maps output FITS file name.
  irfs = P6_V3_DIFFUSE[string]

Instrument response functions.

The instrument response (consisting of the PSF, effective area, and energy dispersion) is a function of energy, inclination angle (the angle between the source and the LAT normal), and event category. Since the LAT usually surveys the sky, a source is observed at various inclination angles. Each count is therefore characterized by a different instrument response function (IRF).

Hidden Parameters

  (convol = yes) [bool]
    Allows the user to select whether or not to perform a convolution of the model with the PSF. (default: yes)
  (resample = yes) [bool]
    Resample input counts map for convolution.
  (rfactor = 2) [integer]
    Resampling factor.
  (minbinsz = 0.1) [bool]
    Minimum pixel size for rebinning fine maps.
  (ptsrc = yes) [bool]
    Allows the user to select whether or not to compute source maps for point sources. (default: yes)
  (psfcorr = yes) [bool]
    Apply psf integral corrections for point source maps. (default: yes)
  (chatter = 2)
    This parameter fixes the output verbosity: no screen output (0), nominal screen output (2), maximum verbosity (4). (default: 2)
  (clobber = yes)
    Overwrite or do not overwrite existing output files. This is a hidden parameter. (default: yes)
  (debug = no)

Activate debugging mode. This is a hidden parameter. (default: no)

When debug is "no", all exceptions that are not caught and handled by individual tool-specific code are caught by a top-level exception handler that displays information about the exception and then exits.

When debug is "yes", such exceptions are not caught by the top level code. Instead, the tool produces a segmentation violation, which is more useful for debugging. When debugging mode is enabled, the tool produces more verbose output describing any errors or exceptions that are encountered.

  (gui = no)
    Graphical user Interface (GUI) mode activated if "yes" is specified. This is a hidden parameter. (default: no)
  (mode = ql)
    Mode of automatic parameters. This is a hidden parameter. (default: ql)

Owned by: J. Chiang

Last updated by: Chuck Patterson 04/05/2011