# uvot_fluxes_wget.pl vrs. 2018-11-07 fem at 190129d13h16m36s166078usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00886496992 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB190129 ===================
Could not find/read custom source region custom_886496_src.reg
Used archived uvot source position of 207.05350 -63.27460 3.00
Reference: GCN_Notice_Tue_29_Jan_19_10:46:05_UT
The position is (13:48:12.84, -63:16:28.6)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl uvot
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(207.0535,-63.2746,3") # color=red dash=0
Source region spec. is: 207.0535 -63.2746 3"
Region file centered at (207.0535,-63.2746), which is (13:48:12.84, -63:16:28.6)
Could not find/read custom background region custom_886496_bkg.reg
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 -22.32144 from uncorrected trigger time of 570450105.67 in BAT summary file
# ============ Reading file sw00886496992uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.204 at 570450327
The processing date in extension 0 is: 2019-01-29T13:08:13
The trigger time is: 570450127.99144. The reference is BAT GRB summary file
Using zero point of 20.086 for filter WHITE
Use aperture correction of 1.108 based on aperture of 3.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(207.0535,-63.2746,25")
fk5;-circle(207.0535,-63.2746,12.5")
fk5;-circle(207.039296,-63.280313,6")
fk5;-circle(207.051810,-63.280785,6")
fk5;-circle(207.043274,-63.275231,6")
fk5;-circle(207.072208,-63.275087,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 wh570450327I     199.4  0.83  147.4 3080.9 111  20609  5843 24.486 0.506 16.61 16.5 24.4857 0.5060 16.61 16.5   147  8.102  0.167 18.02 0.939 
above line uses coinc_corr_src:  0.825 corr_bkg:  0.948
   2 wh570450327E     199.4  0.83  147.4 3036.2 111  20603  5836 24.081 0.502 16.63 16.6 
above line uses coinc_corr_src:  0.825 corr_bkg:  0.947
    Sum (T+   199 to    349):            3080.9        391.5 (est. in src region)   SNR_unwtd_sum:  48.39 0.9987 signif. UL:  16.55
  0   147 570450402     274.2     74.9    -74.9   24.4857   0.5060 16.614  0.023  -0.022
Total wtd_rate (for all exposures so far):  8.102 +/- 0.167 snr: 48.5 mag: 18.02 UL: 17.75
Rebinned Data for sw00886496992uwh_sk.img using a zero point of 20.086:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      122     274.2     74.9    -74.9   24.4857   0.5060 16.61  0.02     274.2   24.4857   0.5060 16.61  0.02 16.55
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00886496992uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.260 at 570450308
The processing date in extension 0 is:  2019-01-29T13:08:03
The trigger time is: 570450127.99144. The reference is BAT GRB summary file
Using zero point of 17.630 for filter V
Use aperture correction of  1.087 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(207.0535,-63.2746,25")
fk5;-circle(207.0535,-63.2746,12.5")
fk5;-circle(207.051563,-63.280920,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 vv570450307E     179.8  0.96    9.3   35.9 112    386  5653  3.424 0.728 16.29 15.8 
High bkg:   2 vv570452079E   19.5   2214  5550 20.504  0.436
   2 vv570452079E    1951.5  0.93   19.5  133.5 111   2214  5723  5.430 0.695 15.79 15.4  5.4299 0.6949 15.79 15.4    19 123.403 15.793 15.06 0.019 
    Sum (T+  1951 to   1971):             133.5         42.9 (est. in src region)   SNR_unwtd_sum:   7.81 0.9987 signif. UL:  15.44
  0    19 570452089    1961.4      9.9     -9.9    5.4299   0.6949 15.793  0.149  -0.131
Total wtd_rate (for all exposures so far):  7.959 +/- 0.164 snr: 48.5 mag: 18.04 UL: 15.31
Rebinned Data for sw00886496992uvv_sk.img using a zero point of 17.630:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     18.1    1961.4      9.9     -9.9    5.4299   0.6949 15.79  0.13    1961.4    5.4299   0.6949 15.79  0.13 15.44
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00886496992um2_sk.img ================
Long-term sensitivity correction to zero point is -0.381 at 570452104
The processing date in extension 0 is:  2019-01-29T13:08:13
The trigger time is: 570450127.99144. The reference is BAT GRB summary file
Using zero point of 16.469 for filter UVM2
Use aperture correction of  1.106 based on aperture of  3.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(207.0535,-63.2746,25")
fk5;-circle(207.0535,-63.2746,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
High bkg:   1 m2570452104E    8.8     26  5848  0.512  0.100
   1 m2570452104E    1976.1  1.00    8.8    1.0 115     26  5850  0.061 0.127 19.50 17.3  0.0611 0.1269 19.50 17.3     9  4.086  8.487 18.76 0.254 
    Sum (T+  1976 to   1985):               1.0          0.5 (est. in src region)   SNR_unwtd_sum:   0.48 0.9987 signif. UL:  17.32
  0     9 570452109    1980.6      4.5     -4.5    0.0611   0.1269 19.504 79.496  -1.221
Total wtd_rate (for all exposures so far):  8.091 +/- 0.167 snr: 48.5 mag: 18.02 UL: 14.13
Rebinned Data for sw00886496992um2_sk.img using a zero point of 16.469:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     8.75    1980.6      4.5     -4.5    0.0611   0.1269 19.50  1.22    1980.6    0.0611   0.1269 19.50  1.22 17.32
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00886496992uw2_sk.img ================
Long-term sensitivity correction to zero point is -0.491 at 570450538
The processing date in extension 0 is:  2019-01-29T13:08:12
The trigger time is: 570450127.99144. The reference is BAT GRB summary file
Using zero point of 16.889 for filter UVW2
Use aperture correction of  1.108 based on aperture of  3.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(207.0535,-63.2746,25")
fk5;-circle(207.0535,-63.2746,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
High bkg:   1 w2570450537E   19.5    153  5838  1.349  0.109
   1 w2570450537E     409.7  0.99   19.5    8.2 113    153  5858  0.300 0.165 18.19 17.1  0.3005 0.1646 18.19 17.1    19  2.892  1.584 19.14 0.680 
    Sum (T+   410 to    429):               8.2          3.0 (est. in src region)   SNR_unwtd_sum:   1.83 0.9987 signif. UL:  17.13
  0    19 570450548     419.6      9.9     -9.9    0.3005   0.1646 18.194  0.862  -0.474
Total wtd_rate (for all exposures so far):  8.086 +/- 0.167 snr: 48.5 mag: 18.02 UL: 14.55
Rebinned Data for sw00886496992uw2_sk.img using a zero point of 16.889:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     19.3     419.6      9.9     -9.9    0.3005   0.1646 18.19  0.47     419.6    0.3005   0.1646 18.19  0.47 17.13
=========================================================
================ Start New Filter UGRISM ==================
=========================================================
# ============ Reading file sw00886496992ugu_sk.img ================
The data range from T+199.4 s (0.00 d) to T+1985.0 s (0.02 d)
Wrote uvot_fluxes_190129d13h16m36s166078usUT.qdp
Wrote uvot_fluxes_190129d13h16m36s166078usUT.gif
Wrote uvot_fluxes_190129d13h16m36s166078usUT.ps
Wrote uvot_fluxes_190129d13h16m36s166078usUT_vis.qdp
Wrote uvot_fluxes_190129d13h16m36s166078usUT_uv.qdp
Wrote uvot_fluxes_190129d13h16m36s166078usUT_vis.gif
Wrote uvot_fluxes_190129d13h16m36s166078usUT_vis.ps
Wrote uvot_fluxes_190129d13h16m36s166078usUT_uv.gif
Wrote uvot_fluxes_190129d13h16m36s166078usUT_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     29.6     274.2     74.9    -74.9   29.5421   0.6105 16.61  0.02     274.2   29.5421   0.6105 16.61  0.02 16.55
  1 0.000346    1961.4      9.9     -9.9   62.9167   8.0518 15.79  0.13     274.3   29.5449   0.6104 16.61  0.02 16.55
The data range from T+199.4 s (0.00 d) to T+1985.0 s (0.02 d)
Wrote uvot_fluxes_wtd_190129d13h16m36s166078usUT.qdp
Wrote uvot_fluxes_wtd_190129d13h16m36s166078usUT.gif
Wrote uvot_fluxes_wtd_190129d13h16m36s166078usUT.ps
Found 3 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2018-11-07 fem