# uvot_fluxes_wget.pl vrs. 2018-11-07 fem at 200109d10h46m27s689397usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00948219002 -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
# ========= GRB200107B ===================
Could not find/read custom source region custom_948219_src.reg
Used archived opt source position of 106.90658 -83.71861 3.00
Reference: GCN_Circulars-26660
The position is (07:07:37.58, -83:43:07.0)
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(106.90658,-83.71861,3") # color=red dash=0
Source region spec. is: 106.90658 -83.71861 3"
Region file centered at (106.90658,-83.71861), which is (07:07:37.58, -83:43:07.0)
Could not find/read custom background region custom_948219_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 -24.22402 from uncorrected trigger time of 600117988.7 in BAT summary file
# ============ Reading file sw00948219002uwh_sk.img ================
Use keyword TRIGTIME of 600118012.928 for trigger time.
Long-term sensitivity correction to zero point is -0.219 at 600246416
The processing date in extension 0 is: 2020-01-09T10:39:14
The trigger time is: 600118012.928. The reference is keyword in image file
Using zero point of 20.071 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(106.90658,-83.71861,25")
fk5;-circle(106.90658,-83.71861,12.5")
fk5;-circle(106.917136,-83.722988,6")
fk5;-circle(106.911270,-83.715381,6")
fk5;-circle(106.867992,-83.714896,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 wh600246416I  128403.1  0.96  267.5  626.4 112  26341  4815  0.059 0.109 23.14 21.1  0.0590 0.1092 23.14 21.1   267  9.272 17.175 17.87 0.003 
    Sum (T+128403 to 128675):             626.4        612.7 (est. in src region)   SNR_unwtd_sum:   0.54 0.9987 signif. UL:  21.07
  0   267 600246552  128539.0    135.9   -135.9    0.0590   0.1092 23.145 75.855  -1.138
Total wtd_rate (for all exposures so far):  9.272 +/-16.983 snr:  0.5 mag: 17.87 UL: 15.59
Rebinned Data for sw00948219002uwh_sk.img using a zero point of 20.071:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      257  128539.0    135.9   -135.9    0.0590   0.1092 23.14  1.14  128539.0    0.0590   0.1092 23.14  1.14 21.07
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00948219001uvv_sk.img ================
Use keyword TRIGTIME of 600118012.246 for trigger time.
Long-term sensitivity correction to zero point is -0.280 at 600130362
The processing date in extension 0 is:  2020-01-08T16:36:39
The trigger time is: 600118012.246. The reference is keyword in image file
Using zero point of 17.610 for filter V
Use aperture correction of  1.087 based on aperture of  3.00
There are no aspect corrected images to process.
# ============ Reading file sw00948219002uvv_sk.img ================
Use keyword TRIGTIME of 600118012.928 for trigger time.
Long-term sensitivity correction to zero point is -0.280 at 600246694
The processing date in extension 0 is:  2020-01-09T10:39:14
The trigger time is: 600118012.928. The reference is keyword in image file
Using zero point of 17.610 for filter V
Use aperture correction of  1.087 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(106.90658,-83.71861,25")
fk5;-circle(106.90658,-83.71861,12.5")
fk5;-circle(106.917194,-83.722946,6")
fk5;-circle(106.911518,-83.715398,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 vv600246693I  128680.9  0.99  144.8   57.1 112   2559  5249  0.019 0.058 21.93 19.4  0.0188 0.0577 21.93 19.4   145 28.533 87.681 16.65 0.002 
    Sum (T+128681 to 128828):              57.1         54.6 (est. in src region)   SNR_unwtd_sum:   0.33 0.9987 signif. UL:  19.36
  0   145 600246767  128754.5     73.6    -73.6    0.0188   0.0577 21.926 77.074  -1.525
Total wtd_rate (for all exposures so far):  9.810 +/-16.374 snr:  0.6 mag: 17.81 UL: 13.15
Rebinned Data for sw00948219002uvv_sk.img using a zero point of 17.610:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      144  128754.5     73.6    -73.6    0.0188   0.0577 21.93  1.52  128754.5    0.0188   0.0577 21.93  1.52 19.36
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw00948219002ubb_sk.img ================
Use keyword TRIGTIME of 600118012.928 for trigger time.
Long-term sensitivity correction to zero point is -0.160 at 600240812
The processing date in extension 0 is:  2020-01-09T10:39:14
The trigger time is: 600118012.928. The reference is keyword in image file
Using zero point of 18.950 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(106.90658,-83.71861,25")
fk5;-circle(106.90658,-83.71861,12.5")
fk5;-circle(106.917037,-83.722979,6")
fk5;-circle(106.911460,-83.715379,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 bb600240812I  122799.5  0.99  264.3  198.5 116   8390  5228  0.052 0.060 22.16 20.5  0.0522 0.0603 22.16 20.5   264 22.021 25.479 16.93 0.003 
   2 bb600246139I  128126.9  0.97  267.5  399.5 116  19033  5223 -0.099 0.086 99.00 20.6 -0.0231 0.0525 99.00 21.0   532  3.240 21.169 19.01 0.002 
    Sum (T+122800 to 128399):             598.0        608.9 (est. in src region)   SNR_unwtd_sum:  -0.44 0.9987 signif. UL:  21.00
  0   532 600243627  125614.2   2784.5  -2814.7   -0.0231   0.0525 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  7.359 +/-13.047 snr:  0.6 mag: 18.12 UL: 14.75
Rebinned Data for sw00948219002ubb_sk.img using a zero point of 18.950:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      522  125594.9   2803.8  -2795.4   -0.0231   0.0525 99.00 99.00  125594.9   -0.0231   0.0525 99.00 99.00 21.00
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00948219002uuu_sk.img ================
Use keyword TRIGTIME of 600118012.928 for trigger time.
Long-term sensitivity correction to zero point is -0.173 at 600240531
The processing date in extension 0 is:  2020-01-09T10:39:14
The trigger time is: 600118012.928. The reference is keyword in image file
Using zero point of 18.167 for filter U
Use aperture correction of  1.100 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(106.90658,-83.71861,25")
fk5;-circle(106.90658,-83.71861,12.5")
fk5;-circle(106.916581,-83.722925,6")
fk5;-circle(106.911593,-83.715326,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 uu600240530I  122517.6  0.99  272.4  133.9 112   6329  5232 -0.006 0.048 99.00 20.2 -0.0064 0.0476 99.00 20.2   272 -5.582 41.268 99.00 0.002 
   2 uu600245862I  127849.8  0.98  267.5  279.0 112  11901  5238  0.103 0.071 20.64 19.4  0.0474 0.0423 21.48 20.0   540 25.612 34.684 16.77 0.002 
    Sum (T+122518 to 128122):             412.9        389.9 (est. in src region)   SNR_unwtd_sum:   1.12 0.9987 signif. UL:  20.05
  0   540 600243310  125296.6   2825.0  -2779.0    0.0474   0.0423 21.477  2.426  -0.692
Total wtd_rate (for all exposures so far):  9.579 +/-12.118 snr:  0.8 mag: 17.84 UL: 13.99
Rebinned Data for sw00948219002uuu_sk.img using a zero point of 18.167:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      533  125285.5   2836.1  -2767.9    0.0474   0.0423 21.48  0.69  125285.5    0.0474   0.0423 21.48  0.69 20.05
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00948219001um2_sk.img ================
Use keyword TRIGTIME of 600118012.246 for trigger time.
Long-term sensitivity correction to zero point is -0.443 at 600131274
The processing date in extension 0 is:  2020-01-08T16:36:40
The trigger time is: 600118012.246. The reference is keyword in image file
Using zero point of 16.407 for filter UVM2
Use aperture correction of  1.106 based on aperture of  3.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00948219001uw2_sk.img ================
Use keyword TRIGTIME of 600118012.246 for trigger time.
Long-term sensitivity correction to zero point is -0.584 at 600136237
The processing date in extension 0 is:  2020-01-08T16:36:40
The trigger time is: 600118012.246. The reference is keyword in image file
Using zero point of 16.796 for filter UVW2
Use aperture correction of  1.108 based on aperture of  3.00
There are no aspect corrected images to process.
The data range from T+122517.6 s (1.42 d) to T+128828.0 s (1.49 d)
Wrote uvot_fluxes_200109d10h46m27s689397usUT.qdp
Wrote uvot_fluxes_200109d10h46m27s689397usUT.gif
Wrote uvot_fluxes_200109d10h46m27s689397usUT.ps
Wrote uvot_fluxes_200109d10h46m27s689397usUT_vis.qdp
Wrote uvot_fluxes_200109d10h46m27s689397usUT_uv.qdp
Wrote uvot_fluxes_200109d10h46m27s689397usUT_vis.gif
Wrote uvot_fluxes_200109d10h46m27s689397usUT_vis.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.00355  127672.8   1155.3  -5155.2    0.0658   0.1097 23.24  1.06  127672.8    0.0658   0.1097 23.24  1.06 21.27
The data range from T+122517.6 s (1.42 d) to T+128828.0 s (1.49 d)
Wrote uvot_fluxes_wtd_200109d10h46m27s689397usUT.qdp
Wrote uvot_fluxes_wtd_200109d10h46m27s689397usUT.gif
Wrote uvot_fluxes_wtd_200109d10h46m27s689397usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2018-11-07 fem