# uvot_fluxes_wget.pl vrs. 2010-04-14 fem at 100604d15h42m16s226705usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020139001 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -usex -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB100528A ===================
Used archived uvot source position of 311.14133 27.80661 3.00
Reference: GCN_Circulars-10813-Fri,_28_May_2010_18:03:51_-0400_(EDT)
The position is (20:44:33.92, +27:48:23.8)
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(311.14133,27.80661,3")
Region file centered at (311.14133,27.80661), which is (20:44:33.92, +27:48:23.8)
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.8396 from trigger time of 296704085 in BAT summary file
# ============ Reading file sw00020139001uwh_sk.img ================
The processing date in extension 0 is: 2010-06-03T12:02:46
The trigger time is: 296704090.8396. The reference is BAT GRB summary file
Using zero point of 20.29 for filter WHITE
Use aperture correction of 1.108 based on aperture of 3.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(311.14133,27.80661,25")
fk5;-circle(311.14133,27.80661,12.5")
fk5;-circle(311.134155,27.801671,6")
fk5;-circle(311.134156,27.804244,6")
fk5;-circle(311.135765,27.807927,6")
fk5;-circle(311.139661,27.809281,6")
fk5;-circle(311.139269,27.811785,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 wh296747392I   43302.2  0.96  807.8 1903.2 112  63928  4572  0.479 0.063 21.09 20.7  0.4795 0.0626 21.09 20.7   808 20.958  2.738 16.99 0.011 
   2 wh296753139I   49048.5  0.97  824.6 1764.8 108  64139  4547  0.336 0.059 21.48 21.0  0.4069 0.0430 21.27 21.0  1632 18.976  1.997 17.09 0.011 
   3 wh296758925I   54835.0  0.97  823.6 1738.3 108  65200  4534  0.258 0.059 21.76 21.2  0.3569 0.0347 21.41 21.1  2456 17.733  1.701 17.17 0.010 
    Sum (T+ 43302 to  55672):            5406.3       4642.1 (est. in src region)   SNR_unwtd_sum:  10.29 0.9987 signif. UL:  21.13
Total wtd_rate (for all exposures so far): 17.733 +/- 1.684 snr: 10.5 mag: 17.17 UL: 16.89
Rebinned Data for sw00020139001uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.58e+03   46621.6   3264.7  -3319.4    0.4069   0.0430 21.27  0.11   46621.6    0.4069   0.0430 21.27  0.11 20.97
  1      796   55253.4    418.4   -418.4    0.2581   0.0587 21.76  0.22   49517.6    0.3569   0.0347 21.41  0.10 21.13
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020139001uvv_sk.img ================
The processing date in extension 0 is:  2010-06-03T12:02:47
The trigger time is: 296704090.8396. The reference is BAT GRB summary file
Using zero point of 17.89 for filter V
Use aperture correction of  1.087 based on aperture of  3.00
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(311.14133,27.80661,25")
fk5;-circle(311.14133,27.80661,12.5")
fk5;-circle(311.134146,27.801654,6")
fk5;-circle(311.134190,27.804260,6")
fk5;-circle(311.135770,27.807943,6")
fk5;-circle(311.139663,27.809226,6")
fk5;-circle(311.139266,27.811772,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 vv296748220I   44130.0  0.98  807.8 1065.4 120  36664  4609  0.152 0.045 19.93 19.2  0.1522 0.0454 19.93 19.2   808 61.833 18.427 15.81 0.002 
High bkg:   2 vv296749045I   44.1   4224  4612 20.772  0.320
   2 vv296749045I   44955.0  0.96   44.1   93.8 112   4224  4603 -0.230 0.252 99.00 18.4  0.1328 0.0449 20.08 19.3   852 57.853 18.149 15.88 0.002 
   3 vv296753984I   49893.6  0.98  824.6  786.6 112  31730  4608  0.021 0.038 22.11 20.0  0.0774 0.0295 20.67 19.8  1676 33.723 12.591 16.47 0.002 
   4 vv296754827I   50736.9  0.97   44.8   71.8 112   3054  4589 -0.068 0.214 99.00 18.4  0.0737 0.0293 20.72 19.9  1721 32.783 12.491 16.50 0.002 
   5 vv296759769I   55679.1  0.98  823.6  744.9 104  32396  4572  0.011 0.037 22.82 20.1  0.0532 0.0231 21.07 20.2  2545 24.800 10.431 16.80 0.002 
   6 vv296760611I   56520.2  0.98   43.8   53.4 116   2666  4591 -0.354 0.189 99.00 18.9  0.0464 0.0230 21.22 20.2  2589 23.002 10.375 16.89 0.002 
    Sum (T+ 44130 to  56565):            2815.9       2707.5 (est. in src region)   SNR_unwtd_sum:   2.02 0.9987 signif. UL:  20.23
Total wtd_rate (for all exposures so far): 17.536 +/- 1.632 snr: 10.7 mag: 17.18 UL: 14.51
Rebinned Data for sw00020139001uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.54e+03   50382.9   6181.8  -6252.8    0.0464   0.0230 21.22  0.44   50382.9    0.0464   0.0230 21.22  0.44 20.23
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020139001uuu_sk.img ================
The processing date in extension 0 is:  2010-06-03T12:02:46
The trigger time is: 296704090.8396. The reference is BAT GRB summary file
Using zero point of 18.34 for filter U
Use aperture correction of  1.100 based on aperture of  3.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(311.14133,27.80661,25")
fk5;-circle(311.14133,27.80661,12.5")
fk5;-circle(311.134186,27.801647,6")
fk5;-circle(311.134180,27.804345,6")
fk5;-circle(311.135771,27.807940,6")
fk5;-circle(311.139682,27.809335,6")
fk5;-circle(311.139283,27.811789,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 uu296746565I   42474.7  0.99  807.8  318.1 112  10224  4573  0.093 0.025 20.92 20.3  0.0927 0.0246 20.92 20.3   808 23.946  6.369 16.84 0.012 
   2 uu296752294I   48203.9  0.99  824.5  344.7 112  10859  4582  0.106 0.025 20.77 20.2  0.0996 0.0176 20.84 20.4  1632 27.077  4.818 16.71 0.011 
   3 uu296758082I   53991.6  0.99  823.6  291.9 112  10524  4517  0.042 0.023 21.79 20.7  0.0801 0.0141 21.08 20.6  2456 23.582  4.077 16.86 0.011 
    Sum (T+ 42475 to  54828):             954.7        776.7 (est. in src region)   SNR_unwtd_sum:   5.70 0.9987 signif. UL:  20.62
Total wtd_rate (for all exposures so far): 18.613 +/- 1.528 snr: 12.2 mag: 17.11 UL: 14.93
Rebinned Data for sw00020139001uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.44e+03   48676.1   6152.2  -6201.4    0.0801   0.0141 21.08  0.17   48676.1    0.0801   0.0141 21.08  0.17 20.62
The data range from T+42474.7 s (0.49 d) to T+56564.7 s (0.65 d)
Wrote uvot_fluxes_100604d15h42m16s226705usUT.qdp
Wrote uvot_fluxes_100604d15h42m16s226705usUT.gif
Wrote uvot_fluxes_100604d15h42m16s226705usUT.ps
Wrote uvot_fluxes_100604d15h42m16s226705usUT_vis.qdp
Wrote uvot_fluxes_100604d15h42m16s226705usUT_uv.qdp
Wrote uvot_fluxes_100604d15h42m16s226705usUT_vis.gif
Wrote uvot_fluxes_100604d15h42m16s226705usUT_vis.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.259   46379.5   4402.8  -3904.8    0.4136   0.0419 21.25  0.11   46379.5    0.4136   0.0419 21.25  0.11 20.96
  1   0.0984   55231.6   1333.1  -1240.0    0.2569   0.0569 21.77  0.22   48818.9    0.3648   0.0338 21.39  0.10 21.12
The data range from T+42474.7 s (0.49 d) to T+56564.7 s (0.65 d)
Wrote uvot_fluxes_wtd_100604d15h42m16s226705usUT.qdp
Wrote uvot_fluxes_wtd_100604d15h42m16s226705usUT.gif
Wrote uvot_fluxes_wtd_100604d15h42m16s226705usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2010-04-14 fem