Commit 380acc1dc0352c71786afee4973381876fc135f4

Authored by Jürgen Knödlseder
1 parent 50385052

Adapt Sphinx documentation to new sky model output format

In the new sky model output format all instrument scaling factors are shown as regular model parameters.
doc/source/users/tutorials/1dc/first_onoff.rst
... ... @@ -334,7 +334,6 @@ The fit result can be inspected by peeking the log file:
334 334 2019-04-09T13:23:01: === GModelSky ===
335 335 2019-04-09T13:23:01: Name ......................: Dummy
336 336 2019-04-09T13:23:01: Instruments ...............: all
337   - 2019-04-09T13:23:01: Instrument scale factors ..: unity
338 337 2019-04-09T13:23:01: Observation identifiers ...: all
339 338 2019-04-09T13:23:01: Model type ................: PointSource
340 339 2019-04-09T13:23:01: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -348,6 +347,7 @@ The fit result can be inspected by peeking the log file:
348 347 2019-04-09T13:23:01: PivotEnergy ..............: 1000000 MeV (fixed,scale=1000000,gradient)
349 348 2019-04-09T13:23:01: Number of temporal par's ..: 1
350 349 2019-04-09T13:23:01: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  350 + 2019-04-09T13:23:01: Number of scale par's .....: 0
351 351  
352 352 .. tip::
353 353 By default the ``WSTAT`` statistic is used which does not require a
... ... @@ -422,7 +422,6 @@ The fit result can be inspected by peeking the log file:
422 422 2019-04-09T21:27:21: === GModelSky ===
423 423 2019-04-09T21:27:21: Name ......................: Cassiopeia A
424 424 2019-04-09T21:27:21: Instruments ...............: all
425   - 2019-04-09T21:27:21: Instrument scale factors ..: unity
426 425 2019-04-09T21:27:21: Observation identifiers ...: all
427 426 2019-04-09T21:27:21: Model type ................: PointSource
428 427 2019-04-09T21:27:21: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -436,6 +435,7 @@ The fit result can be inspected by peeking the log file:
436 435 2019-04-09T21:27:21: PivotEnergy ..............: 1000000 MeV (fixed,scale=1000000,gradient)
437 436 2019-04-09T21:27:21: Number of temporal par's ..: 1
438 437 2019-04-09T21:27:21: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  438 + 2019-04-09T21:27:21: Number of scale par's .....: 0
439 439  
440 440  
441 441 Visualising the source spectrum
... ...
doc/source/users/tutorials/hess_dr1/bkgmodel.ipynb
... ... @@ -89,7 +89,6 @@
89 89 "=== GCTAModelBackground ===\n",
90 90 " Name ......................: Background_023523\n",
91 91 " Instruments ...............: HESS\n",
92   - " Instrument scale factors ..: unity\n",
93 92 " Observation identifiers ...: 023523\n",
94 93 " Model type ................: CTABackground\n",
95 94 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -120,7 +119,6 @@
120 119 "=== GCTAModelBackground ===\n",
121 120 " Name ......................: Background_023526\n",
122 121 " Instruments ...............: HESS\n",
123   - " Instrument scale factors ..: unity\n",
124 122 " Observation identifiers ...: 023526\n",
125 123 " Model type ................: CTABackground\n",
126 124 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -151,7 +149,6 @@
151 149 "=== GCTAModelBackground ===\n",
152 150 " Name ......................: Background_023559\n",
153 151 " Instruments ...............: HESS\n",
154   - " Instrument scale factors ..: unity\n",
155 152 " Observation identifiers ...: 023559\n",
156 153 " Model type ................: CTABackground\n",
157 154 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -182,7 +179,6 @@
182 179 "=== GCTAModelBackground ===\n",
183 180 " Name ......................: Background_023592\n",
184 181 " Instruments ...............: HESS\n",
185   - " Instrument scale factors ..: unity\n",
186 182 " Observation identifiers ...: 023592\n",
187 183 " Model type ................: CTABackground\n",
188 184 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ...
doc/source/users/tutorials/hess_dr1/classical.ipynb
... ... @@ -190,7 +190,6 @@
190 190 "=== GModelSky ===\n",
191 191 " Name ......................: Dummy\n",
192 192 " Instruments ...............: all\n",
193   - " Instrument scale factors ..: unity\n",
194 193 " Observation identifiers ...: all\n",
195 194 " Model type ................: PointSource\n",
196 195 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -203,7 +202,8 @@
203 202 " Index ....................: -2 +/- 0 [10,-10] (free,scale=-2,gradient)\n",
204 203 " PivotEnergy ..............: 1000000 MeV (fixed,scale=1000000,gradient)\n",
205 204 " Number of temporal par's ..: 1\n",
206   - " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n"
  205 + " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  206 + " Number of scale par's .....: 0\n"
207 207 ]
208 208 }
209 209 ],
... ... @@ -277,7 +277,6 @@
277 277 "=== GModelSky ===\n",
278 278 " Name ......................: Crab\n",
279 279 " Instruments ...............: all\n",
280   - " Instrument scale factors ..: unity\n",
281 280 " Observation identifiers ...: all\n",
282 281 " Model type ................: PointSource\n",
283 282 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -290,7 +289,8 @@
290 289 " Index ....................: -2.63298373450669 +/- 0.0795120102122515 [10,-10] (free,scale=-2,gradient)\n",
291 290 " PivotEnergy ..............: 1000000 MeV (fixed,scale=1000000,gradient)\n",
292 291 " Number of temporal par's ..: 1\n",
293   - " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n"
  292 + " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  293 + " Number of scale par's .....: 0\n"
294 294 ]
295 295 }
296 296 ],
... ... @@ -428,7 +428,6 @@
428 428 "=== GModelSky ===\n",
429 429 " Name ......................: Crab\n",
430 430 " Instruments ...............: all\n",
431   - " Instrument scale factors ..: unity\n",
432 431 " Observation identifiers ...: all\n",
433 432 " Model type ................: PointSource\n",
434 433 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -442,10 +441,10 @@
442 441 " PivotEnergy ..............: 1000000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)\n",
443 442 " Number of temporal par's ..: 1\n",
444 443 " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  444 + " Number of scale par's .....: 0\n",
445 445 "=== GCTAModelBackground ===\n",
446 446 " Name ......................: Background_023523\n",
447 447 " Instruments ...............: HESSOnOff\n",
448   - " Instrument scale factors ..: unity\n",
449 448 " Observation identifiers ...: 023523\n",
450 449 " Model type ................: CTABackground\n",
451 450 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -476,7 +475,6 @@
476 475 "=== GCTAModelBackground ===\n",
477 476 " Name ......................: Background_023526\n",
478 477 " Instruments ...............: HESSOnOff\n",
479   - " Instrument scale factors ..: unity\n",
480 478 " Observation identifiers ...: 023526\n",
481 479 " Model type ................: CTABackground\n",
482 480 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -507,7 +505,6 @@
507 505 "=== GCTAModelBackground ===\n",
508 506 " Name ......................: Background_023559\n",
509 507 " Instruments ...............: HESSOnOff\n",
510   - " Instrument scale factors ..: unity\n",
511 508 " Observation identifiers ...: 023559\n",
512 509 " Model type ................: CTABackground\n",
513 510 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -538,7 +535,6 @@
538 535 "=== GCTAModelBackground ===\n",
539 536 " Name ......................: Background_023592\n",
540 537 " Instruments ...............: HESSOnOff\n",
541   - " Instrument scale factors ..: unity\n",
542 538 " Observation identifiers ...: 023592\n",
543 539 " Model type ................: CTABackground\n",
544 540 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ...
doc/source/users/tutorials/hess_dr1/skymap.ipynb
... ... @@ -172,7 +172,6 @@
172 172 "=== GModelSky ===\n",
173 173 " Name ......................: Src001\n",
174 174 " Instruments ...............: all\n",
175   - " Instrument scale factors ..: unity\n",
176 175 " Observation identifiers ...: all\n",
177 176 " Model type ................: PointSource\n",
178 177 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -185,7 +184,8 @@
185 184 " Index ....................: -2.48 +/- 0 [10,-10] (free,scale=-2.48,gradient)\n",
186 185 " PivotEnergy ..............: 300000 MeV (fixed,scale=300000,gradient)\n",
187 186 " Number of temporal par's ..: 1\n",
188   - " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n"
  187 + " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  188 + " Number of scale par's .....: 0\n"
189 189 ]
190 190 }
191 191 ],
... ...
doc/source/users/tutorials/hess_dr1/unbinned.ipynb
... ... @@ -95,7 +95,6 @@
95 95 "=== GModelSky ===\n",
96 96 " Name ......................: Src001\n",
97 97 " Instruments ...............: all\n",
98   - " Instrument scale factors ..: unity\n",
99 98 " Observation identifiers ...: all\n",
100 99 " Model type ................: PointSource\n",
101 100 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -109,10 +108,10 @@
109 108 " PivotEnergy ..............: 300000 MeV (fixed,scale=300000,gradient)\n",
110 109 " Number of temporal par's ..: 1\n",
111 110 " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  111 + " Number of scale par's .....: 0\n",
112 112 "=== GCTAModelBackground ===\n",
113 113 " Name ......................: Background_023523\n",
114 114 " Instruments ...............: HESS\n",
115   - " Instrument scale factors ..: unity\n",
116 115 " Observation identifiers ...: 023523\n",
117 116 " Model type ................: CTABackground\n",
118 117 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -143,7 +142,6 @@
143 142 "=== GCTAModelBackground ===\n",
144 143 " Name ......................: Background_023526\n",
145 144 " Instruments ...............: HESS\n",
146   - " Instrument scale factors ..: unity\n",
147 145 " Observation identifiers ...: 023526\n",
148 146 " Model type ................: CTABackground\n",
149 147 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -174,7 +172,6 @@
174 172 "=== GCTAModelBackground ===\n",
175 173 " Name ......................: Background_023559\n",
176 174 " Instruments ...............: HESS\n",
177   - " Instrument scale factors ..: unity\n",
178 175 " Observation identifiers ...: 023559\n",
179 176 " Model type ................: CTABackground\n",
180 177 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -205,7 +202,6 @@
205 202 "=== GCTAModelBackground ===\n",
206 203 " Name ......................: Background_023592\n",
207 204 " Instruments ...............: HESS\n",
208   - " Instrument scale factors ..: unity\n",
209 205 " Observation identifiers ...: 023592\n",
210 206 " Model type ................: CTABackground\n",
211 207 " Model components ..........: \"Multiplicative\" * \"NodeFunction\" * \"Constant\"\n",
... ... @@ -330,7 +326,6 @@
330 326 "=== GModelSky ===\n",
331 327 " Name ......................: Crab\n",
332 328 " Instruments ...............: all\n",
333   - " Instrument scale factors ..: unity\n",
334 329 " Observation identifiers ...: all\n",
335 330 " Model type ................: PointSource\n",
336 331 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -343,7 +338,8 @@
343 338 " Index ....................: -2.68230589724908 +/- 0.0650730512302727 [10,-10] (free,scale=-2.48,gradient)\n",
344 339 " PivotEnergy ..............: 999999.999999999 MeV (fixed,scale=300000,gradient)\n",
345 340 " Number of temporal par's ..: 1\n",
346   - " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n"
  341 + " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  342 + " Number of scale par's .....: 0\n"
347 343 ]
348 344 }
349 345 ],
... ... @@ -396,7 +392,6 @@
396 392 "=== GModelSky ===\n",
397 393 " Name ......................: Crab\n",
398 394 " Instruments ...............: all\n",
399   - " Instrument scale factors ..: unity\n",
400 395 " Observation identifiers ...: all\n",
401 396 " Model type ................: PointSource\n",
402 397 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -409,7 +404,8 @@
409 404 " Index ....................: -2.66140151299329 +/- 0.0671763204868478 [10,-10] (free,scale=-2.48,gradient)\n",
410 405 " PivotEnergy ..............: 999999.999999999 MeV (fixed,scale=300000,gradient)\n",
411 406 " Number of temporal par's ..: 1\n",
412   - " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n"
  407 + " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  408 + " Number of scale par's .....: 0\n"
413 409 ]
414 410 }
415 411 ],
... ...
doc/source/users/tutorials/howto/comptel/howto_comptel_fitting.rst
... ... @@ -245,7 +245,6 @@ log file ``ctlike.log`` that was also created by :ref:`ctlike`:
245 245 2019-04-04T15:11:40: Name ......................: Crab
246 246 2019-04-04T15:11:40: Instruments ...............: all
247 247 2019-04-04T15:11:40: Test Statistic ............: 915.478960024426
248   - 2019-04-04T15:11:40: Instrument scale factors ..: unity
249 248 2019-04-04T15:11:40: Observation identifiers ...: all
250 249 2019-04-04T15:11:40: Model type ................: PointSource
251 250 2019-04-04T15:11:40: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -259,6 +258,7 @@ log file ``ctlike.log`` that was also created by :ref:`ctlike`:
259 258 2019-04-04T15:11:40: PivotEnergy ..............: 1 [0.01,1000] MeV (fixed,scale=1,gradient)
260 259 2019-04-04T15:11:40: Number of temporal par's ..: 1
261 260 2019-04-04T15:11:40: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  261 + 2019-04-04T15:11:40: Number of scale par's .....: 0
262 262  
263 263 The fit converged after 10 iterations and did a second fit without the
264 264 source component to determine the Test Statistic value of the Crab.
... ...
doc/source/users/tutorials/howto/fermi/howto_fermi_fitting.rst
... ... @@ -137,7 +137,6 @@ log file ``ctlike.log`` that was also created by :ref:`ctlike`:
137 137 2019-04-04T14:34:30: === GModelSky ===
138 138 2019-04-04T14:34:30: Name ......................: Vela
139 139 2019-04-04T14:34:30: Instruments ...............: all
140   - 2019-04-04T14:34:30: Instrument scale factors ..: unity
141 140 2019-04-04T14:34:30: Observation identifiers ...: all
142 141 2019-04-04T14:34:30: Model type ................: PointSource
143 142 2019-04-04T14:34:30: Model components ..........: "PointSource" * "SuperExponentialCutoffPowerLaw" * "Constant"
... ... @@ -153,10 +152,10 @@ log file ``ctlike.log`` that was also created by :ref:`ctlike`:
153 152 2019-04-04T14:34:30: Index2 ...................: 0.58755011716699 +/- 0.027919253961318 [0.1,5] (free,scale=1,gradient)
154 153 2019-04-04T14:34:30: Number of temporal par's ..: 1
155 154 2019-04-04T14:34:30: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  155 + 2019-04-04T14:34:30: Number of scale par's .....: 0
156 156 2019-04-04T14:34:30: === GModelSky ===
157 157 2019-04-04T14:34:30: Name ......................: Galactic_diffuse
158 158 2019-04-04T14:34:30: Instruments ...............: all
159   - 2019-04-04T14:34:30: Instrument scale factors ..: unity
160 159 2019-04-04T14:34:30: Observation identifiers ...: all
161 160 2019-04-04T14:34:30: Model type ................: DiffuseSource
162 161 2019-04-04T14:34:30: Model components ..........: "DiffuseMapCube" * "Constant" * "Constant"
... ... @@ -167,10 +166,10 @@ log file ``ctlike.log`` that was also created by :ref:`ctlike`:
167 166 2019-04-04T14:34:30: Normalization ............: 1.10941973066989 +/- 0.00503412002600817 [0.1,1000] (free,scale=1,gradient)
168 167 2019-04-04T14:34:30: Number of temporal par's ..: 1
169 168 2019-04-04T14:34:30: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  169 + 2019-04-04T14:34:30: Number of scale par's .....: 0
170 170 2019-04-04T14:34:30: === GModelSky ===
171 171 2019-04-04T14:34:30: Name ......................: Extragalactic_diffuse
172 172 2019-04-04T14:34:30: Instruments ...............: all
173   - 2019-04-04T14:34:30: Instrument scale factors ..: unity
174 173 2019-04-04T14:34:30: Observation identifiers ...: all
175 174 2019-04-04T14:34:30: Model type ................: DiffuseSource
176 175 2019-04-04T14:34:30: Model components ..........: "DiffuseIsotropic" * "FileFunction" * "Constant"
... ... @@ -181,6 +180,7 @@ log file ``ctlike.log`` that was also created by :ref:`ctlike`:
181 180 2019-04-04T14:34:30: Normalization ............: 1 [0,1000] (fixed,scale=1,gradient)
182 181 2019-04-04T14:34:30: Number of temporal par's ..: 1
183 182 2019-04-04T14:34:30: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  183 + 2019-04-04T14:34:30: Number of scale par's .....: 0
184 184  
185 185 The fit converged after 19 iterations with spectral parameters that are
186 186 reasonably close to those found in
... ...
doc/source/users/tutorials/howto/howto_advanced_python_fitting.ipynb
... ... @@ -246,7 +246,6 @@
246 246 "=== GModelSky ===\n",
247 247 " Name ......................: Crab\n",
248 248 " Instruments ...............: all\n",
249   - " Instrument scale factors ..: unity\n",
250 249 " Observation identifiers ...: all\n",
251 250 " Model type ................: PointSource\n",
252 251 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -260,10 +259,10 @@
260 259 " PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)\n",
261 260 " Number of temporal par's ..: 1\n",
262 261 " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  262 + " Number of scale par's .....: 0\n",
263 263 "=== GCTAModelIrfBackground ===\n",
264 264 " Name ......................: CTABackgroundModel\n",
265 265 " Instruments ...............: CTA\n",
266   - " Instrument scale factors ..: unity\n",
267 266 " Observation identifiers ...: all\n",
268 267 " Model type ................: \"PowerLaw\" * \"Constant\"\n",
269 268 " Number of parameters ......: 4\n",
... ... @@ -670,7 +669,6 @@
670 669 "=== GModelSky ===\n",
671 670 " Name ......................: Crab\n",
672 671 " Instruments ...............: all\n",
673   - " Instrument scale factors ..: unity\n",
674 672 " Observation identifiers ...: all\n",
675 673 " Model type ................: PointSource\n",
676 674 " Model components ..........: \"PointSource\" * \"ExponentialCutoffPowerLaw\" * \"Constant\"\n",
... ... @@ -684,7 +682,8 @@
684 682 " CutoffEnergy .............: 3206993.95272881 +/- 117129.972166476 [0.1,infty[ MeV (free,scale=1,gradient)\n",
685 683 " PivotEnergy ..............: 300000 MeV (fixed,scale=1,gradient)\n",
686 684 " Number of temporal par's ..: 1\n",
687   - " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n"
  685 + " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  686 + " Number of scale par's .....: 0\n"
688 687 ]
689 688 }
690 689 ],
... ...
doc/source/users/tutorials/howto/howto_connect_irfs.rst
... ... @@ -179,7 +179,6 @@ both observations.
179 179 2019-04-03T12:03:41: === GModelSky ===
180 180 2019-04-03T12:03:41: Name ......................: Crab
181 181 2019-04-03T12:03:41: Instruments ...............: all
182   - 2019-04-03T12:03:41: Instrument scale factors ..: unity
183 182 2019-04-03T12:03:41: Observation identifiers ...: all
184 183 2019-04-03T12:03:41: Model type ................: PointSource
185 184 2019-04-03T12:03:41: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -193,10 +192,10 @@ both observations.
193 192 2019-04-03T12:03:41: PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)
194 193 2019-04-03T12:03:41: Number of temporal par's ..: 1
195 194 2019-04-03T12:03:41: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  195 + 2019-04-03T12:03:41: Number of scale par's .....: 0
196 196 2019-04-03T12:03:41: === GCTAModelIrfBackground ===
197 197 2019-04-03T12:03:41: Name ......................: CTABackgroundModel
198 198 2019-04-03T12:03:41: Instruments ...............: CTA
199   - 2019-04-03T12:03:41: Instrument scale factors ..: unity
200 199 2019-04-03T12:03:41: Observation identifiers ...: all
201 200 2019-04-03T12:03:41: Model type ................: "PowerLaw" * "Constant"
202 201 2019-04-03T12:03:41: Number of parameters ......: 4
... ...
doc/source/users/tutorials/howto/howto_connect_models.ipynb
... ... @@ -272,7 +272,6 @@
272 272 "=== GModelSky ===\n",
273 273 " Name ......................: Crab\n",
274 274 " Instruments ...............: all\n",
275   - " Instrument scale factors ..: unity\n",
276 275 " Observation identifiers ...: all\n",
277 276 " Model type ................: PointSource\n",
278 277 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -286,10 +285,10 @@
286 285 " PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)\n",
287 286 " Number of temporal par's ..: 1\n",
288 287 " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  288 + " Number of scale par's .....: 0\n",
289 289 "=== GCTAModelIrfBackground ===\n",
290 290 " Name ......................: Background_000001\n",
291 291 " Instruments ...............: CTA\n",
292   - " Instrument scale factors ..: unity\n",
293 292 " Observation identifiers ...: 000001\n",
294 293 " Model type ................: \"PowerLaw\" * \"Constant\"\n",
295 294 " Number of parameters ......: 4\n",
... ... @@ -302,7 +301,6 @@
302 301 "=== GCTAModelIrfBackground ===\n",
303 302 " Name ......................: Background_000002\n",
304 303 " Instruments ...............: CTA\n",
305   - " Instrument scale factors ..: unity\n",
306 304 " Observation identifiers ...: 000002\n",
307 305 " Model type ................: \"PowerLaw\" * \"Constant\"\n",
308 306 " Number of parameters ......: 4\n",
... ...
doc/source/users/tutorials/howto/howto_extent.rst
... ... @@ -75,7 +75,6 @@ The source is detected with a TS value of 960.3.
75 75 2019-04-04T10:02:58: Name ......................: Src003
76 76 2019-04-04T10:02:58: Instruments ...............: all
77 77 2019-04-04T10:02:58: Test Statistic ............: 960.322220887407
78   - 2019-04-04T10:02:58: Instrument scale factors ..: unity
79 78 2019-04-04T10:02:58: Observation identifiers ...: all
80 79 2019-04-04T10:02:58: Model type ................: ExtendedSource
81 80 2019-04-04T10:02:58: Model components ..........: "RadialDisk" * "PowerLaw" * "Constant"
... ... @@ -90,6 +89,7 @@ The source is detected with a TS value of 960.3.
90 89 2019-04-04T10:02:58: PivotEnergy ..............: 300000 MeV (fixed,scale=300000,gradient)
91 90 2019-04-04T10:02:58: Number of temporal par's ..: 1
92 91 2019-04-04T10:02:58: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  92 + 2019-04-04T10:02:58: Number of scale par's .....: 0
93 93  
94 94 .. warning::
95 95 The parameter errors returned by :ref:`ctlike` are purely statistical. In
... ...
doc/source/users/tutorials/howto/howto_stacked_analysis.ipynb
... ... @@ -289,7 +289,6 @@
289 289 "=== GModelSky ===\n",
290 290 " Name ......................: Crab\n",
291 291 " Instruments ...............: all\n",
292   - " Instrument scale factors ..: unity\n",
293 292 " Observation identifiers ...: all\n",
294 293 " Model type ................: PointSource\n",
295 294 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -303,10 +302,10 @@
303 302 " PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)\n",
304 303 " Number of temporal par's ..: 1\n",
305 304 " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  305 + " Number of scale par's .....: 0\n",
306 306 "=== GCTAModelCubeBackground ===\n",
307 307 " Name ......................: BackgroundModel\n",
308 308 " Instruments ...............: CTA, HESS, MAGIC, VERITAS\n",
309   - " Instrument scale factors ..: unity\n",
310 309 " Observation identifiers ...: all\n",
311 310 " Model type ................: \"PowerLaw\" * \"Constant\"\n",
312 311 " Number of parameters ......: 4\n",
... ...
doc/source/users/tutorials/howto/iact/analysis.rst
... ... @@ -64,7 +64,6 @@ which will produce the following output in the log file ``ctlike.log``:
64 64 2019-04-05T14:18:18: === GCTAModelAeffBackground ===
65 65 2019-04-05T14:18:18: Name ......................: bkg_23523
66 66 2019-04-05T14:18:18: Instruments ...............: HESS
67   - 2019-04-05T14:18:18: Instrument scale factors ..: unity
68 67 2019-04-05T14:18:18: Observation identifiers ...: 23523
69 68 2019-04-05T14:18:18: Model type ................: "PowerLaw" * "Constant"
70 69 2019-04-05T14:18:18: Number of parameters ......: 4
... ... @@ -77,7 +76,6 @@ which will produce the following output in the log file ``ctlike.log``:
77 76 2019-04-05T14:18:18: === GCTAModelAeffBackground ===
78 77 2019-04-05T14:18:18: Name ......................: bkg_23526
79 78 2019-04-05T14:18:18: Instruments ...............: HESS
80   - 2019-04-05T14:18:18: Instrument scale factors ..: unity
81 79 2019-04-05T14:18:18: Observation identifiers ...: 23526
82 80 2019-04-05T14:18:18: Model type ................: "PowerLaw" * "Constant"
83 81 2019-04-05T14:18:18: Number of parameters ......: 4
... ... @@ -90,7 +88,6 @@ which will produce the following output in the log file ``ctlike.log``:
90 88 2019-04-05T14:18:18: === GCTAModelAeffBackground ===
91 89 2019-04-05T14:18:18: Name ......................: bkg_23559
92 90 2019-04-05T14:18:18: Instruments ...............: HESS
93   - 2019-04-05T14:18:18: Instrument scale factors ..: unity
94 91 2019-04-05T14:18:18: Observation identifiers ...: 23559
95 92 2019-04-05T14:18:18: Model type ................: "PowerLaw" * "Constant"
96 93 2019-04-05T14:18:18: Number of parameters ......: 4
... ... @@ -103,7 +100,6 @@ which will produce the following output in the log file ``ctlike.log``:
103 100 2019-04-05T14:18:18: === GCTAModelAeffBackground ===
104 101 2019-04-05T14:18:18: Name ......................: bkg_23592
105 102 2019-04-05T14:18:18: Instruments ...............: HESS
106   - 2019-04-05T14:18:18: Instrument scale factors ..: unity
107 103 2019-04-05T14:18:18: Observation identifiers ...: 23592
108 104 2019-04-05T14:18:18: Model type ................: "PowerLaw" * "Constant"
109 105 2019-04-05T14:18:18: Number of parameters ......: 4
... ... @@ -116,7 +112,6 @@ which will produce the following output in the log file ``ctlike.log``:
116 112 2019-04-05T14:18:18: === GModelSky ===
117 113 2019-04-05T14:18:18: Name ......................: Crab
118 114 2019-04-05T14:18:18: Instruments ...............: all
119   - 2019-04-05T14:18:18: Instrument scale factors ..: unity
120 115 2019-04-05T14:18:18: Observation identifiers ...: all
121 116 2019-04-05T14:18:18: Model type ................: PointSource
122 117 2019-04-05T14:18:18: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -133,7 +128,6 @@ which will produce the following output in the log file ``ctlike.log``:
133 128 2019-04-05T14:18:18: === GCTAModelIrfBackground ===
134 129 2019-04-05T14:18:18: Name ......................: CTABackgroundModel
135 130 2019-04-05T14:18:18: Instruments ...............: CTA
136   - 2019-04-05T14:18:18: Instrument scale factors ..: unity
137 131 2019-04-05T14:18:18: Observation identifiers ...: all
138 132 2019-04-05T14:18:18: Model type ................: "PowerLaw" * "Constant"
139 133 2019-04-05T14:18:18: Number of parameters ......: 4
... ...
doc/source/users/tutorials/quickstart/ctools-from-python.ipynb
... ... @@ -483,7 +483,6 @@
483 483 "=== GModelSky ===\n",
484 484 " Name ......................: Crab\n",
485 485 " Instruments ...............: all\n",
486   - " Instrument scale factors ..: unity\n",
487 486 " Observation identifiers ...: all\n",
488 487 " Model type ................: PointSource\n",
489 488 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -497,10 +496,10 @@
497 496 " PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)\n",
498 497 " Number of temporal par's ..: 1\n",
499 498 " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  499 + " Number of scale par's .....: 0\n",
500 500 "=== GCTAModelIrfBackground ===\n",
501 501 " Name ......................: CTABackgroundModel\n",
502 502 " Instruments ...............: CTA\n",
503   - " Instrument scale factors ..: unity\n",
504 503 " Observation identifiers ...: all\n",
505 504 " Model type ................: \"PowerLaw\" * \"Constant\"\n",
506 505 " Number of parameters ......: 4\n",
... ... @@ -564,7 +563,6 @@
564 563 "=== GModelSky ===\n",
565 564 " Name ......................: Crab\n",
566 565 " Instruments ...............: all\n",
567   - " Instrument scale factors ..: unity\n",
568 566 " Observation identifiers ...: all\n",
569 567 " Model type ................: PointSource\n",
570 568 " Model components ..........: \"PointSource\" * \"PowerLaw\" * \"Constant\"\n",
... ... @@ -578,10 +576,10 @@
578 576 " PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)\n",
579 577 " Number of temporal par's ..: 1\n",
580 578 " Normalization ............: 1 (relative value) (fixed,scale=1,gradient)\n",
  579 + " Number of scale par's .....: 0\n",
581 580 "=== GCTAModelIrfBackground ===\n",
582 581 " Name ......................: CTABackgroundModel\n",
583 582 " Instruments ...............: CTA\n",
584   - " Instrument scale factors ..: unity\n",
585 583 " Observation identifiers ...: all\n",
586 584 " Model type ................: \"PowerLaw\" * \"Constant\"\n",
587 585 " Number of parameters ......: 4\n",
... ...
doc/source/users/tutorials/quickstart/energy_dispersion.rst
... ... @@ -147,7 +147,6 @@ And here is the output in the log file:
147 147 2019-04-02T14:24:57: === GModelSky ===
148 148 2019-04-02T14:24:57: Name ......................: Crab
149 149 2019-04-02T14:24:57: Instruments ...............: all
150   - 2019-04-02T14:24:57: Instrument scale factors ..: unity
151 150 2019-04-02T14:24:57: Observation identifiers ...: all
152 151 2019-04-02T14:24:57: Model type ................: PointSource
153 152 2019-04-02T14:24:57: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -161,10 +160,10 @@ And here is the output in the log file:
161 160 2019-04-02T14:24:57: PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)
162 161 2019-04-02T14:24:57: Number of temporal par's ..: 1
163 162 2019-04-02T14:24:57: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  163 + 2019-04-02T14:24:57: Number of scale par's .....: 0
164 164 2019-04-02T14:24:57: === GCTAModelCubeBackground ===
165 165 2019-04-02T14:24:57: Name ......................: BackgroundModel
166 166 2019-04-02T14:24:57: Instruments ...............: CTA, HESS, MAGIC, VERITAS
167   - 2019-04-02T14:24:57: Instrument scale factors ..: unity
168 167 2019-04-02T14:24:57: Observation identifiers ...: all
169 168 2019-04-02T14:24:57: Model type ................: "PowerLaw" * "Constant"
170 169 2019-04-02T14:24:57: Number of parameters ......: 4
... ... @@ -222,7 +221,6 @@ Here the output in the log file:
222 221 2019-04-02T14:27:05: === GModelSky ===
223 222 2019-04-02T14:27:05: Name ......................: Crab
224 223 2019-04-02T14:27:05: Instruments ...............: all
225   - 2019-04-02T14:27:05: Instrument scale factors ..: unity
226 224 2019-04-02T14:27:05: Observation identifiers ...: all
227 225 2019-04-02T14:27:05: Model type ................: PointSource
228 226 2019-04-02T14:27:05: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -236,10 +234,10 @@ Here the output in the log file:
236 234 2019-04-02T14:27:05: PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)
237 235 2019-04-02T14:27:05: Number of temporal par's ..: 1
238 236 2019-04-02T14:27:05: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  237 + 2019-04-02T14:27:05: Number of scale par's .....: 0
239 238 2019-04-02T14:27:05: === GCTAModelIrfBackground ===
240 239 2019-04-02T14:27:05: Name ......................: CTABackgroundModel
241 240 2019-04-02T14:27:05: Instruments ...............: CTA
242   - 2019-04-02T14:27:05: Instrument scale factors ..: unity
243 241 2019-04-02T14:27:05: Observation identifiers ...: all
244 242 2019-04-02T14:27:05: Model type ................: "PowerLaw" * "Constant"
245 243 2019-04-02T14:27:05: Number of parameters ......: 4
... ...
doc/source/users/tutorials/quickstart/fitting.rst
... ... @@ -128,7 +128,6 @@ Below the last lines of the log file that was produced by this run:
128 128 2019-04-02T13:55:48: === GModelSky ===
129 129 2019-04-02T13:55:48: Name ......................: Crab
130 130 2019-04-02T13:55:48: Instruments ...............: all
131   - 2019-04-02T13:55:48: Instrument scale factors ..: unity
132 131 2019-04-02T13:55:48: Observation identifiers ...: all
133 132 2019-04-02T13:55:48: Model type ................: PointSource
134 133 2019-04-02T13:55:48: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -142,10 +141,10 @@ Below the last lines of the log file that was produced by this run:
142 141 2019-04-02T13:55:48: PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)
143 142 2019-04-02T13:55:48: Number of temporal par's ..: 1
144 143 2019-04-02T13:55:48: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  144 + 2019-04-02T13:55:48: Number of scale par's .....: 0
145 145 2019-04-02T13:55:48: === GCTAModelCubeBackground ===
146 146 2019-04-02T13:55:48: Name ......................: BackgroundModel
147 147 2019-04-02T13:55:48: Instruments ...............: CTA, HESS, MAGIC, VERITAS
148   - 2019-04-02T13:55:48: Instrument scale factors ..: unity
149 148 2019-04-02T13:55:48: Observation identifiers ...: all
150 149 2019-04-02T13:55:48: Model type ................: "PowerLaw" * "Constant"
151 150 2019-04-02T13:55:48: Number of parameters ......: 4
... ...
doc/source/users/tutorials/quickstart/onoff.rst
... ... @@ -216,7 +216,6 @@ the background is not well known a priori.
216 216 2019-04-02T14:55:29: === GModelSky ===
217 217 2019-04-02T14:55:29: Name ......................: Crab
218 218 2019-04-02T14:55:29: Instruments ...............: all
219   - 2019-04-02T14:55:29: Instrument scale factors ..: unity
220 219 2019-04-02T14:55:29: Observation identifiers ...: all
221 220 2019-04-02T14:55:29: Model type ................: PointSource
222 221 2019-04-02T14:55:29: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -230,10 +229,10 @@ the background is not well known a priori.
230 229 2019-04-02T14:55:29: PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)
231 230 2019-04-02T14:55:29: Number of temporal par's ..: 1
232 231 2019-04-02T14:55:29: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  232 + 2019-04-02T14:55:29: Number of scale par's .....: 0
233 233 2019-04-02T14:55:29: === GCTAModelIrfBackground ===
234 234 2019-04-02T14:55:29: Name ......................: CTABackgroundModel
235 235 2019-04-02T14:55:29: Instruments ...............: CTAOnOff
236   - 2019-04-02T14:55:29: Instrument scale factors ..: unity
237 236 2019-04-02T14:55:29: Observation identifiers ...: all
238 237 2019-04-02T14:55:29: Model type ................: "PowerLaw" * "Constant"
239 238 2019-04-02T14:55:29: Number of parameters ......: 4
... ... @@ -291,7 +290,6 @@ the ``statistic=wstat`` option.
291 290 2019-04-02T15:56:29: === GModelSky ===
292 291 2019-04-02T15:56:29: Name ......................: Crab
293 292 2019-04-02T15:56:29: Instruments ...............: all
294   - 2019-04-02T15:56:29: Instrument scale factors ..: unity
295 293 2019-04-02T15:56:29: Observation identifiers ...: all
296 294 2019-04-02T15:56:29: Model type ................: PointSource
297 295 2019-04-02T15:56:29: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -305,10 +303,10 @@ the ``statistic=wstat`` option.
305 303 2019-04-02T15:56:29: PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)
306 304 2019-04-02T15:56:29: Number of temporal par's ..: 1
307 305 2019-04-02T15:56:29: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  306 + 2019-04-02T15:56:29: Number of scale par's .....: 0
308 307 2019-04-02T15:56:29: === GCTAModelIrfBackground ===
309 308 2019-04-02T15:56:29: Name ......................: CTABackgroundModel
310 309 2019-04-02T15:56:29: Instruments ...............: CTAOnOff
311   - 2019-04-02T15:56:29: Instrument scale factors ..: unity
312 310 2019-04-02T15:56:29: Observation identifiers ...: all
313 311 2019-04-02T15:56:29: Model type ................: "PowerLaw" * "Constant"
314 312 2019-04-02T15:56:29: Number of parameters ......: 4
... ...
doc/source/users/tutorials/quickstart/unbinned.rst
... ... @@ -84,7 +84,6 @@ the same events for both analyses.
84 84 2019-04-02T14:15:10: === GModelSky ===
85 85 2019-04-02T14:15:10: Name ......................: Crab
86 86 2019-04-02T14:15:10: Instruments ...............: all
87   - 2019-04-02T14:15:10: Instrument scale factors ..: unity
88 87 2019-04-02T14:15:10: Observation identifiers ...: all
89 88 2019-04-02T14:15:10: Model type ................: PointSource
90 89 2019-04-02T14:15:10: Model components ..........: "PointSource" * "PowerLaw" * "Constant"
... ... @@ -98,10 +97,10 @@ the same events for both analyses.
98 97 2019-04-02T14:15:10: PivotEnergy ..............: 300000 [10000,1000000000] MeV (fixed,scale=1000000,gradient)
99 98 2019-04-02T14:15:10: Number of temporal par's ..: 1
100 99 2019-04-02T14:15:10: Normalization ............: 1 (relative value) (fixed,scale=1,gradient)
  100 + 2019-04-02T14:15:10: Number of scale par's .....: 0
101 101 2019-04-02T14:15:10: === GCTAModelIrfBackground ===
102 102 2019-04-02T14:15:10: Name ......................: CTABackgroundModel
103 103 2019-04-02T14:15:10: Instruments ...............: CTA
104   - 2019-04-02T14:15:10: Instrument scale factors ..: unity
105 104 2019-04-02T14:15:10: Observation identifiers ...: all
106 105 2019-04-02T14:15:10: Model type ................: "PowerLaw" * "Constant"
107 106 2019-04-02T14:15:10: Number of parameters ......: 4
... ...