Known issues and patches
Home Downloads Manual Issues/Patches Additional Models Xspec In Python Additional Python
    (updated 07/20/23) (updated 10/10/23)    

New issues from Xspec 12.13.1

For Mac OS users attempting to build the relxill local model package with the clang++ compiler, you will first need to download and run this shell script from your heasoft-[ver]/Xspec/src directory. Note that this is the same directory from which you would normally install Xspec patch files.

Frequently Asked Questions

List of currently outstanding issues.


Patches

Latest update 12.13.1e (Oct 10, 2023)

Requires patch installer v4.17

For details about the patch installer, including options available with the latest v4.17, 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:

  1. If you don't already have the patch installer tcl script (v4.17), download and place it in the heasoft-[ver]/Xspec/src directory in 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 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.


12.13.1a Table models with both redshift and escale set are not handled correctly. Our thanks to Doug Burke for reporting this. Report added on Aug 23, 2023.

This patch modifies Xspec/src/XSModel/Model/Component/OGIPTable/ OGIPTable.cxx

12.13.1b When an MCMC chain file contains response parameters, Xspec is falsely reporting mismatches between the chain parameters and the current variable fit parameters. Therefore it doesn't allow the chain to be used for uncertainty estimates in place of fit covariance values. Our thanks to Kenji Hamaguchi for reporting this. Report added on Sep 08, 2023.

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

12.13.1c In PyXspec's AllModels.addPyMod method, usage of a deprecated Python function is preventing execution with the latest Python v3.11. Our thanks to Fabio Muleri for reporting this. Report added on Sep 11, 2023.

This patch modifies Xspec/src/XSUser/Python/xspec/ model.py

12.13.1d There is an error in the calculation of the pgstat statistic. Our thanks to Yanqui Zhang for reporting this. Report added on Sep 11, 2023.

This patch modifies Xspec/src/XSStat/ Cstat.h

12.13.1e The vvapec, bvvapec, vvtapec, and bvvtapec models all deal with the H abundance parameter incorrectly. If it is not zero, it is reset to one. So, e.g. setting the H abundance to 0.5 in vvapec actually produces a spectrum with the H abundances as 1.0. If the H abundance is set to 1.0 (the default and usual setting) the results are correct. We thank Denis Leahy and Adam Foster for pointing this out. Report added on Oct 10, 2023.

This patch modifies Xspec/src/XSFunctions/ bvvapec.cxx, bvvtapec.cxx, vvapec.cxx and vvtapec.cxx


Older Versions:


Xspec Xspec Home Page


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

Last modified: Tuesday, 10-Oct-2023 16:22:20 EDT

The Astrophysics Science Division (ASD) at NASA's Goddard Space Flight Center (GSFC) seeks a creative, innovative individual with strong teamwork and leadership skills to serve as Director of the High Energy Astrophysics Science Archive Research Center (HEASARC). This will be a permanent civil servant position. + Learn more.