Fermi Gamma-ray Space Telescope

Sources Available to gtobssim

This page describes the type of sources that are possible to simulate using gtobssim.

In the examples below, the parameter escale specifies the units of energy used elsewhere in the source specification. It can have values MeV or GeV, and defaults to GeV.

Notice that coordinates can be specified either as celestial (J2000) or Galactic. For example:

<celestial_dir ra="123.45" dec="67.8"/> or <galactic_dir l="23.45" b="-67.8"/>

For each source, the entries in the param string are described.

Notes:

  1. The XML tag <use_spectrum frame="galaxy"/> indicates that the photons are to be generated in Celestial coordinates as opposed to instrument coordinates.  Its use in these XML definitions is idiomatic and specific to particular source implementations and generally applies to diffuse sources only. Ppint sources should not use this tag; use celestial_dir or galactic_dir instead.
  2. Optional parameter default values are given in parentheses.

Gamma-ray point source

A point source with a steady light curve.

In this example, a monochromatic (110 GeV) point source with flux 5e-4 m^(-2) s^(-1) is placed in the direction of the Galactic center:

<source name="galcenter" flux="5e-4">
   <spectrum escale="GeV">
      <particle name="gamma">
         <energy e="110."/>
      </particle>
      <galactic_dir l="0" b="0"/>
   </spectrum>
</source>
  • You may download the xml file from here.

In this example, a source with a power-law spectrum with photon spectral index 1.62 and flux 0.00928 m-2 s-1 between 30 MeV and 100 GeV is placed at RA 128.73, Dec -45.2.  Note that "gamma" is used both to indicate the particle type and to denote the spectral index.

<source name="vela" flux="0.00928">
   <spectrum escale="MeV">
      <particle name="gamma">
         <power_law emin="30.0" emax="100000." gamma="1.62"/>
      </particle>
      <celestial_dir ra="128.73" dec="-45.2"/>
   </spectrum>
</source>
  • You may download the xml file from here.

In this example, the source above is modified to have a broken power-law spectrum, with break energy ebreak and spectral index gamma2 above the break:

<source name="vela" flux="0.00928">
   <spectrum escale="MeV">
      <particle name="gamma">
         <power_law emin="30.0" emax="100000. "gamma="1.62" ebreak="3000" gamma2="2.5"/>
         </particle>
      <celestial_dir ra="128.73" dec="-45.2"/>
   </spectrum>
</source>
  • You may download the xml file from here.

GaussianSource:

Incident photons are distributed as a 2D Gaussian projected on the sky.

  • flux - Total flux in units of m-2 s-1.
  • gamma - Photon spectral index such that dN/dE ∝ E.
  • RA - Source centroid J2000 right ascension in degrees.
  • Dec - Source centroid J2000 declination in degrees.
  • major axis (default: 1) - Semi-major axis of the 68% CL contour in degrees.
  • minor axis (default: 1) - Semi-minor axis of the 68% CL contour in degrees.
  • position angle (default: 0) - Position angle of the major axis measured wrt North in degrees.
  • Emin (default: 30) - Minimum photon energy in MeV.
  • Emax (default: 1e5) - Maximum photon energy in MeV.
<source name="gaussian_source">
   <spectrum escale="MeV">
      <SpectrumClass name="GaussianSource" params="0.1, 2.1, 45., 30., 3., 0.5, 45, 30., 2e5"/>
      <use_spectrum frame="galaxy"/>
   </spectrum>
</source>
  • You may download the xml file from here.

FileSpectrum:

Spectrum defining a source for which the energy distribution is determined by a 2 column ascii file. The first column contains the energies, and second column contains the differential flux at those energies. The units of energy in the first column should match the escale attribute that is set in the spectrum tag. Do not set the flux attribute in the spectrum tag, otherwise the fluxes for this source will not be correct. To be explicit, a spectrum tag that looks like this:

<spectrum escale="MeV" flux="1">

is not correct, whereas

<spectrum escale="MeV">

is ok.

  • flux - Total flux of the source. This acts as a normalization of the spectrum. If this attribute is set to zero, i.e., flux="0", then the spectrum data in the file will be integrated and that integral will be used as the source flux. The units are assumed to be m-2 s-1.
  • specFile - Name (and path) to the ascii file The position of the source is determined in the usual way, in the XML definition.
<source name="FileSpectrum">
   <spectrum escale="MeV" >
      <SpectrumClass name="FileSpectrum "params="flux=0.,specFile=$(FERMI_DIR)/refdata/fermi/genericSources/dm120gev.dat"/>
      <celestial_dir ra="194.04" dec="-5.789"/>
   </spectrum>
</source>
  • You may download the xml file from here.

Isotropic:

Photons are generated uniformly on the sky following a power-law spectrum.

  • flux - in units of m-2 s-1.
  • gamma - Photon spectral index such that dN/dE ∝ E.
  • Emin (default: 30) - Minimum photon energy in MeV.
  • Emax (default: 1e5) - Maximum photon energy in MeV.
