Known issues and patches
Home Downloads Manual Issues/Patches Additional Models Xspec v11
    (updated 05/03/10) (updated 04/01/11)    

New issues from Xspec 12.6.0

The new HEASOFT 6.10 distribution includes a fix to the PLT plotting package, and this fixes the earlier XSPEC bug that occurred when saving multiple panel plots to files using the PLT wenv command.

Frequently Asked Questions

List of currently outstanding issues.


Patches:

HEASOFT 6.10 is distributed with XSPEC12 already patched to version 12.6.0q.

latest update 12.6.0ab Apr 01, 2011

Requires patch installer v3.2 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 v3.3, 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 (v3.3), 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.6.0a XSPEC issues a fatal error if the swind1 and zxipcf models are both used within the same session. Our thanks to Matteo Cerruti for pointing this out. Report added on Mar 29, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/Model/Component/ TableComponent.cxx, XSModel/Model/Component/OGIPTable/ OGIPTable.cxx, and XSModel/Parameter/ Parameter.cxx

12.6.0b When applying fractional systematic errors to multiple channels grouped into a single bin, XSPEC should multiply by the square of the sum of the binned channels rather than the sum of the squares of the individual channels. Our thanks to Mike Nowak for pointing this out. Report added on Mar 31, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/Data/ OGIP-92aData.cxx and XSModel/Data/BackCorr/ OGIP-92aBackground.cxx

12.6.0c The setplot rebin option does not work properly when used in energy/wavelength mode AND channel energies are listed in descending order in the response EBOUNDS extension. Our thanks to Roderick Johnstone for pointing this out. Report added on Apr 01, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSPlot/Plot/ CreateBinnedPlotGroups.cxx

12.6.0d The chi-square does not change when running steppar on the redshift z parameter of a table model. Our thanks to Jeremy Sanders for pointing this out. Report added on Apr 08, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/Model/Component/ TableComponent.cxx

12.6.0e This improves the initpackage local models tool so that it now recognizes *.f03 file extensions for Fortran 2003 code, and it also now allows *.f90 extensions. Our thanks to Pablo Cassatella for bringing this issue to our attention. Report added on Apr 15, 2010.

This patch modifies heasoft-6.9/Xspec/src/tools/initpackage/ initpackage.cxx and heasoft-6.9/Xspec/BUILD_DIR/ Makefile-std

12.6.0f For better compatibility with previous XSPEC releases, when multi-panel plots are performed interactively with iplot, the first panel should be designated PLT's currently active window rather than the last panel. Our thanks to Maria Caballero-Garcia for pointing this out. Report added on Apr 21, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSPlot/Plt/ PltPkg.cxx

12.6.0g This increases an internal buffer for handling PLT command strings. A larger size is now necessary when producing multi-panel plots which happen to contain a large number of plot vectors. Our thanks to Lijun Gou for pointing this out. Report added on Apr 30, 2010.

This patch modifies heasoft-6.9/Xspec/src/xslib/ gtbuf.f

12.6.0h A couple of modifications to the behavior of steppar when not starting from a best fit: The delta fit statistic column will now show values relative to the original fit statistic, not the value it has after steppar performs an initial renormalization. Also when steppar detects a new best fit, it will now prompt the user only when the improvement exceeds the current setting of the fit's critical delta parameter. Our thanks to Jeremy Sanders for this suggestion. Report added on Apr 30, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSUser/Handler/ xsSteppar.cxx

12.6.0i When running an XSPEC script, if a call to a user-defined Tcl procedure immediately follows a call to an XSPEC multi-line command (such as model, fakeit, or editmod), the procedure is not executed if its definition is in a nested script called from the current script file. Our thanks to Paul Nulsen for pointing this out. Report added on May 11, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSUser/UserInterface/ execscript.cxx

12.6.0j A crash occurs when a delcomp operation is performed AND one or more parameters are linked to multiple parameters. Our thanks to Jeremy Sanders for pointing this out. Report added on May 19, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/Parameter/ ParamLinkList.cxx

12.6.0k The tclout modval option should output a model's flux array even when no spectra are loaded. (In this case XSPEC will ignore the spectrum number parameter.) Our thanks to Veronica Biffi for pointing this out. Report added on May 26, 2010.

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

12.6.0l For the pexriv/bexriv group of models, a normalization calculation error occurs if there are large energy bins near the value (1+z). Our thanks to Shin'ya Yamada for pointing this out. Report added on Jul 14, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSFunctions/ xspexriv.cxx

12.6.0m The diagrsp command does not work if the energies in the response file EBOUNDS extension are stored in decreasing order. Report added on Aug 17, 2010.

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

12.6.0n When running eqwidth on a data group whose spectra do not share the same energy range, only the range from the first spectrum is used. This presents a problem if the actual component peak is outside that range. Report added on Aug 17, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/GlobalContainer/ ModelContainer.cxx, XSModel/Model/ Model.cxx, .h, ModelBase.cxx, .h,

12.6.0o This is an improvement to XSPEC's internal update mechanism, which reduces the number of model calculations taking place as a result of changes to data and responses. It also removes a problem certain table models were having during the update stage. Report added on Aug 17, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/GlobalContainer/ ModelContainer.cxx, XSModel/Model/ Model.cxx, .h, ModelBase.cxx, .h,

