-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Mon Jan 15 21:22:14 2024 UTC
-- File 20230913_083252_1229.dat, 17992  packets found.
APID:
      1229 (EW) in 17992 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 17992 packets (all packets)
Total number of packets: 
      24480 in 17992 packets (all packets)
Packet No from 1 to 17992
!!!ERROR: Maximum packet number must be = 24480
   Sequence of packet numbers -- OK -- 
!!!ERROR: Last packet number must be = 24480
Hz and MHz counters from 668.526248 to 710.603633
-each separately from 668s to 710s and from 526248us to 603633us.
   Differences in neigboring packets: 
      0.000000 in 17990 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      -42.077385 in 1 packets: 6324
MIU packet time from 2023-09-13T08:44:03.526.248.000 to 2023-09-13T08:44:45.603.633.000
   Differences in neigboring packets: 
      0.000000 in 17990 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      -42.077385 in 1 packets: 6324
MIU orbit number: 
      60000 in 17992 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 17992 packets (all packets)
MIU orbit information / number of events: 
      0 in 17992 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 17992 packets (all packets)
Instrument anomalies: 
      0 (OK) in 17992 packets (all packets)
FPGA configuration version: 
      211 in 17992 packets (all packets)
10 MHz counter at the last 1Hz pulse from 669.7084323 to 711.7082912
   Differences in neigboring packets: 
      0.0000000 in 17990 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      -41.9998589 in 1 packets: 6324
Temperature FPGA: 
      04 -> 49.8 degC in 17992 packets (all packets)
Temperature XO: 
      C2 -> 38.8 degC in 17992 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 17992 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 17992 packets (all packets)
Number of external events: 
      2 in 6324 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 11668 packets: 6325, 6326, 6327, 6328, 6329, 6330, 6331, 6332, 6333, 6334, 6335, 6336, 6337, 6338, 6339, 6340, 6341, 6342, ...
Number of generated alerts: 
      2 in 6324 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 11668 packets: 6325, 6326, 6327, 6328, 6329, 6330, 6331, 6332, 6333, 6334, 6335, 6336, 6337, 6338, 6339, 6340, 6341, 6342, ...
Survey memory error: 
      0 in 17992 packets (all packets)
Event memory error: 
      0 in 17992 packets (all packets)
Configuration error: 
      0 in 17992 packets (all packets)
SDRAM CRC error: 
      0 in 17992 packets (all packets)
Radio gain: 
      0 in 17992 packets (all packets)
Radio bandwidth: 
      0 in 17992 packets (all packets)
Digital gain: 
      0 in 17992 packets (all packets)
Analog gain: 
      0 in 17992 packets (all packets)

EVENT DATA READER
-- File 20230913_083252_1229.dat, 88 EW pages found. Extra packets: 40.
   ERROR -  Extra packets
   Design version: 211 => Data interpreted as:   Pre-final (EM4-FM1) data structure with variable 32bit C10MHz in the event data descriptor
--
Data structure of all event data packets in the sequence read from file:
   Event numbers from 1 to 2
      2 in 6324 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 11628 packets: 6325, 6326, 6327, 6328, 6329, 6330, 6331, 6332, 6333, 6334, 6335, 6336, 6337, 6338, 6339, 6340, 6341, 6342, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 240.6824633 to 282.8671983
      Difference between the neighboring packets: 
      0.0000170 in 17950 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      -42.1847350 in 1 packets: 6324
   Memory page number from 116 to 203
      Difference between the neighboring packets: 
      0 in 17864 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 87 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1632, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, ...
   Event page number from 1 to 57
      Difference between the neighboring packets: 
      0 in 17864 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 86 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1632, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, ...
      -30 in 1 packets: 6324
   MIU event flag 
      1 in 17952 packets (all packets)
   Time triggered event flag 
      0 in 17952 packets (all packets)
   Absolute time of the 1st EW sample = header abs. time + offset - one page (3.468 ms) - 175 ns delay
   Min EW event (1st sample) abs. time found among all events: 2023-09-13T08:44:03.470.759.637
   Min EW header abs. time found among all events            : 2023-09-13T08:44:03.526.248.000
   Max EW event (1st sample) abs. time found among all events: 2023-09-13T08:44:45.548.144.642
   Max EW header abs. time found among all events            : 2023-09-13T08:44:45.603.633.000
   TM values from -203 to 182 median:-4.00000
