# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 220923d21h18m22s337891usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01125106992 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/data/uvot/swift_data/home/uvot_lc -web -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /data/uvot/swift_data/home/uvot_lc
# ========= GRB220923 ===================
Could not find/read custom source region custom_1125106_src.reg
Used archived XRT position of 135.65130 -40.71710 4.00
Reference: GCN_Notice_Fri_23_Sep_22_11:13:08_UT-ground
The position is (09:02:36.31, -40:43:01.6)
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(135.6513,-40.7171,4") # color=red dash=0
Source region spec. is: 135.6513 -40.7171 4"
Region file centered at (135.6513,-40.7171), which is (09:02:36.31, -40:43:01.6)
Could not find/read custom background region custom_1125106_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 -29.89874 from uncorrected trigger time of 685624186.08 in BAT summary file
# ============ Reading file sw01125106992uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 685628649
The processing date in extension 0 is: 2022-09-23T21:09:14
The trigger time is: 685624215.97874. The reference is BAT GRB summary file
Using zero point of 20.115 for filter WHITE
Use aperture correction of 1.035 based on aperture of 4.00
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(135.6513,-40.7171,25")
fk5;-circle(135.6513,-40.7171,12.5")
fk5;-circle(135.642912,-40.720793,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 wh685628649I    4433.4  0.94  147.4  912.2 201  24007  5726  0.518 0.229 20.83 19.9  0.5185 0.2290 20.83 19.9   147  2.747  1.213 19.19 0.031 
   2 wh685628649E    4433.4  0.94  147.4  909.3 198  23989  5727  0.596 0.228 20.68 19.8 
   3 wh685629217I    5002.0  0.93  196.6 1427.9 204  36616  5721  0.690 0.217 20.52 19.8  0.6162 0.1580 20.64 20.0   344  3.398  0.887 18.96 0.026 
    Sum (T+  4433 to   5202):            2340.1       2148.3 (est. in src region)   SNR_unwtd_sum:   3.90 0.9987 signif. UL:  20.02
  0   344 685629064    4847.6    354.2   -414.1    0.6162   0.1580 20.641  0.321  -0.248
Total wtd_rate (for all exposures so far):  3.398 +/- 0.873 snr:  3.9 mag: 18.96 UL: 18.16
Rebinned Data for sw01125106992uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      322    4846.2    355.6   -412.8    0.6162   0.1580 20.64  0.25    4846.2    0.6162   0.1580 20.64  0.25 20.02
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01125106992uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.219 at 685624379
The processing date in extension 0 is:  2022-09-23T21:08:51
The trigger time is: 685624215.97874. The reference is BAT GRB summary file
Using zero point of 17.671 for filter V
Use aperture correction of  1.030 based on aperture of  4.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01125106992ubb_sk.img ================
Long-term sensitivity correction to zero point is -0.193 at 685624651
The processing date in extension 0 is:  2022-09-23T21:09:14
The trigger time is: 685624215.97874. The reference is BAT GRB summary file
Using zero point of 18.917 for filter B
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 5:
# 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(135.6513,-40.7171,25")
fk5;-circle(135.6513,-40.7171,12.5")
fk5;-circle(135.643068,-40.720744,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 bb685624650E   19.5   3831  5673 34.715  0.561
#  1 bb685624650E     434.6  0.94   19.5  113.7 198   3831  5652 
High bkg:   2 bb685624798E   19.4   4532  5673 41.091  0.610
#  2 bb685624798E     582.6  0.94   19.4  116.3 198   4532  5553 
High bkg:   3 bb685624946E   19.5   4661  5673 42.235  0.619
#  3 bb685624946E     730.9  0.93   19.5  130.3 198   4661  5598 
#  4 bb685625226E    1010.2  0.95   19.5  102.5 198   3063  5669 
   5 bb685629013I    4797.4  0.97  196.6  587.9 204  16155  5685  0.045 0.134 22.30 19.7  0.0445 0.1337 22.30 19.7   197  0.772  2.320 20.57 0.019 
    Sum (T+  4797 to   4997):             587.9        579.7 (est. in src region)   SNR_unwtd_sum:   0.33 0.9987 signif. UL:  19.75
  0   197 685629113    4897.3     99.9    -99.9    0.0445   0.1337 22.295 76.705  -1.506
Total wtd_rate (for all exposures so far):  3.082 +/- 0.815 snr:  3.8 mag: 19.07 UL: 17.06
Rebinned Data for sw01125106992ubb_sk.img using a zero point of 18.917:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      191    4897.3     99.9    -99.9    0.0445   0.1337 22.30  1.51    4897.3    0.0445   0.1337 22.30  1.51 19.75
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01125106992uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.210 at 685624395
The processing date in extension 0 is:  2022-09-23T21:09:14
The trigger time is: 685624215.97874. The reference is BAT GRB summary file
Using zero point of 18.130 for filter U
Use aperture correction of  1.032 based on aperture of  4.00
Using background region based on sources found in extension 6:
# 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(135.6513,-40.7171,25")
fk5;-circle(135.6513,-40.7171,12.5")
fk5;-circle(135.642991,-40.720856,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 uu685624394I  245.8  68088  5693 48.650  0.186
#  1 uu685624394I     179.0  0.83  245.8 4559.5 198  68088  6196 
High bkg:   2 uu685624394E  244.3  67919  5693 48.833  0.187
#  2 uu685624394E     180.5  0.84  244.3 4239.0 198  67919  6131 
High bkg:   3 uu685624773E   19.5   2616  5693 23.619  0.462
#  3 uu685624773E     557.9  0.96   19.5   66.7 198   2616  5651 
High bkg:   4 uu685624922E   19.4   3034  5693 27.418  0.498
#  4 uu685624922E     706.3  0.96   19.4   74.6 198   3034  5606 
High bkg:   5 uu685625070I  147.4  14682  5693 17.502  0.144
#  5 uu685625070I     854.8  0.97  147.4  492.1 198  14682  5686 
   6 uu685628808I    4592.2  0.99  196.6  245.9 196   7149  5677 -0.005 0.085 99.00 19.6 -0.0050 0.0847 99.00 19.6   197 -0.170  2.905 99.00 0.023 
    Sum (T+  4592 to   4792):             245.9        246.8 (est. in src region)   SNR_unwtd_sum:  -0.06 0.9987 signif. UL:  19.56
  0   197 685628908    4692.1     99.9    -99.9   -0.0050   0.0847 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  2.848 +/- 0.782 snr:  3.6 mag: 19.15 UL: 16.34
Rebinned Data for sw01125106992uuu_sk.img using a zero point of 18.130:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      194    4692.1     99.9    -99.9   -0.0050   0.0847 99.00 99.00    4692.1   -0.0050   0.0847 99.00 99.00 19.56
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01125106992uw1_sk.img ================
Long-term sensitivity correction to zero point is -0.271 at 685624750
The processing date in extension 0 is:  2022-09-23T21:09:01
The trigger time is: 685624215.97874. The reference is BAT GRB summary file
Using zero point of 17.169 for filter UVW1
Use aperture correction of  1.035 based on aperture of  4.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01125106992um2_sk.img ================
Long-term sensitivity correction to zero point is -0.259 at 685624725
The processing date in extension 0 is:  2022-09-23T21:09:01
The trigger time is: 685624215.97874. The reference is BAT GRB summary file
Using zero point of 16.591 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01125106992uw2_sk.img ================
Long-term sensitivity correction to zero point is -0.345 at 685624676
The processing date in extension 0 is:  2022-09-23T21:09:14
The trigger time is: 685624215.97874. The reference is BAT GRB summary file
Using zero point of 17.035 for filter UVW2
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 5:
# 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(135.6513,-40.7171,25")
fk5;-circle(135.6513,-40.7171,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 w2685624676E   19.5    532  5841  4.683  0.203
#  1 w2685624676E     460.4  0.99   19.5   11.8 198    532  5828 
High bkg:   2 w2685624824E   19.4    354  5841  3.119  0.166
#  2 w2685624824E     608.4  0.99   19.4   14.5 198    354  5849 
High bkg:   3 w2685624972E   19.4    292  5841  2.571  0.150
#  3 w2685624972E     756.9  0.99   19.4   13.0 198    292  5848 
High bkg:   4 w2685625252E   19.4    120  5841  1.059  0.097
#  4 w2685625252E    1036.2  1.00   19.4    5.6 198    120  5851 
High bkg:   5 w2685629423I    4.5     24  5864  0.897  0.184
   5 w2685629423I    5207.8  1.00    4.5    0.0 200     24  5855 -0.186 0.233 99.00 17.6 -0.1860 0.2333 99.00 17.6     4 -19.415 24.361 99.00 0.053 
    Sum (T+  5208 to   5212):               0.0          0.8 (est. in src region)   SNR_unwtd_sum:  -0.80 0.9987 signif. UL:  17.55
Total wtd_rate (for all exposures so far):  2.829 +/- 0.784 snr:  3.6 mag: 19.16 UL: 15.25
Rebinned Data for sw01125106992uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      4.5    5210.1      2.3     -2.3   -0.1860   0.2333 99.00 99.00    5210.1   -0.1860   0.2333 99.00 99.00 17.55
The data range from T+4433.4 s (0.05 d) to T+5212.4 s (0.06 d)
Wrote uvot_fluxes_220923d21h18m22s337891usUT.qdp
Wrote uvot_fluxes_220923d21h18m22s337891usUT.gif
Wrote uvot_fluxes_220923d21h18m22s337891usUT.ps
Wrote uvot_fluxes_220923d21h18m22s337891usUT_vis.qdp
Wrote uvot_fluxes_220923d21h18m22s337891usUT_uv.qdp
Wrote uvot_fluxes_220923d21h18m22s337891usUT_vis.gif
Wrote uvot_fluxes_220923d21h18m22s337891usUT_vis.ps
Wrote uvot_fluxes_220923d21h18m22s337891usUT_uv.gif
Wrote uvot_fluxes_220923d21h18m22s337891usUT_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     1.15    4788.5    413.3   -355.1    0.6734   0.1757 20.72  0.25    4788.5    0.6734   0.1757 20.72  0.25 20.09
The data range from T+4433.4 s (0.05 d) to T+5212.4 s (0.06 d)
Wrote uvot_fluxes_wtd_220923d21h18m22s337891usUT.qdp
Wrote uvot_fluxes_wtd_220923d21h18m22s337891usUT.gif
Wrote uvot_fluxes_wtd_220923d21h18m22s337891usUT.ps
Found 13 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem