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

New issues from Xspec 12.12.1

Frequently Asked Questions

List of currently outstanding issues.


Patches

Latest update 12.12.1c (Jun 06, 2022)

Requires patch installer v4.15

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.15, click here. Otherwise, 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.15), 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.12.1a The total fit statistic written out at the end of a fit is incorrect in the case of multiple spectra and Bayesian priors in use. This only affects writing out the statistic value, all uses within the code are correct. Our thanks to Sachin Dias for pointing this out.

This patch also adds the spectrum and datagroup numbers when reporting the fit statistic for individual spectra. Report added on May 17, 2022.

This patch modifies Xspec/src/XSFit/Fit/ StatManager.cxx.

12.12.1b When a dummyrsp is created while there's a range of ignored channels which don't start with 1 or end with numChannels, the matrix elements are wrongly calculated for the first noticed channel after the gap. Report added on Jun 06, 2022.

This patch modifies Xspec/src/XSModel/Data/Detector/ UserDummyResponse.cxx.

12.12.1c When using periodic parameters with chain method gw the parameter values written to the output file are not corrected to lie within the primary range (eg if it is a parameter which should range between -pi and pi there may be parameter values outside this range). Our thanks to Federico Garcia for reporting this bug. Report added on Jun 06, 2022.

This patch modifies Xspec/src/XSFit/Fit/ ParallelStats.cxx and XSFit/MCMC/ Chain.cxx.


Older Versions:

   12.12.0
   12.11.1
   12.11.0
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, 18-Nov-2022 14:56:06 EST

HEASARC Staff Scientist Position - Applications are now being accepted for a Staff Scientist with significant experience and interest in the technical aspects of astrophysics research, to work in the High Energy Astrophysics Science Archive Research Center (HEASARC) at NASA Goddard Space Flight Center (GSFC) in Greenbelt, MD. Refer to the AAS Job register for full details.