This page describes the Spectral and Spatial Models available for use in gtlike.
Two types of sources can be defined, PointSource and DiffuseSource. Each type of source model is comprised of a spectral and a spatial model component, where each component is made up of several parameters.
Each model parameter has a range of valid values that can be specified, and is described by a set of attributes. The actual value of a given parameter that is used in the calculation is the value attribute multiplied by the scale attribute. The value attribute is what the optimizers see. Using the scale attribute is necessary to ensure that the parameters describing the objective function, -log(likelihood) for this application, all have values lying roughly within an order-of-magnitude of each other. The free attribute determines whether the parameter will be allowed to be fixed or free in the fitting process.
NOTE: Free flag attributes are currently disabled for spatial model parameters since fitting for these parameters has not been implemented (primarily due to the enormous overhead associated with computing the energy-dependent response functions for each source component).
Several spectral functions are available for use with gtlike. For point source spectral models, the units are . For diffuse sources, the units are .
The available point source spectral models are:
Example: XML Model Definition
This function has the form:
where the parameters in the XML definition have the following mappings:
Example: XML Model Definition
This function has the form:
where
Example: XML Model Definition
This function uses the integrated flux as a free parameter rather than the Prefactor:
where
NOTE: The UpperLimit and LowerLimit parameters are always treated as fixed and, as should be apparent from this definition, the flux given by the Integral parameter is over the range (LowerLimit, UpperLimit). Use of this model allows the errors on the integrated flux to be evaluated directly by likelihood, obviating the need to propagate the errors if one is using the PowerLaw form.
Example: XML Model Definition
Similar to PowerLaw2, the integral flux is the free parameter rather than the Prefactor:
where
and
Example: XML Model Definition
where
Example: XML Model Definition
This is typically used for modeling Blazar spectra.
where
Example: XML Model Definition
An exponentially cut-off power-law used for modeling blazar spectra subject to absorption by the extragalactic background light (EBL).
where
Example: XML Model Definition
An exponentially cut-off broken power-law.
where
Example: XML Model Definition
For modeling pulsars.
where
Example: XML Model Definition
A constant-valued function, independent of energy.
where
Example: XML Model Definition
A Gaussian function that can be used to model an emission line.
where
Example: XML Model Definition
This function is used to model GRB spectra.
where
This function is used to fit for putative dark matter signals (as described in Jeltema & Profumo 2008)
Example: XML Model Definition
The functional form for the flux is:
<σv> N0 (Br F(M,C0) + (1 - Br F(M,C1)))
where the values of F(M,C) are tabulated in the file <ScienceTools>/refdata/fermi/Likelihood/gammamc_dif.dat
The XML parameters are:
The decay channels take integer codes, the map is:
Example: XML Model Definition
A function defined using an input ASCII file with columns of energy and differential flux values. The energy units are assumed to be MeV and the flux values are assumed to for a point source and for a diffuse source. The sole parameter is a multiplicative normalization.
where
NOTE: Free flag attributes are currently disabled for spatial model parameters since fitting for these parameters has not been implemented (primarily due to the enormous overhead associated with computing the energy-dependent response functions for each source component).
Four spatial models are available:
Last updated by: Elizabeth Ferrara - 02/05/2010