<source name="Extragalactic_diffuse">
   <spectrum escale="MeV">
      <SpectrumClass name="Isotropic" params="10.7, 2.1, 20., 2e5"/>
      <use_spectrum frame="galaxy"/>
   </spectrum>
</source>
  • You may download the xml file from here.

MapCube:

Incident photons are generated from a 3D FITS image comprising an energy axis for the 3rd dimension and, e.g., RA and Dec as the sky coordinates. The pixel values in each image should have dimensions of dN/dE dt dA dΩ. The absolute normalization is not important as the image will be rescaled by the flux parameter. The energies corresponding to each image frame must be given in binary table extension. Here is an example FITS file, and here is a thorough treatment of Celestial coordinate projections for FITS images.

  • flux - Total flux from the map, integrated over solid angle, in units of m-2 s-1.
  • FITS file - A plate-carree FITS image in Galactic '(CTYPE1 = GLON-CAR, CTYPE2 = GLAT-CAR)' or J2000 '(CTYPE1 = RA---CAR, CTYPE2 = DEC--CAR)' coordinates.
<source name="map_cube_source">
   <spectrum escale="MeV">
      <SpectrumClass name="MapCube" params="1., $(FERMI_DIR)/refdata/fermi/genericSources/test_image.fits "/>
      <use_spectrum frame="galaxy"/>
   </spectrum>
</source>
  • You may download the xml file from here.

MapSource:

Photons are generated using a 2D FITS image as a template. A single power-law spectrum is used for the entire map.

  • flux - Total flux from the map, integrated over solid angle, in units of m-2 s-1.
  • gamma - Photon spectral index such that dN/dE ∝ E.
  • FITS file -- A plate-carree FITS image in Galactic '(CTYPE1 = GLON-CAR, CTYPE2 = GLAT-CAR)' or J2000 '(CTYPE1 = RA---CAR, CTYPE2 = DEC--CAR)' coordinates.
  • Emin (default: 30) - Minimum photon energy in MeV.
  • Emax (default: 1e5) - Maximum photon energy in MeV.
<!-- MapSource version of the Galactic Diffuse model -->
   <source name="Galactic_diffuse">
      <spectrum escale="MeV">
         <SpectrumClass name="MapSource" params="17.,2.1,$(FERMI_DIR)/refdata/fermi/galdiffuse/EGRET_diffuse_gal.fits,30.,2e5"/>
         <use_spectrum frame="galaxy"/>
   </spectrum>
</source>
  • You may download the xml file from here.

FileSpectrumMap:

Same as File Spectrum, but now the source can be extended in space.

  • All the parameters of FileSpectrum.
  • All the parameters of MapSource.
<source name="filespectrummap_test">
   <spectrum escale="GeV" flux="1.">
      <SpectrumClass name="FileSpectrumMap" params="flux=17.,fitsFile=$(FERMI_DIR)/refdata/fermi/galdiffuse/EGRET_diffuse_gal.fits,
specFile=$(FERMI_DIR)/refdata/fermi/genericSources/dm120gev.dat,emin=100.,emax=1100, tf1precision=100,gamma=2,lonMin=-180,lonMax=180,latMin=-90,latMax=90"/>
      <use_spectrum frame="galaxy"/>
   </spectrum>
</source>
  • You may download the xml file from here.

TF1Map:

Same as 3) but now the source can be extended in space.

  • All the parameters of TF1Spectrum.
  • All the parameters of MapSource.
<source name="tf1map_test">
   <spectrum escale="MeV">
      <SpectrumClass name="TF1Map" params="flux=17.,tf1name=FT1Map_TEST formula=-0.0001*(100.-x)*(1100.-x), fitsFile=$(FERMI_DIR)/refdata/fermi/galdiffuse/EGRET_diffuse_gal.fits,emin=100.,emax=1100,tf1precision=100,gamma=2,lonMin=-180,lonMax=180,latMin=-90,latMax=90"/>
      <use_spectrum frame="galaxy"/>
   </spectrum>
</source>
  • You may download the xml file from here.

PeriodicSource:

A point source with sinusoidal light curve.

  • flux - Average flux in units of m-2 s-1.
  • gamma - Photon spectral index such that dN/dE ∝ E.
  • period - Source period in seconds.
  • amplitude (default: 0.5) - Amplitude of the sinusoidal modulation.
  • phi0 (default: 0) - Phase offset specified on the unit interval.
  • Emin (default: 30) - Minimum photon energy in MeV.
  • Emax (default: 1e5) - Maximum photon energy in MeV.
<source name="periodic_source">
   <spectrum escale="MeV">
      <SpectrumClass name="PeriodicSource "params="0.1, 2.1, 1e3, 1, 0.75, 30., 2e5"/>
      <galactic_dir l="0" b="0"/>
   </spectrum>
</source>
  • You may download the xml file from here.

GRBobs:

Note: The GRBobs package is a redefinition of the GRB phenomenological model for Gamma-Ray Bursts, using the same schema as the GRB physical model (GRB package) but, instead of exploring the physics for deriving light curves and the spectra, it uses phenomenological prescriptions.

The xml spectrum object has to be defined as follows:

