Commit 28c54e7497b549549fbe1af2ed0dc62cacd8bfe2

Authored by Jürgen Knödlseder
1 parent 46d160e6

Optionally write fitted null hypothesis model in cttsmap into log file

ChangeLog
1   -2022-06-23
  1 +2022-11-09
2 2  
3 3 * Version 2.1.0 released
4 4 ========================
5 5  
  6 + Optionally write fitted null hypothesis model in cttsmap
6 7 Avoid NaN in ctbutterfly (#4069)
7 8  
8 9  
... ...
1 1 New Features and Important Changes in ctools 2.1.0
2 2  
3   -23 June 2022
  3 +9 November 2022
4 4  
5 5  
6 6 Introduction
... ... @@ -121,7 +121,7 @@ None
121 121  
122 122 cttsmap - Generation of Test Statistic map
123 123 ------------------------------------------
124   -None
  124 +Optionally write fitted null hypothesis model into log file.
125 125  
126 126  
127 127 ctulimit - Compute upper limit
... ...
README.md
1 1 ctools information
2 2 ==================
3   -* Version: 2.1.0.dev (23 June 2022)
  3 +* Version: 2.1.0.dev (9 November 2022)
4 4 * GammaLib dependency: 2.1.0.dev
5 5  
6 6 [![Build Status](https://cta-jenkins.irap.omp.eu/buildStatus/icon?job=ctools-integrate-os)](https://cta-jenkins.irap.omp.eu/job/ctools-integrate-os/)
... ...
src/cttsmap/cttsmap.cpp
... ... @@ -276,7 +276,10 @@ void cttsmap::process(void)
276 276 m_obs.optimize(m_opt);
277 277 m_logL0 = -(m_opt.value());
278 278  
279   - }
  279 + // Write input model container into logger
  280 + log_models(VERBOSE, m_obs.models(), "Fitted model");
  281 +
  282 + }
280 283  
281 284 // Write header
282 285 log_header1(TERSE, "Generate TS map");
... ...