-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  1 20:12:15 2023 UTC
-- File 20220521_044415_1229.dat, 7344  packets found.
APID:
      1229 (EW) in 7344 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 7344 packets (all packets)
Total number of packets: 
      7344 in 7344 packets (all packets)
Packet No from 1 to 7344
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 0.005550 to 85.920134
-each separately from 0s to 85s and from 5550us to 920134us.
   Differences in neigboring packets: 
      0.000000 in 7340 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      68.189562 in 1 packets: 1632
      17.725022 in 1 packets: 4080
      -85.914584 in 1 packets: 6528
MIU packet time from 2022-05-21T04:44:18.005.550.000 to 2022-05-21T04:45:43.920.134.000
   Differences in neigboring packets: 
      0.000000 in 7340 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      68.189562 in 1 packets: 1632
      17.725022 in 1 packets: 4080
      -85.914584 in 1 packets: 6528
MIU orbit number: 
      60000 in 7344 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 7344 packets (all packets)
MIU orbit information / number of events: 
      0 in 7344 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 7344 packets (all packets)
Instrument anomalies: 
      0 (OK) in 7344 packets (all packets)
FPGA configuration version: 
      211 in 7344 packets (all packets)
10 MHz counter at the last 1Hz pulse from 0.0000000 to 84.3912800
   Differences in neigboring packets: 
      0.0000000 in 7340 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      67.3913538 in 1 packets: 1632
      16.9999262 in 1 packets: 4080
      -84.3912800 in 1 packets: 6528
Temperature FPGA: 
      00 -> 55.0 degC in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 2448 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
      04 -> 49.8 degC in 2448 packets: 4081, 4082, 4083, 4084, 4085, 4086, 4087, 4088, 4089, 4090, 4091, 4092, 4093, 4094, 4095, 4096, 4097, 4098, ...
Temperature XO: 
      00 -> -273.1 degC in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C3 -> 40.4 degC in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
Temperature ant 3: 
      00 -> 115.9 degC in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 108.0 degC in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
Temperature ant 4: 
      00 -> 115.9 degC in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 108.0 degC in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
Number of external events: 
      1 in 7344 packets (all packets)
Number of generated alerts: 
      0 in 7344 packets (all packets)
Survey memory error: 
      0 in 7344 packets (all packets)
Event memory error: 
      0 in 7344 packets (all packets)
Configuration error: 
      1 in 7344 packets (all packets)
      -> ERROR
SDRAM CRC error: 
      0 in 7344 packets (all packets)
Radio gain: 
      0 in 7344 packets (all packets)
Radio bandwidth: 
      3 in 7344 packets (all packets)
Digital gain: 
      0 in 7344 packets (all packets)
Analog gain: 
      8 in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      0 in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...

EVENT DATA READER
-- File 20220521_044415_1229.dat, 36 EW pages found. Extra packets: 0.
   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
      1 in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      3 in 2448 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
      2 in 2448 packets: 4081, 4082, 4083, 4084, 4085, 4086, 4087, 4088, 4089, 4090, 4091, 4092, 4093, 4094, 4095, 4096, 4097, 4098, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 0.0020994 to 119.5411535
      Difference between the neighboring packets: 
      -119.1402511 in 1 packets: 1
      0.0000170 in 7339 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      67.5393170 in 1 packets: 1632
      17.6833490 in 1 packets: 4080
      34.1916251 in 1 packets: 6528
   Memory page number from 0 to 114
      Difference between the neighboring packets: 
      0 in 7308 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, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, 3876, ...
      8 in 1 packets: 1632
      44 in 1 packets: 4080
      30 in 1 packets: 6528
   Event page number from 1 to 12
      Difference between the neighboring packets: 
      0 in 7308 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, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, 3876, ...
      -11 in 3 packets: 1632, 4080, 6528
   MIU event flag 
      1 in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      0 in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
   Time triggered event flag 
      0 in 7344 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: 2022-05-21T04:44:17.950.061.587
   Min EW header abs. time found among all events            : 2022-05-21T04:44:18.005.550.000
   Max EW event (1st sample) abs. time found among all events: 2022-05-21T04:45:43.864.645.598
   Max EW header abs. time found among all events            : 2022-05-21T04:45:43.920.134.000
   TM values from -2042 to 2041 median:-4.00000
