# uvot_fluxes_wget.pl vrs. 2023-03-23 fem at 240408d20h19m16s930474usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01220736992 -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
# ========= GRB240408 ===================
Could not find/read custom source region custom_1220736_src.reg
Used archived XRT position of 236.97600 -62.56560 4.00
Reference: GCN_Notice_Mon_08_Apr_24_15:16:35_UT-spacecraft
The position is (15:47:54.24, -62:33:56.2)
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(236.9760,-62.5656,4") # color=red dash=0
Source region spec. is: 236.9760 -62.5656 4"
Region file centered at (236.9760,-62.5656), which is (15:47:54.24, -62:33:56.2)
Could not find/read custom background region custom_1220736_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.
Found 3 bright star(s) within 50.0 arcsec of 236.9760 -62.5656:
ra: 236.9804 dec: -62.5574 mag: 11.02
ra: 236.9575 dec: -62.5619 mag: 11.97
ra: 236.9797 dec: -62.5564 mag: 11.57
Subtract UTCF of -33.08976 from uncorrected trigger time of 734282034.6 in BAT summary file
# ============ Reading file sw01220736992uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 734282209
The processing date in extension 0 is: 2024-04-08T20:12:06
The trigger time is: 734282067.68976. 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(236.9760,-62.5656,25")
fk5;-circle(236.9760,-62.5656,12.5")
fk5;-circle(236.978550,-62.567274,6")
fk5;-circle(236.969408,-62.562656,6")
fk5;-circle(236.9803992,-62.5574011,25")
fk5;-circle(236.9575500,-62.5618722,25")
fk5;-circle(236.9796694,-62.5563750,25")
 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 wh734282209I     141.4  0.89  147.4 2024.0 197   9684  3085 11.034 0.357 17.51 17.4 11.0343 0.3566 17.51 17.4   147  2.805  0.091 19.17 0.839 
above line uses coinc_corr_src:  0.894 corr_bkg:  0.957
   2 wh734282209E     142.5  0.89  146.3 1997.8 197   9612  3083 10.947 0.357 17.52 17.4 
above line uses coinc_corr_src:  0.894 corr_bkg:  0.957
   3 wh734282647E     579.8  0.90   13.6  168.2 197    888  3055  9.356 1.106 17.69 17.4 10.8914 0.3396 17.52 17.4   161  2.850  0.090 19.15 0.794 
    Sum (T+   141 to    594):            2192.2        675.7 (est. in src region)   SNR_unwtd_sum:  32.08 0.9987 signif. UL:  17.43
  0   161 734282315     247.6    346.1   -106.2   10.8914   0.3396 17.522  0.034  -0.033
Total wtd_rate (for all exposures so far):  2.850 +/- 0.089 snr: 32.0 mag: 19.15 UL: 18.88
Rebinned Data for sw01220736992uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      132     216.3     74.9    -74.9   11.0343   0.3566 17.51  0.04     216.3   11.0343   0.3566 17.51  0.04 17.41
  1     12.3     586.7      6.9     -6.9    9.3562   1.1059 17.69  0.12     247.8   10.8914   0.3396 17.52  0.03 17.43
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01220736992uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.225 at 734282190
The processing date in extension 0 is:  2024-04-08T20:11:52
The trigger time is: 734282067.68976. The reference is BAT GRB summary file
Using zero point of 17.665 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(236.9760,-62.5656,25")
fk5;-circle(236.9760,-62.5656,12.5")
fk5;-circle(236.978514,-62.567348,6")
fk5;-circle(236.969442,-62.562739,6")
fk5;-circle(236.9803992,-62.5574011,25")
fk5;-circle(236.9575500,-62.5618722,25")
fk5;-circle(236.9796694,-62.5563750,25")
 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 vv734282189E     122.1  0.98   11.2   34.9 200    187  2920  2.083 0.564 16.87 16.2 
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01220736992ubb_sk.img ================
Long-term sensitivity correction to zero point is -0.212 at 734282623
The processing date in extension 0 is:  2024-04-08T20:12:05
The trigger time is: 734282067.68976. The reference is BAT GRB summary file
Using zero point of 18.898 for filter B
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(236.9760,-62.5656,25")
fk5;-circle(236.9760,-62.5656,12.5")
fk5;-circle(236.978584,-62.567305,6")
fk5;-circle(236.969571,-62.562681,6")
fk5;-circle(236.990083,-62.563536,6")
fk5;-circle(236.9803992,-62.5574011,25")
fk5;-circle(236.9575500,-62.5618722,25")
fk5;-circle(236.9796694,-62.5563750,25")
 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 bb734282623E     555.4  0.95   19.5  120.4 200    458  2801  4.889 0.618 17.18 16.8  4.8894 0.6177 17.18 16.8    19  9.958  1.258 17.80 0.279 
    Sum (T+   555 to    575):             120.4         32.7 (est. in src region)   SNR_unwtd_sum:   7.92 0.9987 signif. UL:  16.82
  0    19 734282633     565.3      9.9     -9.9    4.8894   0.6177 17.175  0.147  -0.129
Total wtd_rate (for all exposures so far):  2.891 +/- 0.089 snr: 32.5 mag: 19.14 UL: 17.65
Rebinned Data for sw01220736992ubb_sk.img using a zero point of 18.898:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     18.6     565.3      9.9     -9.9    4.8894   0.6177 17.18  0.13     565.3    4.8894   0.6177 17.18  0.13 16.82
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01220736992uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.229 at 734282367
The processing date in extension 0 is:  2024-04-08T20:12:07
The trigger time is: 734282067.68976. The reference is BAT GRB summary file
Using zero point of 18.111 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(236.9760,-62.5656,25")
fk5;-circle(236.9760,-62.5656,12.5")
fk5;-circle(236.978541,-62.567278,6")
fk5;-circle(236.9803992,-62.5574011,25")
fk5;-circle(236.9575500,-62.5618722,25")
fk5;-circle(236.9796694,-62.5563750,25")
 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 uu734282367I     299.6  0.98  245.8  536.3 195   2784  2913  1.494 0.100 17.68 17.5  1.4940 0.1000 17.68 17.5   246  4.719  0.316 18.61 0.411 
   2 uu734282367E     299.6  0.98  245.8  554.1 203   2775  2911  1.540 0.102 17.64 17.4 
    Sum (T+   300 to    549):             536.3        186.3 (est. in src region)   SNR_unwtd_sum:  14.94 0.9987 signif. UL:  17.48
  0   246 734282492     424.4    124.9   -124.9    1.4940   0.1000 17.675  0.075  -0.070
Total wtd_rate (for all exposures so far):  3.005 +/- 0.085 snr: 35.2 mag: 19.09 UL: 16.83
Rebinned Data for sw01220736992uuu_sk.img using a zero point of 18.111:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      242     424.4    124.9   -124.9    1.4940   0.1000 17.68  0.07     424.4    1.4940   0.1000 17.68  0.07 17.48
The data range from T+141.4 s (0.00 d) to T+593.7 s (0.01 d)
Wrote uvot_fluxes_240408d20h19m16s930474usUT.qdp
Wrote uvot_fluxes_240408d20h19m16s930474usUT.gif
Wrote uvot_fluxes_240408d20h19m16s930474usUT.ps
Wrote uvot_fluxes_240408d20h19m16s930474usUT_vis.qdp
Wrote uvot_fluxes_240408d20h19m16s930474usUT_uv.qdp
Wrote uvot_fluxes_240408d20h19m16s930474usUT_vis.gif
Wrote uvot_fluxes_240408d20h19m16s930474usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  b (0)  , v (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      104     216.3     74.9    -74.9   12.9664   0.4190 17.51  0.04     216.3   12.9664   0.4190 17.51  0.04 17.41
  1     1.35     424.4    124.9   -124.9   11.1183   0.7443 17.68  0.07     219.0   12.9204   0.4090 17.51  0.03 17.41
  2    0.175     565.3      9.9     -9.9   17.6145   2.2254 17.18  0.13     219.6   12.9406   0.4074 17.51  0.03 17.41
  3     1.46     586.7      6.9     -6.9   10.9945   1.2996 17.69  0.12     224.6   12.8707   0.3955 17.52  0.03 17.42
The data range from T+141.4 s (0.00 d) to T+593.7 s (0.01 d)
Wrote uvot_fluxes_wtd_240408d20h19m16s930474usUT.qdp
Wrote uvot_fluxes_wtd_240408d20h19m16s930474usUT.gif
Wrote uvot_fluxes_wtd_240408d20h19m16s930474usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2023-03-23 fem