The SWIFT BAT Software Guide Version 6.3 30 ... - HEASARC - Nasa
The SWIFT BAT Software Guide Version 6.3 30 ... - HEASARC - Nasa
The SWIFT BAT Software Guide Version 6.3 30 ... - HEASARC - Nasa
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.7. SPECTRUM AND RESPONSE MATRIX 45<br />
5.7.6 Generate a Response Matrix<br />
A response matrix should be created for each spectrum where the GRB is at a different position in<br />
the <strong>BAT</strong> field of view. For example, one response matrix should be made for data taken before any<br />
slew, and one after any slew. Any spectra made during the slew should have their own response<br />
matrix.<br />
batdrmgen flare.pha flare.rsp NONE<br />
5.7.7 Important: Spectrum of a Source During a Slew<br />
It is often the case that a gamma-ray burst source is moving in the <strong>BAT</strong> field of view. This is<br />
because the spacecraft often slews to the position of the GRB before the burst emission is has ended.<br />
<strong>The</strong> <strong>BAT</strong> spectral response changes with position, so you should not use one response matrix for<br />
the entire burst. For a source with a power law spectrum, a position error of 25 degrees introduces<br />
an error of about 0.1 in the photon index, and about 10% in total flux. <strong>The</strong> spectral distortion<br />
effect will be more pronounced if the slew is a longer distance, or if the GRB has strong emission<br />
peaks separated by a large time and/or distance. <strong>The</strong> distortion will be less if the GRB emission<br />
occurs mostly during a pointing, and of course there will be no distortion if the burst emission is<br />
completely confined to a pointing.<br />
You should break long bursts which overlap slews into smaller segments corresponding to<br />
whether the spacecraft is moving or not. Generally speaking, you should make a response matrix<br />
whenever the position of the source changes by more than 15 degrees (or smaller increments<br />
if you wish). One straightforward way to do this is to use the position columns in the auxiliary<br />
ray tracing file. Look for the columns named IMX and IMY, which contain the source position in<br />
the <strong>BAT</strong> field of view, relative to the spacecraft pointing direction. <strong>The</strong> values are tangent plane<br />
coordinates, so tan(15 deg) ∼ 0.27. Thus, you should break a spectrum into segments where the<br />
source moves no more than 0.25 in the IMX or IMY coordinate.<br />
<strong>The</strong> SDC should make “pre-slew” and “post-slew” response matrices. <strong>The</strong>se generally should<br />
correspond to the pointings during the <strong>BAT</strong> trigger, and the following pointing after the slew,<br />
respectively. <strong>The</strong>se matrices will be useful if the burst primarily overlaps either the pre-slew or<br />
post-slew pointings.<br />
5.7.8 Analyze Spectrum in XSPEC<br />
You can now load this spectrum within the spectral fitting program XSPEC. Please be aware that<br />
you should ignore data below 14 keV and above 195 keV. Since the <strong>BAT</strong> mask becomes transparent<br />
around 150 keV, the <strong>BAT</strong> team recommends fitting spectra in the 15-150 keV range.<br />
Common Spectral Models<br />
<strong>The</strong> following models are commonly used in fitting of <strong>BAT</strong> spectra.<br />
powerlaw/pegpwrlw <strong>The</strong> simplest model. Powerlaw is normalized by its differential spectrum,<br />
and pegpwrlw is normalized by total flux. NOTE: since the powerlaw model is normalized at<br />
1 keV, it can lead to spurious statistical correlations between parameters in the <strong>BAT</strong> 15-150<br />
keV band; pegpwrlw is preferred.