-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Sat Feb 17 03:26:16 2024 UTC
-- File 20240216_142734_1229.dat, 6933  packets found.
APID:
      1229 (EW) in 6933 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 6933 packets (all packets)
Total number of packets: 
      36720 in 6933 packets (all packets)
Packet No from 1 to 6933
!!!ERROR: Maximum packet number must be = 36720
   Sequence of packet numbers -- OK -- 
!!!ERROR: Last packet number must be = 36720
Hz and MHz counters from 10.970578 to 194.241142
-each separately from 10s to 194s and from 241142us to 970578us.
   Differences in neigboring packets: 
      0.000000 in 6930 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      54.915971 in 1 packets: 1224
      -183.270564 in 1 packets: 3876
MIU packet time from 2024-02-16T14:27:47.970.578.000 to 2024-02-16T14:30:51.241.142.000
   Differences in neigboring packets: 
      0.000000 in 6930 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      54.915971 in 1 packets: 1224
      -183.270564 in 1 packets: 3876
MIU orbit number: 
      60000 in 6933 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 6933 packets (all packets)
MIU orbit information / number of events: 
      0 in 6933 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 6933 packets (all packets)
Instrument anomalies: 
      0 (OK) in 6933 packets (all packets)
FPGA configuration version: 
      211 in 6933 packets (all packets)
10 MHz counter at the last 1Hz pulse from 11.8137706 to 195.8131344
   Differences in neigboring packets: 
      0.0000000 in 6930 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      54.9998096 in 1 packets: 1224
      -183.9993638 in 1 packets: 3876
Temperature FPGA: 
      06 -> 47.2 degC in 3876 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 3057 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
Temperature XO: 
      C0 -> 35.6 degC in 6933 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 6933 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 6933 packets (all packets)
Number of external events: 
      2 in 1224 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      3 in 2652 packets: 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, ...
      1 in 3057 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
Number of generated alerts: 
      2 in 1224 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      3 in 2652 packets: 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, ...
      1 in 3057 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
Survey memory error: 
      0 in 6933 packets (all packets)
Event memory error: 
      0 in 6933 packets (all packets)
Configuration error: 
      0 in 6933 packets (all packets)
SDRAM CRC error: 
      0 in 6933 packets (all packets)
Radio gain: 
      0 in 6933 packets (all packets)
Radio bandwidth: 
      0 in 6933 packets (all packets)
Digital gain: 
      0 in 6933 packets (all packets)
Analog gain: 
      0 in 6933 packets (all packets)

EVENT DATA READER
-- File 20240216_142734_1229.dat, 33 EW pages found. Extra packets: 201.
   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 1224 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      3 in 2652 packets: 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, ...
      1 in 2856 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 12.7288609 to 196.1721719
      Difference between the neighboring packets: 
      0.0000170 in 6729 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      54.8360330 in 1 packets: 1224
      -183.4433110 in 1 packets: 3876
   Memory page number from 0 to 32
      Difference between the neighboring packets: 
      0 in 6699 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 32 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 60
      Difference between the neighboring packets: 
      0 in 6699 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 30 packets: 204, 408, 612, 816, 1020, 1428, 1632, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, 4080, ...
      -22 in 1 packets: 1224
      -49 in 1 packets: 3876
   MIU event flag 
      1 in 6732 packets (all packets)
   Time triggered event flag 
      0 in 6732 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: 2024-02-16T14:27:47.915.089.631
   Min EW header abs. time found among all events            : 2024-02-16T14:27:47.970.578.000
   Max EW event (1st sample) abs. time found among all events: 2024-02-16T14:30:51.185.653.637
   Max EW header abs. time found among all events            : 2024-02-16T14:30:51.241.142.000
   TM values from -237 to 248 median:-4.00000
