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.321800 Got disc point: SPE DAC: 600.000000 SPE Q: 0.889200 MPE DAC: 560.000000 MPE Q: 3.705000 Got disc point: SPE DAC: 650.000000 SPE Q: 1.580800 MPE DAC: 570.000000 MPE Q: 5.088200 Got disc point: SPE DAC: 700.000000 SPE Q: 2.223000 MPE DAC: 580.000000 MPE Q: 6.471400 Got disc point: SPE DAC: 750.000000 SPE Q: 2.914600 MPE DAC: 590.000000 MPE Q: 7.854600 Got disc point: SPE DAC: 800.000000 SPE Q: 3.606200 MPE DAC: 600.000000 MPE Q: 9.287200 Got disc point: SPE DAC: 850.000000 SPE Q: 4.297800 MPE DAC: 610.000000 MPE Q: 10.670400 Got disc point: SPE DAC: 900.000000 SPE Q: 4.989400 MPE DAC: 620.000000 MPE Q: 12.152400 Got disc point: SPE DAC: 950.000000 SPE Q: 5.681000 MPE DAC: 630.000000 MPE Q: 13.535600 Got disc point: SPE DAC: 1000.000000 SPE Q: 6.422000 MPE DAC: 640.000000 MPE Q: 15.067000 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -15.71 (err: 0.00460277) ch 1 gain (new): -1.76 (err: 0.000941063) ch 2 gain (new): -0.21 (err: 0.000917226) Performing FADC calibration... DAC: 725 baseline: 30.83 DAC: 750 baseline: 61.93 DAC: 775 baseline: 93.36 DAC: 800 baseline: 124.91 DAC: 825 baseline: 155.98 DAC: 850 baseline: 187.28 DAC: 875 baseline: 218.20 DAC: 900 baseline: 249.53 DAC: 925 baseline: 280.52 DAC: 950 baseline: 312.20 DAC: 975 baseline: 343.81 DAC: 1000 baseline: 375.24 FADC baseline fit m: 1.25132 b: -876.45 r^2: 0.999995 Setting pulser dac to 600 FADC gain: 9.11602e-05 Offset between ATWD and FADC leading edges: -76.4 ns Setting pulser dac to 700 FADC gain: 9.05342e-05 Offset between ATWD and FADC leading edges: -75.6 ns Setting pulser dac to 800 FADC gain: 9.02485e-05 Offset between ATWD and FADC leading edges: -75.3 ns Setting pulser dac to 900 FADC gain: 9.00639e-05 Offset between ATWD and FADC leading edges: -75.2 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: 142.013916 LED response: DAC: 1017 Amp: 142.012283 LED response: DAC: 1012 Amp: 142.018845 LED response: DAC: 1007 Amp: 142.018845 LED response: DAC: 1002 Amp: 142.027847 LED response: DAC: 997 Amp: 142.030304 LED response: DAC: 992 Amp: 142.021301 LED response: DAC: 987 Amp: 142.018021 LED response: DAC: 982 Amp: 142.021301 LED response: DAC: 977 Amp: 142.025391 LED response: DAC: 972 Amp: 142.023758 LED response: DAC: 967 Amp: 142.021301 LED response: DAC: 962 Amp: 142.031128 LED response: DAC: 957 Amp: 142.028671 LED response: DAC: 952 Amp: 142.025391 LED response: DAC: 947 Amp: 142.027023 LED response: DAC: 942 Amp: 142.032761 LED response: DAC: 937 Amp: 142.019653 LED response: DAC: 932 Amp: 142.028671 LED response: DAC: 927 Amp: 142.018021 LED response: DAC: 922 Amp: 142.021301 LED response: DAC: 917 Amp: 142.025391 LED response: DAC: 912 Amp: 142.018845 LED response: DAC: 907 Amp: 142.024567 LED response: DAC: 902 Amp: 142.011459 LED response: DAC: 897 Amp: 142.014740 LED response: DAC: 892 Amp: 142.018845 LED response: DAC: 887 Amp: 142.020477 LED response: DAC: 882 Amp: 142.013916 LED response: DAC: 877 Amp: 142.018021 LED response: DAC: 872 Amp: 142.022934 LED response: DAC: 867 Amp: 142.037674 LED response: DAC: 862 Amp: 142.027023 LED response: DAC: 857 Amp: 142.033585 LED response: DAC: 852 Amp: 142.026215 LED response: DAC: 847 Amp: 142.024567 LED response: DAC: 842 Amp: 142.018845 LED response: DAC: 837 Amp: 142.015564 LED response: DAC: 832 Amp: 142.022110 LED response: DAC: 827 Amp: 142.013107 LED response: DAC: 822 Amp: 142.028671 LED response: DAC: 817 Amp: 142.018845 LED response: DAC: 812 Amp: 142.031937 LED response: DAC: 807 Amp: 142.035217 LED response: DAC: 802 Amp: 142.036041 LED response: DAC: 797 Amp: 142.027023 LED response: DAC: 792 Amp: 142.025391 LED response: DAC: 787 Amp: 142.031937 LED response: DAC: 782 Amp: 142.039307 LED response: DAC: 777 Amp: 142.058975 LED response: DAC: 772 Amp: 142.035217 LED response: DAC: 767 Amp: 142.034393 LED response: DAC: 762 Amp: 142.050781 LED response: DAC: 757 Amp: 142.044220 LED response: DAC: 752 Amp: 142.047501 LED response: DAC: 747 Amp: 142.038498 LED response: DAC: 742 Amp: 142.029480 LED response: DAC: 737 Amp: 142.045868 LED response: DAC: 732 Amp: 142.052414 LED response: DAC: 727 Amp: 142.042587 LED response: DAC: 722 Amp: 142.045044 LED response: DAC: 717 Amp: 142.049133 LED response: DAC: 712 Amp: 142.040955 LED response: DAC: 707 Amp: 142.068802 LED response: DAC: 702 Amp: 142.060608 LED response: DAC: 697 Amp: 142.045868 LED response: DAC: 692 Amp: 142.045044 LED response: DAC: 687 Amp: 142.053238 LED response: DAC: 682 Amp: 142.050781 LED response: DAC: 677 Amp: 142.054871 LED response: DAC: 672 Amp: 142.049957 LED response: DAC: 667 Amp: 142.059784 LED response: DAC: 662 Amp: 142.058975 LED response: DAC: 657 Amp: 142.064697 LED response: DAC: 652 Amp: 142.059784 LED response: DAC: 647 Amp: 142.106476 LED response: DAC: 642 Amp: 142.049957 LED response: DAC: 637 Amp: 142.063065 LED response: DAC: 632 Amp: 142.058975 LED response: DAC: 627 Amp: 142.056519 LED response: DAC: 622 Amp: 142.067978 LED response: DAC: 617 Amp: 142.078629 LED response: DAC: 612 Amp: 142.133499 LED response: DAC: 607 Amp: 142.198196 LED response: DAC: 602 Amp: 142.689606 LED response: DAC: 597 Amp: 144.266174 LED response: DAC: 592 Amp: 148.828827 LED response: DAC: 587 Amp: 158.943481 LED response: DAC: 582 Amp: 183.850128 LED response: DAC: 577 Amp: 228.259628 LED response: DAC: 572 Amp: 309.565918 LED response: DAC: 567 Amp: 424.448822 LED response: DAC: 562 Amp: 546.086792 LED response: DAC: 557 Amp: 670.000793 LED response: DAC: 552 Amp: 794.438965 LED response: DAC: 547 Amp: 910.579834 Search: DAC: 785 Level: 142.081558 Search: DAC: 666 Level: 142.072418 Search: DAC: 606 Level: 142.260818 Search: DAC: 576 Level: 243.731979 Search: DAC: 561 Level: 572.952148 Search: DAC: 554 Level: 744.083862 Search: DAC: 557 Level: 670.638916 Search: DAC: 555 Level: 718.283081 Search: DAC: 556 Level: 695.641541 Search: DAC: 555 Level: 723.279480 Search: DAC: 785 Level: 133.932526 Search: DAC: 666 Level: 133.865005 Search: DAC: 606 Level: 142.021622 Search: DAC: 576 Level: 543.372192 Search: DAC: 561 Level: 899.312927 Search: DAC: 568 Level: 736.731323 Search: DAC: 572 Level: 642.153992 Search: DAC: 570 Level: 691.150696 Search: DAC: 569 Level: 716.651062 Search: DAC: 569 Level: 713.161560 Old gain for ch 1: -1.76172 Old error for ch 1: 0.000941063 Gain for ch 1: -1.72935 Error for ch 1: 0.000329252 Old gain for ch 2: -0.20919 Old error for ch 2: 0.000917226 Gain for ch 2: -0.18653 Error for ch 2: 4.18263e-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 546 for ATWD peak of 460.2 V 1100 Avg signal peak -0.85 Avg current peak -32.39 Triggers with too little light: 130 tt: 146.84 sigma: 0.134 Setting HV to 1200 V Using brightness 555 for ATWD peak of 464.8 Too few light pulses -- increasing brightness to 552 V 1200 Avg signal peak -1.74 Avg current peak -54.59 Triggers with too little light: 435 tt: 144.57 sigma: 0.271 Setting HV to 1300 V Using brightness 561 for ATWD peak of 440.8 V 1300 Avg signal peak -0.79 Avg current peak -30.14 Triggers with too little light: 409 tt: 142.15 sigma: 0.378 Setting HV to 1400 V Using brightness 567 for ATWD peak of 417.9 V 1400 Avg signal peak -1.03 Avg current peak -29.28 Triggers with too little light: 159 tt: 139.97 sigma: 0.328 Setting HV to 1500 V Using brightness 570 for ATWD peak of 586.2 V 1500 Avg signal peak -1.15 Avg current peak -29.80 Triggers with too little light: 124 tt: 138.18 sigma: 0.417 Setting HV to 1600 V Using brightness 573 for ATWD peak of 502.7 V 1600 Avg signal peak -0.89 Avg current peak -29.11 Triggers with too little light: 41 tt: 136.67 sigma: 0.542 Setting HV to 1700 V Using brightness 576 for ATWD peak of 473.6 V 1700 Avg signal peak -1.62 Avg current peak -28.71 Triggers with too little light: 87 tt: 134.72 sigma: 0.519 Setting HV to 1800 V Using brightness 579 for ATWD peak of 400.4 V 1800 Avg signal peak -1.78 Avg current peak -26.86 Triggers with too little light: 313 tt: 132.95 sigma: 0.558 Setting HV to 1900 V Using brightness 582 for ATWD peak of 448.9 Too few light pulses -- increasing brightness to 579 V 1900 Avg signal peak -3.08 Avg current peak -46.94 Triggers with too little light: 304 tt: 131.22 sigma: 0.513 1100 0.0301511 146.841 1200 0.0288675 144.565 1300 0.027735 142.148 1400 0.0267261 139.966 1500 0.0258199 138.18 1600 0.025 136.666 1700 0.0242536 134.72 1800 0.0235702 132.95 1900 0.0229416 131.223 Fit: m 2148.1 b 82.4796 r2 0.996374 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 545 Noise rate: 736.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 18, over 2412 Attempting fit with parameter profile 0... Starting fit at bin 17 Fitting SPE histogram... Final parameter values, iteration 14: Chisq: 2.16102e+08 a[0] = 6.61148 a[1] = -2.5371 a[2] = 401.524 a[3] = 0.241114 a[4] = 89.2941 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 17 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 2.4582e+08 a[0] = 10601.8 a[1] = 7999.34 a[2] = 352.377 a[3] = 0.251304 a[4] = 41.536 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 17 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 2.16957e+08 a[0] = 11.637 a[1] = -0.744309 a[2] = 395.646 a[3] = 0.241348 a[4] = 91.1872 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 545 Noise rate: 1565.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 1443 Attempting fit with parameter profile 0... Starting fit at bin 19 Fitting SPE histogram... Final parameter values, iteration 19: Chisq: 7.54288e+07 a[0] = -596.589 a[1] = 7.15257 a[2] = 534.31 a[3] = 0.394402 a[4] = 19.9955 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 19 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 1.0661e+08 a[0] = 26584.4 a[1] = 18549.7 a[2] = 455.92 a[3] = 0.414093 a[4] = 15.0835 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1100 V not used Error is: 1 Attempting fit with parameter profile 2... Starting fit at bin 19 Fitting SPE histogram... Final parameter values, iteration 13: Chisq: 7.54232e+07 a[0] = -635.136 a[1] = 7.68275 a[2] = 529.672 a[3] = 0.395261 a[4] = 20.0989 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 545 Noise rate: 1747.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 1451 Attempting fit with parameter profile 0... Starting fit at bin 25 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 7.08834e+06 a[0] = 149.951 a[1] = 1.14656 a[2] = 341.064 a[3] = 0.673343 a[4] = 10.0697 SPE fit converged successfully Found minimum at 0.107735 Possible valley at 0.105889 Full peak (exp + gaussian) = 410.353 Valley located at 0.105889, 146.132: PV = 2.8 New gain point: log(V) 3.07188 log(gain) 6.62357 Setting HV to 1260 V Using disc DAC 545 Noise rate: 1879.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1723 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 8: Chisq: 2.33204e+07 a[0] = 57.2493 a[1] = 0.414175 a[2] = 284.831 a[3] = 1.09166 a[4] = 3.287 SPE fit converged successfully Found minimum at 0.021833 Possible valley at -0.077520 Full peak (exp + gaussian) = 321.257 Valley located at -0.0775204, 62.3029: PV = 5.2 New gain point: log(V) 3.10037 log(gain) 6.83342 Setting HV to 1340 V Using disc DAC 554 Noise rate: 1961.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 1812 Attempting fit with parameter profile 0... Starting fit at bin 13 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 5.88129e+06 a[0] = 75.9433 a[1] = 0.324237 a[2] = 274.249 a[3] = 1.68857 a[4] = 1.53901 SPE fit converged successfully Found minimum at 0.067542 Possible valley at 0.068511 Full peak (exp + gaussian) = 318.174 Valley located at 0.068511, 79.1044: PV = 4 New gain point: log(V) 3.1271 log(gain) 7.02286 Setting HV to 1420 V Using disc DAC 554 Noise rate: 1945.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2021 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 4.91253e+06 a[0] = 93.3594 a[1] = 0.238983 a[2] = 215.33 a[3] = 2.62329 a[4] = 0.713808 SPE fit converged successfully Found minimum at 0.419727 Possible valley at 0.403611 Full peak (exp + gaussian) = 265.205 Valley located at 0.403611, 91.1684: PV = 2.9 New gain point: log(V) 3.15229 log(gain) 7.21418 Setting HV to 1500 V Using disc DAC 554 Noise rate: 2440.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2160 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 4.73081e+06 a[0] = 113.692 a[1] = 0.17139 a[2] = 184.536 a[3] = 3.99748 a[4] = 0.400405 SPE fit converged successfully Found minimum at 1.119291 Possible valley at 1.139328 Full peak (exp + gaussian) = 241.84 Valley located at 1.13933, 100.532: PV = 2.4 New gain point: log(V) 3.17609 log(gain) 7.39712 Setting HV to 1580 V Using disc DAC 554 Noise rate: 2856.000000 minimum allowed: 400 Trying histogram with maximum 15pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2301 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 7: Chisq: 5.94906e+06 a[0] = 131.078 a[1] = 0.145359 a[2] = 163.418 a[3] = 5.69614 a[4] = 0.215173 SPE fit converged successfully Found minimum at 2.050613 Possible valley at 2.024719 Full peak (exp + gaussian) = 220.69 Valley located at 2.02472, 106.648: PV = 2.1 New gain point: log(V) 3.19866 log(gain) 7.55092 Setting HV to 1660 V Using disc DAC 609 Noise rate: 2122.000000 minimum allowed: 400 Trying histogram with maximum 21pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2419 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 2.71571e+06 a[0] = 87.2296 a[1] = 0.0664488 a[2] = 183.351 a[3] = 7.88603 a[4] = 0.089068 SPE fit converged successfully Found minimum at 1.419487 Possible valley at 1.452459 Full peak (exp + gaussian) = 235.003 Valley located at 1.45246, 83.7985: PV = 2.8 New gain point: log(V) 3.22011 log(gain) 7.6922 Setting HV to 1740 V Using disc DAC 609 Noise rate: 2355.000000 minimum allowed: 400 Trying histogram with maximum 28pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2471 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 2.75005e+06 a[0] = 97.0753 a[1] = 0.050492 a[2] = 161.686 a[3] = 11.1733 a[4] = 0.0509258 SPE fit converged successfully Found minimum at 2.905059 Possible valley at 2.918768 Full peak (exp + gaussian) = 216.906 Valley located at 2.91877, 88.8044: PV = 2.4 New gain point: log(V) 3.24055 log(gain) 7.84352 Setting HV to 1820 V Using disc DAC 609 Noise rate: 2637.000000 minimum allowed: 400 Trying histogram with maximum 37pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2449 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 7: Chisq: 4.98075e+06 a[0] = 154.202 a[1] = 0.265383 a[2] = 195.709 a[3] = 15.1233 a[4] = 0.0155772 SPE fit converged successfully Found minimum at 4.839442 Possible valley at 4.708887 Full peak (exp + gaussian) = 198.495 Valley located at 4.70889, 80.3251: PV = 2.5 New gain point: log(V) 3.26007 log(gain) 7.97498 Setting HV to 1900 V Using disc DAC 609 Noise rate: 2632.000000 minimum allowed: 400 Trying histogram with maximum 48pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2510 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 10: Chisq: 2.82049e+06 a[0] = 274.102 a[1] = 0.378997 a[2] = 190.961 a[3] = 20.0628 a[4] = 0.00818234 SPE fit converged successfully Found minimum at 6.420111 Possible valley at 6.382822 Full peak (exp + gaussian) = 191.097 Valley located at 6.38282, 65.6938: PV = 2.9 New gain point: log(V) 3.27875 log(gain) 8.09773 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 4.768 mV orig: -0.498 mV ATWD 0 ch 1: -1.215 mV orig: 0.435 mV ATWD 0 ch 2: -0.232 mV orig: 0.390 mV ATWD 1 ch 0: 4.561 mV orig: -0.608 mV ATWD 1 ch 1: -0.283 mV orig: -0.096 mV ATWD 1 ch 2: 0.043 mV orig: -0.167 mV Writing XML calibration file... XML CRC32 = 0x1f5f137b Retransmit XML (y/n)? n Rebooting...