-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 10:02:51 2023 UTC
-- File 20210702_051536_1229.dat, 17344  packets found.
APID:
      1229 (EW) in 17344 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 17344 packets (all packets)
Total number of packets: 
      36720 in 17344 packets (all packets)
Packet No from 1 to 17344
!!!ERROR: Maximum packet number must be = 36720
   Sequence of packet numbers -- OK -- 
!!!ERROR: Last packet number must be = 36720
Hz and MHz counters from 19.750725 to 365.757795
-each separately from 19s to 365s and from 381452us to 757795us.
   Differences in neigboring packets: 
      0.000000 in 17341 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      296.376343 in 1 packets: 2652
      -346.007070 in 1 packets: 12648
MIU packet time from 2021-07-02T05:15:54.750.725.000 to 2021-07-02T05:21:40.757.795.000
   Differences in neigboring packets: 
      0.000000 in 17341 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      296.376343 in 1 packets: 2652
      -346.007070 in 1 packets: 12648
MIU orbit number: 
      60000 in 17344 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 17344 packets (all packets)
MIU orbit information / number of events: 
      0 in 17344 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 17344 packets (all packets)
Instrument anomalies: 
      0 (OK) in 17344 packets (all packets)
FPGA configuration version: 
      211 in 17344 packets (all packets)
10 MHz counter at the last 1Hz pulse from 20.6379387 to 366.6366974
   Differences in neigboring packets: 
      0.0000000 in 17341 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      295.9989379 in 1 packets: 2652
      -345.9987587 in 1 packets: 12648
Temperature FPGA: 
      05 -> 48.5 degC in 17344 packets (all packets)
Temperature XO: 
      C0 -> 35.6 degC in 17344 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 17344 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 17344 packets (all packets)
Number of external events: 
      2 in 2652 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      3 in 9996 packets: 2653, 2654, 2655, 2656, 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, ...
      1 in 4696 packets: 12649, 12650, 12651, 12652, 12653, 12654, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, ...
Number of generated alerts: 
      2 in 2652 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      3 in 9996 packets: 2653, 2654, 2655, 2656, 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, ...
      1 in 4696 packets: 12649, 12650, 12651, 12652, 12653, 12654, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, ...
Survey memory error: 
      0 in 17344 packets (all packets)
Event memory error: 
      0 in 17344 packets (all packets)
Configuration error: 
      0 in 17344 packets (all packets)
SDRAM CRC error: 
      0 in 17344 packets (all packets)
Radio gain: 
      0 in 17344 packets (all packets)
Radio bandwidth: 
      0 in 17344 packets (all packets)
Digital gain: 
      0 in 17344 packets (all packets)
Analog gain: 
      0 in 17344 packets (all packets)

EVENT DATA READER
-- File 20210702_051536_1229.dat, 85 EW pages found. Extra packets: 4.
   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 3
      2 in 2652 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      3 in 9996 packets: 2653, 2654, 2655, 2656, 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, ...
      1 in 4692 packets: 12649, 12650, 12651, 12652, 12653, 12654, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 21.3331763 to 367.5470673
      Difference between the neighboring packets: 
      0.0000170 in 17336 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      -133.2185366 in 1 packets: 2652
      -0.2080630 in 1 packets: 8364
      83.4180906 in 1 packets: 12648
   Memory page number from 0 to 142
      Difference between the neighboring packets: 
      0 in 17255 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 83 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1632, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, ...
      59 in 1 packets: 8364
   Event page number from 1 to 60
      Difference between the neighboring packets: 
      0 in 17255 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 81 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1632, 1836, 2040, 2244, 2448, 2856, 3060, 3264, 3468, 3672, 3876, ...
      -27 in 1 packets: 2652
      -59 in 1 packets: 8364
      -20 in 1 packets: 12648
   MIU event flag 
      1 in 17340 packets (all packets)
   Time triggered event flag 
      0 in 17340 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: 2021-07-02T05:15:54.695.236.626
   Min EW header abs. time found among all events            : 2021-07-02T05:15:54.750.725.000
   Max EW event (1st sample) abs. time found among all events: 2021-07-02T05:21:40.702.306.626
   Max EW header abs. time found among all events            : 2021-07-02T05:21:40.757.795.000
   TM values from -241 to 211 median:-4.00000
