Known issues and patches
Home Downloads Manual Issues/Patches Additional Models Xspec In Python Additional Python
    (updated 03/31/20) (updated 06/16/20)    

New issues from Xspec 12.11.0

Frequently Asked Questions

List of currently outstanding issues.


latest update 12.11.0m Jun 16, 2020

Requires patch installer v4.11 or later

To apply patches, you'll need to have downloaded and already built the source code distribution of XSPEC. For details about the patch installer including options available with the latest v4.12, click here. Otherwise, just follow the instructions below.

(Note: This assumes you have already set your HEADAS environment variables with the headas-init script, as you would if you were running XSPEC.)

To make sure your XSPEC installation is up to date with ALL listed patches:

1.    If you don't already have the patch installer tcl script (v4.11 or later), download and place it in the XSPEC src directory. This directory should be at heasoft-[ver]/Xspec/src from the source code distribution.

2.    Download the latest patchfile into the same directory. There is no need to unzip/untar the patchfile since the installer will do that.

3.    At the command line, launch the script by typing 'tclsh patch_install_[ver].tcl', and that's all.

The script should detect which patches you've installed previously, copy the new code files to the necessary directories, determine whether complete or only partial rebuilds are necessary, and finally perform the rebuilds. Numbers listed in red indicate that the patch modifies the interface to one or more of XSPEC's libraries. These patches will generally cause longer rebuilds. If you have a local model library, it is recommended (though not always necessary) that you rebuild it with initpackage after applying red patches.

12.11.0a For the voigt model, very large values of sigma may cause the line to overflow either the low or high end of the energy range. Our thanks to Doug Burke for pointing this out. Report added on Apr 22, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSFunctions/ voigtLine.cxx.

12.11.0b The statistic command is not properly handling the case when an extra argument is given to specify the weight, but the weighting method doesn't exist. Our thanks to Dimitris Maniadakis for pointing this out. Report added on Apr 22, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSStat/ FitStatMethod.cxx, TestStatMethod.cxx, and src/XSUser/Handler/ xsStatistic.cxx.

12.11.0c Xspec is not catching the case when circular parameter link dependencies are created, and may hang as a result. Our thanks to Pinaki Roy for pointing this out. Report added on Apr 22, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSModel/Parameter/ Parameter.cxx and .h.

12.11.0d This adds the option of appending to log files by placing a '>' character in front of the log command file name. Our thanks to Mariano Mendez for the suggestion. Report added on Apr 22, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSUser/UserInterface/ TclStream.cxx.

12.11.0e If Xspec attempts to read in a response matrix which contains NUMELT or NUMGRP keywords with erroneous values, it will terminate. It should just issue a warning message. Our thanks to Ewan O'Sullivan for pointing this out. Report added on Apr 22, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSModel/Data/Detector/ ResponseMatrix.cxx.

12.11.0f This patch is needed to allow users to directly access the online manual pages for the new models added for Xspec 12.11.0, using the "help model [modname]" command. Report added on Apr 22, 2020.

This patch modifies heasoft-6.27/Xspec/src/manager/ manualList.txt.

12.11.0g The tclout command's arf and response options are not returning file names. Our thanks to Andres Gurpide for pointing this out. Report added on Apr 22, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSUser/Handler/ xsTclout.cxx.

12.11.0h Fixes error which causes a crash in various cooling flow models if switch is set to 2 before changing the redshift from 0. Our thanks to Anna Ogorzalek for reporting this. Report added on Apr 22, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSFunctions/ calcMultiTempPlasma.cxx.

12.11.0i Cannot load response files which have a '+' in the middle of the file name. Xspec is mistaking the '+' for extended file name syntax. Our thanks to Jiangtao Li for reporting this. Report added on Apr 27, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSUtil/Parse/ XSparse.cxx.

12.11.0j In PyXspec, the Spectrum.dummyrsp() function (for assigning a dummy response to a specific spectrum and source) is mixing up the spectrum number and the source number. Our thanks to Johannes Buchner for reporting this. Report added on Apr 28, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSUser/Python/xspec/

12.11.0k For some complex fitting and error command cases, XSPEC may terminate with a GSL message such as 'SVD decomposition failed to converge.' Report added on May 18, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSFit/FitMethod/LevMarq/ InvertSVD.cxx, LevMarq.cxx, and src/XSUtil/Numerics/ SVDwrapper.cxx.

12.11.0l The new multi-response code was not calculating effective areas correctly. Our thanks to Mike Loewenstein for pointing this out. Report added on May 28, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSModel/Data/Detector/ MultiBinningResponse.cxx and SingleResponse.cxx.

12.11.0m This includes a couple of fixes to Bayesian inference calculations. The first adds the Bayesian prior contributions from frozen (non-linked) parameters belonging to currently active (for fitting) models. The second fixes a bug that was preventing Levenberg-Marquardt fits from finding a good minimum when Bayesian inference was in use. Our thanks to Jeremy Sanders for bringing these issues to our attention. Report added on Jun 16, 2020.

This patch modifies heasoft-6.27/Xspec/src/XSFit/Fit/ Bayes.cxx and StatManager.cxx.

Older Versions:

Links to v11 bugs pages:
       v11 Bugs       v11 Bug reporters

Xspec Xspec Home Page

HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Friday, 16-Jul-2021 18:59:43 EDT