--
Data structure of separate events (selected and re-ordered from the packet sequence):

 Event no. 1 total number of packets: 11628
    Page no. 1:  204 packets  -- OK;  memory page(s):
      147 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      148 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      149 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      150 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      151 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      152 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      153 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      154 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      155 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      156 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      157 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      158 in 204 packets (all packets)  --OK-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      159 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      160 in 204 packets (all packets)  --OK-- 
    Page no. 15:  204 packets  -- OK;  memory page(s):
      161 in 204 packets (all packets)  --OK-- 
    Page no. 16:  204 packets  -- OK;  memory page(s):
      162 in 204 packets (all packets)  --OK-- 
    Page no. 17:  204 packets  -- OK;  memory page(s):
      163 in 204 packets (all packets)  --OK-- 
    Page no. 18:  204 packets  -- OK;  memory page(s):
      164 in 204 packets (all packets)  --OK-- 
    Page no. 19:  204 packets  -- OK;  memory page(s):
      165 in 204 packets (all packets)  --OK-- 
    Page no. 20:  204 packets  -- OK;  memory page(s):
      166 in 204 packets (all packets)  --OK-- 
    Page no. 21:  204 packets  -- OK;  memory page(s):
      167 in 204 packets (all packets)  --OK-- 
    Page no. 22:  204 packets  -- OK;  memory page(s):
      168 in 204 packets (all packets)  --OK-- 
    Page no. 23:  204 packets  -- OK;  memory page(s):
      169 in 204 packets (all packets)  --OK-- 
    Page no. 24:  204 packets  -- OK;  memory page(s):
      170 in 204 packets (all packets)  --OK-- 
    Page no. 25:  204 packets  -- OK;  memory page(s):
      171 in 204 packets (all packets)  --OK-- 
    Page no. 26:  204 packets  -- OK;  memory page(s):
      172 in 204 packets (all packets)  --OK-- 
    Page no. 27:  204 packets  -- OK;  memory page(s):
      173 in 204 packets (all packets)  --OK-- 
    Page no. 28:  204 packets  -- OK;  memory page(s):
      174 in 204 packets (all packets)  --OK-- 
    Page no. 29:  204 packets  -- OK;  memory page(s):
      175 in 204 packets (all packets)  --OK-- 
    Page no. 30:  204 packets  -- OK;  memory page(s):
      176 in 204 packets (all packets)  --OK-- 
    Page no. 31:  204 packets  -- OK;  memory page(s):
      177 in 204 packets (all packets)  --OK-- 
    Page no. 32:  204 packets  -- OK;  memory page(s):
      178 in 204 packets (all packets)  --OK-- 
    Page no. 33:  204 packets  -- OK;  memory page(s):
      179 in 204 packets (all packets)  --OK-- 
    Page no. 34:  204 packets  -- OK;  memory page(s):
      180 in 204 packets (all packets)  --OK-- 
    Page no. 35:  204 packets  -- OK;  memory page(s):
      181 in 204 packets (all packets)  --OK-- 
    Page no. 36:  204 packets  -- OK;  memory page(s):
      182 in 204 packets (all packets)  --OK-- 
    Page no. 37:  204 packets  -- OK;  memory page(s):
      183 in 204 packets (all packets)  --OK-- 
    Page no. 38:  204 packets  -- OK;  memory page(s):
      184 in 204 packets (all packets)  --OK-- 
    Page no. 39:  204 packets  -- OK;  memory page(s):
      185 in 204 packets (all packets)  --OK-- 
    Page no. 40:  204 packets  -- OK;  memory page(s):
      186 in 204 packets (all packets)  --OK-- 
    Page no. 41:  204 packets  -- OK;  memory page(s):
      187 in 204 packets (all packets)  --OK-- 
    Page no. 42:  204 packets  -- OK;  memory page(s):
      188 in 204 packets (all packets)  --OK-- 
    Page no. 43:  204 packets  -- OK;  memory page(s):
      189 in 204 packets (all packets)  --OK-- 
    Page no. 44:  204 packets  -- OK;  memory page(s):
      190 in 204 packets (all packets)  --OK-- 
    Page no. 45:  204 packets  -- OK;  memory page(s):
      191 in 204 packets (all packets)  --OK-- 
    Page no. 46:  204 packets  -- OK;  memory page(s):
      192 in 204 packets (all packets)  --OK-- 
    Page no. 47:  204 packets  -- OK;  memory page(s):
      193 in 204 packets (all packets)  --OK-- 
    Page no. 48:  204 packets  -- OK;  memory page(s):
      194 in 204 packets (all packets)  --OK-- 
    Page no. 49:  204 packets  -- OK;  memory page(s):
      195 in 204 packets (all packets)  --OK-- 
    Page no. 50:  204 packets  -- OK;  memory page(s):
      196 in 204 packets (all packets)  --OK-- 
    Page no. 51:  204 packets  -- OK;  memory page(s):
      197 in 204 packets (all packets)  --OK-- 
    Page no. 52:  204 packets  -- OK;  memory page(s):
      198 in 204 packets (all packets)  --OK-- 
    Page no. 53:  204 packets  -- OK;  memory page(s):
      199 in 204 packets (all packets)  --OK-- 
    Page no. 54:  204 packets  -- OK;  memory page(s):
      200 in 204 packets (all packets)  --OK-- 
    Page no. 55:  204 packets  -- OK;  memory page(s):
      201 in 204 packets (all packets)  --OK-- 
    Page no. 56:  204 packets  -- OK;  memory page(s):
      202 in 204 packets (all packets)  --OK-- 
    Page no. 57:  204 packets  -- OK;  memory page(s):
      203 in 204 packets (all packets)  --OK-- 
   Event no. 1 pages: 57  ordered packets: 11628
   TM values from -192 to 182 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=668 C1MHz=0.526248
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 11627 packets (all packets)
      -- OK -- correct differences for all packets of this event
         LS 32 bits of C10MHz from descriptor (period 430s)  in the first packet of this event: 240.6824633
   Event type -- OK -- (constant for all packets of this event): External
   Gain -- OK -- (constant for all packets of this event): 1x
   Header abs. time  -- OK -- (constant for all packets of this event): 2023-09-13T08:44:03.526.248.000
   Event 1st sample abs. time : 2023-09-13T08:44:03.470.759.637)
   --- Rel. time correction for 1 points based on 989 XO calibration points at 1Hz counter from 0 to 988
   --- First point: 1Hz counter = 668, 32bit 10MHz counter = 240.682463300 corrected by 40bit 10MHz counter of 669.708432300 obtained at 1Hz counter of 668. Result: 668.470762201
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             668.470762026
   Event data descriptor XO time (reconstructed seconds from XP start)    :             668.470762201
   Sampling frequency correction factor for this event:     0.999996600

 Event no. 2 total number of packets: 6324
    Page no. 1:  204 packets  -- OK;  memory page(s):
      116 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      117 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      118 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      119 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      120 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      121 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      122 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      123 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      124 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      125 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      126 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      127 in 204 packets (all packets)  --OK-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      128 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      129 in 204 packets (all packets)  --OK-- 
    Page no. 15:  204 packets  -- OK;  memory page(s):
      130 in 204 packets (all packets)  --OK-- 
    Page no. 16:  204 packets  -- OK;  memory page(s):
      131 in 204 packets (all packets)  --OK-- 
    Page no. 17:  204 packets  -- OK;  memory page(s):
      132 in 204 packets (all packets)  --OK-- 
    Page no. 18:  204 packets  -- OK;  memory page(s):
      133 in 204 packets (all packets)  --OK-- 
    Page no. 19:  204 packets  -- OK;  memory page(s):
      134 in 204 packets (all packets)  --OK-- 
    Page no. 20:  204 packets  -- OK;  memory page(s):
      135 in 204 packets (all packets)  --OK-- 
    Page no. 21:  204 packets  -- OK;  memory page(s):
      136 in 204 packets (all packets)  --OK-- 
    Page no. 22:  204 packets  -- OK;  memory page(s):
      137 in 204 packets (all packets)  --OK-- 
    Page no. 23:  204 packets  -- OK;  memory page(s):
      138 in 204 packets (all packets)  --OK-- 
    Page no. 24:  204 packets  -- OK;  memory page(s):
      139 in 204 packets (all packets)  --OK-- 
    Page no. 25:  204 packets  -- OK;  memory page(s):
      140 in 204 packets (all packets)  --OK-- 
    Page no. 26:  204 packets  -- OK;  memory page(s):
      141 in 204 packets (all packets)  --OK-- 
    Page no. 27:  204 packets  -- OK;  memory page(s):
      142 in 204 packets (all packets)  --OK-- 
    Page no. 28:  204 packets  -- OK;  memory page(s):
      143 in 204 packets (all packets)  --OK-- 
    Page no. 29:  204 packets  -- OK;  memory page(s):
      144 in 204 packets (all packets)  --OK-- 
    Page no. 30:  204 packets  -- OK;  memory page(s):
      145 in 204 packets (all packets)  --OK-- 
    Page no. 31:  204 packets  -- OK;  memory page(s):
      146 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 31  ordered packets: 6324
   TM values from -203 to 172 median: -5.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=710 C1MHz=0.603633
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 6323 packets (all packets)
      -- OK -- correct differences for all packets of this event
         LS 32 bits of C10MHz from descriptor (period 430s)  in the first packet of this event: 282.7597073
   Event type -- OK -- (constant for all packets of this event): External
   Gain -- OK -- (constant for all packets of this event): 1x
   Header abs. time  -- OK -- (constant for all packets of this event): 2023-09-13T08:44:45.603.633.000
   Event 1st sample abs. time : 2023-09-13T08:44:45.548.144.642)
   --- Rel. time correction for 1 points based on 989 XO calibration points at 1Hz counter from 0 to 988
   --- First point: 1Hz counter = 710, 32bit 10MHz counter = 282.759707300 corrected by 40bit 10MHz counter of 711.708291200 obtained at 1Hz counter of 710. Result: 710.548147509
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             710.548147334
   Event data descriptor XO time (reconstructed seconds from XP start)    :             710.548147509
   Sampling frequency correction factor for this event:     0.999996700