--
Data structure of separate events (selected and re-ordered from the packet sequence):

 Event no. 1 total number of packets: 4692
    Page no. 1:  204 packets  -- OK;  memory page(s):
      120 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      121 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      122 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      123 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      124 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      125 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      126 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      127 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      128 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      129 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      130 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      131 in 204 packets (all packets)  --OK-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      132 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      133 in 204 packets (all packets)  --OK-- 
    Page no. 15:  204 packets  -- OK;  memory page(s):
      134 in 204 packets (all packets)  --OK-- 
    Page no. 16:  204 packets  -- OK;  memory page(s):
      135 in 204 packets (all packets)  --OK-- 
    Page no. 17:  204 packets  -- OK;  memory page(s):
      136 in 204 packets (all packets)  --OK-- 
    Page no. 18:  204 packets  -- OK;  memory page(s):
      137 in 204 packets (all packets)  --OK-- 
    Page no. 19:  204 packets  -- OK;  memory page(s):
      138 in 204 packets (all packets)  --OK-- 
    Page no. 20:  204 packets  -- OK;  memory page(s):
      139 in 204 packets (all packets)  --OK-- 
    Page no. 21:  204 packets  -- OK;  memory page(s):
      140 in 204 packets (all packets)  --OK-- 
    Page no. 22:  204 packets  -- OK;  memory page(s):
      141 in 204 packets (all packets)  --OK-- 
    Page no. 23:  204 packets  -- OK;  memory page(s):
      142 in 204 packets (all packets)  --OK-- 
   Event no. 1 pages: 23  ordered packets: 4692
   TM values from -241 to 199 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=19 C1MHz=0.750725
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 4691 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: 21.3331763
   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): 2021-07-02T05:15:54.750.725.000
   Event 1st sample abs. time : 2021-07-02T05:15:54.695.236.626)
   --- Rel. time correction for 1 points based on 359 XO calibration points at 1Hz counter from 0 to 358
   --- First point: 1Hz counter = 19, 32bit 10MHz counter = 21.333176300 corrected by 40bit 10MHz counter of 20.637938700 obtained at 1Hz counter of 19. Result: 19.695240103
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              19.695239928
   Event data descriptor XO time (reconstructed seconds from XP start)    :              19.695240103
   Sampling frequency correction factor for this event:     0.999996400

 Event no. 2 total number of packets: 2652
    Page no. 48:  204 packets  -- OK;  memory page(s):
      0 in 204 packets (all packets)  --OK-- 
    Page no. 49:  204 packets  -- OK;  memory page(s):
      1 in 204 packets (all packets)  --OK-- 
    Page no. 50:  204 packets  -- OK;  memory page(s):
      2 in 204 packets (all packets)  --OK-- 
    Page no. 51:  204 packets  -- OK;  memory page(s):
      3 in 204 packets (all packets)  --OK-- 
    Page no. 52:  204 packets  -- OK;  memory page(s):
      4 in 204 packets (all packets)  --OK-- 
    Page no. 53:  204 packets  -- OK;  memory page(s):
      5 in 204 packets (all packets)  --OK-- 
    Page no. 54:  204 packets  -- OK;  memory page(s):
      6 in 204 packets (all packets)  --OK-- 
    Page no. 55:  204 packets  -- OK;  memory page(s):
      7 in 204 packets (all packets)  --OK-- 
    Page no. 56:  204 packets  -- OK;  memory page(s):
      8 in 204 packets (all packets)  --OK-- 
    Page no. 57:  204 packets  -- OK;  memory page(s):
      9 in 204 packets (all packets)  --OK-- 
    Page no. 58:  204 packets  -- OK;  memory page(s):
      10 in 204 packets (all packets)  --OK-- 
    Page no. 59:  204 packets  -- OK;  memory page(s):
      11 in 204 packets (all packets)  --OK-- 
    Page no. 60:  204 packets  -- OK;  memory page(s):
      12 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 13  ordered packets: 2652
   TM values from -237 to 190 median: -5.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=69 C1MHz=0.381452
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 2651 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: 71.1267203
   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): 2021-07-02T05:16:44.381.452.000
   Event 1st sample abs. time : 2021-07-02T05:16:44.325.963.626)
   --- Rel. time correction for 1 points based on 359 XO calibration points at 1Hz counter from 0 to 358
   --- First point: 1Hz counter = 69, 32bit 10MHz counter = 71.126720300 corrected by 40bit 10MHz counter of 70.637759500 obtained at 1Hz counter of 69. Result: 69.488962560
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              69.488962385
   Event data descriptor XO time (reconstructed seconds from XP start)    :              69.488962560
   Sampling frequency correction factor for this event:     0.999996400

 Event no. 3 total number of packets: 9996
    Page no. 1:  204 packets  -- OK;  memory page(s):
      99 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      100 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      101 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      102 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      103 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      104 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      105 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      106 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      107 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      108 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      109 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      110 in 204 packets (all packets)  --OK-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      111 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      112 in 204 packets (all packets)  --OK-- 
    Page no. 15:  204 packets  -- OK;  memory page(s):
      113 in 204 packets (all packets)  --OK-- 
    Page no. 16:  204 packets  -- OK;  memory page(s):
      114 in 204 packets (all packets)  --OK-- 
    Page no. 17:  204 packets  -- OK;  memory page(s):
      115 in 204 packets (all packets)  --OK-- 
    Page no. 18:  204 packets  -- OK;  memory page(s):
      116 in 204 packets (all packets)  --OK-- 
    Page no. 19:  204 packets  -- OK;  memory page(s):
      117 in 204 packets (all packets)  --OK-- 
    Page no. 20:  204 packets  -- OK;  memory page(s):
      118 in 204 packets (all packets)  --OK-- 
    Page no. 21:  204 packets  -- OK;  memory page(s):
      119 in 204 packets (all packets)  --OK-- 
    Page no. 33:  204 packets  -- OK;  memory page(s):
      13 in 204 packets (all packets)  --OK-- 
    Page no. 34:  204 packets  -- OK;  memory page(s):
      14 in 204 packets (all packets)  --OK-- 
    Page no. 35:  204 packets  -- OK;  memory page(s):
      15 in 204 packets (all packets)  --OK-- 
    Page no. 36:  204 packets  -- OK;  memory page(s):
      16 in 204 packets (all packets)  --OK-- 
    Page no. 37:  204 packets  -- OK;  memory page(s):
      17 in 204 packets (all packets)  --OK-- 
    Page no. 38:  204 packets  -- OK;  memory page(s):
      18 in 204 packets (all packets)  --OK-- 
    Page no. 39:  204 packets  -- OK;  memory page(s):
      19 in 204 packets (all packets)  --OK-- 
    Page no. 40:  204 packets  -- OK;  memory page(s):
      20 in 204 packets (all packets)  --OK-- 
    Page no. 41:  204 packets  -- OK;  memory page(s):
      21 in 204 packets (all packets)  --OK-- 
    Page no. 42:  204 packets  -- OK;  memory page(s):
      22 in 204 packets (all packets)  --OK-- 
    Page no. 43:  204 packets  -- OK;  memory page(s):
      23 in 204 packets (all packets)  --OK-- 
    Page no. 44:  204 packets  -- OK;  memory page(s):
      24 in 204 packets (all packets)  --OK-- 
    Page no. 45:  204 packets  -- OK;  memory page(s):
      25 in 204 packets (all packets)  --OK-- 
    Page no. 46:  204 packets  -- OK;  memory page(s):
      26 in 204 packets (all packets)  --OK-- 
    Page no. 47:  204 packets  -- OK;  memory page(s):
      27 in 204 packets (all packets)  --OK-- 
    Page no. 48:  204 packets  -- OK;  memory page(s):
      28 in 204 packets (all packets)  --OK-- 
    Page no. 49:  204 packets  -- OK;  memory page(s):
      29 in 204 packets (all packets)  --OK-- 
    Page no. 50:  204 packets  -- OK;  memory page(s):
      30 in 204 packets (all packets)  --OK-- 
    Page no. 51:  204 packets  -- OK;  memory page(s):
      31 in 204 packets (all packets)  --OK-- 
    Page no. 52:  204 packets  -- OK;  memory page(s):
      32 in 204 packets (all packets)  --OK-- 
    Page no. 53:  204 packets  -- OK;  memory page(s):
      33 in 204 packets (all packets)  --OK-- 
    Page no. 54:  204 packets  -- OK;  memory page(s):
      34 in 204 packets (all packets)  --OK-- 
    Page no. 55:  204 packets  -- OK;  memory page(s):
      35 in 204 packets (all packets)  --OK-- 
    Page no. 56:  204 packets  -- OK;  memory page(s):
      36 in 204 packets (all packets)  --OK-- 
    Page no. 57:  204 packets  -- OK;  memory page(s):
      37 in 204 packets (all packets)  --OK-- 
    Page no. 58:  204 packets  -- OK;  memory page(s):
      38 in 204 packets (all packets)  --OK-- 
    Page no. 59:  204 packets  -- OK;  memory page(s):
      39 in 204 packets (all packets)  --OK-- 
    Page no. 60:  204 packets  -- OK;  memory page(s):
      40 in 204 packets (all packets)  --OK-- 
   Event no. 3 pages: 49  ordered packets: 9996
   TM values from -239 to 211 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=365 C1MHz=0.757795
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 9994 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      0.0381650 in 1 packets: 4284
      -- ERROR -- incorrect differences for packets of this event. 
   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): 2021-07-02T05:21:40.757.795.000
   Event 1st sample abs. time : 2021-07-02T05:21:40.702.306.626)
   --- Rel. time correction for 1 points based on 359 XO calibration points at 1Hz counter from 0 to 358
   --- First point: 1Hz counter = 365, 32bit 10MHz counter = 367.339004300 corrected by 40bit 10MHz counter of 359.636722400 obtained at 1Hz counter of 358. Result: 365.702309628
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             365.702309453
   Event data descriptor XO time (reconstructed seconds from XP start)    :             365.702309628
   Sampling frequency correction factor for this event:     0.999996400
