# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250508d01h20m49s217446usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021828002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/data/uvot/swift_data/home/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /data/uvot/swift_data/home/uvot_lc
# ========= unknown GRB ===================
Could not find/read custom source region custom_021828_src.reg
Used archived BAT position of 219.26700 28.85900
Reference: GCN_FOM_Notice_Tue_06_May_25_19:55:34_UT
The position is (14:37:04.08, +28:51:32.4)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl bat
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(219.267,+28.859,3") # color=red dash=0
Source region spec. is: 219.267 +28.859 3"
Region file centered at (219.267,+28.859), which is (14:37:04.08, +28:51:32.4)
Could not find/read custom background region custom_021828_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.
*** Since no accurate position is available, set rates to 0. and compute ULs based on expected background in source aperture.
Because there are many possible positions for a source, the confidence levels should be increased for upper limits.
Using the ratio of the BAT region and the aperture of 3600.0,
3 sigma should become about 5.1 sigma and 2 sigma should become about 4.5 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999964.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Failed to find trigger time in BAT summary file for trigger 00021828
# ============ Reading file sw00021828001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 768255177
The processing date in extension 0 is: 2025-05-07T00:09:08
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 20.115 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(219.267,+28.859,25")
fk5;-circle(219.267,+28.859,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 wh768255176I  747.8  42517  5824  9.762  0.047
   1 wh768255176I 768255176.7  0.98  747.8  788.4 112  42517  5824  0.000 0.044 99.00 21.8  0.0000 0.0436 99.00 21.8   748  0.000 39347.206 99.00 0.000 
Low  bkg:   2 wh768260725I  428.1  24757  5836  9.909  0.063
   2 wh768260725I 768260725.8  0.98  428.1  491.9 112  24757  5836  0.000 0.058 99.00 21.4  0.0000 0.0349 99.00 22.0  1176  0.000 31463.178 99.00 0.000 
    Sum (T+768255177 to 768261161):            1292.7       1292.7 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.99
  0  1176 768257518 768257517.7   3643.1  -2341.0    0.0000   0.0349 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-31165.160 snr:  0.0 mag: 99.00 UL:  7.11
# ============ Reading file sw00021828002uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 768322713
The processing date in extension 0 is:  2025-05-08T01:11:47
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 20.115 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(219.267,+28.859,25")
fk5;-circle(219.267,+28.859,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 wh768322712I  677.9  38057  5848  9.600  0.049
   1 wh768322712I 768322712.9  0.98  677.9  704.5 112  38057  5848  0.000 0.045 99.00 21.7  0.0000 0.0454 99.00 21.7   678  0.000 40948.734 99.00 0.000 
Low  bkg:   2 wh768328375I  655.3  37515  5872  9.750  0.050
   2 wh768328375I 768328375.9  0.98  655.3  703.6 116  37515  5872  0.000 0.047 99.00 21.7  0.0000 0.0328 99.00 22.1  1333  0.000 29572.545 99.00 0.000 
    Sum (T+768322713 to 768329042):            1470.0       1470.0 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  22.06
  0  1333 768325835 768325835.0   3206.6  -3122.1    0.0000   0.0328 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-21342.996 snr:  0.0 mag: 99.00 UL:  7.53
Rebinned Data for sw00021828002uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.46e+03 768293826.9  35214.8 -38650.2    0.0000   0.0239 99.00 99.00 768293826.9    0.0000   0.0239 99.00 99.00 22.90
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00021828001uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.229 at 768255944
The processing date in extension 0 is:  2025-05-07T00:09:08
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 17.661 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(219.267,+28.859,25")
fk5;-circle(219.267,+28.859,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 vv768255943I 768255943.5  1.00  162.7   40.8 112   2119  5836  0.000 0.043 99.00 19.3  0.0000 0.0432 99.00 19.3   163  0.000 373823.372 99.00 0.000 
    Sum (T+768255944 to 768256109):              40.7         40.7 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  19.31
  0   163 768256026 768256026.2     82.6    -82.6    0.0000   0.0432 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-20919.975 snr:  0.0 mag: 99.00 UL:  5.09
# ============ Reading file sw00021828002uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.229 at 768323409
The processing date in extension 0 is:  2025-05-08T01:11:47
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 17.661 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(219.267,+28.859,25")
fk5;-circle(219.267,+28.859,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 vv768323408I 768323408.5  1.00  264.5   52.2 112   3281  5848  0.000 0.033 99.00 19.6  0.0000 0.0330 99.00 19.6   264  0.000 285782.871 99.00 0.000 
   2 vv768329048I 768329048.4  1.00  325.5   75.8 112   4165  5816  0.000 0.030 99.00 19.7  0.0000 0.0223 99.00 20.0   590  0.000 193248.543 99.00 0.000 
    Sum (T+768323409 to 768329379):             143.0        143.0 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  20.02
  0   590 768326672 768326671.9   2707.3  -3263.4    0.0000   0.0223 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-20796.149 snr:  0.0 mag: 99.00 UL:  5.10
Rebinned Data for sw00021828002uvv_sk.img using a zero point of 17.661:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      750 768311406.9  17972.3 -55463.3    0.0000   0.0199 99.00 99.00 768311406.9    0.0000   0.0199 99.00 99.00 20.65
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00021828001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.243 at 768254410
The processing date in extension 0 is:  2025-05-07T00:09:07
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 18.097 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(219.267,+28.859,25")
fk5;-circle(219.267,+28.859,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 uu768254410I 768254410.3  1.00  747.8  146.4 108   8166  5816  0.000 0.018 99.00 20.7  0.0000 0.0183 99.00 20.7   748  0.000 106146.126 99.00 0.000 
   2 uu768259922I 768259922.9  1.00  782.2  187.0 112   9158  5848  0.000 0.019 99.00 20.6  0.0000 0.0132 99.00 21.0  1530  0.000 76118.660 99.00 0.000 
    Sum (T+768254410 to 768260718):             327.0        327.0 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.03
  0  1530 768257617 768257617.5   3100.2  -3207.2    0.0000   0.0132 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-20254.620 snr:  0.0 mag: 99.00 UL:  5.56
# ============ Reading file sw00021828002uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.243 at 768322018
The processing date in extension 0 is:  2025-05-08T01:11:46
The trigger time is: 0. The reference is trigger time unknown
Using zero point of 18.097 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(219.267,+28.859,25")
fk5;-circle(219.267,+28.859,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 uu768322017I 768322017.7  1.00  677.9  113.5 108   6786  5828  0.000 0.018 99.00 20.7  0.0000 0.0184 99.00 20.7   678  0.000 106618.558 99.00 0.000 
   2 uu768327703I 768327703.6  1.00  655.3  128.9 116   6617  5864  0.000 0.019 99.00 20.6  0.0000 0.0134 99.00 21.0  1333  0.000 77425.858 99.00 0.000 
    Sum (T+768322018 to 768328369):             256.6        256.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.01
  0  1333 768325151 768325151.1   3218.2  -3133.4    0.0000   0.0134 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-19583.229 snr:  0.0 mag: 99.00 UL:  5.60
Rebinned Data for sw00021828002uuu_sk.img using a zero point of 18.097:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.85e+03 768289068.4  39301.0 -34658.1    0.0000   0.0094 99.00 99.00 768289068.4    0.0000   0.0094 99.00 99.00 21.90
The data range from T+768254410.3 s (8891.83 d) to T+768329379.2 s (8892.70 d)
Wrote uvot_fluxes_250508d01h20m49s217446usUT.qdp
Wrote uvot_fluxes_250508d01h20m49s217446usUT.gif
Wrote uvot_fluxes_250508d01h20m49s217446usUT.ps
Wrote uvot_fluxes_250508d01h20m49s217446usUT_vis.qdp
Wrote uvot_fluxes_250508d01h20m49s217446usUT_uv.qdp
Wrote uvot_fluxes_250508d01h20m49s217446usUT_vis.gif
Wrote uvot_fluxes_250508d01h20m49s217446usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  v (0)  , b (0)  , white (0)  , u (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.88e-09 768293698.2  35681.0 -39287.9    0.0000   0.0274 99.00 99.00 768293698.2    0.0000   0.0274 99.00 99.00 22.93
The data range from T+768254410.3 s (8891.83 d) to T+768329379.2 s (8892.70 d)
Wrote uvot_fluxes_wtd_250508d01h20m49s217446usUT.qdp
Wrote uvot_fluxes_wtd_250508d01h20m49s217446usUT.gif
Wrote uvot_fluxes_wtd_250508d01h20m49s217446usUT.ps
Found 4 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem