# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250113d09h46m18s034927usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01278865002 -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
# ========= GRB250103B ===================
Could not find/read custom source region custom_1278865_src.reg
Used archived XRT position of 54.66412 -33.74944 4.00
Reference: GCN_Circulars-38823-Sat,_4_Jan_2025_18:05:12_+0000
The position is (03:38:39.39, -33:44:58.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(54.66412,-33.74944,4") # color=red dash=0
Source region spec. is: 54.66412 -33.74944 4"
Region file centered at (54.66412,-33.74944), which is (03:38:39.39, -33:44:58.0)
Could not find/read custom background region custom_1278865_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 -34.82974 from uncorrected trigger time of 757611857.71 in BAT summary file
# ============ Reading file sw01278865001uwh_sk.img ================
Use keyword TRIGTIME of 757611892.544 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 757628803
The processing date in extension 0 is: 2025-01-06T17:30:21
The trigger time is: 757611892.544. The reference is keyword in image 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 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(54.66412,-33.74944,25")
fk5;-circle(54.66412,-33.74944,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 wh757628802I  295.0  16816  5832  9.774  0.075
   1 wh757628802I   16910.0  0.98  295.0  613.4 200  16816  5837  0.133 0.090 22.30 21.1  0.1333 0.0900 22.30 21.1   295  2.673  1.805 19.22 0.025 
Low  bkg:   2 wh757629106I  295.1  16970  5844  9.841  0.076
   2 wh757629106I   17213.5  0.98  295.1  602.7 196  16970  5847  0.121 0.089 22.41 21.1  0.1272 0.0634 22.35 21.4   590  2.572  1.281 19.26 0.025 
Low  bkg:   3 wh757629409I   89.1   5069  5816  9.779  0.137
   3 wh757629409I   17517.1  0.98   89.1  165.1 204   5069  5815 -0.150 0.155 99.00 21.1  0.0907 0.0587 22.72 21.5   679  1.869  1.190 19.61 0.025 
    Sum (T+ 16910 to  17608):            1381.3       1322.9 (est. in src region)   SNR_unwtd_sum:   1.55 0.9987 signif. UL:  21.54
  0   679 757629150   17257.7    349.9   -347.7    0.0907   0.0587 22.720  1.130  -0.541
Total wtd_rate (for all exposures so far):  1.869 +/- 1.172 snr:  1.6 mag: 19.61 UL: 18.28
Rebinned Data for sw01278865001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      666   17257.8    349.9   -347.7    0.0907   0.0587 22.72  0.54   17257.8    0.0907   0.0587 22.72  0.54 21.54
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01278865002uvv_sk.img ================
Use keyword TRIGTIME of 757611892.544 for trigger time.
Long-term sensitivity correction to zero point is -0.227 at 757649757
The processing date in extension 0 is:  2025-01-13T09:28:21
The trigger time is: 757611892.544. The reference is keyword in image file
Using zero point of 17.663 for filter V
Use aperture correction of  1.030 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(54.66412,-33.74944,25")
fk5;-circle(54.66412,-33.74944,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 vv757649756I   37864.2  0.99  295.0  342.3 208   9802  5834 -0.025 0.066 99.00 19.4 -0.0252 0.0665 99.00 19.4   295 -10.754 28.409 99.00 0.002 
   2 vv757650060I   38168.0  0.99  295.0  184.2 200   5990  5854 -0.072 0.049 99.00 20.1 -0.0485 0.0411 99.00 20.2   590 -23.448 16.865 99.00 0.002 
   3 vv757650364I   38471.7  0.99  295.0  165.9 196   4767  5847  0.021 0.046 21.84 19.6 -0.0252 0.0314 99.00 20.4   885 -8.959 12.895 99.00 0.003 
    Sum (T+ 37864 to  38771):             692.4        713.9 (est. in src region)   SNR_unwtd_sum:  -0.80 0.9987 signif. UL:  20.36
  0   885 757650210   38317.9    453.6   -453.6   -0.0252   0.0314 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  1.776 +/- 1.161 snr:  1.5 mag: 19.67 UL: 15.85
Rebinned Data for sw01278865002uvv_sk.img using a zero point of 17.663:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      879   38318.4    453.1   -454.2   -0.0252   0.0314 99.00 99.00   38318.4   -0.0252   0.0314 99.00 99.00 20.36
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01278865002uuu_sk.img ================
Use keyword TRIGTIME of 757611892.544 for trigger time.
Long-term sensitivity correction to zero point is -0.239 at 757638377
The processing date in extension 0 is:  2025-01-13T09:28:20
The trigger time is: 757611892.544. The reference is keyword in image file
Using zero point of 18.101 for filter U
Use aperture correction of  1.032 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(54.66412,-33.74944,25")
fk5;-circle(54.66412,-33.74944,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 uu757638376I   26484.0  0.99  295.0  451.8 204  13077  5843 -0.017 0.077 99.00 19.7 -0.0167 0.0767 99.00 19.7   295 -3.342 15.342 99.00 0.003 
   2 uu757638680I   26787.5  0.99   29.2   23.7 204    766  5841 -0.109 0.177 99.00 18.9 -0.0251 0.0716 99.00 19.8   324 -6.017 14.097 99.00 0.003 
   3 uu757661017I   49125.4  0.99  295.0  360.4 204  10697  5842 -0.046 0.068 99.00 19.9 -0.0352 0.0497 99.00 20.3   619 -8.635 12.314 99.00 0.003 
   4 uu757661321I   49429.0  0.99  295.0  183.7 208   4806  5841  0.044 0.048 21.49 19.9 -0.0095 0.0371 99.00 20.5   914 -0.143 10.179 99.00 0.003 
   5 uu757661624I   49732.5  1.00  174.0   68.1 200   2096  5846 -0.022 0.050 99.00 20.2 -0.0115 0.0321 99.00 20.7  1088 -1.886  8.942 99.00 0.003 
    Sum (T+ 26484 to  49909):            1087.7       1099.7 (est. in src region)   SNR_unwtd_sum:  -0.36 0.9987 signif. UL:  20.66
  0  1088 757654597   42704.2   7205.1 -16220.2   -0.0115   0.0321 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  1.719 +/- 1.153 snr:  1.5 mag: 19.70 UL: 16.31
Rebinned Data for sw01278865002uuu_sk.img using a zero point of 18.101:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.08e+03   42734.9   7174.3 -16251.0   -0.0115   0.0321 99.00 99.00   42734.9   -0.0115   0.0321 99.00 99.00 20.66
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01278865002uw1_sk.img ================
Use keyword TRIGTIME of 757611892.544 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 757634639
The processing date in extension 0 is:  2025-01-13T09:28:20
The trigger time is: 757611892.544. The reference is keyword in image file
Using zero point of 17.169 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(54.66412,-33.74944,25")
fk5;-circle(54.66412,-33.74944,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 w1757634639I   22747.0  1.00  532.6   41.3 204   1108  5844  0.005 0.013 22.89 20.5  0.0051 0.0127 22.89 20.5   533  2.098  5.180 19.48 0.034 
   2 w1757656223I   44331.0  1.00  523.7   49.7 196   1458  5864  0.002 0.014 24.04 20.5  0.0035 0.0095 23.32 20.9  1056  1.982  4.702 19.55 0.022 
    Sum (T+ 22747 to  44863):              91.0         87.4 (est. in src region)   SNR_unwtd_sum:   0.37 0.9987 signif. UL:  20.86
  0  1056 757645609   33716.5  11146.7 -10969.5    0.0035   0.0095 23.315 75.685  -1.430
Total wtd_rate (for all exposures so far):  1.739 +/- 1.122 snr:  1.5 mag: 19.69 UL: 15.39
Rebinned Data for sw01278865002uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.06e+03   33715.2  11148.0 -10968.2    0.0035   0.0095 23.32  1.43   33715.2    0.0035   0.0095 23.32  1.43 20.86
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01278865002um2_sk.img ================
Use keyword TRIGTIME of 757611892.544 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 757650670
The processing date in extension 0 is:  2025-01-13T09:28:21
The trigger time is: 757611892.544. The reference is keyword in image file
Using zero point of 16.591 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.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(54.66412,-33.74944,25")
fk5;-circle(54.66412,-33.74944,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 m2757650669I   38777.0  1.00   97.7    1.1 200    118  5870 -0.031 0.012 99.00 20.8 -0.0306 0.0118 99.00 20.8    98 -35.862 13.862 99.00 0.021 
High bkg:   2 m2757655316I  885.6   5611  5836  1.086  0.014
   2 m2757655316I   43424.2  1.00  885.6  180.0 204   5611  5836 -0.019 0.016 99.00 20.1 -0.0200 0.0144 99.00 20.3   983 -29.616 13.399 99.00 0.004 
    Sum (T+ 38777 to  44324):             181.1        200.2 (est. in src region)   SNR_unwtd_sum:  -1.39 0.9987 signif. UL:  20.28
  0   983 757655265   43372.8    951.2  -4595.8   -0.0200   0.0144 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  1.592 +/- 1.114 snr:  1.4 mag: 19.79 UL: 14.85
Rebinned Data for sw01278865002um2_sk.img using a zero point of 16.591:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      981   43371.9    952.1  -4595.0   -0.0200   0.0144 99.00 99.00   43371.9   -0.0200   0.0144 99.00 99.00 20.28
The data range from T+16910.0 s (0.20 d) to T+49909.2 s (0.58 d)
Wrote uvot_fluxes_250113d09h46m18s034927usUT.qdp
Wrote uvot_fluxes_250113d09h46m18s034927usUT.gif
Wrote uvot_fluxes_250113d09h46m18s034927usUT.ps
Wrote uvot_fluxes_250113d09h46m18s034927usUT_vis.qdp
Wrote uvot_fluxes_250113d09h46m18s034927usUT_uv.qdp
Wrote uvot_fluxes_250113d09h46m18s034927usUT_vis.gif
Wrote uvot_fluxes_250113d09h46m18s034927usUT_vis.ps
Wrote uvot_fluxes_250113d09h46m18s034927usUT_uv.gif
Wrote uvot_fluxes_250113d09h46m18s034927usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  b (0)  , u (0)  , white (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.604   17342.0  32567.3   -431.9    0.1017   0.0684 22.77  0.56   17342.0    0.1017   0.0684 22.77  0.56 21.57
The data range from T+16910.0 s (0.20 d) to T+49909.2 s (0.58 d)
Wrote uvot_fluxes_wtd_250113d09h46m18s034927usUT.qdp
Wrote uvot_fluxes_wtd_250113d09h46m18s034927usUT.gif
Wrote uvot_fluxes_wtd_250113d09h46m18s034927usUT.ps
Found 4 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem