Generates residual map.
This scripts generates a residual map for a given model. It works for event lists, counts cubes or observation definition files. For event lists, parameters that define the spatial and spectral binning need to be provided so that the script can bin the data internally. The model is then convolved with the instrumental response function for that binning and used for residual computation. Before residual computation, the counts and model cubes are collapsed into maps by summing over all energies. Three options exist then for residual computation:
The residual map is written into a FITS file.
chatter = 0: no information will be logged
chatter = 1: only errors will be logged
chatter = 2: errors and actions will be logged
chatter = 3: report about the task execution
chatter = 4: detailed report about the task execution