gttsmap Help FileCalculates test-statistic map for source localization and detection.
gttsmap computes a significance map based on the maximum likelihood test statistic (TS). (See gtlike help.) The resulting map can be used to localize sources within the analysis region. It can also serve as input to follow up unbinned likelihood analysis. The TS maps are created by moving a putative point source through a grid of locations on the sky and maximizing -log(likelihood) at each grid point with the other, stronger – and presumably well-identified sources – included in each fit. New, fainter sources are then identified at local maxima of the TS map. In each point of the map, the TS is obtained using the same procedure as in the unbinned likelihood analysis, so many of the gttsmap parameters are the same as the ones used in gtlike. (See gtlike help.) Note: Run gtdiffrsp before running gttsmap. (See gtdiffrsp help.) Keep in mind that this tool takes a lot of time to run because a CPU-intensive likelihood analysis is performed at a grid of different positions. Parameters are passed following the FTOOLs model (i.e., they can be passed interactively by answering a prompt; as a list in a command line; or by editing the parameter file). To be prompted for gttsmap parameter values, enter (at the command line): gttsmap Note: Not all parameters are prompted; some are "hidden". In order to change one of the "hidden" parameters, specify its value in the command line. For example, to prevent overwriting an existing output file, type (at the command line): > gttsmap clobber=no An example of how to run the tool is given below:
This example is performed in the region around (193.98,-5.82). 3C279, 3C273 and the Galactic and Extragalactic background were included in the source model. The expMap.fits file was produced using gtexpmap (see the gtexpmap help), while the expCube.fits file was produced using gtltcube (see the gtltcube help). spacecraft_data_file.fits is the spacecraft file. 20 points were selected for the x- and y-axis respectively. In those points, the likelihood analysis is performed. The example above could also be run from the command line as follows:
|