--
Data structure of separate events (selected and re-ordered from the packet sequence):

 Event no. 1 total number of packets: 2856
    Page no. 1:  204 packets  -- OK;  memory page(s):
      19 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      20 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      21 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      22 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      23 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      24 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      25 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      26 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      27 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      28 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      29 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      30 in 204 packets (all packets)  --OK-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      31 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      32 in 204 packets (all packets)  --OK-- 
   Event no. 1 pages: 14  ordered packets: 2856
   TM values from -237 to 201 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=10 C1MHz=0.970578
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 2855 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: 12.7288609
   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): 2024-02-16T14:27:47.970.578.000
   Event 1st sample abs. time : 2024-02-16T14:27:47.915.089.631)
   --- Rel. time correction for 1 points based on 179 XO calibration points at 1Hz counter from 0 to 178
   --- First point: 1Hz counter = 10, 32bit 10MHz counter = 12.728860900 corrected by 40bit 10MHz counter of 11.813770600 obtained at 1Hz counter of 10. Result: 10.915093503
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              10.915093328
   Event data descriptor XO time (reconstructed seconds from XP start)    :              10.915093503
   Sampling frequency correction factor for this event:     0.999996500

 Event no. 2 total number of packets: 1224
    Page no. 55:  204 packets  -- OK;  memory page(s):
      0 in 204 packets (all packets)  --OK-- 
    Page no. 56:  204 packets  -- OK;  memory page(s):
      1 in 204 packets (all packets)  --OK-- 
    Page no. 57:  204 packets  -- OK;  memory page(s):
      2 in 204 packets (all packets)  --OK-- 
    Page no. 58:  204 packets  -- OK;  memory page(s):
      3 in 204 packets (all packets)  --OK-- 
    Page no. 59:  204 packets  -- OK;  memory page(s):
      4 in 204 packets (all packets)  --OK-- 
    Page no. 60:  204 packets  -- OK;  memory page(s):
      5 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 6  ordered packets: 1224
   TM values from -221 to 248 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=139 C1MHz=0.325171
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 1223 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: 141.2702809
   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): 2024-02-16T14:29:56.325.171.000
   Event 1st sample abs. time : 2024-02-16T14:29:56.269.682.631)
   --- Rel. time correction for 1 points based on 179 XO calibration points at 1Hz counter from 0 to 178
   --- First point: 1Hz counter = 139, 32bit 10MHz counter = 141.270280900 corrected by 40bit 10MHz counter of 140.813324800 obtained at 1Hz counter of 139. Result: 139.456957699
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             139.456957524
   Event data descriptor XO time (reconstructed seconds from XP start)    :             139.456957699
   Sampling frequency correction factor for this event:     0.999996500

 Event no. 3 total number of packets: 2652
    Page no. 38:  204 packets  -- OK;  memory page(s):
      6 in 204 packets (all packets)  --OK-- 
    Page no. 39:  204 packets  -- OK;  memory page(s):
      7 in 204 packets (all packets)  --OK-- 
    Page no. 40:  204 packets  -- OK;  memory page(s):
      8 in 204 packets (all packets)  --OK-- 
    Page no. 41:  204 packets  -- OK;  memory page(s):
      9 in 204 packets (all packets)  --OK-- 
    Page no. 42:  204 packets  -- OK;  memory page(s):
      10 in 204 packets (all packets)  --OK-- 
    Page no. 43:  204 packets  -- OK;  memory page(s):
      11 in 204 packets (all packets)  --OK-- 
    Page no. 44:  204 packets  -- OK;  memory page(s):
      12 in 204 packets (all packets)  --OK-- 
    Page no. 45:  204 packets  -- OK;  memory page(s):
      13 in 204 packets (all packets)  --OK-- 
    Page no. 46:  204 packets  -- OK;  memory page(s):
      14 in 204 packets (all packets)  --OK-- 
    Page no. 47:  204 packets  -- OK;  memory page(s):
      15 in 204 packets (all packets)  --OK-- 
    Page no. 48:  204 packets  -- OK;  memory page(s):
      16 in 204 packets (all packets)  --OK-- 
    Page no. 49:  204 packets  -- OK;  memory page(s):
      17 in 204 packets (all packets)  --OK-- 
    Page no. 50:  204 packets  -- OK;  memory page(s):
      18 in 204 packets (all packets)  --OK-- 
   Event no. 3 pages: 13  ordered packets: 2652
   TM values from -204 to 226 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=194 C1MHz=0.241142
   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: 196.1271049
   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): 2024-02-16T14:30:51.241.142.000
   Event 1st sample abs. time : 2024-02-16T14:30:51.185.653.637)
   --- Rel. time correction for 1 points based on 179 XO calibration points at 1Hz counter from 0 to 178
   --- First point: 1Hz counter = 194, 32bit 10MHz counter = 196.127104900 corrected by 40bit 10MHz counter of 179.813189800 obtained at 1Hz counter of 178. Result: 194.313970567
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             194.313970392
   Event data descriptor XO time (reconstructed seconds from XP start)    :             194.313970567
   Sampling frequency correction factor for this event:     0.999996600
--
Extremes in separate events:

 - Event number: 1 from 2024-02-16T14:27:47.915.089.631 to 2024-02-16T14:27:47.963.641.800 (XO: 10.915093328 - 10.963645498)
   Min TM value:-237 at an offset of 32516.751 usec -> 2024-02-16T14:27:47.947.606.382 (XO: 10.947610079)
   Max TM value:201 at an offset of 32573.577 usec -> 2024-02-16T14:27:47.947.663.207 (XO: 10.947666904)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 32516.826 usec -> 2024-02-16T14:27:47.947.606.457 (XO: 10.947610154)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 32588.452 usec -> 2024-02-16T14:27:47.947.678.082 (XO: 10.947681779)
   Med: -4.00000   Ave: -4.3977542   Std: 4.9992583

 - Event number: 2 from 2024-02-16T14:29:56.269.682.631 to 2024-02-16T14:29:56.290.490.703 (XO: 139.456957524 - 139.477765597)
   Min TM value:-221 at an offset of 7830.565 usec -> 2024-02-16T14:29:56.277.513.195 (XO: 139.464788089)
   Max TM value:248 at an offset of 7830.290 usec -> 2024-02-16T14:29:56.277.512.920 (XO: 139.464787814)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 7830.202 usec -> 2024-02-16T14:29:56.277.512.833 (XO: 139.464787727)
   Min dTM/dt [1/us]:-2.57e+03 at an offset of 7830.390 usec -> 2024-02-16T14:29:56.277.513.020 (XO: 139.464787914)
   Med: -4.00000   Ave: -4.3371774   Std: 6.7676273

 - Event number: 3 from 2024-02-16T14:30:51.185.653.637 to 2024-02-16T14:30:51.230.737.790 (XO: 194.313970392 - 194.359054546)
   Min TM value:-204 at an offset of 5332.143 usec -> 2024-02-16T14:30:51.190.985.780 (XO: 194.319302536)
   Max TM value:226 at an offset of 15317.077 usec -> 2024-02-16T14:30:51.200.970.714 (XO: 194.329287470)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 15316.990 usec -> 2024-02-16T14:30:51.200.970.626 (XO: 194.329287382)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 15317.177 usec -> 2024-02-16T14:30:51.200.970.814 (XO: 194.329287570)
   Med: -4.00000   Ave: -4.4578273   Std: 8.0900647
