# uvot_fluxes_wget.pl vrs. 2018-11-07 fem at 200517d03h01m35s758087usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00972614992 -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/data/khamseenssd/khamseen/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB200516 ===================
Could not find/read custom source region custom_972614_src.reg
Used archived XRT position of 274.50096 -16.13139 4.00
Reference: GRB_Auto_Processing-Sat,_16_May_2020_16:19:07_+0100
The position is (18:18:00.23, -16:07:53.0)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(274.50096,-16.13139,4") # color=red dash=0
Source region spec. is: 274.50096 -16.13139 4"
Region file centered at (274.50096,-16.13139), which is (18:18:00.23, -16:07:53.0)
Could not find/read custom background region custom_972614_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.934 from uncorrected trigger time of 611334208.64 in BAT summary file
# ============ Reading file sw00972614992uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.225 at 611334297
The processing date in extension 0 is: 2020-05-17T02:52:38
The trigger time is: 611334233.574. The reference is BAT GRB summary file
Using zero point of 20.065 for filter WHITE
Use aperture correction of 1.035 based on aperture of 4.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1   15.3 274.55494 -16.19355 0.134  79.2
  2   19.4 274.55683 -16.19171 0.134  79.2
  3   18.5 274.55749 -16.18891 0.134  79.2
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(274.50096,-16.13139,25")
fk5;-circle(274.50096,-16.13139,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 wh611334296I  147.4   5537  5840  6.433  0.086
%  1 wh611334296I      63.0  1.00  147.4    0.0 200   5537  5768 
Low  bkg:   2 wh611334296E  147.4   4074  5842  4.732  0.074
%  2 wh611334296E      63.0  1.00  147.4    0.0 198   4074  5789 
Low  bkg:   3 wh611338003I  196.6   4283  5844  3.727  0.057
%  3 wh611338003I    3770.4  1.00  196.6    0.0 204   4283  5802 
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00972614992uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.288 at 611334278
The processing date in extension 0 is:  2020-05-17T02:52:39
The trigger time is: 611334233.574. The reference is BAT GRB summary file
Using zero point of 17.602 for filter V
Use aperture correction of  1.030 based on aperture of  4.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  2   15.7 274.55608 -16.19054 0.134  79.2
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(274.50096,-16.13139,25")
fk5;-circle(274.50096,-16.13139,12.5")
fk5;-circle(274.501188,-16.134600,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 vv611334278E      44.6  0.99    9.1   12.8 200    478  5616 -0.481 0.420 99.00 17.6 
Low  bkg:   2 vv611338415I  196.6   1774  5624  1.605  0.038
%  2 vv611338415I    4182.1  1.00  196.6    0.0 200   1774  5607 
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw00972614992ubb_sk.img ================
Long-term sensitivity correction to zero point is -0.164 at 611334765
The processing date in extension 0 is:  2020-05-17T02:52:39
The trigger time is: 611334233.574. The reference is BAT GRB summary file
Using zero point of 18.946 for filter B
Use aperture correction of  1.035 based on aperture of  4.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1   18.5 274.55632 -16.19234 0.134  79.2
  2   15.5 274.55600 -16.19064 0.134  79.2
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(274.50096,-16.13139,25")
fk5;-circle(274.50096,-16.13139,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 bb611334765E     531.5  1.00    6.0    0.0 204    174  5790 
Low  bkg:   2 bb611339237I   15.4    199  5880  2.203  0.156
%  2 bb611339237I    5004.2  1.00   15.4    0.0 208    199  5855 
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00972614992uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.177 at 611334510
The processing date in extension 0 is:  2020-05-17T02:52:39
The trigger time is: 611334233.574. The reference is BAT GRB summary file
Using zero point of 18.163 for filter U
Use aperture correction of  1.032 based on aperture of  4.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  3   13.2 274.55526 -16.19079 0.134  79.2
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(274.50096,-16.13139,25")
fk5;-circle(274.50096,-16.13139,12.5")
fk5;-circle(274.501221,-16.134610,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
High bkg:   1 uu611334509I  245.8  24784  5634 17.894  0.114
   1 uu611334509I     276.1  0.97  245.8  864.9 201  24784  5628 -0.088 0.130 99.00 19.3 -0.0881 0.1300 99.00 19.3   246 -0.251  0.370 99.00 0.094 
High bkg:   2 uu611334509E  245.8  24788  5640 17.879  0.114
   2 uu611334509E     276.1  0.97  245.8  857.8 198  24788  5633 -0.059 0.129 99.00 19.2 
%  3 uu611339032I    4799.0  1.00  196.6    0.0 188   1791  5588 
    Sum (T+   276 to    526):             864.9        885.2 (est. in src region)   SNR_unwtd_sum:  -0.68 0.9987 signif. UL:  19.29
  0   246 611334635     401.0    124.9   -124.9   -0.0881   0.1300 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.251 +/- 0.363 snr: -0.7 mag: 99.00 UL: 18.17
Rebinned Data for sw00972614992uuu_sk.img using a zero point of 18.163:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      238     401.0    124.9   -124.9   -0.0881   0.1300 99.00 99.00     401.0   -0.0881   0.1300 99.00 99.00 19.29
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw00972614992uw1_sk.img ================
Long-term sensitivity correction to zero point is -0.508 at 611338826
The processing date in extension 0 is:  2020-05-17T02:52:39
The trigger time is: 611334233.574. The reference is BAT GRB summary file
Using zero point of 16.932 for filter UVW1
Use aperture correction of  1.035 based on aperture of  4.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(274.50096,-16.13139,25")
fk5;-circle(274.50096,-16.13139,12.5")
fk5;-circle(274.501267,-16.134525,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
High bkg:   1 w1611338826I  196.6   2123  5628  1.918  0.042
   1 w1611338826I    4592.8  1.00  196.6   54.2 188   2123  5626 -0.088 0.040 99.00 19.7 -0.0882 0.0397 99.00 19.7   197 -9.123  4.106 99.00 0.027 
    Sum (T+  4593 to   4793):              54.2         70.9 (est. in src region)   SNR_unwtd_sum:  -2.22 0.9987 signif. UL:  19.73
  0   197 611338926    4692.6     99.9    -99.9   -0.0882   0.0397 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.308 +/- 0.363 snr: -0.8 mag: 99.00 UL: 16.99
Rebinned Data for sw00972614992uw1_sk.img using a zero point of 16.932:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      196    4692.6     99.9    -99.9   -0.0882   0.0397 99.00 99.00    4692.6   -0.0882   0.0397 99.00 99.00 19.73
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00972614992um2_sk.img ================
Long-term sensitivity correction to zero point is -0.468 at 611338621
The processing date in extension 0 is:  2020-05-17T02:52:39
The trigger time is: 611334233.574. The reference is BAT GRB summary file
Using zero point of 16.382 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.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(274.50096,-16.13139,25")
fk5;-circle(274.50096,-16.13139,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 m2611338621I  196.6    599  5828  0.522  0.021
   1 m2611338621I    4387.5  1.00  196.6   19.0 204    599  5828 -0.010 0.023 99.00 19.3 -0.0105 0.0233 99.00 19.3   197 -1.719  3.823 99.00 0.057 
    Sum (T+  4387 to   4587):              19.0         21.0 (est. in src region)   SNR_unwtd_sum:  -0.45 0.9987 signif. UL:  19.31
  0   197 611338721    4487.4     99.9    -99.9   -0.0105   0.0233 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.319 +/- 0.360 snr: -0.9 mag: 99.00 UL: 16.45
Rebinned Data for sw00972614992um2_sk.img using a zero point of 16.382:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      196    4487.4     99.9    -99.9   -0.0105   0.0233 99.00 99.00    4487.4   -0.0105   0.0233 99.00 99.00 19.31
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00972614992uw2_sk.img ================
Long-term sensitivity correction to zero point is -0.623 at 611338211
The processing date in extension 0 is:  2020-05-17T02:52:39
The trigger time is: 611334233.574. The reference is BAT GRB summary file
Using zero point of 16.757 for filter UVW2
Use aperture correction of  1.035 based on aperture of  4.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(274.50096,-16.13139,25")
fk5;-circle(274.50096,-16.13139,12.5")
fk5;-circle(274.501092,-16.134558,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
High bkg:   1 w2611338210I  196.6   1358  5684  1.215  0.033
   1 w2611338210I    3977.3  1.00  196.6   58.1 208   1358  5686  0.045 0.041 20.13 18.7  0.0447 0.0409 20.13 18.7   197  4.715  4.313 18.61 0.037 
    Sum (T+  3977 to   4177):              58.1         49.7 (est. in src region)   SNR_unwtd_sum:   1.09 0.9987 signif. UL:  18.68
  0   197 611338311    4077.2     99.9    -99.9    0.0447   0.0409 20.132  2.674  -0.705
Total wtd_rate (for all exposures so far): -0.277 +/- 0.360 snr: -0.8 mag: 99.00 UL: 16.80
Rebinned Data for sw00972614992uw2_sk.img using a zero point of 16.757:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      196    4077.2     99.9    -99.9    0.0447   0.0409 20.13  0.71    4077.2    0.0447   0.0409 20.13  0.71 18.68
=========================================================
================ Start New Filter UGRISM ==================
=========================================================
# ============ Reading file sw00972614992ugu_sk.img ================
The data range from T+276.1 s (0.00 d) to T+4792.5 s (0.06 d)
Wrote uvot_fluxes_200517d03h01m35s758087usUT.qdp
Wrote uvot_fluxes_200517d03h01m35s758087usUT.gif
Wrote uvot_fluxes_200517d03h01m35s758087usUT.ps
Wrote uvot_fluxes_200517d03h01m35s758087usUT_vis.qdp
Wrote uvot_fluxes_200517d03h01m35s758087usUT_uv.qdp
Wrote uvot_fluxes_200517d03h01m35s758087usUT_vis.gif
Wrote uvot_fluxes_200517d03h01m35s758087usUT_vis.ps
Wrote uvot_fluxes_200517d03h01m35s758087usUT_uv.gif
Wrote uvot_fluxes_200517d03h01m35s758087usUT_uv.ps
Found 10 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2018-11-07 fem