# uvot_fluxes_wget.pl vrs. 2015-09-01 fem at 150914d12h05m17s392777usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020549002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -search_src_reg -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB150902A ===================
Used archived XRT position of 214.97954 -69.35364 4.00
Reference: GCN_Circulars-18243-Sat,_5_Sep_2015_10:09:54_-0400_(EDT)
The position is (14:19:55.09, -69:21:13.1)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(214.97954,-69.35364,4") # color=red dash=0
Region file centered at (214.97954,-69.35364), which is (14:19:55.09, -69:21:13.1)
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 -15.07446 from trigger time of 462908139.37 in BAT summary file
# ============ Reading file sw00020549001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.150 at 462968485
The processing date in extension 0 is: 2015-09-13T12:43:00
The trigger time is: 462908154.44446. The reference is BAT GRB summary file
Using zero point of 20.140 for filter WHITE
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(214.97954,-69.35364,25")
fk5;-circle(214.97954,-69.35364,12.5")
fk5;-circle(214.978025,-69.356285,6")
fk5;-circle(215.003192,-69.352641,6")
fk5;-circle(214.963676,-69.353100,6")
fk5;-circle(215.000485,-69.350768,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 wh462968485I   60330.6  0.95  631.2 3340.2 208  86526  5256 -0.145 0.102 99.00 21.7 -0.1451 0.1016 99.00 21.7   631 -10.120  7.088 99.00 0.003 
   2 wh462980752I   72597.7  0.96  424.5 1956.0 208  49650  5259 -0.020 0.115 99.00 21.3 -0.0944 0.0763 99.00 22.0  1056 -7.090  5.702 99.00 0.002 
   3 wh462986466I   78312.4  0.96  309.5 1303.7 192  36345  5247 -0.091 0.128 99.00 21.3 -0.0937 0.0658 99.00 22.2  1365 -7.312  5.115 99.00 0.002 
    Sum (T+ 60331 to  78627):            6600.0       6718.0 (est. in src region)   SNR_unwtd_sum:  -1.43 0.9987 signif. UL:  22.19
  0  1365 462976667   68512.8  10114.1  -8182.2   -0.0937   0.0658 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -7.312 +/- 5.016 snr: -1.5 mag: 99.00 UL: 17.50
Rebinned Data for sw00020549001uwh_sk.img using a zero point of 20.140:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0  1.3e+03   68537.2  10089.7  -8206.6   -0.0937   0.0658 99.00 99.00   68537.2   -0.0937   0.0658 99.00 99.00 22.19
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020549001uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.190 at 462969306
The processing date in extension 0 is:  2015-09-13T12:43:00
The trigger time is: 462908154.44446. The reference is BAT GRB summary file
Using zero point of 17.700 for filter V
Use aperture correction of  1.030 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(214.97954,-69.35364,25")
fk5;-circle(214.97954,-69.35364,12.5")
fk5;-circle(214.978147,-69.356280,6")
fk5;-circle(215.003353,-69.352653,6")
fk5;-circle(215.000649,-69.350750,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 vv462969306I   61151.6  0.99  800.9  923.6 204  23883  5669  0.083 0.040 20.40 19.4  0.0834 0.0402 20.40 19.4   801 55.815 26.873 15.92 0.001 
   2 vv462970124I   61969.8  0.99   26.7   29.8 208    760  5718  0.083 0.217 20.41 18.0  0.0834 0.0395 20.40 19.4   828 55.810 26.428 15.92 0.001 
   3 vv462981193I   73039.0  0.99  427.9  449.7 208  12673  5688 -0.033 0.053 99.00 19.8  0.0436 0.0316 21.10 19.8  1256 33.911 22.361 16.46 0.001 
   4 vv462981631I   73477.1  0.99    5.9    4.7 188    188  5633 -0.278 0.386 99.00 17.7  0.0421 0.0315 21.14 19.9  1261 32.947 22.307 16.50 0.001 
    Sum (T+ 61152 to  73483):            1407.7       1356.7 (est. in src region)   SNR_unwtd_sum:   1.34 0.9987 signif. UL:  19.85
  0  1261 462973746   65591.7   7891.5  -4440.1    0.0421   0.0315 21.140  1.500  -0.607
Total wtd_rate (for all exposures so far): -5.175 +/- 4.869 snr: -1.1 mag: 99.00 UL: 14.99
Rebinned Data for sw00020549001uvv_sk.img using a zero point of 17.700:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.25e+03   65594.0   7889.1  -4442.4    0.0421   0.0315 21.14  0.61   65594.0    0.0421   0.0315 21.14  0.61 19.85
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020549001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.119 at 462967664
The processing date in extension 0 is:  2015-09-13T12:43:00
The trigger time is: 462908154.44446. The reference is BAT GRB summary file
Using zero point of 18.221 for filter U
Use aperture correction of  1.032 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(214.97954,-69.35364,25")
fk5;-circle(214.97954,-69.35364,12.5")
fk5;-circle(214.977829,-69.356291,6")
fk5;-circle(215.000477,-69.350818,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 uu462967663I   59509.5  0.98  800.9 1787.1 208  48991  5704  0.001 0.057 26.26 20.1  0.0006 0.0566 26.26 20.1   801  0.245 22.808 21.82 0.001 
   2 uu462974551I   66396.9  0.99  383.4  311.9 204   8981  5688 -0.028 0.049 99.00 20.4 -0.0087 0.0413 99.00 20.5  1184 -6.277 15.780 99.00 0.001 
   3 uu462980311I   72157.1  0.99  427.9  331.0 208   9849  5697 -0.069 0.045 99.00 20.7 -0.0249 0.0326 99.00 20.9  1612 -15.273 12.815 99.00 0.001 
   4 uu462986011I   77857.5  0.99  441.7  396.5 200  10520  5671  0.060 0.048 21.27 19.9 -0.0065 0.0275 99.00 20.9  2054 -4.760 11.418 99.00 0.002 
    Sum (T+ 59510 to  78306):            2826.4       2839.2 (est. in src region)   SNR_unwtd_sum:  -0.24 0.9987 signif. UL:  20.91
  0  2054 462975819   67664.3  10642.0  -8154.8   -0.0065   0.0275 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -5.117 +/- 4.473 snr: -1.1 mag: 99.00 UL: 15.62
Rebinned Data for sw00020549001uuu_sk.img using a zero point of 18.221:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.03e+03   67701.7  10604.6  -8192.2   -0.0065   0.0275 99.00 99.00   67701.7   -0.0065   0.0275 99.00 99.00 20.91
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00020549002uw2_sk.img ================
Long-term sensitivity correction to zero point is -0.249 at 463071029
The processing date in extension 0 is:  2015-09-14T11:47:25
The trigger time is: 462908154.44446. The reference is BAT GRB summary file
Using zero point of 17.131 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(214.97954,-69.35364,25")
fk5;-circle(214.97954,-69.35364,12.5")
fk5;-circle(214.977849,-69.356366,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
High bkg:   1 w2463071029I   31.0    151  5700  0.852  0.069
   1 w2463071029I  162875.0  1.00   31.0    4.8 200    151  5702 -0.017 0.075 99.00 18.7 -0.0165 0.0746 99.00 18.7    31 -49.328 222.848 99.00 0.002 
   2 w2463071903I  163749.1  1.00 1592.2  213.4 192   5919  5692  0.009 0.010 22.25 20.7  0.0085 0.0096 22.31 20.7  1623 25.908 28.906 16.76 0.003 
High bkg:   3 w2463076814I   65.4    348  5700  0.933  0.050
   3 w2463076814I  168660.1  1.00   65.4   11.3 204    348  5699 -0.018 0.054 99.00 19.1  0.0074 0.0094 22.45 20.7  1689 23.909 28.497 16.84 0.003 
   4 w2463078370I  170216.4  1.00  878.6  129.7 208   3229  5740  0.015 0.014 21.69 20.2  0.0100 0.0078 22.13 20.8  2567 31.178 23.714 16.55 0.003 
High bkg:   5 w2463082670I  148.4    780  5700  0.923  0.033
   5 w2463082670I  174515.8  1.00  148.4   20.0 192    780  5698 -0.044 0.032 99.00 20.0  0.0071 0.0076 22.51 20.9  2716 24.824 23.147 16.80 0.002 
   6 w2463084483I  176329.3  1.00  514.0   68.9 208   1814  5740  0.006 0.017 22.62 20.2  0.0070 0.0069 22.52 21.0  3230 24.198 21.343 16.83 0.002 
High bkg:   7 w2463088378I  376.3   1875  5736  0.869  0.020
   7 w2463088378I  180224.2  1.00  376.3   78.8 208   1875  5737  0.030 0.025 20.94 19.6  0.0094 0.0067 22.20 20.9  3606 29.322 20.663 16.62 0.002 
   8 w2463090539I  182384.9  1.00  206.3   26.6 204    717  5700  0.005 0.026 22.94 19.8  0.0091 0.0065 22.23 21.0  3812 28.644 20.119 16.65 0.002 
   9 w2463094154I  186000.4  1.00  596.6   89.4 204   2719  5700 -0.014 0.017 99.00 20.5  0.0060 0.0061 22.68 21.2  4409 21.313 18.997 16.97 0.002 
High bkg:  10 w2463099853I  445.0   2175  5696  0.858  0.018
  10 w2463099853I  191698.8  1.00  445.0   71.7 204   2175  5695 -0.015 0.020 99.00 20.3  0.0041 0.0058 23.09 21.3  4854 16.996 18.356 17.21 0.002 
    Sum (T+162875 to 192151):             714.6        695.3 (est. in src region)   SNR_unwtd_sum:   0.71 0.9987 signif. UL:  21.27
  0  4854 463082617  174462.1  17688.9 -11587.0    0.0041   0.0058 23.093 75.907  -0.954
Total wtd_rate (for all exposures so far): -3.772 +/- 4.354 snr: -0.9 mag: 99.00 UL: 14.49
Rebinned Data for sw00020549002uw2_sk.img using a zero point of 17.131:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.85e+03  174461.5  17689.4 -11586.4    0.0041   0.0058 23.09  0.95  174461.5    0.0041   0.0058 23.09  0.95 21.27
The data range from T+59509.5 s (0.69 d) to T+192150.9 s (2.22 d)
Wrote uvot_fluxes_150914d12h05m17s392777usUT.qdp
Wrote uvot_fluxes_150914d12h05m17s392777usUT.gif
Wrote uvot_fluxes_150914d12h05m17s392777usUT.ps
Wrote uvot_fluxes_150914d12h05m17s392777usUT_vis.qdp
Wrote uvot_fluxes_150914d12h05m17s392777usUT_uv.qdp
Wrote uvot_fluxes_150914d12h05m17s392777usUT_vis.gif
Wrote uvot_fluxes_150914d12h05m17s392777usUT_vis.ps
Wrote uvot_fluxes_150914d12h05m17s392777usUT_uv.gif
Wrote uvot_fluxes_150914d12h05m17s392777usUT_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.290:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0   0.0346   67657.4  10969.5  -8147.9   -0.1048   0.0729 99.00 99.00   67657.4   -0.1048   0.0729 99.00 99.00 22.23
The data range from T+59509.5 s (0.69 d) to T+192150.9 s (2.22 d)
Wrote uvot_fluxes_wtd_150914d12h05m17s392777usUT.qdp
Wrote uvot_fluxes_wtd_150914d12h05m17s392777usUT.gif
Wrote uvot_fluxes_wtd_150914d12h05m17s392777usUT.ps
Found 5 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2015-09-01 fem