<source name=" GRB1 ">
   <spectrum escale="MeV">
      <SpectrumClass name="GRBobsmanager" params="100,0.0e-5,20,-1.0,-2.25,100, 1"/>
      <celestial_dir ra="10." dec="22."/>
   </spectrum>
</source>
  • You may download the xml file from here.

where the params are:

  • Starting time of the burst (s)
  • Fluence in ergs/cm2. If it is 0 then it has sampled from the BATSE fluence distribution.
  • The number of pulses of the bursts.
  • The low energy spectral index (α)
  • The high energy spectral index (β)
  • The minimim energy for extracting photons (in MeV).
  • The flag for the GBM output. (1==YES and 0=NO). If GBM output is generated, the sumulator is slower and an additional text file will be created (see, GRBobsSim::SaveGBMDefinition and GRBobsSim::GetGBMFlux)

Also see:

Pulsar:

A pulsar source whose light curve is given by an ascii template file.

  • flux - Average flux in units of m-2 s-1.
  • gamma - Photon spectral index such that dN/dE ∝ E.
  • period - Pulsar period in seconds.
  • pdot - Time derivative of the pulsar period in s s-1.
  • t0 - Reference epoch in MET seconds.
  • template file - Filename of the ascii light curve template. The file should consist of two columns, phase and intensity. The phase intervals must be uniformly spaced. The phase scale and absolute intensities are arbitrary and rescaled using the period and flux parameter values.
  • phi0 (default: 0) - Phase offset in the unit interval.
  • Emin (default: 30) - Minimum photon energy in MeV.
  • Emax (default: 1e5) - Maximum photon energy in MeV.
<source name="Crab_Pulsar">
   <spectrum escale="MeV">
      <SpectrumClass name="Pulsar" params="1e-3,2.,0.033,0,0,$(FERMI_DIR)/refdata/fermi/observationSim/CrabTemplate.dat"/>       <celestial_dir ra="83.57" dec="22.01"/>
   </spectrum>
</source>
  • You may download the xml file from here.

SimpleTransient:

A point source with a single active interval during which it has a constant flux and power-law spectrum.

  • flux - Flux while in the active state in units of m-2 s-1.
  • gamma - Photon spectral index such that dN/dE ∝ E.
  • tstart - Start time of the active state in MET seconds.
  • tstop - Stop time of the active state in MET seconds.
  • Emin (default = 30) - Minimum photon energy in MeV.
  • Emax (default = 1e5) - Maximum photon energy in MeV.
<source name="simple_transient">
   <spectrum escale="MeV">
      <SpectrumClass name="SimpleTransient" params="10., 2., 1e3, 1.1e3, 30., 2e5"/>
      <celestial_dir ra="83." dec="22."/>
   </spectrum>
</source>
  • You may download the xml file from here.

SpectralTransient:

An ascii or FITS file containing the light curve data is used as a template. Here are example ascii and FITS files.

  • flux - Mean flux during the active state in units of m-2 s-1.
  • tstart - Start time of the active state in MET seconds.
  • tstop - Stop time of the active state in MET seconds.
  • template file - Filename of the light curve template. May be ascii or FITS.
  • Emin (default: 20) - Minimum photon energy in MeV.
  • Emax (default: 2e5) - Maximum photon energy in MeV.
  • lc (default: 0) - light curve number, if FITS file.
  • z (default: 0) - Redshift used for EBL attenuation calculation.
  • useLogParabola (default = 0)
<source name="spectral_transient">
   <spectrum escale="MeV">
      <SpectrumClass name="SpectralTransient" params="flux=1e-1, tstart=0.,tstop=1e4,templateFile=$(FERMI_DIR)/refdata/fermi/genericSources/testTemplate.dat,emin=20, emax=2e5, lc=0, z=0, useLogParabola=0"/>
      <celestial_dir ra="193.4" dec="-5.82"/>
   </spectrum>
</source>
  • You may download the xml file from here.

TransientTemplate:

A point source transient whose active state light curve shape is given by an ascii template file.

  • flux - Mean flux during the active state in units of m-2 s-1.
  • gamma - Photon spectral index such that dN/dE ∝ E.
  • tstart - Start time of the active state in MET seconds.
  • tstop - Stop time of the active state in MET seconds.
  • template file - Filename of the ascii light curve template. The file should consist of two columns, time and intensity. The time intervals must be uniformly spaced. The time scale and absolute intensities are arbitrary and rescaled using the flux, tstop, and tstep parameter values.
  • Emin (default: 30) - Minimum photon energy in MeV.
  • Emax (default: 1e5) - Maximum photon energy in MeV.
<source name="transient_template">
   <spectrum escale="MeV">
      <SpectrumClass name="TransientTemplate" params="100.,2,1e3,1.1e3,$(FERMI_DIR)/refdata/fermi/observationSim/CrabTemplate.dat"/>
      <celestial_dir ra="80" dec="20"/>
   </spectrum>
</source>
  • You may download the xml file from here.

Related FTOOLS


Last updated by: Analia Cillis 08/04/2009