# uvot_fluxes_wget.pl vrs. 2018-11-07 fem at 191016d08h02m58s257981usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00927825002 -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
# ========= GRB191004A ===================
Could not find/read custom source region custom_927825_src.reg
Used archived uvot source position of 31.66827 -36.93385 3.00
Reference: analysis_white_FC
The position is (02:06:40.38, -36:56:01.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(31.66827,-36.93385,3") # color=red dash=0
Source region spec. is: 31.66827 -36.93385 3"
Region file centered at (31.66827,-36.93385), which is (02:06:40.38, -36:56:01.9)
Could not find/read custom background region custom_927825_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 591905222.7 in BAT summary file
# ============ Reading file sw00927825002uwh_sk.img ================
Use keyword TRIGTIME of 591905246.4 for trigger time.
Long-term sensitivity correction to zero point is -0.215 at 592049114
The processing date in extension 0 is: 2019-10-16T07:39:53
The trigger time is: 591905246.4. 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
There are no aspect corrected images to process.
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00927825002uvv_sk.img ================
Use keyword TRIGTIME of 591905246.4 for trigger time.
Long-term sensitivity correction to zero point is -0.274 at 592041582
The processing date in extension 0 is: 2019-10-16T07:39:52
The trigger time is: 591905246.4. 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
There are no aspect corrected images to process.
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw00927825002ubb_sk.img ================
Use keyword TRIGTIME of 591905246.4 for trigger time.
Long-term sensitivity correction to zero point is -0.157 at 592048202
The processing date in extension 0 is: 2019-10-16T07:39:53
The trigger time is: 591905246.4. 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 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(31.66827,-36.93385,25")
fk5;-circle(31.66827,-36.93385,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 bb592048202I  142956.0  0.99  295.0  158.9 112   7304  5821  0.070 0.048 21.84 20.6  0.0697 0.0482 21.84 20.6   295 34.174 23.605 16.46 0.004 
   2 bb592048505I  143259.5  0.99  295.0  174.8 120   7395  5863  0.089 0.051 21.58 20.5  0.0792 0.0349 21.71 20.8   590 38.702 17.105 16.32 0.004 
   3 bb592048809I  143563.0  0.99  295.0  161.8 116   7359  5892  0.064 0.049 21.94 20.6  0.0742 0.0283 21.78 20.9   885 36.300 13.911 16.39 0.004 
    Sum (T+142956 to 143863):             495.5        436.8 (est. in src region)   SNR_unwtd_sum:   2.62 0.9987 signif. UL:  20.95
  0   885 592048656  143409.4    453.4   -453.4    0.0742   0.0283 21.778  0.523  -0.352
Total wtd_rate (for all exposures so far): 36.300 +/-13.791 snr:  2.6 mag: 16.39 UL: 14.22
Rebinned Data for sw00927825002ubb_sk.img using a zero point of 18.953:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      877  143409.4    453.3   -453.5    0.0742   0.0283 21.78  0.35  143409.4    0.0742   0.0283 21.78  0.35 20.95
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00927825002uuu_sk.img ================
Use keyword TRIGTIME of 591905246.4 for trigger time.
Long-term sensitivity correction to zero point is -0.169 at 592047290
The processing date in extension 0 is:  2019-10-16T07:39:52
The trigger time is: 591905246.4. The reference is keyword in image file
Using zero point of 18.171 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(31.66827,-36.93385,25")
fk5;-circle(31.66827,-36.93385,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 uu592047289I  142043.5  1.00  295.0   68.4 112   2971  5874  0.044 0.031 21.56 20.3  0.0441 0.0312 21.56 20.3   295 44.151 31.237 16.18 0.005 
   2 uu592047593I  142347.0  1.00  295.0   49.0 108   2920  5807 -0.020 0.026 99.00 21.0  0.0122 0.0204 22.96 21.0   590 11.567 20.434 17.63 0.005 
   3 uu592047897I  142650.7  1.00  295.0   53.9 112   2917  5855 -0.007 0.028 99.00 20.9  0.0058 0.0165 23.76 21.3   885  5.413 16.495 18.46 0.005 
    Sum (T+142044 to 142950):             171.4        166.8 (est. in src region)   SNR_unwtd_sum:   0.35 0.9987 signif. UL:  21.27
  0   885 592047743  142497.0    453.5   -453.4    0.0058   0.0165 23.764 75.236  -1.462
Total wtd_rate (for all exposures so far): 24.157 +/-10.508 snr:  2.3 mag: 16.83 UL: 13.80
Rebinned Data for sw00927825002uuu_sk.img using a zero point of 18.171:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      882  142497.0    453.4   -453.5    0.0058   0.0165 23.76  1.46  142497.0    0.0058   0.0165 23.76  1.46 21.27
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw00927825002uw1_sk.img ================
Use keyword TRIGTIME of 591905246.4 for trigger time.
Long-term sensitivity correction to zero point is -0.456 at 592043400
The processing date in extension 0 is:  2019-10-16T07:39:52
The trigger time is: 591905246.4. 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(31.66827,-36.93385,25")
fk5;-circle(31.66827,-36.93385,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 w1592043400I  138153.9  1.00  581.9   23.0 116   1149  5880  0.001 0.009 25.15 20.8  0.0005 0.0093 25.15 20.8   582  1.578 27.167 19.80 0.009 
   2 w1592053029I  147783.5  1.00  127.4    5.2 112    225  5836  0.008 0.020 22.27 19.9  0.0018 0.0085 23.83 20.8   709  5.610 24.994 18.42 0.009 
    Sum (T+138154 to 147913):              28.1         27.0 (est. in src region)   SNR_unwtd_sum:   0.22 0.9987 signif. UL:  20.84
  0   709 592045384  140137.2   7775.6  -1983.3    0.0018   0.0085 23.830 75.170  -1.879
Total wtd_rate (for all exposures so far): 21.763 +/- 9.849 snr:  2.2 mag: 16.95 UL: 12.71
Rebinned Data for sw00927825002uw1_sk.img using a zero point of 16.984:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      709  140137.3   7775.5  -1983.4    0.0018   0.0085 23.83  1.88  140137.3    0.0018   0.0085 23.83  1.88 20.84
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00927825002um2_sk.img ================
Use keyword TRIGTIME of 591905246.4 for trigger time.
Long-term sensitivity correction to zero point is -0.425 at 592042494
The processing date in extension 0 is:  2019-10-16T07:39:52
The trigger time is: 591905246.4. 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(31.66827,-36.93385,25")
fk5;-circle(31.66827,-36.93385,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
Low  bkg:   1 m2592042493I  885.6    509  5872  0.098  0.004
   1 m2592042493I  137247.3  1.00  885.6    9.1 116    509  5872 -0.001 0.004 99.00 21.3 -0.0012 0.0038 99.00 21.3   886 -5.964 18.408 99.00 0.018 
    Sum (T+137247 to 138147):               9.1         10.1 (est. in src region)   SNR_unwtd_sum:  -0.32 0.9987 signif. UL:  21.29
  0   886 592042944  137697.2    449.9   -449.9   -0.0012   0.0038 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): 16.199 +/- 8.581 snr:  1.9 mag: 17.27 UL: 12.36
Rebinned Data for sw00927825002um2_sk.img using a zero point of 16.425:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      885  137697.2    449.9   -449.9   -0.0012   0.0038 99.00 99.00  137697.2   -0.0012   0.0038 99.00 99.00 21.29
The data range from T+137247.3 s (1.59 d) to T+147912.9 s (1.71 d)
Wrote uvot_fluxes_191016d08h02m58s257981usUT.qdp
Wrote uvot_fluxes_191016d08h02m58s257981usUT.gif
Wrote uvot_fluxes_191016d08h02m58s257981usUT.ps
Wrote uvot_fluxes_191016d08h02m58s257981usUT_vis.qdp
Wrote uvot_fluxes_191016d08h02m58s257981usUT_uv.qdp
Wrote uvot_fluxes_191016d08h02m58s257981usUT_vis.gif
Wrote uvot_fluxes_191016d08h02m58s257981usUT_vis.ps
Wrote uvot_fluxes_191016d08h02m58s257981usUT_uv.gif
Wrote uvot_fluxes_191016d08h02m58s257981usUT_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.00204  143175.9    686.8  -1132.4    0.1913   0.0778 22.09  0.37  143175.9    0.1913   0.0778 22.09  0.37 21.22
The data range from T+137247.3 s (1.59 d) to T+147912.9 s (1.71 d)
Wrote uvot_fluxes_wtd_191016d08h02m58s257981usUT.qdp
Wrote uvot_fluxes_wtd_191016d08h02m58s257981usUT.gif
Wrote uvot_fluxes_wtd_191016d08h02m58s257981usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2018-11-07 fem