https://cta-redmine.irap.omp.eu/https://cta-redmine.irap.omp.eu/favicon.ico?14312453732015-07-03T23:59:48ZCTA IRAP Project Gatewayctools - Bug #1488: ExpCutoff model produces a photon rate exceeded a maximum allowed valuehttps://cta-redmine.irap.omp.eu/issues/1488?journal_id=62102015-07-03T23:59:48ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<ul><li><strong>Assigned To</strong> set to <i>Knödlseder Jürgen</i></li></ul><p>Can you post the full XML model and also the ctobssim parameters so that I can reproduce the problem?</p> ctools - Bug #1488: ExpCutoff model produces a photon rate exceeded a maximum allowed valuehttps://cta-redmine.irap.omp.eu/issues/1488?journal_id=62112015-07-06T12:58:32ZBurtovoi Aleksandraleksandr.burtovoi90@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/1504/test.xml">test.xml</a><a href="/attachments/1504/test.xml"><img alt="Magnifier" src="/images/magnifier.png?1431245373" /></a> added</li><li><strong>File</strong> <a href="/attachments/download/1505/VelaX.fits">VelaX.fits</a> added</li></ul><p>The spectral model is attached in test.xml.<br />I performed simulations for both point source and diffuse source (VelaX.fits spatial map is attached).<br />I used standard prod2-South_50h IRF.<br />Other ctobssim parameters are the following:</p>
<pre>
$ ctobssim
RA of pointing (degrees) (0-360) [128.75]
Dec of pointing (degrees) (-90-90) [-45.6]
Radius of FOV (degrees) (0-180) [3.5]
Start time (MET in s) [0.0]
End time (MET in s) [191160]
Lower energy limit (TeV) [0.1]
Upper energy limit (TeV) [100.0]
Calibration database [prod2]
Instrument response function [South_50h]
Model [test.xml]
</pre> ctools - Bug #1488: ExpCutoff model produces a photon rate exceeded a maximum allowed valuehttps://cta-redmine.irap.omp.eu/issues/1488?journal_id=78032016-10-06T14:41:40ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<ul><li><strong>Target version</strong> set to <i>1.2.0</i></li></ul> ctools - Bug #1488: ExpCutoff model produces a photon rate exceeded a maximum allowed valuehttps://cta-redmine.irap.omp.eu/issues/1488?journal_id=80582017-02-26T19:42:38ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>I run <code>ctobssim</code> on the test data and with the current code in <code>devel</code> there seems to be no problem. For the record, here the output in the log file:<br /><pre>
2017-02-26T19:40:39: +======================+
2017-02-26T19:40:39: | Simulate observation |
2017-02-26T19:40:39: +======================+
2017-02-26T19:40:39: === CTA observation ===
2017-02-26T19:40:39: Simulation cone ...........: RA=128.75 deg, Dec=-45.6 deg, radius=4 deg
2017-02-26T19:40:39: Time interval .............: 0 - 191160 s
2017-02-26T19:40:39: Photon energy range .......: 100 GeV - 199.526231496888 GeV
2017-02-26T19:40:39: Event energy range ........: 100 GeV - 199.526231496888 GeV
2017-02-26T19:40:39: Simulation area ..........: 5.07673e+09 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 1.50079e-11 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 1.50079e-11 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.076191 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 14566 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 5019 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 5019 (all source models)
2017-02-26T19:40:39: Photon energy range .......: 199.526231496888 GeV - 398.107170553497 GeV
2017-02-26T19:40:39: Event energy range ........: 199.526231496888 GeV - 398.107170553497 GeV
2017-02-26T19:40:39: Simulation area ..........: 7.90186e+09 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 1.12705e-11 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 1.12705e-11 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.089058 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 17198 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 6368 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 6368 (all source models)
2017-02-26T19:40:39: Photon energy range .......: 398.107170553497 GeV - 794.328234724282 GeV
2017-02-26T19:40:39: Event energy range ........: 398.107170553497 GeV - 794.328234724282 GeV
2017-02-26T19:40:39: Simulation area ..........: 1.42113e+10 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 8.3795e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 8.3795e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.119083 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 22663 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 7730 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 7730 (all source models)
2017-02-26T19:40:39: Photon energy range .......: 794.328234724282 GeV - 1.58489319246111 TeV
2017-02-26T19:40:39: Event energy range ........: 794.328234724282 GeV - 1.58489319246111 TeV
2017-02-26T19:40:39: Simulation area ..........: 2.52128e+10 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 6.10702e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 6.10702e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.153975 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 29705 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 10617 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 10617 (all source models)
2017-02-26T19:40:39: Photon energy range .......: 1.58489319246111 TeV - 3.16227766016838 TeV
2017-02-26T19:40:39: Event energy range ........: 1.58489319246111 TeV - 3.16227766016838 TeV
2017-02-26T19:40:39: Simulation area ..........: 3.90561e+10 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 4.27777e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 4.27777e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.167073 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 31963 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 12028 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 12028 (all source models)
2017-02-26T19:40:39: Photon energy range .......: 3.16227766016838 TeV - 6.30957344480193 TeV
2017-02-26T19:40:39: Event energy range ........: 3.16227766016838 TeV - 6.30957344480193 TeV
2017-02-26T19:40:39: Simulation area ..........: 5.86488e+10 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 2.77004e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 2.77004e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.16246 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 31047 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 11880 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 11880 (all source models)
2017-02-26T19:40:39: Photon energy range .......: 6.30957344480193 TeV - 12.5892541179417 TeV
2017-02-26T19:40:39: Event energy range ........: 6.30957344480193 TeV - 12.5892541179417 TeV
2017-02-26T19:40:39: Simulation area ..........: 7.79872e+10 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 1.53688e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 1.53688e-12 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.119857 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 22788 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 9471 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 9471 (all source models)
2017-02-26T19:40:39: Photon energy range .......: 12.5892541179417 TeV - 25.1188643150958 TeV
2017-02-26T19:40:39: Event energy range ........: 12.5892541179417 TeV - 25.1188643150958 TeV
2017-02-26T19:40:39: Simulation area ..........: 8.03724e+10 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 6.31757e-13 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 6.31757e-13 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.0507759 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 9701 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 4511 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 4511 (all source models)
2017-02-26T19:40:39: Photon energy range .......: 25.1188643150958 TeV - 50.1187233627271 TeV
2017-02-26T19:40:39: Event energy range ........: 25.1188643150958 TeV - 50.1187233627271 TeV
2017-02-26T19:40:39: Simulation area ..........: 8.13586e+10 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 1.47142e-13 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 1.47142e-13 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.0119713 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 2284 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 1051 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 1051 (all source models)
2017-02-26T19:40:39: Photon energy range .......: 50.1187233627271 TeV - 100 TeV
2017-02-26T19:40:39: Event energy range ........: 50.1187233627271 TeV - 100 TeV
2017-02-26T19:40:39: Simulation area ..........: 8.13586e+10 cm2
2017-02-26T19:40:39: Use model ................: _2FGLJ0835.3-4510
2017-02-26T19:40:39: Normalization ............: 1 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: Flux .....................: 1.2087e-14 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Normalized flux ..........: 1.2087e-14 [_2FGLJ0835.3-4510] photons/cm2/s
2017-02-26T19:40:39: Photon rate ..............: 0.000983383 photons/s [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source photons ........: 173 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 93 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events .........: 93 (all source models)
2017-02-26T19:40:39: MC source photons .........: 182088 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC source events ..........: 68768 [_2FGLJ0835.3-4510]
2017-02-26T19:40:39: MC events .................: 68768 (all models)
</pre></p> ctools - Bug #1488: ExpCutoff model produces a photon rate exceeded a maximum allowed valuehttps://cta-redmine.irap.omp.eu/issues/1488?journal_id=80592017-02-26T19:43:01ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>