# uvot_fluxes_wget.pl vrs. 2018-11-07 fem at 191015d09h33m39s542493usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00927839001 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB191004B ===================
Could not find/read custom source region custom_927839_src.reg
Used archived uvot source position of 49.20459 -39.63441 3.00
Reference: GCN_Circ_25978
The position is (03:16:49.10, -39:38:03.9)
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(49.20459,-39.63441,3") # color=red dash=0
Source region spec. is: 49.20459 -39.63441 3"
Region file centered at (49.20459,-39.63441), which is (03:16:49.10, -39:38:03.9)
Could not find/read custom background region custom_927839_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 -23.6937 from uncorrected trigger time of 591917621.68 in BAT summary file
# ============ Reading file sw00927839001uwh_sk.img ================
Use keyword TRIGTIME of 591917645.376 for trigger time.
Long-term sensitivity correction to zero point is -0.215 at 591956635
The processing date in extension 0 is: 2019-10-15T09:19:32
The trigger time is: 591917645.376. The reference is keyword in image file
Using zero point of 20.075 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(49.20459,-39.63441,25")
fk5;-circle(49.20459,-39.63441,12.5")
fk5;-circle(49.207779,-39.628012,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 wh591956635I   38989.7  0.98  295.0  424.6 116  19626  5615  0.073 0.080 22.91 21.3  0.0733 0.0799 22.91 21.3   295  3.498  3.812 18.93 0.015 
   2 wh591956938I   39293.2  0.98  295.0  428.8 116  19849  5637  0.078 0.080 22.84 21.3  0.0757 0.0566 22.88 21.6   590  3.623  2.713 18.89 0.015 
   3 wh591957242I   39596.7  0.98  295.0  427.3 116  19868  5672  0.081 0.080 22.81 21.3  0.0773 0.0463 22.85 21.7   885  3.716  2.224 18.86 0.015 
    Sum (T+ 38990 to  39896):            1280.6       1220.2 (est. in src region)   SNR_unwtd_sum:   1.67 0.9987 signif. UL:  21.73
  0   885 591957088   39443.1    453.4   -453.3    0.0773   0.0463 22.854  0.991  -0.509
Total wtd_rate (for all exposures so far):  3.716 +/- 2.203 snr:  1.7 mag: 18.86 UL: 17.54
Rebinned Data for sw00927839001uwh_sk.img using a zero point of 20.075:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      865   39443.0    453.5   -453.2    0.0773   0.0463 22.85  0.51   39443.0    0.0773   0.0463 22.85  0.51 21.73
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00927839001uvv_sk.img ================
Use keyword TRIGTIME of 591917645.376 for trigger time.
Long-term sensitivity correction to zero point is -0.274 at 591961548
The processing date in extension 0 is:  2019-10-15T09:19:32
The trigger time is: 591917645.376. The reference is keyword in image file
Using zero point of 17.616 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(49.20459,-39.63441,25")
fk5;-circle(49.20459,-39.63441,12.5")
fk5;-circle(49.207670,-39.627940,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 vv591961548I   43902.7  1.00  295.0   74.5 104   4867  5593 -0.059 0.032 99.00 20.5 -0.0592 0.0323 99.00 20.5   295 -30.603 16.713 99.00 0.006 
   2 vv591961851I   44206.1  1.00  295.0   86.4 104   4851  5586 -0.014 0.035 99.00 20.1 -0.0368 0.0237 99.00 20.8   590 -19.139 12.315 99.00 0.006 
   3 vv591962154I   44509.6  0.99  295.0   96.9 116   4975  5640 -0.020 0.037 99.00 20.1 -0.0312 0.0200 99.00 21.0   885 -16.540 10.391 99.00 0.006 
    Sum (T+ 43903 to  44809):             257.8        283.2 (est. in src region)   SNR_unwtd_sum:  -1.56 0.9987 signif. UL:  20.99
  0   885 591962001   44356.0    453.3   -453.4   -0.0312   0.0200 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  2.905 +/- 2.117 snr:  1.4 mag: 19.13 UL: 15.19
Rebinned Data for sw00927839001uvv_sk.img using a zero point of 17.616:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      881   44355.9    453.4   -453.3   -0.0312   0.0200 99.00 99.00   44355.9   -0.0312   0.0200 99.00 99.00 20.99
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw00927839001ubb_sk.img ================
Use keyword TRIGTIME of 591917645.376 for trigger time.
Long-term sensitivity correction to zero point is -0.157 at 591955723
The processing date in extension 0 is:  2019-10-15T09:19:32
The trigger time is: 591917645.376. The reference is keyword in image file
Using zero point of 18.953 for filter B
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(49.20459,-39.63441,25")
fk5;-circle(49.20459,-39.63441,12.5")
fk5;-circle(49.207778,-39.628016,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 bb591955722I   38077.4  0.99  295.0  170.2 116   8356  5667 -0.003 0.050 99.00 21.0 -0.0032 0.0499 99.00 21.0   295 -0.417  6.539 99.00 0.013 
   2 bb591956026I   38381.0  0.99  295.0  164.0 108   8260  5599  0.018 0.049 23.32 20.9  0.0073 0.0350 24.29 21.3   590  1.007  4.597 20.28 0.013 
   3 bb591956329I   38684.6  0.99  295.0  135.0 108   8268  5601 -0.093 0.045 99.00 21.6 -0.0260 0.0276 99.00 21.8   885 -3.473  3.643 99.00 0.014 
    Sum (T+ 38077 to  38984):             469.2        489.8 (est. in src region)   SNR_unwtd_sum:  -0.94 0.9987 signif. UL:  21.83
  0   885 591956176   38530.9    453.4   -453.5   -0.0260   0.0276 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  1.371 +/- 1.852 snr:  0.7 mag: 19.95 UL: 16.83
Rebinned Data for sw00927839001ubb_sk.img using a zero point of 18.953:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      877   38530.9    453.4   -453.5   -0.0260   0.0276 99.00 99.00   38530.9   -0.0260   0.0276 99.00 99.00 21.83
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw00927839001uw1_sk.img ================
Use keyword TRIGTIME of 591917645.376 for trigger time.
Long-term sensitivity correction to zero point is -0.456 at 591963366
The processing date in extension 0 is:  2019-10-15T09:19:33
The trigger time is: 591917645.376. The reference is keyword in image file
Using zero point of 16.984 for filter UVW1
Use aperture correction of  1.123 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(49.20459,-39.63441,25")
fk5;-circle(49.20459,-39.63441,12.5")
fk5;-circle(49.207718,-39.627952,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 w1591963366I   45721.0  1.00  538.8   14.9 112   1294  5627 -0.023 0.008 99.00 21.6 -0.0226 0.0082 99.00 21.6   539 -21.859  7.910 99.00 0.022 
    Sum (T+ 45721 to  46268):              14.9         25.7 (est. in src region)   SNR_unwtd_sum:  -2.76 0.9987 signif. UL:  21.61
  0   539 591963640   45994.7    273.7   -273.7   -0.0226   0.0082 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.648 +/- 1.835 snr:  0.4 mag: 20.76 UL: 14.97
Rebinned Data for sw00927839001uw1_sk.img using a zero point of 16.984:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      538   45994.7    273.7   -273.7   -0.0226   0.0082 99.00 99.00   45994.7   -0.0226   0.0082 99.00 99.00 21.61
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00927839001um2_sk.img ================
Use keyword TRIGTIME of 591917645.376 for trigger time.
Long-term sensitivity correction to zero point is -0.425 at 591962460
The processing date in extension 0 is:  2019-10-15T09:19:33
The trigger time is: 591917645.376. The reference is keyword in image file
Using zero point of 16.425 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(49.20459,-39.63441,25")
fk5;-circle(49.20459,-39.63441,12.5")
fk5;-circle(49.207785,-39.627948,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 m2591962459I   44814.5  1.00  885.6    7.2 104    547  5608 -0.004 0.003 99.00 21.6 -0.0037 0.0034 99.00 21.6   886 -5.911  5.390 99.00 0.055 
    Sum (T+ 44815 to  45714):               7.2         10.1 (est. in src region)   SNR_unwtd_sum:  -1.10 0.9987 signif. UL:  21.62
  0   886 591962910   45264.4    449.9   -449.9   -0.0037   0.0034 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.149 +/- 1.718 snr:  0.1 mag: 22.36 UL: 14.55
Rebinned Data for sw00927839001um2_sk.img using a zero point of 16.425:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      885   45264.4    449.9   -449.9   -0.0037   0.0034 99.00 99.00   45264.4   -0.0037   0.0034 99.00 99.00 21.62
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00927839001uw2_sk.img ================
Use keyword TRIGTIME of 591917645.376 for trigger time.
Long-term sensitivity correction to zero point is -0.557 at 591957548
The processing date in extension 0 is:  2019-10-15T09:19:32
The trigger time is: 591917645.376. The reference is keyword in image file
Using zero point of 16.823 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(49.20459,-39.63441,25")
fk5;-circle(49.20459,-39.63441,12.5")
fk5;-circle(49.207805,-39.628023,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 w2591957547I   39902.6  1.00  618.7   18.1 116    874  5648  0.000 0.008 25.52 20.8  0.0003 0.0077 25.52 20.8   619  0.324  7.553 21.51 0.035 
    Sum (T+ 39903 to  40531):              18.1         18.0 (est. in src region)   SNR_unwtd_sum:   0.04 0.9987 signif. UL:  20.83
  0   619 591957862   40216.9    314.3   -314.3    0.0003   0.0077 25.525 73.475  -3.465
Total wtd_rate (for all exposures so far):  0.158 +/- 1.677 snr:  0.1 mag: 22.30 UL: 14.97
Rebinned Data for sw00927839001uw2_sk.img using a zero point of 16.823:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      618   40216.9    314.3   -314.3    0.0003   0.0077 25.52  3.46   40216.9    0.0003   0.0077 25.52  3.46 20.83
The data range from T+38077.4 s (0.44 d) to T+46268.4 s (0.54 d)
Wrote uvot_fluxes_191015d09h33m39s542493usUT.qdp
Wrote uvot_fluxes_191015d09h33m39s542493usUT.gif
Wrote uvot_fluxes_191015d09h33m39s542493usUT.ps
Wrote uvot_fluxes_191015d09h33m39s542493usUT_vis.qdp
Wrote uvot_fluxes_191015d09h33m39s542493usUT_uv.qdp
Wrote uvot_fluxes_191015d09h33m39s542493usUT_vis.gif
Wrote uvot_fluxes_191015d09h33m39s542493usUT_vis.ps
Wrote uvot_fluxes_191015d09h33m39s542493usUT_uv.gif
Wrote uvot_fluxes_191015d09h33m39s542493usUT_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.189   39355.5   5453.9  -1278.1    0.0691   0.0508 23.19  0.60   39355.5    0.0691   0.0508 23.19  0.60 21.92
The data range from T+38077.4 s (0.44 d) to T+46268.4 s (0.54 d)
Wrote uvot_fluxes_wtd_191015d09h33m39s542493usUT.qdp
Wrote uvot_fluxes_wtd_191015d09h33m39s542493usUT.gif
Wrote uvot_fluxes_wtd_191015d09h33m39s542493usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2018-11-07 fem