12.6.0p A none entry for the data command can cause a crash if it is assigned to an out-of-range data group number (though note that a none entry need only be assigned to a spectrum number and not a [group number]:[spectrum number] pair). Our thanks to Alex Padgett for pointing this out. Report added on Aug 17, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/Data/ DataUtility.cxx

12.6.0q When loading OGIP type 2 background files, the last bin in the spectrum is not properly set (typically resulting in a value of 0.0 on Linux). Report added on Aug 17, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/Data/BackCorr/ OGIP-92aBackground.cxx

12.6.0r The flux command output display needs a modification to show that the cm^2/s units apply to the photon value as well the ergs value. Our thanks to Pat Broos for pointing this out. Report added on Sep 08, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/Model/ Model.cxx

12.6.0s If the correction file scaling factor is changed with the cornorm command, the new setting does not get written to the save command's output file. Our thanks to Jukka Nevalainen for pointing this out. Report added on Sep 08, 2010.

This patch modifies heasoft-6.9/Xspec/src/XSModel/GlobalContainer/ DataContainer.cxx and XSUser/Handler/ xsCornorm.cxx

12.6.0t Various improvements made to the chain (MCMC) command: Removed misleading multiple chain output from the chain stat command when only 1 chain is loaded. Clarification added to the 1-D plot margin label. If chains are loaded, tclout simpar may now be used without a valid fit and even if no spectra are loaded. Bug fix to the definition of the Rubin-Gelman convergence measure. Our thanks to Simon Vaughan for pointing these issues out. This patch also fixes a bug wherein a "Chain IO" error may appear due to the selection of row 0 when internally accessing random rows in chains. Report added on Oct 22, 2010.

This patch modifies heasoft-6.10/Xspec/src/XSFit/Fit/ Fit.cxx, src/XSFit/MCMC/ ChainManager.cxx, FITSChain.cxx, src/XSUser/Handler/ xsTclout.cxx and src/manager/ plotLabels.dat

12.6.0u This adds a new tclout version option, making it easier to access the XSPEC version string from inside of Tcl scripts. Our thanks to Stefano Bianchi for this suggestion. Report added on Oct 22, 2010.

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

12.6.0v If after a data removal command is issued, there still exists spectra loaded into at least 10 data groups with a defined model, XSPEC will crash. Our thanks to Anna Lia Longinotti for pointing this out. Report added on Oct 28, 2010.

This patch modifies heasoft-6.10/Xspec/src/XSModel/GlobalContainer/ ModelContainer.cxx

12.6.0w This adds a new option for the fakeit command. When prompted for the exposure time and correction norm, you may now enter a 3rd argument to change the fake background exposure time. Previously this parameter was fixed by the exposure time in the original background file upon which the fake background was based. For backwards compatibility, fakeit will produce the same behavior as before if this argument is not entered. Our thanks to Francois Dufor for making this suggestion. Report added on Jan 11, 2011.

This patch modifies heasoft-6.9/Xspec/src/XSModel/Data/ DataSet.cxx, FakeDataInputRecord.cxx, .h, OGIP-92aData.cxx, XSUser/Handler/ xsFakeit.cxx, XSUtil/Parse/ XSparse.cxx and .h

12.6.0x When the model weighting option of the weight command is selected and applied to a spectrum with a background file, the variance ought to include the background in addition to the model. Our thanks to Giacomo Vianello for bringing this to our attention. Report added on Jan 11, 2011.

This patch modifies heasoft-6.10/Xspec/src/XSModel/GlobalContainer/ Weight.cxx

12.6.0y Both the writefits tcl script and the tclout error command fail when dealing with a scale or switch parameter. Our thanks to Juan Luna for pointing this out. Report added on Jan 31, 2011.

This patch modifies heasoft-6.10/Xspec/src/XSUser/Handler/ xsTclout.cxx and src/scripts/ writefits.tcl

12.6.0z If a spectral data file has both quality and grouping columns, and all of the channel qualities are marked as bad, it will crash upon loading on Linux platforms. Our thanks to Fabio Pintore for pointing this out. Report added on Feb 09, 2011.

This patch modifies heasoft-6.10/Xspec/src/XSModel/Data/ OGIP-92aData.cxx and src/XSModel/Data/BackCorr/ OGIP-92aBackground.cxx

12.6.0aa When a save file is created while gain parameters AND proportional deltas are in use, the gain parameter output is in an unreadable format. This causes the user to be prompted for the parameter values when reloading the save file. Our thanks to Andy Beardmore for pointing this out. Report added on Mar 21, 2011.

This patch modifies heasoft-6.10/Xspec/src/XSModel/GlobalContainer/ DataContainer.cxx

12.6.0ab When running fakeit with a model containing the projct mixing component, the XFLT keywords are not being copied to the fake spectra. This prevents the fake spectra from using the projct component. Our thanks to Alastair Sanderson for pointing this out. Report added on Apr 01, 2011.

This patch modifies heasoft-6.10/Xspec/src/XSModel/Data/ OGIP-92aData.cxx and SpectralData.cxx


Older Versions:

Final issues/patches pages:
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: Thursday, 27-Dec-2012 14:28:00 EST