30.01.2013 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.9. DETECTING SOURCES IN <strong>BAT</strong> IMAGES 53<br />

a typical <strong>BAT</strong> sky image, which results in about <strong>30</strong>0000 trials. Thus, the true chance probability<br />

of getting a >5 sigma fluctuation somewhere in the image is 10-20%. This result also means that if<br />

you look at enough images (say 5-10 images), you will get a >5 sigma excess just by chance. Users<br />

should always carefully account for the number of trials appropriately in assessing the significance<br />

of a particular excess, and generally should never lower the threshold below 5 sigma.<br />

5.9.4 Finding the Intensities of Known Sources<br />

In addition to performing a blind search, batcelldetect can also measure the intensities of sources<br />

at known positions. No matter what the intensities are at those known positions, batcelldetect will<br />

report them (they can even be negative, since <strong>BAT</strong> images have gaussian statistics).<br />

Let us suppose we are worried about whether the X-ray binary 4U 0114+65 is interfering<br />

with the measurement of the GRB. Generally speaking bright sources increase the overall noise<br />

level everywhere in the image by about 1% of the bright source’s intensity. Thus, a very bright<br />

source can distort the intensity of another source. Since 4U 0114+65 is about 21 degrees from the<br />

GRB position, it is in the field of view. We can check the the intensities of both sources using<br />

batcelldetect.<br />

Targeted searches are done by specifying an input catalog (or “analysis catalog”). batcelldetect<br />

expects the input catalog to be in a certain format which is easy to create from ASCII files using<br />

a tool like ‘ftcreate’. <strong>The</strong> catalog must be a FITS file with at least these three columns: NAME,<br />

RA OBJ, DEC OBJ. As one might expect, these are the name and position of the source.<br />

Creating a Catalog from Scratch<br />

Here are some simple steps to create a catalog from scratch. Remember that we are interested in<br />

the flux at the position of 4U 0114+65, which has a known position. Let us first create a text file<br />

with the name and position of this source source and call it ‘incat.dat’:<br />

# Name RA_OBJ DEC_OBJ<br />

’4U 0114+65’ 19.5113 65.2918<br />

Of course, it is straightforward to add more sources to the catalog by adding more lines to this<br />

file. In fact, you can use a large catalog of your favorite sources which might not even be in the field<br />

of view. batcelldetect automatically filters the input catalog to include only those sources which<br />

are in the field of view of the image.<br />

We will use the task ‘ftcreate’ to convert this to a FITS file. ftcreate needs a ’column description’<br />

file. This is an ASCII file which we will call ‘incat.col’:<br />

NAME <strong>30</strong>A<br />

RA_OBJ E deg<br />

DEC_OBJ E deg<br />

<strong>The</strong> three lines of the file correspond to the three columns of the FITS file.<br />

Finally, we create the FITS catalog, ‘incat.cat’, with the following command,<br />

ftcreate incat.col incat.dat incat.cat

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!