Bug #1133
Updated by Knödlseder Jürgen almost 11 years ago
It turned out that in the Npred computation for radial, elliptical and diffuse models, the deadtime correction was applied twice for the CTA response. First it Everything is applied in GCTAResponse::npred, which computes Npred for a point source. The Npred computation for the non-point sources all call GCTAResponse::npred, hence by calling this method the deadtime correction is applied.
However, GCTAResponse::npred_radial, GCTAResponse::npred_elliptical and GCTAResponse::npred_diffuse all applied the deadtime correction on their own, leading to a double application of the deadtime correction. This reduces Npred by the deadtime correction (typically 5%), resulting in a too large flux.
It is not clear whether there is any link to issue #1131 (as this concerns the binned response computation for which Npred is not used). title.
However, GCTAResponse::npred_radial, GCTAResponse::npred_elliptical and GCTAResponse::npred_diffuse all applied the deadtime correction on their own, leading to a double application of the deadtime correction. This reduces Npred by the deadtime correction (typically 5%), resulting in a too large flux.
It is not clear whether there is any link to issue #1131 (as this concerns the binned response computation for which Npred is not used). title.