# uvot_fluxes_wget.pl vrs. 2010-06-28 fem at 100823d12h22m40s563932usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020146992 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB100814A ===================
Used archived uvot source position of 22.47338 -17.99545 3.00
Reference: GCN_Circulars-11095
The position is (01:29:53.61, -17:59:43.6)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl uvot
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(22.47338,-17.99545,3")
Region file centered at (22.47338,-17.99545), which is (01:29:53.61, -17:59:43.6)
Made source region file with 5" aper with name uvot_flux_src5.reg
Coincidence losses are calculated using a 5" aperture.
Exposure times (t_exp) have NOT been corrected for coinc. loss, but rates and mags have been.
The no. of background pixels has been corrected by the ratio of coincidence loss corrections in the source and background regions.
The errors have been adjusted to account for the binomial distribution of counts at large rates.
A table entry starting with # is an exposure with no aspect solution.
A table entry starting with ! has no pixels in either source or background region.
A table entry starting with % is unreliable because it is not well inside the image.
Upper limits in tables give the 0.9987 confidence limit using Bayesian analysis for detection taking the observed counts into account.
Upper limits in plots give the 0.9772 confidence limit using Bayesian analysis.
Weighted rates in tables (wtd_rate) combine rates from different exposures weighted by the expected source rate divided by the background rate
The source is assumed to produce the same magnitude in all filters.
The source is assumed to decay as t**(-1.0), and the rate is normalized so that the white filter produces 1 cps at 1000 sec.
The Rebinned Data for All_files combine rates from different exposures weighted by the expected rate divided by the observed sigma squared.
A plot of these data is stored in uvot_fluxes_wtd_date.ps and .gif.
A zero point of 20.29 is adopted for weighting rates.
Subtract UTCF of -6.0844 from trigger time of 303450611.26 in BAT summary file
# ============ Reading file sw00020146992uw1_sk.img ================
The processing date in extension 0 is: 2010-08-23T07:13:26
The trigger time is: 303450617.3444. The reference is BAT GRB summary file
Using zero point of 17.49 for filter UVW1
Use aperture correction of 1.123 based on aperture of 3.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1   17.8  22.61553 -18.03903 0.286  78.1
  2  154.7  22.66064 -18.02874 0.286  78.1
  3   94.7  22.63646 -18.04704 0.286  78.1
  4  109.9  22.64232 -18.04326 0.286  78.1
  5   97.3  22.63788 -18.04506 0.286  78.1
  6   76.8  22.63007 -18.04997 0.286  78.1
  7   78.6  22.63062 -18.04989 0.286  78.1
  8   79.1  22.63402 -18.03974 0.286  78.1
Using background region based on sources found in extension 3:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(22.47338,-17.99545,25")
fk5;-circle(22.47338,-17.99545,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
Low  bkg:   1 w1304172303I  331.8    204  5820  0.106  0.007
%  1 w1304172303I  721686.5  1.00  331.8    0.0 112    204  5819 
Low  bkg:   2 w1304178446I  368.2      0  1864  0.000  0.001
%  2 w1304178446I  727829.4  1.00  368.2    0.0   0      0  1864 
Low  bkg:   3 w1304184265I  369.2      0  5852  0.000  0.000
%  3 w1304184265I  733648.6  1.00  369.2    0.0 116      0  5852 
Low  bkg:   4 w1304190026I  368.3      0  5828  0.000  0.000
%  4 w1304190026I  739409.5  1.00  368.3    0.0 116      0  5828 
Low  bkg:   5 w1304195846I  368.6      0  5868  0.000  0.000
%  5 w1304195846I  745229.2  1.00  368.6    0.0 112      0  5868 
Low  bkg:   6 w1304201607I  367.9      0  5844  0.000  0.000
%  6 w1304201607I  750989.9  1.00  367.9    0.0 112      0  5844 
Low  bkg:   7 w1304207366I  368.4      0  5872  0.000  0.000
%  7 w1304207366I  756749.3  1.00  368.4    0.0 112      0  5872 
Low  bkg:   8 w1304212506I  329.2      0  5876  0.000  0.001
%  8 w1304212506I  761889.1  1.00  329.2    0.0 116      0  5876 
Wrote uvot_fluxes_100823d12h22m40s563932usUT.qdp
Wrote uvot_fluxes_100823d12h22m40s563932usUT.gif
Wrote uvot_fluxes_100823d12h22m40s563932usUT.ps
Wrote uvot_fluxes_100823d12h22m40s563932usUT_vis.qdp
Wrote uvot_fluxes_100823d12h22m40s563932usUT_uv.qdp
Found 8 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2010-06-28 fem