--
Data structure of separate events (selected and re-ordered from the packet sequence):

 Event no. 1 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      111 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      112 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      113 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      114 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      0 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      1 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      2 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      3 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      4 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      5 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      6 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      7 in 204 packets (all packets)  --OK-- 
   Event no. 1 pages: 12  ordered packets: 2448
   TM values from -2042 to 2041 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=0 C1MHz=0.005550
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 2445 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      429.0979266 in 1 packets: 816
      310.3564785 in 1 packets: 817
      -- 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): 1/2x(ant3)
   Header abs. time  -- OK -- (constant for all packets of this event): 2022-05-21T04:44:18.005.550.000
   Event 1st sample abs. time : 2022-05-21T04:44:17.950.061.587)
   --- Rel. time correction for 1 points based on 448 XO calibration points at 1Hz counter from 0 to 314
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 119.527298500 corrected by 40bit 10MHz counter of 1.474398800 obtained at 1Hz counter of 0. Result: 118.053407330
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             118.053407155
   Event data descriptor XO time (reconstructed seconds from XP start)    :             118.053407330
   Sampling frequency correction factor for this event:     0.999995700

 Event no. 2 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      70 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      71 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      72 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      73 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      74 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      75 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      76 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      77 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      78 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      79 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      80 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      81 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 12  ordered packets: 2448
   TM values from -201 to 207 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=85 C1MHz=0.920134
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 2447 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: 85.2940744
   Event type -- OK -- (constant for all packets of this event): Internal
   Gain -- OK -- (constant for all packets of this event): 1x
   Header abs. time  -- OK -- (constant for all packets of this event): 2022-05-21T04:45:43.920.134.000
   Event 1st sample abs. time : 2022-05-21T04:45:43.864.645.598)
   --- Rel. time correction for 1 points based on 448 XO calibration points at 1Hz counter from 0 to 314
   --- First point: 1Hz counter = 85, 32bit 10MHz counter = 85.294074400 corrected by 40bit 10MHz counter of 86.474046800 obtained at 1Hz counter of 85. Result: 83.820022762
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              83.820022587
   Event data descriptor XO time (reconstructed seconds from XP start)    :              83.820022762
   Sampling frequency correction factor for this event:     0.999995900

 Event no. 3 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      15 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      16 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      17 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      18 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      19 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      20 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      21 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      22 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      23 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      24 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      25 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      26 in 204 packets (all packets)  --OK-- 
   Event no. 3 pages: 12  ordered packets: 2448
   TM values from -215 to 182 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=68 C1MHz=0.195112
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 2447 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: 67.5691264
   Event type -- OK -- (constant for all packets of this event): Internal
   Gain -- OK -- (constant for all packets of this event): 1x
   Header abs. time  -- OK -- (constant for all packets of this event): 2022-05-21T04:45:26.195.112.000
   Event 1st sample abs. time : 2022-05-21T04:45:26.139.623.598)
   --- Rel. time correction for 1 points based on 448 XO calibration points at 1Hz counter from 0 to 314
   --- First point: 1Hz counter = 68, 32bit 10MHz counter = 67.569126400 corrected by 40bit 10MHz counter of 69.474116100 obtained at 1Hz counter of 68. Result: 66.095002490
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              66.095002315
   Event data descriptor XO time (reconstructed seconds from XP start)    :              66.095002490
   Sampling frequency correction factor for this event:     0.999995900
--
Extremes in separate events:

 - Event number: 1 from 2022-05-21T04:44:17.950.061.587 to 2022-05-21T04:44:17.991.677.765 (XO: 118.053407155 - 118.095023334)
   Min TM value:-2042 at an offset of 13210.857 usec -> 2022-05-21T04:44:17.963.272.443 (XO: 118.066618011)
   Max TM value:2041 at an offset of 13795.747 usec -> 2022-05-21T04:44:17.963.857.333 (XO: 118.067202901)
   Max dTM/dt [1/us]:1.43e+04 at an offset of 10281.257 usec -> 2022-05-21T04:44:17.960.342.843 (XO: 118.063688411)
   Min dTM/dt [1/us]:-1.27e+04 at an offset of 11367.936 usec -> 2022-05-21T04:44:17.961.429.523 (XO: 118.064775091)
   Med: -4.00000   Ave: -4.2972679   Std: 18.854528

 - Event number: 2 from 2022-05-21T04:45:43.864.645.598 to 2022-05-21T04:45:43.906.261.768 (XO: 83.820022587 - 83.861638758)
   Min TM value:-201 at an offset of 30554.263 usec -> 2022-05-21T04:45:43.895.199.860 (XO: 83.850576850)
   Max TM value:207 at an offset of 30541.513 usec -> 2022-05-21T04:45:43.895.187.110 (XO: 83.850564100)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 30539.463 usec -> 2022-05-21T04:45:43.895.185.060 (XO: 83.850562050)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 10478.155 usec -> 2022-05-21T04:45:43.875.123.753 (XO: 83.830500743)
   Med: -4.00000   Ave: -4.3396311   Std: 9.1690810

 - Event number: 3 from 2022-05-21T04:45:26.139.623.598 to 2022-05-21T04:45:26.181.239.768 (XO: 66.095002315 - 66.136618485)
   Min TM value:-215 at an offset of 5100.658 usec -> 2022-05-21T04:45:26.144.724.256 (XO: 66.100102973)
   Max TM value:182 at an offset of 35181.632 usec -> 2022-05-21T04:45:26.174.805.229 (XO: 66.130183946)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 15200.512 usec -> 2022-05-21T04:45:26.154.824.110 (XO: 66.110202827)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 15185.550 usec -> 2022-05-21T04:45:26.154.809.147 (XO: 66.110187864)
   Med: -4.00000   Ave: -4.3406662   Std: 8.7884201
