# uvot_fluxes_wget.pl vrs. 2023-03-23 fem at 240305d18h02m42s067646usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01218701992 -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
# ========= GRB240305 ===================
Could not find/read custom source region custom_1218701_src.reg
Used archived XRT position of 229.73170 -57.36410 4.00
Reference: GCN_Notice_Tue_05_Mar_24_04:16:41_UT-spacecraft
The position is (15:18:55.61, -57:21:50.8)
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(229.7317,-57.3641,4") # color=red dash=0
Source region spec. is: 229.7317 -57.3641 4"
Region file centered at (229.7317,-57.3641), which is (15:18:55.61, -57:21:50.8)
Could not find/read custom background region custom_1218701_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 -33.00308 from uncorrected trigger time of 731304822.97 in BAT summary file
# ============ Reading file sw01218701992uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 731309790
The processing date in extension 0 is: 2024-03-05T17:48:06
The trigger time is: 731304855.97308. 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 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(229.7317,-57.3641,25")
fk5;-circle(229.7317,-57.3641,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 wh731309790I    4934.3  0.96  147.4  602.8 196  16713  5868  0.326 0.183 21.33 20.3  0.3262 0.1825 21.33 20.3   147  1.920  1.074 19.58 0.043 
   2 wh731309790E    4934.3  0.96  147.4  630.5 198  16668  5883  0.511 0.187 20.84 20.0 
    Sum (T+  4934 to   5084):             602.8        558.2 (est. in src region)   SNR_unwtd_sum:   1.79 0.9987 signif. UL:  20.26
  0   147 731309865    5009.2     74.9    -74.9    0.3262   0.1825 21.331  0.890  -0.482
Total wtd_rate (for all exposures so far):  1.920 +/- 1.058 snr:  1.8 mag: 19.58 UL: 18.34
Rebinned Data for sw01218701992uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      141    5009.2     74.9    -74.9    0.3262   0.1825 21.33  0.48    5009.2    0.3262   0.1825 21.33  0.48 20.26
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01218701992uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.224 at 731305447
The processing date in extension 0 is:  2024-03-05T17:47:53
The trigger time is: 731304855.97308. The reference is BAT GRB summary file
Using zero point of 17.666 for filter V
Use aperture correction of  1.030 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(229.7317,-57.3641,25")
fk5;-circle(229.7317,-57.3641,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 vv731305447E     591.4  0.99   19.4   22.8 201    517  5853  0.267 0.259 19.10 17.6  0.2666 0.2588 19.10 17.6    19  1.797  1.745 19.65 0.161 
   2 vv731305596E     740.4  0.99   19.5   21.1 201    530  5840  0.152 0.249 19.71 17.8  0.2093 0.1795 19.36 18.0    39  1.598  1.342 19.78 0.143 
   3 vv731305928E    1072.4  0.99   19.4   20.1 199    580  5827  0.015 0.244 22.20 17.9  0.1447 0.1446 19.77 18.2    58  1.392  1.225 19.93 0.121 
   4 vv731306078E    1222.6  0.99   19.4   23.6 202    798  5844 -0.215 0.266 99.00 18.0  0.0550 0.1272 20.82 18.5    78  1.069  1.166 20.22 0.097 
    Sum (T+   591 to   1242):              87.6         83.4 (est. in src region)   SNR_unwtd_sum:   0.43 0.9987 signif. UL:  18.52
  0    78 731305772     916.5    325.8   -325.1    0.0550   0.1272 20.815 78.185  -1.301
Total wtd_rate (for all exposures so far):  1.509 +/- 0.777 snr:  1.9 mag: 19.84 UL: 16.20
Rebinned Data for sw01218701992uvv_sk.img using a zero point of 17.666:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     57.8     811.4    280.8   -219.9    0.1447   0.1446 19.77  0.75     811.4    0.1447   0.1446 19.77  0.75 18.24
  1     19.2    1232.4      9.9     -9.9   -0.2151   0.2659 99.00 99.00     916.3    0.0550   0.1272 20.82  1.30 18.52
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01218701992ubb_sk.img ================
Long-term sensitivity correction to zero point is -0.210 at 731305397
The processing date in extension 0 is:  2024-03-05T17:48:06
The trigger time is: 731304855.97308. The reference is BAT GRB summary file
Using zero point of 18.900 for filter B
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 4:
# 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(229.7317,-57.3641,25")
fk5;-circle(229.7317,-57.3641,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 bb731305396E     540.7  0.99   19.5   29.2 198    881  5848 -0.035 0.297 99.00 19.0 -0.0348 0.2967 99.00 19.0    19 -0.069  0.588 99.00 0.324 
   2 bb731305546E     690.1  0.98   19.4   35.9 203    806  5871  0.434 0.329 19.81 18.5  0.1992 0.2215 20.65 19.0    39  0.392  0.484 21.31 0.299 
   3 bb731305694E     838.6  0.99   19.5   31.0 200    873  5840  0.060 0.305 21.95 18.9  0.1527 0.1794 20.94 19.3    58  0.350  0.429 21.43 0.269 
   4 bb731305878E    1022.2  0.98   19.5   31.6 201    973  5859 -0.097 0.310 99.00 19.0  0.0904 0.1552 21.51 19.5    78  0.273  0.403 21.70 0.237 
   5 bb731306027E    1171.2  0.98   19.4   38.5 201   1311  5843 -0.359 0.344 99.00 19.1  0.0009 0.1419 26.50 19.7    97  0.170  0.389 22.22 0.200 
    Sum (T+   541 to   1191):             166.2        166.1 (est. in src region)   SNR_unwtd_sum:   0.01 0.9987 signif. UL:  19.75
  0    97 731305718     862.4    328.6   -321.8    0.0009   0.1419 26.498 72.502  -5.486
Total wtd_rate (for all exposures so far):  0.443 +/- 0.344 snr:  1.3 mag: 21.17 UL: 18.47
Rebinned Data for sw01218701992ubb_sk.img using a zero point of 18.900:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     76.5     782.7    259.3   -242.1    0.0904   0.1552 21.51  1.09     782.7    0.0904   0.1552 21.51  1.09 19.50
  1       19    1181.1      9.9     -9.9   -0.3591   0.3440 99.00 99.00     862.1    0.0009   0.1419 26.50  5.49 19.75
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01218701992uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.228 at 731305139
The processing date in extension 0 is:  2024-03-05T17:48:04
The trigger time is: 731304855.97308. The reference is BAT GRB summary file
Using zero point of 18.112 for filter U
Use aperture correction of  1.032 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(229.7317,-57.3641,25")
fk5;-circle(229.7317,-57.3641,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 uu731305139I     283.2  0.99  245.8  148.0 198   4566  5839 -0.029 0.052 99.00 20.2 -0.0289 0.0523 99.00 20.2   246 -0.088  0.159 99.00 0.520 
   2 uu731305139E     283.2  0.99  245.8  137.9 198   4614  5839 -0.078 0.051 99.00 20.5 
#  3 uu731305521E     665.1  0.99   19.4   17.4 203    377  5858 
#  4 uu731305669E     813.8  0.99   19.5   11.7 203    395  5838 
   5 uu731305723I     867.1  0.99  147.4  149.8 202   3216  5860  0.275 0.088 19.51 18.8  0.0848 0.0463 20.79 19.7   393  0.085  0.154 22.97 0.382 
   6 uu731306002E    1146.4  0.99   19.5   19.6 200    624  5843 -0.092 0.242 99.00 18.5  0.0765 0.0456 20.90 19.8   413  0.080  0.154 23.03 0.361 
   7 uu731311056I    6200.4  0.99  196.6  126.6 200   3538  5871  0.032 0.060 21.85 19.8  0.0621 0.0365 21.13 20.0   609  0.085  0.154 22.97 0.265 
    Sum (T+   283 to   6400):             444.0        407.6 (est. in src region)   SNR_unwtd_sum:   1.70 0.9987 signif. UL:  20.02
  0   609 731307318    2462.5   3937.7  -2179.3    0.0621   0.0365 21.129  0.962  -0.502
Total wtd_rate (for all exposures so far):  0.147 +/- 0.138 snr:  1.1 mag: 22.37 UL: 18.72
Rebinned Data for sw01218701992uuu_sk.img using a zero point of 18.112:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      244     408.1    124.9   -124.9   -0.0289   0.0523 99.00 99.00     408.1   -0.0289   0.0523 99.00 99.00 20.19
  1      165     966.9    199.2    -99.8    0.2325   0.0823 19.70  0.33     633.5    0.0765   0.0456 20.90  0.51 19.78
  2      195    6300.3     99.9    -99.9    0.0319   0.0603 21.85  1.15    2463.9    0.0621   0.0365 21.13  0.50 20.02
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01218701992uw1_sk.img ================
Long-term sensitivity correction to zero point is -0.271 at 731305496
The processing date in extension 0 is:  2024-03-05T17:48:06
The trigger time is: 731304855.97308. 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
Using background region based on sources found in extension 4:
# 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(229.7317,-57.3641,25")
fk5;-circle(229.7317,-57.3641,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 w1731305496E     640.5  1.00   19.5    2.6 201    101  5840 -0.048 0.087 99.00 18.7 -0.0484 0.0872 99.00 18.7    19 -0.558  1.005 99.00 0.486 
   2 w1731305645E     789.6  1.00   19.4    2.0 201     86  5852 -0.050 0.077 99.00 18.8 -0.0494 0.0583 99.00 19.2    39 -0.626  0.741 99.00 0.476 
   3 w1731305977E    1122.0  1.00   19.4    7.0 200    128  5843  0.139 0.143 19.31 17.8  0.0132 0.0614 21.87 18.9    58 -0.191  0.743 99.00 0.372 
   4 w1731310851I    5995.4  1.00  196.6   27.3 196    812  5825  0.000 0.028 28.13 19.8  0.0031 0.0258 23.46 19.8   255 -0.178  0.722 99.00 0.153 
    Sum (T+   640 to   6195):              38.9         38.1 (est. in src region)   SNR_unwtd_sum:   0.12 0.9987 signif. UL:  19.84
  0   255 731309754    4897.6   1297.6  -4257.1    0.0031   0.0258 23.456 75.544  -2.436
Total wtd_rate (for all exposures so far):  0.137 +/- 0.136 snr:  1.0 mag: 22.45 UL: 17.81
Rebinned Data for sw01218701992uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     58.2     860.4    281.4   -219.9    0.0132   0.0614 21.87  1.88     860.4    0.0132   0.0614 21.87  1.88 18.88
  1      196    6095.3     99.9    -99.9    0.0000   0.0280 28.13  7.08    4897.8    0.0031   0.0258 23.46  2.44 19.84
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01218701992um2_sk.img ================
Long-term sensitivity correction to zero point is -0.259 at 731305472
The processing date in extension 0 is:  2024-03-05T17:48:06
The trigger time is: 731304855.97308. 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
Using background region based on sources found in extension 4:
# 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(229.7317,-57.3641,25")
fk5;-circle(229.7317,-57.3641,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 m2731305471E     615.8  1.00   19.5    0.0 203     29  5845 
   2 m2731305620E     764.8  1.00   19.5    2.0 201     32  5846  0.048 0.076 19.89 18.0  0.0480 0.0757 19.89 18.0    19  1.122  1.769 20.16 0.760 
   3 m2731305953E    1097.0  1.00   19.5    0.0 198     43  5846 -0.077 0.054 99.00 18.9 -0.0147 0.0383 99.00 19.0    39  0.126  1.382 22.54 0.554 
   4 m2731309947I    5091.6  1.00   97.8    7.5 192    189  5825  0.013 0.029 21.31 19.0  0.0051 0.0236 22.33 19.3   137  0.255  1.324 21.77 0.232 
    Sum (T+   765 to   5191):               9.5          8.8 (est. in src region)   SNR_unwtd_sum:   0.21 0.9987 signif. UL:  19.34
  0   137 731308802    3946.2   1244.8  -3181.4    0.0051   0.0236 22.332 76.668  -1.882
Total wtd_rate (for all exposures so far):  0.138 +/- 0.135 snr:  1.0 mag: 22.44 UL: 17.24
Rebinned Data for sw01218701992um2_sk.img using a zero point of 16.591:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     38.9     940.8    176.0   -176.0   -0.0147   0.0466 99.00 99.00     940.8   -0.0147   0.0466 99.00 99.00 18.73
  1     97.8    5141.3     49.7    -49.7    0.0129   0.0292 21.31  1.28    3946.0    0.0051   0.0247 22.33  1.93 19.29
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01218701992uw2_sk.img ================
Long-term sensitivity correction to zero point is -0.345 at 731305423
The processing date in extension 0 is:  2024-03-05T17:47:53
The trigger time is: 731304855.97308. 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 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(229.7317,-57.3641,25")
fk5;-circle(229.7317,-57.3641,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 w2731305422E     566.6  1.00   19.4    3.9 197     53  5853  0.111 0.106 19.42 17.9  0.1110 0.1058 19.42 17.9    19  1.282  1.223 20.02 0.937 
#  2 w2731305571E     716.0  1.00   19.5    2.0 203     66  5845 
   3 w2731305903E    1048.0  1.00   19.5    3.0 200     76  5853  0.021 0.094 21.21 18.3  0.0661 0.0706 19.98 18.4    39  1.140  1.069 20.15 0.591 
   4 w2731306053E    1197.1  1.00   19.4    1.3 201     79  5847 -0.078 0.062 99.00 19.1  0.0180 0.0514 21.40 18.9    58  0.804  0.965 20.53 0.478 
    Sum (T+   567 to   1217):               8.1          7.1 (est. in src region)   SNR_unwtd_sum:   0.35 0.9987 signif. UL:  18.90
  0    58 731305803     947.4    269.5   -380.8    0.0180   0.0514 21.396 77.604  -1.464
Total wtd_rate (for all exposures so far):  0.162 +/- 0.135 snr:  1.2 mag: 22.27 UL: 17.64
Rebinned Data for sw01218701992uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     38.8     817.5    250.3   -250.9    0.0661   0.0706 19.98  0.79     817.5    0.0661   0.0706 19.98  0.79 18.41
  1     19.4    1207.0      9.9     -9.9   -0.0780   0.0620 99.00 99.00     947.4    0.0180   0.0514 21.40  1.46 18.90
The data range from T+283.2 s (0.00 d) to T+6400.2 s (0.07 d)
Wrote uvot_fluxes_240305d18h02m42s067646usUT.qdp
Wrote uvot_fluxes_240305d18h02m42s067646usUT.gif
Wrote uvot_fluxes_240305d18h02m42s067646usUT.ps
Wrote uvot_fluxes_240305d18h02m42s067646usUT_vis.qdp
Wrote uvot_fluxes_240305d18h02m42s067646usUT_uv.qdp
Wrote uvot_fluxes_240305d18h02m42s067646usUT_vis.gif
Wrote uvot_fluxes_240305d18h02m42s067646usUT_vis.ps
Wrote uvot_fluxes_240305d18h02m42s067646usUT_uv.gif
Wrote uvot_fluxes_240305d18h02m42s067646usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  b (0)  , white (0)  , u (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     6.61     445.2    315.0   -162.0   -0.0016   0.3499 99.00 99.00     445.2   -0.0016   0.3499 99.00 99.00 20.16
  1     1.07     970.3    272.0   -131.7    0.4181   0.4711 21.24  0.82     518.0    0.1075   0.2864 22.71  1.41 20.28
  2    0.754    5038.0   1362.2   -103.7    0.3792   0.2088 21.34  0.48     922.4    0.2403   0.1785 21.84  0.60 20.56
The data range from T+283.2 s (0.00 d) to T+6400.2 s (0.07 d)
Wrote uvot_fluxes_wtd_240305d18h02m42s067646usUT.qdp
Wrote uvot_fluxes_wtd_240305d18h02m42s067646usUT.gif
Wrote uvot_fluxes_wtd_240305d18h02m42s067646usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2023-03-23 fem