# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 140706d11h19m46s890974usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020388002 -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
# ========= GRB140423A ===================
Used archived opt source position of 225.47257 81.19141 3.00
Reference: GCN_Circ-16442
The position is (15:01:53.42, +81:11:29.1)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl opt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(225.472574,+81.191410,3") # color=red dash=0
Region file centered at (225.472574,+81.191410), which is (15:01:53.42, +81:11:29.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 -12.17108 from trigger time of 425193726.6 in BAT summary file
# ============ Reading file sw00020388001uwh_sk.img ================
Long-term sensitivity correction is 0.097 at 425232665
The processing date in extension 0 is: 2014-06-23T23:22:50
The trigger time is: 425193738.77108. The reference is BAT GRB summary file
Using zero point of 20.387 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(225.472574,+81.191410,25")
fk5;-circle(225.472574,+81.191410,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
   1 wh425232664I   38925.9  0.98  180.5  233.7 112  11699  5843  0.059 0.097 23.45 21.5  0.0593 0.0968 23.45 21.5   181  2.118  3.454 19.48 0.022 
   2 wh425237919I   44180.9  0.98  670.7  931.0 116  42838  5836  0.134 0.052 22.57 21.7  0.1184 0.0458 22.70 21.9   851  4.586  1.805 18.64 0.020 
   3 wh425243289I   49551.1  0.98   31.1   31.2 108   2006  5836 -0.216 0.205 99.00 21.1  0.1066 0.0448 22.82 21.9   882  4.175  1.774 18.74 0.020 
    Sum (T+ 38926 to  49583):            1195.9       1112.8 (est. in src region)   SNR_unwtd_sum:   2.38 0.9987 signif. UL:  21.93
  0   882 425237312   43573.5   6009.2  -4647.5    0.1066   0.0448 22.817  0.592  -0.380
Total wtd_rate (for all exposures so far):  4.175 +/- 1.758 snr:  2.4 mag: 18.74 UL: 17.95
Rebinned Data for sw00020388001uwh_sk.img using a zero point of 20.387:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      863   43573.8   6008.8  -4647.9    0.1066   0.0448 22.82  0.38   43573.8    0.1066   0.0448 22.82  0.38 21.93
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020388001uuu_sk.img ================
Long-term sensitivity correction is  0.097 at 425232446
The processing date in extension 0 is:  2014-06-23T23:22:50
The trigger time is: 425193738.77108. The reference is BAT GRB summary file
Using zero point of 18.437 for filter U
Use aperture correction of  1.100 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(225.472574,+81.191410,25")
fk5;-circle(225.472574,+81.191410,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
   1 uu425232446I   38707.7  1.00  209.4   30.9 108   2113  5823 -0.044 0.030 99.00 21.4 -0.0438 0.0296 99.00 21.4   209 -9.375  6.335 99.00 0.025 
   2 uu425237184I   43446.2  1.00  715.3  130.0 112   7097  5832 -0.010 0.018 99.00 21.7 -0.0175 0.0153 99.00 22.0   925 -4.292  3.563 99.00 0.022 
   3 uu425242163I   48424.7  1.00 1100.1  214.2 116  11445  5880 -0.012 0.015 99.00 21.9 -0.0143 0.0107 99.00 22.4  2025 -3.770  2.662 99.00 0.020 
    Sum (T+ 38708 to  49542):             375.0        401.3 (est. in src region)   SNR_unwtd_sum:  -1.34 0.9987 signif. UL:  22.45
  0  2025 425239843   46104.1   3438.4  -7396.4   -0.0143   0.0107 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  1.972 +/- 1.458 snr:  1.4 mag: 19.55 UL: 16.42
Rebinned Data for sw00020388001uuu_sk.img using a zero point of 18.437:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.02e+03   46103.6   3438.9  -7395.9   -0.0143   0.0107 99.00 99.00   46103.6   -0.0143   0.0107 99.00 99.00 22.45
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020388002um2_sk.img ================
Long-term sensitivity correction is  0.097 at 425478767
The processing date in extension 0 is:  2014-07-06T10:36:31
The trigger time is: 425193738.77108. The reference is BAT GRB summary file
Using zero point of 16.947 for filter UVM2
Use aperture correction of  1.106 based on aperture of  3.00
Using background region based on sources found in extension 5:
# 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(225.472574,+81.191410,25")
fk5;-circle(225.472574,+81.191410,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
   1 m2425478767I  285028.3  1.00 1312.8   20.2 108    877  5828  0.003 0.004 23.14 21.5  0.0033 0.0038 23.14 21.5  1313 20.662 23.692 17.00 0.013 
   2 m2425484652I  290913.2  1.00 1189.8   16.6 108    850  5824  0.001 0.004 24.76 21.7  0.0021 0.0027 23.64 21.9  2503 13.523 16.981 17.46 0.012 
   3 m2425491129I  297390.8  1.00  483.8    8.1 108    313  5820  0.005 0.007 22.64 20.9  0.0026 0.0025 23.40 21.9  2986 16.875 15.804 17.22 0.013 
   4 m2425502367I  308628.9  1.00  524.8    3.2 108    322  5824 -0.006 0.004 99.00 22.1  0.0014 0.0022 24.11 22.2  3511  8.747 14.012 17.93 0.013 
   5 m2425507314I  313575.7  1.00 1561.4   19.7 108   1091  5820 -0.000 0.003 99.00 22.0  0.0008 0.0018 24.64 22.4  5073  5.702 11.788 18.40 0.012 
    Sum (T+285028 to 315162):              67.9         64.0 (est. in src region)   SNR_unwtd_sum:   0.46 0.9987 signif. UL:  22.41
  0  5073 425493165  299426.0  15736.1 -14397.7    0.0008   0.0018 24.644 74.356  -1.254
Total wtd_rate (for all exposures so far):  2.042 +/- 1.455 snr:  1.4 mag: 19.52 UL: 14.92
Rebinned Data for sw00020388002um2_sk.img using a zero point of 16.947:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 5.07e+03  299426.2  15736.0 -14397.9    0.0008   0.0018 24.64  1.25  299426.2    0.0008   0.0018 24.64  1.25 22.41
The data range from T+38707.7 s (0.45 d) to T+315162.2 s (3.65 d)
Wrote uvot_fluxes_140706d11h19m46s890974usUT.qdp
Wrote uvot_fluxes_140706d11h19m46s890974usUT.gif
Wrote uvot_fluxes_140706d11h19m46s890974usUT.ps
Wrote uvot_fluxes_140706d11h19m46s890974usUT_vis.qdp
Wrote uvot_fluxes_140706d11h19m46s890974usUT_uv.qdp
Wrote uvot_fluxes_140706d11h19m46s890974usUT_vis.gif
Wrote uvot_fluxes_140706d11h19m46s890974usUT_vis.ps
Wrote uvot_fluxes_140706d11h19m46s890974usUT_uv.gif
Wrote uvot_fluxes_140706d11h19m46s890974usUT_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.00452   38814.0    106.4   -106.4   -0.2415   0.1632 99.00 99.00   38814.0   -0.2415   0.1632 99.00 99.00 21.37
  1    0.369   43446.6   6136.1  -4520.6    0.0839   0.0386 22.98  0.41   43390.6    0.0803   0.0383 23.03  0.42 22.06
The data range from T+38707.7 s (0.45 d) to T+315162.2 s (3.65 d)
Wrote uvot_fluxes_wtd_140706d11h19m46s890974usUT.qdp
Wrote uvot_fluxes_wtd_140706d11h19m46s890974usUT.gif
Wrote uvot_fluxes_wtd_140706d11h19m46s890974usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem