# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250504d14h44m36s236896usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021827001 -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_021827_src.reg
Used archived XRT position of 206.52396 -10.75878 4.00
Reference: GCN_Circulars-40336-Sat,_3_May_2025_19:00:37_+0000
The position is (13:46:05.75, -10:45:31.6)
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(206.52396,-10.75878,4") # color=red dash=0
Source region spec. is: 206.52396 -10.75878 4"
Region file centered at (206.52396,-10.75878), which is (13:46:05.75, -10:45:31.6)
Could not find/read custom background region custom_021827_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.
Failed to find trigger time in BAT summary file for trigger 00021827
# ============ Reading file sw00021827001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 767946276
The processing date in extension 0 is: 2025-05-04T14:31:34
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.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(206.52396,-10.75878,25")
fk5;-circle(206.52396,-10.75878,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 wh767946275I 767946275.7  0.96  260.9 1025.6 208  27443  5894  0.235 0.134 21.69 20.6  0.2346 0.1339 21.69 20.6   261 211661.356 120814.120  6.98 0.000 
   2 wh767952134I 767952135.0  0.96  434.9 1622.2 200  44508  5840  0.242 0.101 21.66 20.8  0.2389 0.0806 21.67 20.9   696 215673.613 72733.938  6.96 0.000 
   3 wh767963144I 767963144.2  0.97  184.6  683.3 204  18896  5821  0.123 0.154 22.39 20.7  0.2145 0.0715 21.79 21.0   880 193625.730 64466.426  7.07 0.000 
    Sum (T+767946276 to 767963332):            3331.0       3155.0 (est. in src region)   SNR_unwtd_sum:   3.00 0.9987 signif. UL:  21.03
  0   880 767952875 767952874.6  10457.2  -6598.9    0.2145   0.0715 21.786  0.440  -0.312
Total wtd_rate (for all exposures so far): 193625.730 +/-63432.215 snr:  3.1 mag:  7.07 UL:  6.15
Rebinned Data for sw00021827001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      849 767952878.8  10452.9  -6603.2    0.2145   0.0715 21.79  0.31 767952878.8    0.2145   0.0715 21.79  0.31 21.03
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00021827001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.243 at 767940489
The processing date in extension 0 is:  2025-05-04T14:31:33
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.032 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(206.52396,-10.75878,25")
fk5;-circle(206.52396,-10.75878,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 uu767940488I 767940488.5  0.99  582.8  358.6 200  10503  5828 -0.003 0.034 99.00 20.5 -0.0032 0.0343 99.00 20.5   583 -18730.124 198488.187 99.00 0.000 
   2 uu767945461I 767945461.3  0.99  795.0  604.3 200  17072  5869  0.029 0.033 21.92 20.3  0.0156 0.0238 22.61 20.7  1378 82563.469 136902.582  8.00 0.000 
   3 uu767951442I 767951443.0  0.99  674.0  423.5 208  12588  5831 -0.039 0.032 99.00 20.9 -0.0024 0.0192 99.00 21.2  2052 -20546.786 110498.537 99.00 0.000 
   4 uu767956736I 767956737.0  0.99  535.2  423.1 204  11516  5873  0.045 0.041 21.47 20.0  0.0074 0.0174 23.43 21.1  2587 32680.993 100016.994  9.00 0.000 
   5 uu767962339I 767962339.9  0.99  785.2  607.5 204  16140  5829  0.056 0.033 21.22 20.1  0.0188 0.0154 22.41 21.1  3372 98867.448 88713.903  7.80 0.000 
   6 uu767973584I 767973584.5  0.99  292.5  243.8 208   6984  5879 -0.012 0.056 99.00 20.0  0.0163 0.0149 22.56 21.1  3665 87719.718 85619.080  7.93 0.000 
    Sum (T+767940489 to 767973882):            2660.9       2603.2 (est. in src region)   SNR_unwtd_sum:   1.10 0.9987 signif. UL:  21.12
  0  3665 767953613 767953613.0  20268.6 -13124.5    0.0163   0.0149 22.564  2.610  -0.703
Total wtd_rate (for all exposures so far): 155931.339 +/-50580.710 snr:  3.1 mag:  7.31 UL:  4.38
Rebinned Data for sw00021827001uuu_sk.img using a zero point of 18.097:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 3.64e+03 767953610.2  20271.4 -13121.7    0.0163   0.0149 22.56  0.70 767953610.2    0.0163   0.0149 22.56  0.70 21.12
The data range from T+767940488.5 s (8888.20 d) to T+767973881.7 s (8888.59 d)
Wrote uvot_fluxes_250504d14h44m36s236896usUT.qdp
Wrote uvot_fluxes_250504d14h44m36s236896usUT.gif
Wrote uvot_fluxes_250504d14h44m36s236896usUT.ps
Wrote uvot_fluxes_250504d14h44m36s236896usUT_vis.qdp
Wrote uvot_fluxes_250504d14h44m36s236896usUT_uv.qdp
Wrote uvot_fluxes_250504d14h44m36s236896usUT_vis.gif
Wrote uvot_fluxes_250504d14h44m36s236896usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  b (0)  , white (0)  , v (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 2.23e-10 767952989.5  20892.2 -12501.0    0.2394   0.0776 21.84  0.30 767952989.5    0.2394   0.0776 21.84  0.30 21.10
The data range from T+767940488.5 s (8888.20 d) to T+767973881.7 s (8888.59 d)
Wrote uvot_fluxes_wtd_250504d14h44m36s236896usUT.qdp
Wrote uvot_fluxes_wtd_250504d14h44m36s236896usUT.gif
Wrote uvot_fluxes_wtd_250504d14h44m36s236896usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem