Do you want to iterate the gain/HV calibration (y/n)? n Enter maximum HV (0V-2000V): 2000 Performing discriminator calibration... Got disc point: SPE DAC: 550.000000 SPE Q: 0.197600 MPE DAC: 550.000000 MPE Q: 2.124200 Got disc point: SPE DAC: 600.000000 SPE Q: 0.839800 MPE DAC: 560.000000 MPE Q: 3.458000 Got disc point: SPE DAC: 650.000000 SPE Q: 1.482000 MPE DAC: 570.000000 MPE Q: 4.791800 Got disc point: SPE DAC: 700.000000 SPE Q: 2.124200 MPE DAC: 580.000000 MPE Q: 6.125600 Got disc point: SPE DAC: 750.000000 SPE Q: 2.766400 MPE DAC: 590.000000 MPE Q: 7.410000 Got disc point: SPE DAC: 800.000000 SPE Q: 3.408600 MPE DAC: 600.000000 MPE Q: 8.793200 Got disc point: SPE DAC: 850.000000 SPE Q: 4.050800 MPE DAC: 610.000000 MPE Q: 10.077600 Got disc point: SPE DAC: 900.000000 SPE Q: 4.693000 MPE DAC: 620.000000 MPE Q: 11.460800 Got disc point: SPE DAC: 950.000000 SPE Q: 5.384600 MPE DAC: 630.000000 MPE Q: 12.794600 Got disc point: SPE DAC: 1000.000000 SPE Q: 6.026800 MPE DAC: 640.000000 MPE Q: 14.177800 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -18.42 (err: 0.00434176) ch 1 gain (new): -2.08 (err: 0.000908683) ch 2 gain (new): -0.23 (err: 0.000862318) Performing FADC calibration... DAC: 725 baseline: 32.59 DAC: 750 baseline: 64.34 DAC: 775 baseline: 96.03 DAC: 800 baseline: 127.79 DAC: 825 baseline: 159.11 DAC: 850 baseline: 191.16 DAC: 875 baseline: 222.82 DAC: 900 baseline: 254.75 DAC: 925 baseline: 286.30 DAC: 950 baseline: 318.41 DAC: 975 baseline: 350.24 DAC: 1000 baseline: 382.22 FADC baseline fit m: 1.27089 b: -888.993 r^2: 0.999997 Setting pulser dac to 600 FADC gain: 7.55368e-05 Offset between ATWD and FADC leading edges: -75.7 ns Setting pulser dac to 700 FADC gain: 7.51315e-05 Offset between ATWD and FADC leading edges: -75.4 ns Setting pulser dac to 800 FADC gain: 7.46614e-05 Offset between ATWD and FADC leading edges: -75.0 ns Setting pulser dac to 900 FADC gain: 7.43858e-05 Offset between ATWD and FADC leading edges: -74.6 ns Performing HV baseline calibration... Setting HV to 1020 V Setting HV to 1100 V Setting HV to 1180 V Setting HV to 1260 V Setting HV to 1340 V Setting HV to 1420 V Setting HV to 1500 V Setting HV to 1580 V Setting HV to 1660 V Setting HV to 1740 V Setting HV to 1820 V Setting HV to 1900 V Performing HV amplifier calibration (using ATWD0)... Setting HV to 1400 V LED response: DAC: 1022 Amp: 148.048325 LED response: DAC: 1017 Amp: 148.042587 LED response: DAC: 1012 Amp: 148.052414 LED response: DAC: 1007 Amp: 148.063889 LED response: DAC: 1002 Amp: 148.035217 LED response: DAC: 997 Amp: 148.058151 LED response: DAC: 992 Amp: 148.070435 LED response: DAC: 987 Amp: 148.048325 LED response: DAC: 982 Amp: 148.061432 LED response: DAC: 977 Amp: 148.054871 LED response: DAC: 972 Amp: 148.110565 LED response: DAC: 967 Amp: 148.062241 LED response: DAC: 962 Amp: 148.059784 LED response: DAC: 957 Amp: 148.064697 LED response: DAC: 952 Amp: 148.056519 LED response: DAC: 947 Amp: 148.036041 LED response: DAC: 942 Amp: 148.057327 LED response: DAC: 937 Amp: 148.058151 LED response: DAC: 932 Amp: 148.037674 LED response: DAC: 927 Amp: 148.062241 LED response: DAC: 922 Amp: 148.062241 LED response: DAC: 917 Amp: 148.051590 LED response: DAC: 912 Amp: 148.048325 LED response: DAC: 907 Amp: 148.052414 LED response: DAC: 902 Amp: 148.051590 LED response: DAC: 897 Amp: 148.452911 LED response: DAC: 892 Amp: 148.054871 LED response: DAC: 887 Amp: 148.141693 LED response: DAC: 882 Amp: 149.547089 LED response: DAC: 877 Amp: 155.052414 LED response: DAC: 872 Amp: 166.010651 LED response: DAC: 867 Amp: 189.861588 LED response: DAC: 862 Amp: 231.256348 LED response: DAC: 857 Amp: 295.972168 LED response: DAC: 852 Amp: 384.371002 LED response: DAC: 847 Amp: 502.957397 LED response: DAC: 842 Amp: 716.589661 LED response: DAC: 837 Amp: 887.786255 Search: DAC: 930 Level: 148.059616 Search: DAC: 883 Level: 149.205765 Search: DAC: 860 Level: 257.207092 Search: DAC: 848 Level: 483.718536 Search: DAC: 842 Level: 721.962341 Search: DAC: 845 Level: 576.304077 Search: DAC: 843 Level: 673.878418 Search: DAC: 842 Level: 725.802429 Search: DAC: 930 Level: 150.087784 Search: DAC: 883 Level: 180.457733 Search: DAC: 860 Level: 857.637939 Search: DAC: 871 Level: 412.185791 Search: DAC: 865 Level: 655.353516 Search: DAC: 862 Level: 786.300110 Search: DAC: 863 Level: 741.725098 Search: DAC: 864 Level: 700.446594 Search: DAC: 864 Level: 703.797180 Old gain for ch 1: -2.07857 Old error for ch 1: 0.000908683 Gain for ch 1: -2.0178 Error for ch 1: 0.000229635 Old gain for ch 2: -0.225623 Old error for ch 2: 0.000862318 Gain for ch 2: -0.213443 Error for ch 2: 6.12111e-06 Waiting 10m for neighbors to settle... Performing PMT transit time calibration (using ATWD0)... *** WARNING: enabling HV in 5 seconds! *** Setting HV to 1100 V Using brightness 819 for ATWD peak of 451.8 V 1100 Avg signal peak -0.62 Avg current peak -25.79 Triggers with too little light: 0 tt: 146.86 sigma: 0.322 Setting HV to 1200 V Using brightness 834 for ATWD peak of 423.8 V 1200 Avg signal peak -0.63 Avg current peak -25.12 Triggers with too little light: 9 tt: 144.29 sigma: 0.254 Setting HV to 1300 V Using brightness 843 for ATWD peak of 409.5 V 1300 Avg signal peak -0.65 Avg current peak -24.98 Triggers with too little light: 24 tt: 141.92 sigma: 0.463 Setting HV to 1400 V Using brightness 849 for ATWD peak of 432.4 V 1400 Avg signal peak -0.66 Avg current peak -25.53 Triggers with too little light: 30 tt: 139.74 sigma: 0.485 Setting HV to 1500 V Using brightness 855 for ATWD peak of 437.4 V 1500 Avg signal peak -0.69 Avg current peak -26.57 Triggers with too little light: 47 tt: 137.94 sigma: 0.533 Setting HV to 1600 V Using brightness 861 for ATWD peak of 455.1 V 1600 Avg signal peak -0.71 Avg current peak -26.96 Triggers with too little light: 72 tt: 136.25 sigma: 0.647 Setting HV to 1700 V Using brightness 864 for ATWD peak of 464.6 V 1700 Avg signal peak -0.81 Avg current peak -26.16 Triggers with too little light: 74 tt: 134.70 sigma: 0.824 Setting HV to 1800 V Using brightness 870 for ATWD peak of 402.5 V 1800 Avg signal peak -0.71 Avg current peak -24.65 Triggers with too little light: 199 tt: 133.17 sigma: 1.011 Setting HV to 1900 V Using brightness 870 for ATWD peak of 511.3 V 1900 Avg signal peak -0.91 Avg current peak -22.81 Triggers with too little light: 133 tt: 131.91 sigma: 2.350 1100 0.0301511 146.855 1200 0.0288675 144.286 1300 0.027735 141.919 1400 0.0267261 139.744 1500 0.0258199 137.94 1600 0.025 136.247 1700 0.0242536 134.703 1800 0.0235702 133.17 1900 0.0229416 131.913 Fit: m 2077.73 b 84.2641 r2 0.999912 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 544 Noise rate: 1778.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2203 Attempting fit with parameter profile 0... Starting fit at bin 36 Fitting SPE histogram... Final parameter values, iteration 17: Chisq: 1.46885e+08 a[0] = -9.66756 a[1] = 41.221 a[2] = 394.133 a[3] = 0.327884 a[4] = 71.4897 SPE fit converged successfully Bad SPE fit: gain point at 1020 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 36 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 1.51996e+08 a[0] = 44995.6 a[1] = 30738 a[2] = 372.742 a[3] = 0.330996 a[4] = 49.052 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1020 V not used Error is: 1 Attempting fit with parameter profile 2... Starting fit at bin 36 Fitting SPE histogram... Final parameter values, iteration 15: Chisq: 1.43065e+08 a[0] = -463.279 a[1] = 11.5428 a[2] = 400.362 a[3] = 0.322518 a[4] = 54.2215 SPE fit converged successfully Bad SPE fit: gain point at 1020 V not used Error is: 2 Setting HV to 1100 V Using disc DAC 544 Noise rate: 2199.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1778 Attempting fit with parameter profile 0... Starting fit at bin 20 Fitting SPE histogram... Final parameter values, iteration 4: Chisq: 2.15908e+07 a[0] = 8.12912 a[1] = -0.754119 a[2] = 376.341 a[3] = 0.537876 a[4] = 16.319 SPE fit converged successfully Bad SPE fit: gain point at 1100 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 20 Fitting SPE histogram... Final parameter values, iteration 14: Chisq: 2.24226e+07 a[0] = -2019 a[1] = 27.6567 a[2] = 383.97 a[3] = 0.539229 a[4] = 14.6392 SPE fit converged successfully Bad SPE fit: gain point at 1100 V not used Error is: 2 Attempting fit with parameter profile 2... Starting fit at bin 20 Fitting SPE histogram... Final parameter values, iteration 4: Chisq: 2.15908e+07 a[0] = 7.9224 a[1] = -0.778158 a[2] = 376.478 a[3] = 0.537853 a[4] = 16.3041 SPE fit converged successfully Bad SPE fit: gain point at 1100 V not used Error is: 2 Setting HV to 1180 V Using disc DAC 544 Noise rate: 2492.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1805 Attempting fit with parameter profile 0... Starting fit at bin 13 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 1.24005e+07 a[0] = 96.0823 a[1] = 0.868115 a[2] = 290.392 a[3] = 0.931866 a[4] = 7.21126 SPE fit converged successfully Found minimum at 0.205011 Possible valley at 0.208494 Full peak (exp + gaussian) = 333.179 Valley located at 0.208494, 86.846: PV = 3.8 New gain point: log(V) 3.07188 log(gain) 6.76469 Setting HV to 1260 V Using disc DAC 544 Noise rate: 3070.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2137 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 15: Chisq: 6.91709e+06 a[0] = 87.9291 a[1] = 0.481602 a[2] = 227.117 a[3] = 1.52407 a[4] = 3.12428 SPE fit converged successfully Found minimum at 0.426738 Possible valley at 0.419257 Full peak (exp + gaussian) = 269.322 Valley located at 0.419257, 76.8652: PV = 3.5 New gain point: log(V) 3.10037 log(gain) 6.97834 Setting HV to 1340 V Using disc DAC 554 Noise rate: 2347.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2332 Attempting fit with parameter profile 0... Starting fit at bin 12 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 3.77013e+06 a[0] = 85.4656 a[1] = 0.313832 a[2] = 217.472 a[3] = 2.41219 a[4] = 1.24555 SPE fit converged successfully Found minimum at 0.675411 Possible valley at 0.672350 Full peak (exp + gaussian) = 257.56 Valley located at 0.67235, 74.2191: PV = 3.5 New gain point: log(V) 3.1271 log(gain) 7.17775 Setting HV to 1420 V Using disc DAC 554 Noise rate: 2519.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2540 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 3.57717e+06 a[0] = 88.5556 a[1] = 0.218191 a[2] = 182.407 a[3] = 3.72268 a[4] = 0.610406 SPE fit converged successfully Found minimum at 1.265715 Possible valley at 1.289058 Full peak (exp + gaussian) = 221.713 Valley located at 1.28906, 71.7536: PV = 3.1 New gain point: log(V) 3.15229 log(gain) 7.36619 Setting HV to 1500 V Using disc DAC 554 Noise rate: 3434.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 4, over 2799 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 4.44998e+06 a[0] = 145.201 a[1] = 0.582021 a[2] = 190.48 a[3] = 5.52493 a[4] = 0.211956 SPE fit converged successfully Found minimum at 2.099473 Possible valley at 2.145366 Full peak (exp + gaussian) = 196.307 Valley located at 2.14537, 58.5807: PV = 3.4 New gain point: log(V) 3.17609 log(gain) 7.53766 Setting HV to 1580 V Using disc DAC 554 Noise rate: 4691.000000 minimum allowed: 400 Trying histogram with maximum 15pC Negative charge points discarded: 0 Histogram points out of range: under 3, over 2836 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 55: Chisq: 3.16473e+06 a[0] = 318.424 a[1] = 1.04021 a[2] = 171.154 a[3] = 7.95526 a[4] = 0.0772199 SPE fit converged successfully Found minimum at 2.863891 Possible valley at 2.816969 Full peak (exp + gaussian) = 171.235 Valley located at 2.81697, 39.2814: PV = 4.4 New gain point: log(V) 3.19866 log(gain) 7.69599 Setting HV to 1660 V Using disc DAC 612 Noise rate: 2565.000000 minimum allowed: 400 Trying histogram with maximum 21pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 3115 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 2.2853e+06 a[0] = 76.5278 a[1] = 0.0694888 a[2] = 157.415 a[3] = 11.7164 a[4] = 0.0668794 SPE fit converged successfully Found minimum at 4.217906 Possible valley at 4.302112 Full peak (exp + gaussian) = 191.318 Valley located at 4.30211, 60.7374: PV = 3.1 New gain point: log(V) 3.22011 log(gain) 7.86413 Setting HV to 1740 V Using disc DAC 612 Noise rate: 3319.000000 minimum allowed: 400 Trying histogram with maximum 28pC Negative charge points discarded: 0 Histogram points out of range: under 3, over 3376 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 2.89018e+06 a[0] = 118.717 a[1] = 0.194856 a[2] = 167.967 a[3] = 16.3713 a[4] = 0.0242822 SPE fit converged successfully Found minimum at 6.221082 Possible valley at 6.245489 Full peak (exp + gaussian) = 172.854 Valley located at 6.24549, 49.0853: PV = 3.5 New gain point: log(V) 3.24055 log(gain) 8.00942 Setting HV to 1820 V Using disc DAC 612 Noise rate: 4119.000000 minimum allowed: 400 Trying histogram with maximum 37pC Negative charge points discarded: 0 Histogram points out of range: under 5, over 3449 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 5.53685e+06 a[0] = 154.509 a[1] = 0.194442 a[2] = 166.802 a[3] = 22.3914 a[4] = 0.013767 SPE fit converged successfully Found minimum at 8.956560 Possible valley at 9.004958 Full peak (exp + gaussian) = 168.788 Valley located at 9.00496, 40.9757: PV = 4.1 New gain point: log(V) 3.26007 log(gain) 8.14542 Setting HV to 1900 V Using disc DAC 612 Noise rate: 5831.000000 minimum allowed: 400 Trying histogram with maximum 48pC Negative charge points discarded: 0 Histogram points out of range: under 7, over 3518 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 23: Chisq: 2.97073e+07 a[0] = 994.973 a[1] = 1.11511 a[2] = 12.2119 a[3] = -196.656 a[4] = -4.11483e-05 SPE fit converged successfully Bad SPE fit: gain point at 1900 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 5.89216e+06 a[0] = 368.255 a[1] = 0.371482 a[2] = 152.651 a[3] = 29.3623 a[4] = 0.00595638 SPE fit converged successfully Found minimum at 9.983166 Possible valley at 9.769694 Full peak (exp + gaussian) = 152.657 Valley located at 9.76969, 25.2849: PV = 6 New gain point: log(V) 3.27875 log(gain) 8.26313 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 5.237 mV orig: -0.546 mV ATWD 0 ch 1: -0.953 mV orig: 0.290 mV ATWD 0 ch 2: 0.866 mV orig: -0.000 mV ATWD 1 ch 0: 1.492 mV orig: -0.205 mV ATWD 1 ch 1: 0.377 mV orig: -0.230 mV ATWD 1 ch 2: 1.424 mV orig: -0.323 mV Writing XML calibration file... XML CRC32 = 0xa9b5892b Retransmit XML (y/n)? n Rebooting...