From 4a618cc0a680cfad31815bf68b0b93ebc9e59142 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 27 Nov 2020 10:56:19 +0100 Subject: [PATCH] Update change log --- ChangeLog | 3 ++- NEWS | 12 ++++++++++-- README.md | 2 +- doc/source/admin/release_history/2.0.rst | 3 ++- doc/source/users/reference_manual/ctlike.rst | 6 ++++++ 5 files changed, 21 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d0307a..ef90d3f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,9 @@ -2020-11-18 +2020-11-27 * Version 2.0.0 released ======================== + Add "refit_if_failed" parameter to ctlike Add models() method to ctobssim (#3441) Add ctlike results to XML file (#3431) Fix implementation of fix_spat_for_ts parameter in ctlike (#3426) diff --git a/NEWS b/NEWS index 0a0e18a..7fac998 100755 --- a/NEWS +++ b/NEWS @@ -1,6 +1,6 @@ New Features and Important Changes in ctools 2.0.0 -18 November 2020 +27 November 2020 Introduction @@ -76,10 +76,18 @@ None ctlike - Maximum likelihood fitting ----------------------------------- +Added the "refit_if_failed" parameter that instructs ctlike to do a refit in +case that the initial fit failed. Failures considered are a stalled fit, an +exhaustion of the maximum number of fit iterations, or a significant difference +between the number of observed and predicted events. + +Added to the log file the "Total number of iterations" which is the sum of the +iterations in the initial fit and a potential refit. + The model fitting results, such as log-likelihood value, number of iterations etc. are now added to the output XML file (#3431). -A bug was fixed in the implementation of the fix_spat_for_ts parameter that +A bug was fixed in the implementation of the "fix_spat_for_ts" parameter that only fixed the spatial parameters for the first of the sky models but left the spatial parameters free for all additional sky models. Now the parameters are fixed for all sky models (#3426). diff --git a/README.md b/README.md index 4962fda..85764f3 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ctools information ================== -* Version: 2.0.0.dev (18 November 2020) +* Version: 2.0.0.dev (27 November 2020) * GammaLib dependency: 2.0.0.dev [![Build Status](https://cta-jenkins.irap.omp.eu/buildStatus/icon?job=ctools-integrate-os)](https://cta-jenkins.irap.omp.eu/job/ctools-integrate-os/) diff --git a/doc/source/admin/release_history/2.0.rst b/doc/source/admin/release_history/2.0.rst index f668033..15e29cd 100644 --- a/doc/source/admin/release_history/2.0.rst +++ b/doc/source/admin/release_history/2.0.rst @@ -1,6 +1,6 @@ .. _2.0: -ctools 2.0 release (18 November 2020) +ctools 2.0 release (27 November 2020) ===================================== Overview @@ -24,6 +24,7 @@ Bug fixes Improvements ------------ +* Add ``refit_if_failed`` parameter to :ref:`ctlike` * [`3441 `_] - Add ``models()`` method to :ref:`ctobssim` * [`3431 `_] - diff --git a/doc/source/users/reference_manual/ctlike.rst b/doc/source/users/reference_manual/ctlike.rst index 43b092e..4eecf3f 100755 --- a/doc/source/users/reference_manual/ctlike.rst +++ b/doc/source/users/reference_manual/ctlike.rst @@ -116,6 +116,12 @@ General parameters ``(refit = no) [boolean]`` Perform refitting of solution after initial fit. +``(refit_if_failed = yes) [boolean]`` + Perform refitting of solution in case that the initial fit failed. Failures + considered are a stalled fit, an exhaustion of the maximum number of fit + iterations, or a significant difference between the number of observed and + predicted events. + ``(like_accuracy = 0.005) [real]`` Absolute accuracy of maximum likelihood value. Reducing this value will increase the number of iterations and provide a more accurate maximum -- libgit2 0.21.4