--
Extremes in separate events:

 - Event number: 1 from 2023-09-13T08:44:03.470.759.637 to 2023-09-13T08:44:03.668.436.309 (XO: 668.470762026 - 668.668438698)
   Min TM value:-192 at an offset of 53342.169 usec -> 2023-09-13T08:44:03.524.101.805 (XO: 668.524104194)
   Max TM value:182 at an offset of 103262.176 usec -> 2023-09-13T08:44:03.574.021.813 (XO: 668.574024202)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 153256.221 usec -> 2023-09-13T08:44:03.624.015.858 (XO: 668.624018247)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 23349.642 usec -> 2023-09-13T08:44:03.494.109.278 (XO: 668.494111667)
   Med: -4.00000   Ave: -4.4821085   Std: 3.7328733

 - Event number: 2 from 2023-09-13T08:44:45.548.144.642 to 2023-09-13T08:44:45.655.652.996 (XO: 710.548147334 - 710.655655689)
   Min TM value:-203 at an offset of 53906.828 usec -> 2023-09-13T08:44:45.602.051.469 (XO: 710.602054162)
   Max TM value:172 at an offset of 63818.548 usec -> 2023-09-13T08:44:45.611.963.190 (XO: 710.611965882)
   Max dTM/dt [1/us]:1.43e+03 at an offset of 3846.450 usec -> 2023-09-13T08:44:45.551.991.092 (XO: 710.551993784)
   Min dTM/dt [1/us]:-1.69e+03 at an offset of 63818.661 usec -> 2023-09-13T08:44:45.611.963.302 (XO: 710.611965994)
   Med: -5.00000   Ave: -4.5332432   Std: 3.4706499
