In short, the binned likelihood analysis consists in the following sequence (data are assumed to be accessible, to simulate them, follow the observationSim tutorial):
- dataSubSelector (optional) : defines the region of interest (ROI), which must be the same for all data sources.
- exposureCube : this step computes the exposure in the ROI.
- srcMap : takes a source model, and maps it to the exposure and spacecraft data.
- likelihood : fits the srcMap to the data.