# uvot_fluxes_wget.pl vrs. 2010-04-14 fem at 100518d22h40m10s894784usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020138992 -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
# ========= GRB100518 ===================
Used archived XRT position of 304.78840 -24.55490 4.00
Reference: Bacodine-Tue_18_May_10_15:01:53_UT
The position is (20:19:09.22, -24:33:17.6)
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(304.78840,-24.55490,4")
Region file centered at (304.78840,-24.55490), which is (20:19:09.22, -24:33:17.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 -5.79768 from trigger time of 295875215 in BAT summary file
# ============ Reading file sw00020138992uwh_sk.img ================
The processing date in extension 0 is: 2010-05-18T22:25:23
The trigger time is: 295875220.79768. The reference is BAT GRB summary file
Using zero point of 20.29 for filter WHITE
Use aperture correction of 1.035 based on aperture of 4.00
Using background region based on sources found in extension 4:
# 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(304.78840,-24.55490,25")
fk5;-circle(304.78840,-24.55490,12.5")
fk5;-circle(304.787174,-24.550472,6")
fk5;-circle(304.796051,-24.550502,6")
fk5;-circle(304.787336,-24.549352,6")
fk5;-circle(304.792891,-24.550421,6")
fk5;-circle(304.788591,-24.559010,6")
 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 wh295884771I    9551.0  0.96  147.4  666.1 199  15604  4549 -0.121 0.194 99.00 21.0 -0.1212 0.1938 99.00 21.0   147 -1.166  1.865 99.00 0.021 
   2 wh295884771E    9551.0  0.96  147.4  653.6 194  15693  4565 -0.097 0.192 99.00 20.9 
   3 wh295885843I   10622.8  0.96  295.0 1223.3 188  31511  4517 -0.322 0.131 99.00 21.8 -0.2553 0.1084 99.00 22.0   442 -2.611  1.123 99.00 0.021 
   4 wh295886146I   10926.2  0.96  295.1 1323.9 196  32214  4552 -0.232 0.136 99.00 21.6 -0.2459 0.0848 99.00 22.4   737 -2.595  0.901 99.00 0.020 
   5 wh295886450I   11229.5  0.95  295.0 1463.1 196  33860  4553  0.020 0.144 24.55 21.1 -0.1704 0.0732 99.00 22.4  1033 -1.913  0.790 99.00 0.019 
    Sum (T+  9551 to  11529):            4676.4       4839.1 (est. in src region)   SNR_unwtd_sum:  -2.33 0.9987 signif. UL:  22.44
Total wtd_rate (for all exposures so far): -1.913 +/- 0.773 snr: -2.5 mag: 99.00 UL: 19.92
Rebinned Data for sw00020138992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      988   10868.5    660.8  -1317.4   -0.1704   0.0732 99.00 99.00   10868.5   -0.1704   0.0732 99.00 99.00 22.44
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020138992uvv_sk.img ================
The processing date in extension 0 is:  2010-05-18T22:25:25
The trigger time is: 295875220.79768. The reference is BAT GRB summary file
Using zero point of 17.89 for filter V
Use aperture correction of  1.030 based on aperture of  4.00
Using background region based on sources found in extension 4:
# 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(304.78840,-24.55490,25")
fk5;-circle(304.78840,-24.55490,12.5")
fk5;-circle(304.795969,-24.550555,6")
fk5;-circle(304.788468,-24.558995,6")
 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 vv295884753E    9532.4  0.99    9.9    9.1 201    331  5442 -0.328 0.324 99.00 18.1 
   2 vv295891544I   16323.7  0.99  295.0  324.5 196   9835  5431 -0.107 0.065 99.00 20.0 -0.1075 0.0648 99.00 20.0   295 -16.148  9.735 99.00 0.005 
   3 vv295891848I   16628.0  0.99  295.0  355.7 200   9781  5449 -0.012 0.068 99.00 19.6 -0.0596 0.0469 99.00 20.3   590 -9.149  7.105 99.00 0.005 
   4 vv295892152I   16931.5  0.99  295.1  315.6 200  10095  5471 -0.189 0.064 99.00 20.3 -0.1026 0.0378 99.00 20.8   885 -15.507  5.792 99.00 0.005 
    Sum (T+ 16324 to  17231):             995.8       1083.0 (est. in src region)   SNR_unwtd_sum:  -2.71 0.9987 signif. UL:  20.85
Total wtd_rate (for all exposures so far): -2.139 +/- 0.762 snr: -2.8 mag: 99.00 UL: 17.61
Rebinned Data for sw00020138992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      876   16777.7    453.6   -453.9   -0.1026   0.0378 99.00 99.00   16777.7   -0.1026   0.0378 99.00 99.00 20.85
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw00020138992ubb_sk.img ================
The processing date in extension 0 is:  2010-05-18T22:25:24
The trigger time is: 295875220.79768. The reference is BAT GRB summary file
Using zero point of 19.11 for filter B
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 1:
# 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(304.78840,-24.55490,25")
fk5;-circle(304.78840,-24.55490,12.5")
fk5;-circle(304.796002,-24.550382,6")
fk5;-circle(304.788580,-24.559008,6")
 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 bb295884931I    9710.7  0.98  295.1  533.8 196  17552  5458 -0.345 0.084 99.00 21.5 -0.3447 0.0842 99.00 21.5   295 -10.076  2.462 99.00 0.016 
   2 bb295885235I   10014.4  0.98  295.0  545.3 200  17279  5436 -0.323 0.085 99.00 21.4 -0.3338 0.0599 99.00 22.1   590 -9.909  1.777 99.00 0.015 
   3 bb295885538I   10318.0  0.98  295.0  578.5 208  17502  5494 -0.301 0.088 99.00 21.3 -0.3227 0.0495 99.00 22.4   885 -9.734  1.488 99.00 0.015 
    Sum (T+  9711 to  10618):            1657.6       1928.8 (est. in src region)   SNR_unwtd_sum:  -6.52 0.9987 signif. UL:  22.45
Total wtd_rate (for all exposures so far): -3.647 +/- 0.678 snr: -5.4 mag: 99.00 UL: 19.43
Rebinned Data for sw00020138992ubb_sk.img using a zero point of 19.11:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      869   10164.2    453.5   -453.5   -0.3227   0.0495 99.00 99.00   10164.2   -0.3227   0.0495 99.00 99.00 22.45
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020138992um2_sk.img ================
The processing date in extension 0 is:  2010-05-18T22:25:25
The trigger time is: 295875220.79768. The reference is BAT GRB summary file
Using zero point of 16.82 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.00
Using background region based on sources found in extension 1:
# 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(304.78840,-24.55490,25")
fk5;-circle(304.78840,-24.55490,12.5")
fk5;-circle(304.787138,-24.550478,6")
 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 m2295892457I   17236.4  1.00  652.4   24.7 200    932  5463 -0.015 0.008 99.00 21.3 -0.0149 0.0081 99.00 21.3   652 -6.379  3.458 99.00 0.045 
    Sum (T+ 17236 to  17899):              24.7         34.1 (est. in src region)   SNR_unwtd_sum:  -1.84 0.9987 signif. UL:  21.26
Total wtd_rate (for all exposures so far): -3.716 +/- 0.663 snr: -5.6 mag: 99.00 UL: 17.20
Rebinned Data for sw00020138992um2_sk.img using a zero point of 16.82:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      652   17567.8    331.4   -331.4   -0.0149   0.0081 99.00 99.00   17567.8   -0.0149   0.0081 99.00 99.00 21.26
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00020138992uw2_sk.img ================
The processing date in extension 0 is:  2010-05-18T22:25:24
The trigger time is: 295875220.79768. The reference is BAT GRB summary file
Using zero point of 17.35 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(304.78840,-24.55490,25")
fk5;-circle(304.78840,-24.55490,12.5")
fk5;-circle(304.786985,-24.550432,6")
 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 w2295886756I   11535.9  1.00  251.5   28.0 192    871  5419 -0.012 0.022 99.00 20.4 -0.0117 0.0222 99.00 20.4   252 -2.041  3.886 99.00 0.047 
   2 w2295890638I   15417.5  1.00  885.6   45.5 200   1598  5463 -0.015 0.008 99.00 21.8 -0.0144 0.0080 99.00 21.8  1137 -3.262  1.725 99.00 0.058 
    Sum (T+ 11536 to  16317):              73.6         89.4 (est. in src region)   SNR_unwtd_sum:  -1.80 0.9987 signif. UL:  21.79
Total wtd_rate (for all exposures so far): -3.674 +/- 0.620 snr: -5.9 mag: 99.00 UL: 17.86
Rebinned Data for sw00020138992uw2_sk.img using a zero point of 17.35:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.14e+03   14938.0   1379.3  -3402.1   -0.0144   0.0080 99.00 99.00   14938.0   -0.0144   0.0080 99.00 99.00 21.79
The data range from T+9551.0 s (0.11 d) to T+17899.2 s (0.21 d)
Wrote uvot_fluxes_100518d22h40m10s894784usUT.qdp
Wrote uvot_fluxes_100518d22h40m10s894784usUT.gif
Wrote uvot_fluxes_100518d22h40m10s894784usUT.ps
Wrote uvot_fluxes_100518d22h40m10s894784usUT_vis.qdp
Wrote uvot_fluxes_100518d22h40m10s894784usUT_uv.qdp
Wrote uvot_fluxes_100518d22h40m10s894784usUT_vis.gif
Wrote uvot_fluxes_100518d22h40m10s894784usUT_vis.ps
Wrote uvot_fluxes_100518d22h40m10s894784usUT_uv.gif
Wrote uvot_fluxes_100518d22h40m10s894784usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , white (0)  , b (0)  , v (0)  , 
Rebinned Data for All_files using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0    0.287    9625.9     74.9    -74.9   -0.1212   0.1938 99.00 99.00    9625.9   -0.1212   0.1938 99.00 99.00 20.97
  1    0.152   10144.0    473.7   -433.3   -0.9599   0.1467 99.00 99.00    9805.4   -0.4218   0.1350 99.00 99.00 21.95
  2     1.32   11045.5    483.8   -422.7   -0.1922   0.0789 99.00 99.00   10735.3   -0.2447   0.0682 99.00 99.00 22.79
  3  0.00328   16772.7    458.6   -449.0   -0.9623   0.3447 99.00 99.00   10746.5   -0.2468   0.0680 99.00 99.00 22.80
The data range from T+9551.0 s (0.11 d) to T+17899.2 s (0.21 d)
Wrote uvot_fluxes_wtd_100518d22h40m10s894784usUT.qdp
Wrote uvot_fluxes_wtd_100518d22h40m10s894784usUT.gif
Wrote uvot_fluxes_wtd_100518d22h40m10s894784usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2010-04-14 fem