This web site provides a repository of Swift-XRT light curves and hardness ratios for every GRB this instrument has detected. There are four ways provided of selecting a GRB to view: a page of thumbnail images for each GRB, a search box (where you can enter a GRB number, or BAT trigger number), a year/month menu and a panel showing the 5 most recently observed GRBs. Each of these links to the light curve page for that burst.
Bursts which the XRT did not observe or did not detect do not have thumbnail images, even if they are Swift-detected bursts.
The process of light curve creation is described in full in two refereed papers: Evans et al. (2007, A&A, 469, 379) and Evans et al. (2009, MNRAS, 397, 1177). Most of the questions we are commonly asked about the light curves can be answered by looking at these papers. An overview of the algorithm is also given online.
Back to contents | Back to repository
The data available from this repository are available for use in research and publications, provided that this is acknowledged. We request two forms of acknowledgement. Where the data are first introduced, please cite Evans et al. (2007, A&A, 469, 379) and Evans et al. (2009, MNRAS, 397, 1177) which describe how the data were produced. In the acknowledgements section, please use the following text:
This work made use of data supplied by the UK Swift Science Data Centre at the University of Leicester.
Back to contents | Back to repository
When you select a GRB, you will be taken to the light curve page for that burst, which is described here. (For details of how these products are created see Evans et al [2007, 2009], and the changelog on this page). An overview of the algorithm is also given online.
The page begins with a title, and then indicates which dataset triggered the most recent update of the light curve. This is followed by a series of links to any other products which exist for this burst, to the rebin interface and this documentation page; and a warning if data for this GRB are still on the quicklook site (i.e. more observations may be forthcoming).
If any data points had to be flagged as unreliable, this is reported next, along with a control to allow those data points to be shown. Unsafe data points are described below.
The light curves are shown next, presented first in graphical format. There will be (up to) four plots, all of which link to the ASCII data from which they were created. Each light curve also comes with a link to allow the plot to be rescaled, and may also include the controls to toggle whether WT-mode systematic errors are included. Finally, links are provided to allow the download of the various files available in the light curve repository for this GRB.
Back to contents | Back to repository
There are up to four light curves available to view and download, followed by a list of up to 18 files. The images are:
The links at the foot of the page include postscript versions of all of the plots, the ASCII versions (which can also be reached by clicking on the images), and various other files which are described under File formats and contents below.
As of 2009 July, Swift-XRT collects data in WT mode while slewing. These data are only usable for bright objects, such as newly-discovered GRBs, but they enable us to begin collecting the critical early data a few seconds earlier. These ‘settling mode’ data points are shown in cyan on the light curve plots.
In order to produce a correct light curve, knowledge of the GRB position in the XRT coordinate frame is critical (this is discussed in detail below). While Swift is still slewing the spacecraft attitude information can be inaccurate, and the degree and direction of the inaccuracy is a function of time. This was responsible for the artifacts previously seen in settling mode data. For bright GRBs it is possible to perform high-cadence centroiding within the WT-mode window to track the position of the GRB within the XRT co-ordinate frame. In this case the settling mode data can be correctly analysed. For fainter bursts, the centroiding cannot be performed with sufficient cadence (roughly every 0.2 s), and therefore the settling mode data are rejected until the slew rate has fallen to around 20″/sec, at which point the attitude information tends to stabilise. For bursts which are fainter still, it may be impossible to determine the GRB position within the XRT frame at all; in those cases the settling mode data are not included in the light curve.
Back to contents | Back to repository
There are up to three ways in which you can manipulate the plots shown, which are described below. If the light curve includes WT mode data then you can toggle whether the systematic errors are shown, and if there are ‘unreliable’ data points then you can select whether or not to show them. These controls affect all plots on the page simultaneously, and also the ASCII file linked to by the plots. You can also rescale the plots, that is, change the axis limits and regenerate the graphical image of the light curve.
WT-mode data are subject to extra uncertainties in addition to the statistical errors, when the GRB is near to the bad columns on the CCD or the edge of the field of view, or the data are piled up. This uncertainty is understood and calibrated, and we add an error to each WT-mode data point which reflects this. For simplicity, we refer to this as a systematic error, that is, it reflects an uncertainty in the absolute flux level of the object (a DC offset). This error will be different each time the spacecraft slews to the object, so the systematic error should be considered when comparing the flux level of an object in one snapshot with that in another (of course, since we have calibrated this as a 1-σ error, it is expected that for a constant source, 1 in 3 snapshots will not be consistent with the rest). In reality, the error is not always systematic in nature but can vary in magnitude between bins in the same snapshot, therefore whether this error should be taken into account should be decided on a case by case basis, as we now explain.
The systematic error is caused by inaccurate knowledge of the GRB position on the XRT CCD, and is a calibrated quantification of the uncertainty caused by this inaccurate knowedge (full details are at the end of this section). So if the GRB maintains a constant position on the CCD, this error is purely systematic: all datapoints in a snapshot are affected in exactly the same way. Therefore in this case, the systematic error should not be considered when evaluating point-to-point variation within a snapshot, otherwise the significance of such variation will be underestimated. On the other hand, if the object is moving on the CCD, the ‘systematic’ error may be variable within a snapshot. For example, if our measurement of the GRB position on the CCD is incorrect by one pixel, but the GRB is 5 pixels from the bad columns, then the systematic error caused by the poor position is small; but if the spacecraft moves such that the GRB drifts onto the bad columns, then the systematic error will get larger as the GRB moves towards and onto the columns. In this case, the variation between the bins within that snapshot is being exaggerated by the poor positional information, and therefore the ‘systematic’ error should be used when considering the significance of those variations.
The practical impact of this is that, in order to evaluate the significance of intra-snapshot variability, one must check whether the source position within the CCD is stable. Since in WT mode only 1-dimensional position information is available, only DETX position variations need considering. On the light curve pages a link is provided above each light curve, entitled, ‘View systematics and position variation’. This opens up a plot showing the DETX position of the object and the fractional systematic error, as a function of time. This can be used to decide whether or not the source remains in a stable position during the time interval in question (this plot can also be rescaled to zoom in on a specific time range. An example is given in Fig. 1. During times where the DETX position is varying (within a snapshot) the systematic error should be taken into account when assessing source variability; during times where DETX is constant, the systematic can be safely disregarded, for the evaluation of source variability within the snapshot. At all times, when determining the absolute flux level, the systematic should be included.
Fig. 1. Left: An example of position variation and the resulting systematic error factors. This shows one snapshot in which the object moves significantly on the CCD which, due to the proximity to the bad columns, causes significant uncertainty at early times. Thus the variation seen in the light curve (right) at the start of the snapshot should only be interpreted when the systematic errors are included.
As Fig 1 shows, the systematic error plotted is actually a factor, since (see below) it is really an uncertainty in the PSF correction factor that is applied to the light curve.
By default, the systematic error is included in the light curves on the repository, however by deselecting the check box above the light curve, these can be turned off. Note that the checkboxes are linked, so clicking on any of them toggles the inclusion of systematic errors for all of the plots on the page. If the GRB is not piled up or near the bad columns or field-of-view edge, then the systematic errors are negligible, and toggling this box will make no difference to the light curves.
The systematic errors arise in cases where some of the events from the source are lost, either because they lie over the bad columns or outside the field of view, or because the core of the PSF had to be excluded because of pile up. In each of these cases, when the light curve is constructed the instrumental PSF is used to calculate the fraction of events that were lost, and the count-rate is multiplied by the corresponding correction factor. However, in order to do this calculation correctly, the position of the source on the XRT CCD must be known accurately. For example, if it is believed that the wings of the PSF are over the bad columns such that only 2% of the flux is lost, whereas in reality the source is much closer to those columns and 30% of the flux is lost, then the correction factor will be far too small and consequently the light curve bins at those time will report a spuriously low count-rate. Or, in the case of pile up, if we believe we are excluding the central 4 pixels of the PSF, but actually the annulus is not correctly centred on the source, then the correction factor will clearly be wrong.
To solve this problem, we use PSF centroiding once per snapshot to determine the position of the GRB in the XRT's RA/Dec coordinate frame. This may not be the same as the ICRS RA/Dec system, due to uncertainties in the spacecraft attitude, hence the need to centroid repeatedly. Although it is the CCD position we are interested in, we need to centroid in RA & Dec, because Swift does not remain stationary while on target, but moves slightly, thus the PSF in the raw CCD images becomes smeared. The spacecraft attitude information corrects for these movements, making the PSF well defined and stable in the RA & Dec frame (although there is a 3.5″ systematic uncertainty associated with Swift's absolute attitude, the relative attitude information appears to be stable within an orbit. That is, the size and direction of the small movements Swift makes while pointing are well described in the attitude files.). We then use the attitude information from the spacecraft to convert the RA & Dec of the GRB into a CCD-coordinate position as a function of time. The uncertainty in the PSF centroiding is well constrained as a Gaussian with σ=0.64 pixels. Similarly the WT mode PSF is known, as is the location of the bad columns, and the box or box annulus within which source events are collated. Therefore, for a given measured CCD position, we can work out the probability of the GRB really being at any true CCD position, and how wrong the measured count-rate would be given that combination of measured and true positions. Integrating this over the Gaussian uncertainty in the centroiding output allows us to produce a systematic error in the correction factor as a function of the measured CCD position of the GRB, this is shown in Fig. 2. If this error in the correction factor is Ecf, then the error in the count-rate caused by the centroiding inaccuracy is Ecf(R-1), where R is the measured (uncorrected) count-rate. This can then be added in quadrature to the statistical error on the count-rate. The plot below shows the fractional error as a function of measured position on the CCD. As can be seen, this is slightly asymmetric, so the errors on the final light curve are also asymmetric.
Fig. 2 The 1-σ fractional systematic error as a function of the measured position of the GRB on the CCD. The upper and lower curves show the positive and negative errors respectively.
If the position of the object within the XRT CCD is not known, the count-rate may be unreliable. In part, this is due to the issues described above, but also of course, even in the absence of bad columns and pile up, the source extraction region needs to be centred on the source. As the XRT astrometry has a nominal accuracy of 3.5″ (90% confidence), the light curve software attempts to centroid on the object for each snapshot. In any case that a centroid cannot be found, or is more than 12″ in WT mode / 20″ in PC mode from the best-known GRB position, that best-known position is used, data from that snapshot are considered unreliable.
If unreliable data are found, a warning appears at the top of the results page to warn of this fact, give some information about the affected times, and a control is provided to toggle whether those data are included in the light curve. Note that “unreliable” does not mean “wrong” and in many cases the data will be reliable, it is only if the spacecraft astrometry is particularly bad that a problem is expected: the toggle switch is to draw your attention to the questionable data so that outlying values caused by bad centroids can be spotted.
Before each of the light curve images is a link inviting you to "rescale" the light curve. This opens a new panel from which you can choose the axis limits, and whether they are linear or logarithmic, and then replot the data. Note that, unlike rebinning this does not change the data, only the visualisation.
Back to contents | Back to repository
The light curve images all serve as links to the data file from which they were produced, the formats of these files are discussed below. After the images there is a series of links to different files which are not plotted, but contain more information. The formats of these files are also given below. Note that whether or not the light curve data includes systematic errors and the bad WT points depends on the settings of the controls, described above.
The Basic Light Curve shows the count-rate as a function of time. The related ASCII file is ready for use in QDP, thus begins with a READ TERR line (to tell qdp which columns contain errors) There are 6 columns in this file, which are:
There are up to five datasets in the file, separated by a line of NO NO
NO NO NO
, (again, for compatibility with QDP). The datasets appear in
the following order: Windowed Timing (WT) settling mode data, WT data; WT upper limits; Photon
Counting (PC) data; PC upper limits. Depending on the object, some of these may
be missing, however each dataset begins with a comment (denoted by a leading
!) identifying it.
The Detailed Light Curve contains the information from the Basic Light Curve and also the background level in the top panel. The lower panel shows the fractional exposure in each bin. Note that the background level is the expected background rate in the source region, however as the source region is dynamic (it is smaller when the source is fainter) some correlation between source and background count-rates is expected.
The columns in the ASCII file are the same as for the basic light curve, however
there are more datasets (again separated by lines of NO
entries): the count-rate, upper limits
(if applicable), background level and fractional exposure; first for WT mode then PC mode.
Note that the WT settling mode data do not appear in here since all settling mode data
points have a fractional exposure of 1 and the background rate is negligible.
The hardness ratio plot contains 3 panels, showing the hard-band data in the top panel,
the soft-band data in the middle, and the hardness ratio in the bottom panel. The hardness
ratio is defined as Hard/Soft
. By default the hard and soft bands are 1.5—10 keV and 0.3—1.5 keV
respectively, although if you rebin the light curve you can change these
values.
The hardness ratio ASCII file again contains the same basic 5 columns as in the basic light curve, with three datasets: hard band data, soft band data and hardness ratio, per instrument mode (WT settling mode, WT mode, PC mode).
The files below the images comprise postscript versions of each light curve, per-mode light curves (referred to as the basic data), a detailed dataset per mode and event lists. The basic data are the same format as the basic light curve, whereas the detailed data contain many more fields, giving all available information about each bin. The columns in the detailed files are:
The "total correction factor" is the ratio of the corrected count rate to observed count rate in this bin. The corrected count rate has been amended to account for: bad pixels/columns, field of view effects, pile-up and source counts landing outside the extraction region.
Sigma is the detection significance of the source in this bin (=net counts/error in bg counts for a frequentist bin. For a Bayesian bin it is the confidence level at which the source count rate is above 0). For an upper limit, the value written is the detection significance of the data which were replaced with the limit. The upper limit is at the 3-σ level for GRBs, and is calculated using the Bayesian method (see Kraft, Burrows & Nousek, 1991, ApJ, 374, 344).
The signal-to-noise ratio is simply the count-rate divided by its negative error.
The fractional systematic error is the multiplicative component of the error which reflects
the systematic errors related to position uncertainty.
For example, in the positive direction, if Eup is the extra error component,
and Rmax is the 1-σ upper bound on the count-rate value including this component:
Eup = Rmax - R
= R*S -R
= R (S-1)
where R is the count-rate in the bin, and S is the fractional systematic error in the positive direction, and
E is the resultant systematic error which has to be added in quadrature to the statistical error on the count rate
to give the final error. If the ‘Include systematic errors?’ check-box is selected, the count-rate error
already includes this component.
The event lists (source and background for each mode), contain all
source or background events selected during the light curve creation. As well as the
standard columns (TIME
, position information, energy etc), the following
information has been added:
Back to contents | Back to repository
When binning the GRB light curves, the software applies 5 criteria to determine whether a bin is complete. These are:
The variables given above as X, Y, Z, Q can all be adjusted via the rebinning interface. Criterion 3 is a little obscure: since the data are read out at discrete times, one can get many events with the same timestamp. Criterion 3 ensures that these events are all put in the same bin, to prevent overlapping error bars.
In the standard products, the data are binned dynamically; that is, the
binning criteria vary with count rate. This has been found to be the optimal
way of binning GRB data, where the flux can vary by more than five orders of magnitude
across the light curve, and a single binning approach is not optimal.
X, the minimum number of counts in a bin, is valid at a count rate of
1 count per second (cps); when the count rate changes by some factor (the
rate factor), X changes by some other factor (the bin
factor). The default values for these factors are 10 and 1.5
respectively, thus an order-of-magnitude change in count rate produces a
factor of 1.5 change in bin size. This is done discretely rather than
continuously, so if X=20 then where the count rate lies in the
range 1-9.99 cps a bin must contain at least 20 counts. However, when the
count rate is 10-99.99 cps, there must be 30 counts for a bin to be full. At
lower rates of 0.1-0.99 cps, only 13 (=20/1.5) counts are needed to complete a
bin, although this is rounded to 15: no matter how low the count rate goes, a
bin will always need at least 15 counts, to ensure that using Gaussian methods
to propagate errors statistics is valid.
While the above approach gives useful, usable results for almost all GRBs, it may not give the best possible results for a given burst. We have thus provided an interface to allow the user to rebin the light curves for themselves.
From the light curve page for your GRB, follow the "Rebin this light curve" link. The form with which you are presented contains the fields detailed below. If you have javascript enabled, clicking on the field name will open a help box with more information about that field.
The first option is the Binning Method. There are four ways of binning the data:
The following options are available for all four binning methods:
The following fields are only available if you have chosen "User specified" for the energy and grade selection.
The following options are available only for the Counts binning method:
The following options are available only for the Time binning method:
The snapshot and obsid binning have no special options to set.
Once you are happy, click "Rebin data". You will be redirected to a "holder page" which will auto-reload every 10 seconds until the process is finished, at which point it will be replaced with the light curve page. Note: your rebinned light curve will be stored at a temporary URL, and deleted after 24 hours. There is no link to it, so it is a good idea to bookmark the holder page when the rebin process starts, so that you can find the page again.
Back to contents | Back to repository
When a GRB is detected by the Swift-BAT, or a ToO for a GRB detected by another mission is uploaded, the UKSSDC servers automatically register the object for analysis. The arrival of data on our quicklook site automatically triggers the the GRB analysis software. This first reprocesses the XRT data with the most recent version of the Swift software and then constructs the high-level products such as the light curve.
Back to contents | Back to repository
The update procedure is almost identical to the new burst procedure. It is triggered by the arrival of new data, and again runs after those data have been locally reprocessed. When a light curve is updated it is not ordinarily completely rebuilt. Instead the time of the start of the final hardness ratio bin is determined, all existing data after this point are deleted, and the update begins at this time. There are two exceptions to this: if older data are also received (sometimes data are not delivered in "order"), or if the light curve was previously built before any PC mode data had arrived, but PC mode data are now available. The reason for the latter is that, without PC mode data, we cannot determine the most accurate XRT position of the GRB so the light curve is built using the position from the prompt data analysis. As soon as PC mode data are available a better position is available and should be used.
Back to contents | Back to repository
We endeavour to ensure that the GRB products provided on this website are created with the most up-to-date version of the Swift software and calibration. After a new version is released, there will be a short period of time while we test this software and confirm that our codes still work as expected, and then we will reprocess all of our online products using the new software/calibration. This will ordinarily be done offline, and then the products updated en masse, rather than piece aat a time.
The light-curve generation software is occasionally modified. Any changes are listed here.