-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 13:06:27 2023 UTC
-- File 20210708_081311_1229.dat, 14536  packets found.
APID:
      1229 (EW) in 14536 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 14536 packets (all packets)
Total number of packets: 
      36720 in 14536 packets (all packets)
Packet No from 1 to 14536
!!!ERROR: Maximum packet number must be = 36720
   Sequence of packet numbers -- OK -- 
!!!ERROR: Last packet number must be = 36720
Hz and MHz counters from 40.785508 to 98.548713
-each separately from 40s to 98s and from 434900us to 785508us.
   Differences in neigboring packets: 
      0.000000 in 14533 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      -52.113813 in 1 packets: 3876
      -5.649392 in 1 packets: 10608
MIU packet time from 2021-07-08T08:13:54.785.508.000 to 2021-07-08T08:14:52.548.713.000
   Differences in neigboring packets: 
      0.000000 in 14533 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      -52.113813 in 1 packets: 3876
      -5.649392 in 1 packets: 10608
MIU orbit number: 
      60000 in 14536 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 14536 packets (all packets)
MIU orbit information / number of events: 
      0 in 14536 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 14536 packets (all packets)
Instrument anomalies: 
      0 (OK) in 14536 packets (all packets)
FPGA configuration version: 
      211 in 14536 packets (all packets)
10 MHz counter at the last 1Hz pulse from 41.8791897 to 99.8789925
   Differences in neigboring packets: 
      0.0000000 in 14533 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      -51.9998232 in 1 packets: 3876
      -5.9999796 in 1 packets: 10608
Temperature FPGA: 
      04 -> 49.8 degC in 14536 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 14536 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 14536 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 14536 packets (all packets)
Number of external events: 
      3 in 3876 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 6732 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
      1 in 3928 packets: 10609, 10610, 10611, 10612, 10613, 10614, 10615, 10616, 10617, 10618, 10619, 10620, 10621, 10622, 10623, 10624, 10625, 10626, ...
Number of generated alerts: 
      3 in 3876 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 6732 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
      1 in 3928 packets: 10609, 10610, 10611, 10612, 10613, 10614, 10615, 10616, 10617, 10618, 10619, 10620, 10621, 10622, 10623, 10624, 10625, 10626, ...
Survey memory error: 
      0 in 14536 packets (all packets)
Event memory error: 
      0 in 14536 packets (all packets)
Configuration error: 
      0 in 14536 packets (all packets)
SDRAM CRC error: 
      0 in 14536 packets (all packets)
Radio gain: 
      0 in 14536 packets (all packets)
Radio bandwidth: 
      0 in 14536 packets (all packets)
Digital gain: 
      0 in 14536 packets (all packets)
Analog gain: 
      0 in 14536 packets (all packets)

EVENT DATA READER
-- File 20210708_081311_1229.dat, 71 EW pages found. Extra packets: 52.
   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
      3 in 3876 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 6732 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
      1 in 3876 packets: 10609, 10610, 10611, 10612, 10613, 10614, 10615, 10616, 10617, 10618, 10619, 10620, 10621, 10622, 10623, 10624, 10625, 10626, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 42.6092099 to 100.4380929
      Difference between the neighboring packets: 
      0.0000170 in 14481 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      -52.1795110 in 1 packets: 3876
      -5.7637990 in 1 packets: 10608
   Memory page number from 15 to 85
      Difference between the neighboring packets: 
      0 in 14413 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 70 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 33
      Difference between the neighboring packets: 
      0 in 14413 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 68 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1632, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, ...
      -18 in 1 packets: 3876
      -32 in 1 packets: 10608
   MIU event flag 
      1 in 14484 packets (all packets)
   Time triggered event flag 
      0 in 14484 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-08T08:13:54.730.019.637
   Min EW header abs. time found among all events            : 2021-07-08T08:13:54.785.508.000
   Max EW event (1st sample) abs. time found among all events: 2021-07-08T08:14:52.493.224.637
   Max EW header abs. time found among all events            : 2021-07-08T08:14:52.548.713.000
   TM values from -248 to 215 median:-4.00000
--
Data structure of separate events (selected and re-ordered from the packet sequence):

 Event no. 1 total number of packets: 3876
    Page no. 1:  204 packets  -- OK;  memory page(s):
      67 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      68 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      69 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      70 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      71 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      72 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      73 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      74 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      75 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      76 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      77 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      78 in 204 packets (all packets)  --OK-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      79 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      80 in 204 packets (all packets)  --OK-- 
    Page no. 15:  204 packets  -- OK;  memory page(s):
      81 in 204 packets (all packets)  --OK-- 
    Page no. 16:  204 packets  -- OK;  memory page(s):
      82 in 204 packets (all packets)  --OK-- 
    Page no. 17:  204 packets  -- OK;  memory page(s):
      83 in 204 packets (all packets)  --OK-- 
    Page no. 18:  204 packets  -- OK;  memory page(s):
      84 in 204 packets (all packets)  --OK-- 
    Page no. 19:  204 packets  -- OK;  memory page(s):
      85 in 204 packets (all packets)  --OK-- 
   Event no. 1 pages: 19  ordered packets: 3876
   TM values from -227 to 200 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=40 C1MHz=0.785508
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 3875 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: 42.6092099
   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-08T08:13:54.785.508.000
   Event 1st sample abs. time : 2021-07-08T08:13:54.730.019.637)
   --- Rel. time correction for 1 points based on 89 XO calibration points at 1Hz counter from 0 to 88
   --- First point: 1Hz counter = 40, 32bit 10MHz counter = 42.609209900 corrected by 40bit 10MHz counter of 41.879189700 obtained at 1Hz counter of 40. Result: 40.730022682
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              40.730022507
   Event data descriptor XO time (reconstructed seconds from XP start)    :              40.730022682
   Sampling frequency correction factor for this event:     0.999996600

 Event no. 2 total number of packets: 6732
    Page no. 1:  204 packets  -- OK;  memory page(s):
      34 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      35 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      36 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      37 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      38 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      39 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      40 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      41 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      42 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      43 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      44 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      45 in 204 packets (all packets)  --OK-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      46 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      47 in 204 packets (all packets)  --OK-- 
    Page no. 15:  204 packets  -- OK;  memory page(s):
      48 in 204 packets (all packets)  --OK-- 
    Page no. 16:  204 packets  -- OK;  memory page(s):
      49 in 204 packets (all packets)  --OK-- 
    Page no. 17:  204 packets  -- OK;  memory page(s):
      50 in 204 packets (all packets)  --OK-- 
    Page no. 18:  204 packets  -- OK;  memory page(s):
      51 in 204 packets (all packets)  --OK-- 
    Page no. 19:  204 packets  -- OK;  memory page(s):
      52 in 204 packets (all packets)  --OK-- 
    Page no. 20:  204 packets  -- OK;  memory page(s):
      53 in 204 packets (all packets)  --OK-- 
    Page no. 21:  204 packets  -- OK;  memory page(s):
      54 in 204 packets (all packets)  --OK-- 
    Page no. 22:  204 packets  -- OK;  memory page(s):
      55 in 204 packets (all packets)  --OK-- 
    Page no. 23:  204 packets  -- OK;  memory page(s):
      56 in 204 packets (all packets)  --OK-- 
    Page no. 24:  204 packets  -- OK;  memory page(s):
      57 in 204 packets (all packets)  --OK-- 
    Page no. 25:  204 packets  -- OK;  memory page(s):
      58 in 204 packets (all packets)  --OK-- 
    Page no. 26:  204 packets  -- OK;  memory page(s):
      59 in 204 packets (all packets)  --OK-- 
    Page no. 27:  204 packets  -- OK;  memory page(s):
      60 in 204 packets (all packets)  --OK-- 
    Page no. 28:  204 packets  -- OK;  memory page(s):
      61 in 204 packets (all packets)  --OK-- 
    Page no. 29:  204 packets  -- OK;  memory page(s):
      62 in 204 packets (all packets)  --OK-- 
    Page no. 30:  204 packets  -- OK;  memory page(s):
      63 in 204 packets (all packets)  --OK-- 
    Page no. 31:  204 packets  -- OK;  memory page(s):
      64 in 204 packets (all packets)  --OK-- 
    Page no. 32:  204 packets  -- OK;  memory page(s):
      65 in 204 packets (all packets)  --OK-- 
    Page no. 33:  204 packets  -- OK;  memory page(s):
      66 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 33  ordered packets: 6732
   TM values from -236 to 195 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=46 C1MHz=0.434900
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 6731 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: 48.2585819
   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-08T08:14:00.434.900.000
   Event 1st sample abs. time : 2021-07-08T08:14:00.379.411.637)
   --- Rel. time correction for 1 points based on 89 XO calibration points at 1Hz counter from 0 to 88
   --- First point: 1Hz counter = 46, 32bit 10MHz counter = 48.258581900 corrected by 40bit 10MHz counter of 47.879169300 obtained at 1Hz counter of 46. Result: 46.379413890
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              46.379413715
   Event data descriptor XO time (reconstructed seconds from XP start)    :              46.379413890
   Sampling frequency correction factor for this event:     0.999996600

 Event no. 3 total number of packets: 3876
    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-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      27 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      28 in 204 packets (all packets)  --OK-- 
    Page no. 15:  204 packets  -- OK;  memory page(s):
      29 in 204 packets (all packets)  --OK-- 
    Page no. 16:  204 packets  -- OK;  memory page(s):
      30 in 204 packets (all packets)  --OK-- 
    Page no. 17:  204 packets  -- OK;  memory page(s):
      31 in 204 packets (all packets)  --OK-- 
    Page no. 18:  204 packets  -- OK;  memory page(s):
      32 in 204 packets (all packets)  --OK-- 
    Page no. 19:  204 packets  -- OK;  memory page(s):
      33 in 204 packets (all packets)  --OK-- 
   Event no. 3 pages: 19  ordered packets: 3876
   TM values from -248 to 215 median: -5.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=98 C1MHz=0.548713
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 3875 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: 100.3722179
   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-08T08:14:52.548.713.000
   Event 1st sample abs. time : 2021-07-08T08:14:52.493.224.637)
   --- Rel. time correction for 1 points based on 89 XO calibration points at 1Hz counter from 0 to 88
   --- First point: 1Hz counter = 98, 32bit 10MHz counter = 100.372217900 corrected by 40bit 10MHz counter of 89.879026600 obtained at 1Hz counter of 88. Result: 98.493226977
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              98.493226802
   Event data descriptor XO time (reconstructed seconds from XP start)    :              98.493226977
   Sampling frequency correction factor for this event:     0.999996600
