# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250328d08h22m22s204012usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01299088001 -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
# ========= GRB250327A ===================
Could not find/read custom source region custom_1299088_src.reg
Used archived XRT position of 248.19500 61.61636 4.00
Reference: GCN_Circulars-39892-Fri,_28_Mar_2025_00:07:47_+0000
The position is (16:32:46.80, +61:36:58.9)
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(248.19500,61.61636,4") # color=red dash=0
Source region spec. is: 248.19500 61.61636 4"
Region file centered at (248.19500,61.61636), which is (16:32:46.80, +61:36:58.9)
Could not find/read custom background region custom_1299088_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 -35.31878 from uncorrected trigger time of 764753404.68 in BAT summary file
# ============ Reading file sw01299088001uwh_sk.img ================
Use keyword TRIGTIME of 764753440 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 764778197
The processing date in extension 0 is: 2025-03-28T07:46:22
The trigger time is: 764753440. 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(248.19500,61.61636,25")
fk5;-circle(248.19500,61.61636,12.5")
fk5;-circle(248.212128,61.613840,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 wh764778196I   24756.7  0.92  295.0 2408.2 196  71075  5845  0.094 0.190 22.68 20.5  0.0942 0.1895 22.68 20.5   295  2.757  5.547 19.19 0.004 
   2 wh764778500I   25060.1  0.90  295.0 3219.9 204  91329  5824  0.082 0.225 22.83 20.4  0.0881 0.1469 22.75 20.8   590  2.622  4.267 19.24 0.003 
above line uses coinc_corr_src:  0.898 corr_bkg:  0.899
   3 wh764778803I   25363.7  0.89   43.7  488.0 200  14371  5847 -0.093 0.595 99.00 19.5  0.0759 0.1428 22.91 20.8   634  2.332  4.149 19.37 0.003 
above line uses coinc_corr_src:  0.895 corr_bkg:  0.892
    Sum (T+ 24757 to  25408):            6116.1       6073.9 (est. in src region)   SNR_unwtd_sum:   0.53 0.9987 signif. UL:  20.82
  0   634 764778521   25080.9    327.2   -324.2    0.0759   0.1428 22.915 76.085  -1.149
Total wtd_rate (for all exposures so far):  2.332 +/- 4.080 snr:  0.6 mag: 19.37 UL: 17.17
Rebinned Data for sw01299088001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      576   25078.6    329.5   -321.8    0.0759   0.1428 22.91  1.15   25078.6    0.0759   0.1428 22.91  1.15 20.82
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01299088001uvv_sk.img ================
Use keyword TRIGTIME of 764753440 for trigger time.
Long-term sensitivity correction to zero point is -0.228 at 764773066
The processing date in extension 0 is:  2025-03-28T07:46:21
The trigger time is: 764753440. The reference is keyword in image file
Using zero point of 17.662 for filter V
Use aperture correction of  1.030 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(248.19500,61.61636,25")
fk5;-circle(248.19500,61.61636,12.5")
fk5;-circle(248.212042,61.613843,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 vv764773065I   19625.9  0.98  117.9  247.9 196   7120  5834  0.078 0.143 20.43 18.4  0.0782 0.1427 20.43 18.4   118 17.319 31.618 17.19 0.002 
    Sum (T+ 19626 to  19746):             247.9        239.2 (est. in src region)   SNR_unwtd_sum:   0.55 0.9987 signif. UL:  18.37
  0   118 764773126   19685.8     59.9    -59.9    0.0782   0.1427 20.429 78.571  -1.128
Total wtd_rate (for all exposures so far):  2.579 +/- 4.027 snr:  0.6 mag: 19.26 UL: 14.72
Rebinned Data for sw01299088001uvv_sk.img using a zero point of 17.662:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      115   19685.8     59.9    -59.9    0.0782   0.1427 20.43  1.13   19685.8    0.0782   0.1427 20.43  1.13 18.37
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01299088001ubb_sk.img ================
Use keyword TRIGTIME of 764753440 for trigger time.
Long-term sensitivity correction to zero point is -0.223 at 764777284
The processing date in extension 0 is:  2025-03-28T07:46:21
The trigger time is: 764753440. The reference is keyword in image file
Using zero point of 18.887 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(248.19500,61.61636,25")
fk5;-circle(248.19500,61.61636,12.5")
fk5;-circle(248.212126,61.613878,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 bb764777283I   23843.8  0.99  295.0  259.2 208   7013  5874  0.038 0.058 22.42 20.5  0.0385 0.0579 22.42 20.5   295  3.363  5.056 18.97 0.013 
   2 bb764777587I   24147.5  0.98  295.0  503.2 184  15039  5808  0.095 0.081 21.44 20.0  0.0669 0.0498 21.82 20.5   590  5.056  4.134 18.53 0.009 
   3 bb764777891I   24451.0  0.97  295.1  842.8 204  24796  5813 -0.099 0.107 99.00 20.3  0.0122 0.0485 23.67 20.8   885  2.993  3.794 19.10 0.006 
   4 bb764794680I   41240.5  0.98  295.0  690.8 200  21299  5814 -0.150 0.096 99.00 20.6 -0.0283 0.0435 99.00 21.2  1180  1.479  3.671 19.86 0.005 
   5 bb764794984I   41544.1  0.96  295.1 1040.9 200  30304  5852  0.019 0.119 23.18 19.9 -0.0189 0.0421 99.00 21.2  1475  1.535  3.598 19.82 0.004 
   6 bb764795287I   41847.6  0.95  239.6 1261.4 192  37397  5822  0.128 0.164 21.12 19.4  0.0012 0.0427 26.23 21.0  1715  1.896  3.562 19.59 0.003 
    Sum (T+ 23844 to  42091):            4598.3       4596.5 (est. in src region)   SNR_unwtd_sum:   0.03 0.9987 signif. UL:  21.04
  0  1715 764786140   32700.5   9390.5  -8856.6    0.0012   0.0427 26.229 72.771  -3.947
Total wtd_rate (for all exposures so far):  2.191 +/- 2.649 snr:  0.8 mag: 19.44 UL: 16.35
Rebinned Data for sw01299088001ubb_sk.img using a zero point of 18.887:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.67e+03   32617.9   9473.2  -8774.0    0.0012   0.0427 26.23  3.95   32617.9    0.0012   0.0427 26.23  3.95 21.04
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01299088001uuu_sk.img ================
Use keyword TRIGTIME of 764753440 for trigger time.
Long-term sensitivity correction to zero point is -0.241 at 764766487
The processing date in extension 0 is:  2025-03-28T07:46:20
The trigger time is: 764753440. The reference is keyword in image file
Using zero point of 18.099 for filter U
Use aperture correction of  1.032 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(248.19500,61.61636,25")
fk5;-circle(248.19500,61.61636,12.5")
fk5;-circle(248.212105,61.613849,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 uu764766487I   13047.4  0.99  295.0  368.5 204  10993  5826 -0.058 0.069 99.00 19.9 -0.0582 0.0692 99.00 19.9   295 -5.779  6.869 99.00 0.008 
   2 uu764766790I   13351.0  0.98  295.0  510.6 192  15881  5856 -0.036 0.082 99.00 19.7 -0.0470 0.0535 99.00 20.2   590 -4.900  5.294 99.00 0.006 
   3 uu764767094I   13654.6  0.98  236.0  567.7 200  16202  5851  0.062 0.108 21.11 19.1 -0.0160 0.0492 99.00 20.2   826 -2.743  4.791 99.00 0.005 
   4 uu764793768I   40328.1  1.00  295.0   92.8 192   2578  5824  0.027 0.034 22.00 20.3 -0.0045 0.0372 99.00 20.4  1121 -0.640  4.358 99.00 0.006 
   5 uu764794071I   40631.8  1.00  295.0  131.4 200   4044  5863 -0.023 0.041 99.00 20.4 -0.0083 0.0306 99.00 20.7  1416 -1.295  4.119 99.00 0.006 
   6 uu764794375I   40935.2  0.99  295.0  202.9 196   5917  5834  0.015 0.051 22.69 20.0 -0.0044 0.0268 99.00 20.8  1711 -0.915  3.985 99.00 0.006 
    Sum (T+ 13047 to  41235):            1874.0       1881.2 (est. in src region)   SNR_unwtd_sum:  -0.16 0.9987 signif. UL:  20.80
  0  1711 764781037   27597.5  13637.5 -14550.1   -0.0044   0.0268 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  1.232 +/- 2.190 snr:  0.6 mag: 20.06 UL: 15.83
Rebinned Data for sw01299088001uuu_sk.img using a zero point of 18.099:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      812   13469.6    424.7   -422.1   -0.0160   0.0492 99.00 99.00   13469.6   -0.0160   0.0492 99.00 99.00 20.19
  1      881   40781.2    453.8   -453.1    0.0064   0.0246 23.58  1.71   27681.9   -0.0044   0.0268 99.00 99.00 20.80
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01299088001uw1_sk.img ================
Use keyword TRIGTIME of 764753440 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 764765581
The processing date in extension 0 is:  2025-03-28T07:46:20
The trigger time is: 764753440. 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(248.19500,61.61636,25")
fk5;-circle(248.19500,61.61636,12.5")
fk5;-circle(248.212197,61.613775,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 w1764765580I   12140.8  1.00  885.6  100.1 204   2573  5868  0.013 0.012 21.93 20.4  0.0125 0.0119 21.93 20.4   886  2.790  2.651 19.18 0.044 
High bkg:   2 w1764783814I  606.6   5671  5828  1.604  0.021
   2 w1764783814I   30374.3  1.00  606.6  200.8 200   5671  5829  0.011 0.025 22.09 19.8  0.0118 0.0122 21.99 20.4  1492  2.895  2.601 19.14 0.018 
   3 w1764800559I   47119.3  1.00  393.7   89.4 196   2774  5816 -0.011 0.025 99.00 20.0  0.0071 0.0110 22.54 20.6  1886  2.744  2.582 19.19 0.015 
    Sum (T+ 12141 to  47519):             390.4        377.5 (est. in src region)   SNR_unwtd_sum:   0.64 0.9987 signif. UL:  20.63
  0  1886 764779100   25659.7  21859.5 -13518.9    0.0071   0.0110 22.544 76.456  -1.020
Total wtd_rate (for all exposures so far):  1.915 +/- 1.664 snr:  1.2 mag: 19.58 UL: 15.06
Rebinned Data for sw01299088001uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      885   12590.7    449.9   -449.9    0.0125   0.0119 21.93  0.72   12590.7    0.0125   0.0119 21.93  0.72 20.45
  1      997   37233.5  10285.8  -6859.1    0.0023   0.0180 23.78  2.38   25650.4    0.0071   0.0110 22.54  1.02 20.63
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01299088001um2_sk.img ================
Use keyword TRIGTIME of 764753440 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 764799653
The processing date in extension 0 is:  2025-03-28T07:46:23
The trigger time is: 764753440. 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 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(248.19500,61.61636,25")
fk5;-circle(248.19500,61.61636,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 m2764799652I   46212.5  1.00  885.6   41.8 188   1134  5824  0.006 0.008 22.15 20.4  0.0060 0.0076 22.15 20.4   886  8.440 10.741 17.97 0.017 
    Sum (T+ 46213 to  47112):              41.8         36.6 (est. in src region)   SNR_unwtd_sum:   0.79 0.9987 signif. UL:  20.41
  0   886 764800102   46662.4    449.9   -449.9    0.0060   0.0076 22.147 76.853  -0.892
Total wtd_rate (for all exposures so far):  2.076 +/- 1.638 snr:  1.3 mag: 19.50 UL: 14.47
Rebinned Data for sw01299088001um2_sk.img using a zero point of 16.591:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      885   46662.4    449.9   -449.9    0.0060   0.0076 22.15  0.89   46662.4    0.0060   0.0076 22.15  0.89 20.41
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01299088001uw2_sk.img ================
Use keyword TRIGTIME of 764753440 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 764772159
The processing date in extension 0 is:  2025-03-28T07:46:21
The trigger time is: 764753440. The reference is keyword in image 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 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(248.19500,61.61636,25")
fk5;-circle(248.19500,61.61636,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 w2764772159I   18719.1  1.00  885.6  108.0 200   2929  5828  0.009 0.012 22.18 20.4  0.0088 0.0123 22.18 20.4   886  3.362  4.743 18.97 0.023 
    Sum (T+ 18719 to  19619):             108.0        100.5 (est. in src region)   SNR_unwtd_sum:   0.71 0.9987 signif. UL:  20.36
  0   886 764772609   19169.0    449.9   -449.9    0.0088   0.0123 22.180 76.820  -0.955
Total wtd_rate (for all exposures so far):  2.227 +/- 1.551 snr:  1.4 mag: 19.42 UL: 14.93
Rebinned Data for sw01299088001uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      885   19169.0    449.9   -449.9    0.0088   0.0123 22.18  0.95   19169.0    0.0088   0.0123 22.18  0.95 20.36
The data range from T+12140.8 s (0.14 d) to T+47519.3 s (0.55 d)
Wrote uvot_fluxes_250328d08h22m22s204012usUT.qdp
Wrote uvot_fluxes_250328d08h22m22s204012usUT.gif
Wrote uvot_fluxes_250328d08h22m22s204012usUT.ps
Wrote uvot_fluxes_250328d08h22m22s204012usUT_vis.qdp
Wrote uvot_fluxes_250328d08h22m22s204012usUT_uv.qdp
Wrote uvot_fluxes_250328d08h22m22s204012usUT_vis.gif
Wrote uvot_fluxes_250328d08h22m22s204012usUT_vis.ps
Wrote uvot_fluxes_250328d08h22m22s204012usUT_uv.gif
Wrote uvot_fluxes_250328d08h22m22s204012usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , b (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.0744   23912.1   1495.9 -10864.7    0.0868   0.1232 22.94  0.96   23912.1    0.0868   0.1232 22.94  0.96 21.11
  1  0.00518   41143.6    947.4   -815.5   -0.0563   0.1524 99.00 99.00   25033.4    0.0715   0.1113 23.15  1.02 21.24
The data range from T+12140.8 s (0.14 d) to T+47519.3 s (0.55 d)
Wrote uvot_fluxes_wtd_250328d08h22m22s204012usUT.qdp
Wrote uvot_fluxes_wtd_250328d08h22m22s204012usUT.gif
Wrote uvot_fluxes_wtd_250328d08h22m22s204012usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem