Commit 4a618cc0a680cfad31815bf68b0b93ebc9e59142

Authored by Jürgen Knödlseder
1 parent 80ac5b7e

Update change log

ChangeLog
1 -2020-11-18 1 +2020-11-27
2 2
3 * Version 2.0.0 released 3 * Version 2.0.0 released
4 ======================== 4 ========================
5 5
  6 + Add "refit_if_failed" parameter to ctlike
6 Add models() method to ctobssim (#3441) 7 Add models() method to ctobssim (#3441)
7 Add ctlike results to XML file (#3431) 8 Add ctlike results to XML file (#3431)
8 Fix implementation of fix_spat_for_ts parameter in ctlike (#3426) 9 Fix implementation of fix_spat_for_ts parameter in ctlike (#3426)
1 New Features and Important Changes in ctools 2.0.0 1 New Features and Important Changes in ctools 2.0.0
2 2
3 -18 November 2020 3 +27 November 2020
4 4
5 5
6 Introduction 6 Introduction
@@ -76,10 +76,18 @@ None @@ -76,10 +76,18 @@ None
76 76
77 ctlike - Maximum likelihood fitting 77 ctlike - Maximum likelihood fitting
78 ----------------------------------- 78 -----------------------------------
  79 +Added the "refit_if_failed" parameter that instructs ctlike to do a refit in
  80 +case that the initial fit failed. Failures considered are a stalled fit, an
  81 +exhaustion of the maximum number of fit iterations, or a significant difference
  82 +between the number of observed and predicted events.
  83 +
  84 +Added to the log file the "Total number of iterations" which is the sum of the
  85 +iterations in the initial fit and a potential refit.
  86 +
79 The model fitting results, such as log-likelihood value, number of iterations 87 The model fitting results, such as log-likelihood value, number of iterations
80 etc. are now added to the output XML file (#3431). 88 etc. are now added to the output XML file (#3431).
81 89
82 -A bug was fixed in the implementation of the fix_spat_for_ts parameter that 90 +A bug was fixed in the implementation of the "fix_spat_for_ts" parameter that
83 only fixed the spatial parameters for the first of the sky models but left 91 only fixed the spatial parameters for the first of the sky models but left
84 the spatial parameters free for all additional sky models. Now the parameters 92 the spatial parameters free for all additional sky models. Now the parameters
85 are fixed for all sky models (#3426). 93 are fixed for all sky models (#3426).
README.md
1 ctools information 1 ctools information
2 ================== 2 ==================
3 -* Version: 2.0.0.dev (18 November 2020) 3 +* Version: 2.0.0.dev (27 November 2020)
4 * GammaLib dependency: 2.0.0.dev 4 * GammaLib dependency: 2.0.0.dev
5 5
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/) 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/)
doc/source/admin/release_history/2.0.rst
1 .. _2.0: 1 .. _2.0:
2 2
3 -ctools 2.0 release (18 November 2020) 3 +ctools 2.0 release (27 November 2020)
4 ===================================== 4 =====================================
5 5
6 Overview 6 Overview
@@ -24,6 +24,7 @@ Bug fixes @@ -24,6 +24,7 @@ Bug fixes
24 Improvements 24 Improvements
25 ------------ 25 ------------
26 26
  27 +* Add ``refit_if_failed`` parameter to :ref:`ctlike`
27 * [`3441 <https://cta-redmine.irap.omp.eu/issues/3441>`_] - 28 * [`3441 <https://cta-redmine.irap.omp.eu/issues/3441>`_] -
28 Add ``models()`` method to :ref:`ctobssim` 29 Add ``models()`` method to :ref:`ctobssim`
29 * [`3431 <https://cta-redmine.irap.omp.eu/issues/3431>`_] - 30 * [`3431 <https://cta-redmine.irap.omp.eu/issues/3431>`_] -
doc/source/users/reference_manual/ctlike.rst
@@ -116,6 +116,12 @@ General parameters @@ -116,6 +116,12 @@ General parameters
116 ``(refit = no) [boolean]`` 116 ``(refit = no) [boolean]``
117 Perform refitting of solution after initial fit. 117 Perform refitting of solution after initial fit.
118 118
  119 +``(refit_if_failed = yes) [boolean]``
  120 + Perform refitting of solution in case that the initial fit failed. Failures
  121 + considered are a stalled fit, an exhaustion of the maximum number of fit
  122 + iterations, or a significant difference between the number of observed and
  123 + predicted events.
  124 +
119 ``(like_accuracy = 0.005) [real]`` 125 ``(like_accuracy = 0.005) [real]``
120 Absolute accuracy of maximum likelihood value. Reducing this value will 126 Absolute accuracy of maximum likelihood value. Reducing this value will
121 increase the number of iterations and provide a more accurate maximum 127 increase the number of iterations and provide a more accurate maximum