|
New issues from Xspec 12.5.0
For those linking the XSPEC models library into their own programs, the
XSFunctions library now has new dependencies on libXSModel and libCCfits, requiring that they
be linked into your program. See manual
Appendix F for more details.
We recommend avoiding the X11 2.3.1 upgrade on the Mac OS X Intel platform,
as it prevents PGPLOT's /xserve driver from properly refreshing the plot window. This
problem has been fixed in the X11 2.3.2 release candidate versions. Our thanks to Terry Gaetz
for pointing this out.
Frequently Asked Questions
List of currently outstanding issues.
Patches:
latest update
12.5.0n Jan 15, 2009
Requires patch installer
v2.5
To apply patches, you'll need to have downloaded and already built the source code distribution
of XSPEC. For details and more information about the patch installer, 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 v2.5
tcl script, download and place it in the XSPEC src directory. This directory
should be at heasoft-6.6/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_2.5.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.5.0a |
Bug fix to the kerrbb model for the (unlikely) case where only one of
self-irradiation and limb-darkening is turned on. Our thanks to Li Xin-Li for pointing this out.
Report added on Dec 01, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSFunctions/
runkbb.f
|
12.5.0b |
When the editing commands addcomp, delcomp, or editmod
have been used on a model that already contains linked parameters, the
link expressions are not properly updated in the output to a save model
file. Our thanks to Laura Brenneman for pointing this out.
Report added on Dec 03, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSUtil/Parse/
LinkExpression.cxx, src/XSModel/Model/
Model.cxx, and src/XSModel/Parameter/
ParameterLink.cxx
|
12.5.0c |
This removes the warnings issued if datasets contain CHANTYPE strings other than
PI or PHA. It will still issue warnings if the CHANTYPE differs between
the spectral data and RMF files.
Report added on Dec 03, 2008.
This patch modifies heasoft-6.6/Xspec/src/main/
xsTypes.h, src/XSModel/Data/
OGIP-92aData.cxx,
SpectralData.cxx,
.h, src/XSModel/Data/BackCorr/
OGIP-92aBackground.cxx, src/XSModel/Data/Detector/
MultiResponse.cxx,
RealResponse.cxx, and heasoft-6.6/Xspec/Integral/
SPI_Data.cxx
|
12.5.0d |
Additional C/Fortran function wrappers provided for the following recently added C++ models:
cflux, partcov, simpl, and spexpcut. These are required for users who
link the XSPEC models library into an external Fortran or C program.
Our thanks to John Houck for pointing this out.
Report added on Dec 03, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSFunctions/
funcWrappers.cxx
.h
|
12.5.0e |
In the FNINIT function (for users linking the XSPEC models library into their own programs), the default
model data directory name needs to be updated from "modelIonData" to "modelData" to coincide with
v12.5.0 restructuring. Our thanks to John Houck for pointing this out.
Report added on Dec 05, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSUtil/FunctionUtils/
xsFortran.cxx
|
12.5.0f |
Patch to improve the behavior of an exceptional case of Levenberg-Marquardt
fitting, where a parameter becomes pegged due to a zero second-derivative matrix diagonal element AND
the user chooses to exit before convergence.
This prevents an attempt at a covariance calculation on the parameter, which otherwise might lead to a segmentation fault.
Our thanks to Stefano Bianchi and Jeremy Sanders for pointing this out.
Report added on Dec 05, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSFit/FitMethod/LevMarq/
LevMarq.cxx
|
12.5.0g |
Fix to the swind1 model function. Now that it is included
as part of XSPEC's built-in models library, it should no longer look to
the $LMODDIR symbol for finding the model data directory.
Our thanks to Delphine Porquet for pointing this out.
Report added on Dec 09, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSFunctions/
swind1.f
|
12.5.0h |
When doing a 2-panel plot of plot counts/lcounts chisq and the current
fit statistic is cstat, the Y-axis scaling of the chisq panel is wrong.
Our thanks to Fill Humphrey for pointing this out.
Report added on Dec 09, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSPlot/Commands/
PlotChiSq.cxx and
PlotData2Panel.cxx
|
12.5.0i |
The energies extend option does not work properly for the
case of a data group containing multiple responses whose energy bins differ.
Our thanks to Joel Frioriksson for pointing this out.
Report added on Dec 15, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSModel/Model/
ModelBase.cxx
|
12.5.0j |
Parameter links both to and from a model which is not associated with any
spectra (shown as "Active/Off" in the model display), should not be removed when
the model's state gets updated (such as when using the dummyrsp command). Our thanks
to Laura Brenneman for pointing this out.
Report added on Dec 24, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSModel/GlobalContainer/
ModelContainer.cxx
|
12.5.0k |
The dummyrsp command may cause a crash when entering a very large number
of energy bins. Our thanks to Joel Frioriksson for pointing this out.
Report added on Dec 31, 2008.
This patch modifies heasoft-6.6/Xspec/src/XSUtil/FunctionUtils/
XSCCall.cxx and
XSF77.cxx
|
12.5.0l |
This slightly modifies the state of newly untied parameters.
When a parameter is untied, its frozen/unfrozen setting should
retain the setting of the parameter(s) to which it was linked, rather
than be restored to its original value. Our thanks to Phil Evans and Delphine Porquet
for pointing this out.
Report added on Jan 14, 2009.
This patch modifies heasoft-6.6/Xspec/src/XSModel/Parameter/
ModParam.cxx
|
12.5.0m |
When steppar is executed, it should not automatically run a fit
at the end to place the parameters in their best-fit state. Instead it should
restore the parameters to their pre-steppar values, regardless of the fit state.
Our thanks to Tim Kallman for pointing this out.
Report added on Jan 14, 2009.
This patch modifies heasoft-6.6/Xspec/src/XSFit/Fit/
Step.cxx
|
12.5.0n |
Bug fix for a C-to-Fortran boolean conversion error, affecting the
default setting for the thermal broadening flag of the bapec
and bvapecmodels. Unless overridden by the APECTHERMAL setting,
thermal broadening should be ON by default for bapec and bvapec.
This bug has only been observed on Solaris platforms.
Report added on Jan 15, 2009.
This patch modifies heasoft-6.6/Xspec/src/XSFuntions/
sumdem.cxx,
cemVMekal.cxx, and src/XSModel/Model/MixFunction/
xsmaug.cxx
|
Older Versions:
|