# uvot_fluxes_wget.pl vrs. 2012-02-15 fem at 120516d04h37m07s798147usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020219001 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB120510A ===================
Used archived XRT position of 44.04667 72.88692 4.00
Reference: GCN_Circulars-13284-Fri,_11_May_2012_10:39:48_-0400_(EDT)
The position is (02:56:11.20, +72:53:12.9)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(44.04667,72.88692,4")
Region file centered at (44.04667,72.88692), which is (02:56:11.20, +72:53:12.9)
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.
Found 20 bright star(s) near 44.04667 72.88692:
ra: 44.0495 dec: 72.8867 mag: 11.20
ra: 44.0483 dec: 72.8860 mag: 8.71
ra: 44.0483 dec: 72.8860 mag: 9.50
ra: 44.0490 dec: 72.8861 mag: 11.82
ra: 44.0501 dec: 72.8865 mag: 10.96
ra: 44.0518 dec: 72.8862 mag: 10.97
ra: 44.0477 dec: 72.8850 mag: 11.96
ra: 44.0524 dec: 72.8858 mag: 10.90
ra: 44.0533 dec: 72.8877 mag: 8.87
ra: 44.0540 dec: 72.8851 mag: 11.49
ra: 44.0502 dec: 72.8839 mag: 7.36
ra: 44.0559 dec: 72.8898 mag: 8.64
ra: 44.0514 dec: 72.8816 mag: 9.95
ra: 44.0240 dec: 72.8876 mag: 11.08
ra: 44.0411 dec: 72.8802 mag: 10.56
ra: 44.0719 dec: 72.8851 mag: 9.57
ra: 44.0411 dec: 72.8790 mag: 10.72
ra: 44.0344 dec: 72.8786 mag: 11.31
ra: 44.0807 dec: 72.8793 mag: 10.00
ra: 44.0786 dec: 72.8782 mag: 11.12
Subtract UTCF of -8.17294 from trigger time of 358332464 in BAT summary file
# ============ Reading file sw00020219001uw2_sk.img ================
The processing date in extension 0 is: 2012-05-16T04:20:55
The trigger time is: 358332472.17294. The reference is BAT GRB summary file
Using zero point of 17.38 for filter UVW2
Use aperture correction of 1.035 based on aperture of 4.00
Using background region based on sources found in extension 2:
# 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(44.04667,72.88692,25")
fk5;-circle(44.04667,72.88692,12.5")
fk5;-circle(44.0476778,72.8849500,25")
fk5;-circle(44.0523889,72.8857833,25")
fk5;-circle(44.0533000,72.8877389,25")
fk5;-circle(44.0540278,72.8850944,25")
fk5;-circle(44.0501694,72.8838528,25")
fk5;-circle(44.0559015,72.8898072,25")
fk5;-circle(44.0514194,72.8816333,25")
fk5;-circle(44.0240444,72.8876278,25")
fk5;-circle(44.0410938,72.8801950,25")
fk5;-circle(44.0718556,72.8851194,25")
fk5;-circle(44.0411278,72.8790278,25")
fk5;-circle(44.0343972,72.8785528,25")
fk5;-circle(44.0806917,72.8792628,25")
fk5;-circle(44.0786247,72.8781633,25")
 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
   1 w2358353905I   21433.1  1.00  836.0 44129.4 192      0     0 
   2 w2358359570I   27098.7  1.00  958.4 49653.6 200      0     0 
   3 w2358365341I   32869.8  1.00  155.0 8339.4 200      0     0 
Wrote uvot_fluxes_120516d04h37m07s798147usUT.qdp
Failed to write uvot_fluxes_120516d04h37m07s798147usUT.gif
Failed to write uvot_fluxes_120516d04h37m07s798147usUT.ps
Wrote uvot_fluxes_120516d04h37m07s798147usUT_vis.qdp
Wrote uvot_fluxes_120516d04h37m07s798147usUT_uv.qdp
Normal end of uvot_fluxes_wget.pl vrs. 2012-02-15 fem