--
Extremes in separate events:

 - Event number: 1 from 2021-07-08T08:13:54.730.019.637 to 2021-07-08T08:13:54.795.911.861 (XO: 40.730022507 - 40.795914731)
   Min TM value:-227 at an offset of 53805.170 usec -> 2021-07-08T08:13:54.783.824.807 (XO: 40.783827678)
   Max TM value:200 at an offset of 53802.995 usec -> 2021-07-08T08:13:54.783.822.632 (XO: 40.783825503)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 53802.870 usec -> 2021-07-08T08:13:54.783.822.507 (XO: 40.783825378)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 53804.995 usec -> 2021-07-08T08:13:54.783.824.632 (XO: 40.783827503)
   Med: -4.00000   Ave: -4.4738451   Std: 6.5520336

 - Event number: 2 from 2021-07-08T08:14:00.379.411.637 to 2021-07-08T08:14:00.493.856.026 (XO: 46.379413715 - 46.493858104)
   Min TM value:-236 at an offset of 54861.387 usec -> 2021-07-08T08:14:00.434.273.023 (XO: 46.434275102)
   Max TM value:195 at an offset of 54864.049 usec -> 2021-07-08T08:14:00.434.275.686 (XO: 46.434277764)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 44894.778 usec -> 2021-07-08T08:14:00.424.306.414 (XO: 46.424308493)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 44892.165 usec -> 2021-07-08T08:14:00.424.303.802 (XO: 46.424305880)
   Med: -4.00000   Ave: -4.4698372   Std: 6.2049134

 - Event number: 3 from 2021-07-08T08:14:52.493.224.637 to 2021-07-08T08:14:52.559.116.861 (XO: 98.493226802 - 98.559119026)
   Min TM value:-248 at an offset of 24999.635 usec -> 2021-07-08T08:14:52.518.224.271 (XO: 98.518226437)
   Max TM value:215 at an offset of 44929.903 usec -> 2021-07-08T08:14:52.538.154.539 (XO: 98.538156705)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 44932.565 usec -> 2021-07-08T08:14:52.538.157.202 (XO: 98.538159367)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 44930.015 usec -> 2021-07-08T08:14:52.538.154.652 (XO: 98.538156817)
   Med: -5.00000   Ave: -4.5691905   Std: 7.5639537