--
Extremes in separate events:

 - Event number: 1 from 2021-07-02T05:15:54.695.236.626 to 2021-07-02T05:15:54.775.000.913 (XO: 19.695239928 - 19.775004215)
   Min TM value:-241 at an offset of 65311.560 usec -> 2021-07-02T05:15:54.760.548.186 (XO: 19.760551488)
   Max TM value:199 at an offset of 55305.724 usec -> 2021-07-02T05:15:54.750.542.350 (XO: 19.750545652)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 55300.749 usec -> 2021-07-02T05:15:54.750.537.375 (XO: 19.750540677)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 55302.837 usec -> 2021-07-02T05:15:54.750.539.462 (XO: 19.750542764)
   Med: -4.00000   Ave: -4.4862983   Std: 7.4412817

 - Event number: 2 from 2021-07-02T05:16:44.325.963.626 to 2021-07-02T05:16:44.371.047.788 (XO: 69.488962385 - 69.534046548)
   Min TM value:-237 at an offset of 11032.527 usec -> 2021-07-02T05:16:44.336.996.153 (XO: 69.499994912)
   Max TM value:190 at an offset of 20884.500 usec -> 2021-07-02T05:16:44.346.848.126 (XO: 69.509846885)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 979.841 usec -> 2021-07-02T05:16:44.326.943.467 (XO: 69.489942226)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 11032.402 usec -> 2021-07-02T05:16:44.336.996.028 (XO: 69.499994787)
   Med: -5.00000   Ave: -4.5330952   Std: 7.7620627

 - Event number: 3 from 2021-07-02T05:21:40.702.306.626 to 2021-07-02T05:21:40.872.239.237 (XO: 365.702309453 - 365.872242065)
   Min TM value:-239 at an offset of 55314.874 usec -> 2021-07-02T05:21:40.757.621.500 (XO: 365.757624327)
   Max TM value:211 at an offset of 55314.562 usec -> 2021-07-02T05:21:40.757.621.187 (XO: 365.757624015)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 65291.410 usec -> 2021-07-02T05:21:40.767.598.036 (XO: 365.767600863)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 65346.773 usec -> 2021-07-02T05:21:40.767.653.398 (XO: 365.767656226)
   Med: -4.00000   Ave: -4.4398781   Std: 6.5694461
