Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
HEASoft and XSPEC are now available as conda packages. See details ....
New issues from Xspec 12.15.0
List of currently outstanding issues.
Patches
For details about the patch installer, including options available with the latest v4.20, see the installer notes
To apply patches, you'll need to have downloaded and already built the source code distribution of XSPEC. Your HEADAS environment variables must also be initialized, such as with the headas-init script as you would if you were running XSPEC.
To update your XSPEC installation with ALL listed patches:
- If you don't already have the patch installer tcl script (v4.20), download and place it in the heasoft-[ver]/Xspec/src directory in the source code distribution.
- Download the latest patchfile into the same directory. There is no need to unzip/untar the patchfile since the installer will do that.
- At the command line, launch the script by typing tclsh patch_install_[ver].tcl and that's all.
The script will 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.
Patch files
12.15.0a | The AtomDB v3.1.2 files contain an error that can cause NaNs to appear in model calculations.
Our thanks to Elif Safak for reporting this.
Report added on Apr 21, 2025.
This patch modifies Xspec/src/XSFunctions/ Aped.cxx |
12.15.0b | This patch is relevant only for those linking the Xspec model functions library into
their own programs. The FNINIT initialization function now looks
in a secondary location for the Xspec spectral directories if it fails to find them in
the standard place.
Report added on Apr 29, 2025.
This patch modifies Xspec/src/XSFunctions/Utilities/ xsFortran.cxx |
12.15.0c | There is a bug in the crossarf model causing the cross-terms to be calculated
incorrectly. Our thanks to Francois Mernier for drawing this to our attention.
Report added on May 04, 2025.
This patch modifies Xspec/src/XSModel/Model/MixFunction/ CrossArf.cxx |
12.15.0d | The relative normalizations of the 7 Lorentzians in the feklor model were
incorrect. These have been corrected and two additional models added (bfeklor and
zbfeklor) which velocity broaden the Fe Kalpha complex. Our thanks for Kenji
Hamaguchi for spotting the error and suggesting the new models.
Report added on Jun 02, 2025.
This patch modifies Xspec/src/XSFunctions/ FeKfromSevenLorentzians.cxx, functionMap.cxx, .h, funcWrappers.cxx, .h and src/manager/ model.dat |
12.15.0e | This patch restores the functionality to tclout weight and Fit.weight in
standard Xspec and PyXspec respectively. Our thanks to Maurice Leutenegger for bringing this to our attention.
Report added on Jun 26, 2025.
This patch modifies Xspec/src/XSStat/ FitStatMethod.cxx and src/XSUser/Handler/ xsTclout.cxx |
12.15.0f | Fix for a memory access error that may cause a crash in the gabs, lorabs, and voigtabs absorption models.
Our thanks to Roi Rahin and Subhasish Das for bringing this to our attention.
Report added on Jul 03, 2025.
This patch modifies Xspec/src/XSFunctions/ calcAbsorptionLine.cxx. |