Bug #1918

Simulation gets stuck with Prod3b IRFs

Added by Knödlseder Jürgen almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:02/01/2017
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.2.0
Duration:

Description

Lili Yang reported the following problem:

I am not sure if this is a bug for ctools with new prod3b irfs. But I think it might be good to report this to you. For simulation with mapcube files or other point sources, ctools are working well. However, when I simulate only background events as attached, the simulation stuck at some point.

$ ctobssim 
RA of pointing (degrees) (0-360) [266.364] 
Dec of pointing (degrees) (-90-90) [-28.9938] 
Radius of FOV (degrees) (0-180) [5.0] 
Start time (MET in s) [0.0] 
End time (MET in s) [180000] 
Lower energy limit (TeV) [0.03] 
Upper energy limit (TeV) [100.0] 
Calibration database [prod3b] 
Instrument response function [South_TS_z20_50h] 
Input model XML file [crab.xml] cr.xml 
Output event data file or observation definition XML file [crab_500h.fits] cr_500h.fits

cr.xml Magnifier (580 Bytes) Knödlseder Jürgen, 02/01/2017 04:17 PM


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen almost 8 years ago

  • Status changed from New to Closed
  • Assigned To set to Knödlseder Jürgen
  • Target version set to 1.2.0
  • % Done changed from 0 to 100

The GCTABackground3D::mc() method now verifies that the specified energy is within the validity range of the background template. Otherwise an exception is thrown. The code has been merged into devel.

#2 Updated by Knödlseder Jürgen almost 8 years ago

  • Project changed from ctools to GammaLib
  • Target version deleted (1.2.0)

#3 Updated by Knödlseder Jürgen almost 8 years ago

  • Target version set to 1.2.0

Also available in: Atom PDF