Bug #2268

Background cube overpredicts number of simulated events

Added by Knödlseder Jürgen about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:10/31/2017
Priority:UrgentDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.5.0
Duration:

Description

The number of predicted background events when using a background cube is too large with respect to the number of simulated events. This is illustrated by the following plots who compare the simulated events for a single 50h long observation towards the Galactic centre to the number of event predicted by ctmodel determined a background cube (top row). For comparison, the background row shows the predicted background events when using directly the IRF, i.e. without going through the stacked background cube. In that case, the predicted number of background events looks fine.

spectra.png (40 KB) Knödlseder Jürgen, 10/31/2017 10:01 PM

longitude.png (64.8 KB) Knödlseder Jürgen, 10/31/2017 10:04 PM

latitude.png (65.9 KB) Knödlseder Jürgen, 10/31/2017 10:04 PM

spectra_direct.png (37.8 KB) Knödlseder Jürgen, 10/31/2017 10:04 PM

longitude_direct.png (61.2 KB) Knödlseder Jürgen, 10/31/2017 10:04 PM

latitude_direct.png (62.7 KB) Knödlseder Jürgen, 10/31/2017 10:05 PM

spectra_corrected.png (37.8 KB) Knödlseder Jürgen, 10/31/2017 10:28 PM

longitude_corrected.png (61.2 KB) Knödlseder Jürgen, 10/31/2017 10:28 PM

latitude_corrected.png (62.7 KB) Knödlseder Jürgen, 10/31/2017 10:29 PM

spectra_iem.png (38.6 KB) Knödlseder Jürgen, 10/31/2017 11:42 PM

longitude_iem.png (62.3 KB) Knödlseder Jürgen, 10/31/2017 11:42 PM

latitude_iem.png (55.5 KB) Knödlseder Jürgen, 10/31/2017 11:42 PM

Spectra Longitude Latitude Spectra_direct Longitude_direct Latitude_direct Spectra_corrected Longitude_corrected Latitude_corrected Spectra_iem Longitude_iem Latitude_iem

Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen about 7 years ago

The origin of the problem was quickly found. In GCTACubeBackground::operator() the background rate was determine using a lin-log interpolation which in GCTABackground3D::operator() a log-log interpolation is used. Since the latter is also used for the event simulation it was required to switch also the GCTACubeBackground::operator() to a log-log interpolation.

After doing this the results are consistent with those obtained using directly the IRFs. The corresponding plots are shown below.

#2 Updated by Knödlseder Jürgen about 7 years ago

I cross-checked that the computation of a diffuse emission component is okay. The model used here is the 1DC galactic diffuse emission model.

#3 Updated by Knödlseder Jürgen about 7 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

Merged code into devel.

Also available in: Atom PDF