*** HIGH VOLTAGE WILL BE ACTIVATED *** Do you want to iterate the gain/HV calibration (y/n)? n Performing discriminator calibration... Got disc point: SPE DAC: 550.000000 SPE Q: 0.098800 MPE DAC: 550.000000 MPE Q: 1.976000 Got disc point: SPE DAC: 600.000000 SPE Q: 0.790400 MPE DAC: 560.000000 MPE Q: 3.309800 Got disc point: SPE DAC: 650.000000 SPE Q: 1.432600 MPE DAC: 570.000000 MPE Q: 4.544800 Got disc point: SPE DAC: 700.000000 SPE Q: 2.074800 MPE DAC: 580.000000 MPE Q: 5.829200 Got disc point: SPE DAC: 750.000000 SPE Q: 2.717000 MPE DAC: 590.000000 MPE Q: 7.113600 Got disc point: SPE DAC: 800.000000 SPE Q: 3.359200 MPE DAC: 600.000000 MPE Q: 8.447400 Got disc point: SPE DAC: 850.000000 SPE Q: 4.001400 MPE DAC: 610.000000 MPE Q: 9.731800 Got disc point: SPE DAC: 900.000000 SPE Q: 4.693000 MPE DAC: 620.000000 MPE Q: 11.065600 Got disc point: SPE DAC: 950.000000 SPE Q: 5.335200 MPE DAC: 630.000000 MPE Q: 12.350000 Got disc point: SPE DAC: 1000.000000 SPE Q: 5.977400 MPE DAC: 640.000000 MPE Q: 13.733200 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -17.70 (err: 0.00418171) ch 1 gain (new): -2.03 (err: 0.00103954) ch 2 gain (new): -0.23 (err: 0.000987315) Performing FADC calibration... DAC: 725 baseline: 29.93 DAC: 750 baseline: 61.78 DAC: 775 baseline: 93.40 DAC: 800 baseline: 125.16 DAC: 825 baseline: 156.20 DAC: 850 baseline: 188.16 DAC: 875 baseline: 219.35 DAC: 900 baseline: 251.22 DAC: 925 baseline: 282.26 DAC: 950 baseline: 314.00 DAC: 975 baseline: 346.00 DAC: 1000 baseline: 377.93 FADC baseline fit m: 1.26322 b: -885.742 r^2: 0.999995 Setting pulser dac to 600 FADC gain: 7.83298e-05 Offset between ATWD and FADC leading edges: -77.3 ns Setting pulser dac to 700 FADC gain: 7.80083e-05 Offset between ATWD and FADC leading edges: -76.9 ns Setting pulser dac to 800 FADC gain: 7.73496e-05 Offset between ATWD and FADC leading edges: -76.6 ns Setting pulser dac to 900 FADC gain: 7.72309e-05 Offset between ATWD and FADC leading edges: -76.3 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: 163.031128 LED response: DAC: 1017 Amp: 162.987717 LED response: DAC: 1012 Amp: 162.989349 LED response: DAC: 1007 Amp: 163.010651 LED response: DAC: 1002 Amp: 162.990997 LED response: DAC: 997 Amp: 162.997543 LED response: DAC: 992 Amp: 162.988541 LED response: DAC: 987 Amp: 162.990173 LED response: DAC: 982 Amp: 162.995087 LED response: DAC: 977 Amp: 162.988541 LED response: DAC: 972 Amp: 162.986893 LED response: DAC: 967 Amp: 162.990997 LED response: DAC: 962 Amp: 162.986893 LED response: DAC: 957 Amp: 162.989349 LED response: DAC: 952 Amp: 162.986893 LED response: DAC: 947 Amp: 163.000824 LED response: DAC: 942 Amp: 162.988541 LED response: DAC: 937 Amp: 162.994263 LED response: DAC: 932 Amp: 162.994263 LED response: DAC: 927 Amp: 162.991806 LED response: DAC: 922 Amp: 162.987717 LED response: DAC: 917 Amp: 162.989349 LED response: DAC: 912 Amp: 162.991806 LED response: DAC: 907 Amp: 162.995087 LED response: DAC: 902 Amp: 162.987717 LED response: DAC: 897 Amp: 162.998367 LED response: DAC: 892 Amp: 162.990997 LED response: DAC: 887 Amp: 162.986893 LED response: DAC: 882 Amp: 163.043411 LED response: DAC: 877 Amp: 163.073715 LED response: DAC: 872 Amp: 163.155609 LED response: DAC: 867 Amp: 163.780502 LED response: DAC: 862 Amp: 165.053238 LED response: DAC: 857 Amp: 168.191650 LED response: DAC: 852 Amp: 181.299759 LED response: DAC: 847 Amp: 222.742020 LED response: DAC: 842 Amp: 297.603607 LED response: DAC: 837 Amp: 422.334167 LED response: DAC: 832 Amp: 617.798523 LED response: DAC: 827 Amp: 837.840271 Search: DAC: 925 Level: 163.004913 Search: DAC: 876 Level: 163.097321 Search: DAC: 851 Level: 188.461990 Search: DAC: 839 Level: 374.177917 Search: DAC: 833 Level: 588.680542 Search: DAC: 830 Level: 727.827026 Search: DAC: 831 Level: 688.945251 Search: DAC: 830 Level: 734.946289 Search: DAC: 925 Level: 161.158859 Search: DAC: 876 Level: 163.453476 Search: DAC: 851 Level: 421.432495 Search: DAC: 839 Level: 979.163818 Search: DAC: 845 Level: 771.987549 Search: DAC: 848 Level: 614.411560 Search: DAC: 846 Level: 729.025208 Search: DAC: 847 Level: 674.992126 Search: DAC: 846 Level: 727.919373 Old gain for ch 1: -2.02882 Old error for ch 1: 0.00103954 Gain for ch 1: -2.04405 Error for ch 1: 0.000366571 Old gain for ch 2: -0.22663 Old error for ch 2: 0.000987315 Gain for ch 2: -0.24092 Error for ch 2: 3.32616e-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 816 for ATWD peak of 422.4 V 1100 Avg signal peak -0.51 Avg current peak -26.75 Triggers with too little light: 6 tt: 146.11 sigma: 0.110 Setting HV to 1200 V Using brightness 825 for ATWD peak of 401.0 V 1200 Avg signal peak -0.64 Avg current peak -25.48 Triggers with too little light: 20 tt: 143.85 sigma: 0.171 Setting HV to 1300 V Using brightness 831 for ATWD peak of 472.8 V 1300 Avg signal peak -0.75 Avg current peak -24.91 Triggers with too little light: 43 tt: 141.63 sigma: 0.372 Setting HV to 1400 V Using brightness 837 for ATWD peak of 460.6 V 1400 Avg signal peak -0.77 Avg current peak -24.96 Triggers with too little light: 88 tt: 139.57 sigma: 0.353 Setting HV to 1500 V Using brightness 840 for ATWD peak of 498.5 V 1500 Avg signal peak -0.86 Avg current peak -25.95 Triggers with too little light: 51 tt: 137.81 sigma: 0.366 Setting HV to 1600 V Using brightness 843 for ATWD peak of 563.2 V 1600 Avg signal peak -0.93 Avg current peak -27.00 Triggers with too little light: 56 tt: 136.33 sigma: 0.415 Setting HV to 1700 V Using brightness 846 for ATWD peak of 443.0 V 1700 Avg signal peak -0.76 Avg current peak -26.25 Triggers with too little light: 71 tt: 134.68 sigma: 0.586 Setting HV to 1800 V Using brightness 846 for ATWD peak of 647.8 V 1800 Avg signal peak -0.89 Avg current peak -25.69 Triggers with too little light: 45 tt: 133.32 sigma: 0.669 Setting HV to 1900 V Using brightness 849 for ATWD peak of 479.8 V 1900 Avg signal peak -0.78 Avg current peak -24.02 Triggers with too little light: 71 tt: 131.77 sigma: 0.856 1100 0.0301511 146.109 1200 0.0288675 143.846 1300 0.027735 141.633 1400 0.0267261 139.573 1500 0.0258199 137.808 1600 0.025 136.334 1700 0.0242536 134.678 1800 0.0235702 133.325 1900 0.0229416 131.77 Fit: m 1979.55 b 86.6392 r2 0.999005 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 550 Noise rate: 921.000000 minimum allowed: 400 Trying histogram with maximum 1pC Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 3, over 994 Attempting fit with parameter profile 0... Starting fit at bin 21 Fitting SPE histogram... Final parameter values, iteration 42: Chisq: 1.66908e+07 a[0] = 211.638 a[1] = 1.39306 a[2] = 688.09 a[3] = 0.24584 a[4] = 241.702 SPE fit converged successfully Found minimum at 0.098336 Possible valley at 0.098447 Full peak (exp + gaussian) = 838.355 Valley located at 0.0984471, 188.123: PV = 4.5 New gain point: log(V) 3.0086 log(gain) 6.18599 Setting HV to 1100 V Using disc DAC 550 Noise rate: 3457.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 1354 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 28: Chisq: 2.07658e+07 a[0] = -432.991 a[1] = 10.2256 a[2] = 784.949 a[3] = 0.30637 a[4] = 58.8506 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 14 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 2.90273e+08 a[0] = 71633.7 a[1] = 66116.7 a[2] = 571.807 a[3] = 0.259138 a[4] = 12.6818 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 14 Fitting SPE histogram... Final parameter values, iteration 18: Chisq: 2.0765e+07 a[0] = -431.439 a[1] = 10.0524 a[2] = 785.296 a[3] = 0.306248 a[4] = 58.5005 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 550 Noise rate: 5538.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1226 Attempting fit with parameter profile 0... Starting fit at bin 19 Fitting SPE histogram... Final parameter values, iteration 7: Chisq: 1.32944e+07 a[0] = 213.276 a[1] = 2.42031 a[2] = 509.649 a[3] = 0.491891 a[4] = 15.5679 SPE fit converged successfully Found minimum at 0.068865 Possible valley at 0.072966 Full peak (exp + gaussian) = 574.498 Valley located at 0.0729663, 211.917: PV = 2.7 New gain point: log(V) 3.07188 log(gain) 6.48721 Setting HV to 1260 V Using disc DAC 550 Noise rate: 7452.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1361 Attempting fit with parameter profile 0... Starting fit at bin 16 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 3.74634e+06 a[0] = 379.498 a[1] = 2.19489 a[2] = 375.954 a[3] = 0.835757 a[4] = 6.83814 SPE fit converged successfully Found minimum at 0.317588 Possible valley at 0.314375 Full peak (exp + gaussian) = 436.564 Valley located at 0.314375, 248.935: PV = 1.8 New gain point: log(V) 3.10037 log(gain) 6.71742 Setting HV to 1340 V Using disc DAC 560 Noise rate: 8678.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 1512 Attempting fit with parameter profile 0... Starting fit at bin 18 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 4.47132e+06 a[0] = 339.906 a[1] = 1.35341 a[2] = 380.761 a[3] = 1.31539 a[4] = 2.8763 SPE fit converged successfully Found minimum at 0.473540 Possible valley at 0.475379 Full peak (exp + gaussian) = 438.067 Valley located at 0.475379, 228.654: PV = 1.9 New gain point: log(V) 3.1271 log(gain) 6.91439 Setting HV to 1420 V Using disc DAC 560 Noise rate: 10908.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 1492 Attempting fit with parameter profile 0... Starting fit at bin 15 Fitting SPE histogram... Final parameter values, iteration 13: Chisq: 3.65360e+06 a[0] = 308.99 a[1] = 0.891449 a[2] = 313.649 a[3] = 2.02933 a[4] = 1.28923 SPE fit converged successfully Found minimum at 0.771145 Possible valley at 0.785223 Full peak (exp + gaussian) = 364.265 Valley located at 0.785223, 196.082: PV = 1.9 New gain point: log(V) 3.15229 log(gain) 7.10269 Setting HV to 1500 V Using disc DAC 560 Noise rate: 13225.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 5, over 1549 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 2.95467e+06 a[0] = 247.712 a[1] = 0.484503 a[2] = 271.617 a[3] = 3.01549 a[4] = 0.623342 SPE fit converged successfully Found minimum at 1.145886 Possible valley at 1.128745 Full peak (exp + gaussian) = 329.087 Valley located at 1.12875, 172.894: PV = 1.9 New gain point: log(V) 3.17609 log(gain) 7.2747 Setting HV to 1580 V Using disc DAC 560 Noise rate: 17348.000000 minimum allowed: 400 Trying histogram with maximum 15pC Negative charge points discarded: 0 Histogram points out of range: under 6, over 1503 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 28: Chisq: 2.76297e+06 a[0] = 253.663 a[1] = 0.40975 a[2] = 256.867 a[3] = 4.37739 a[4] = 0.277332 SPE fit converged successfully Found minimum at 1.663410 Possible valley at 1.694254 Full peak (exp + gaussian) = 299.065 Valley located at 1.69425, 161.578: PV = 1.9 New gain point: log(V) 3.19866 log(gain) 7.43655 Setting HV to 1660 V Using disc DAC 617 Noise rate: 17092.000000 minimum allowed: 400 Trying histogram with maximum 21pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 1740 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 4.27245e+06 a[0] = 195.332 a[1] = 0.22524 a[2] = 269.038 a[3] = 6.19785 a[4] = 0.129454 SPE fit converged successfully Found minimum at 1.983310 Possible valley at 1.941882 Full peak (exp + gaussian) = 317.399 Valley located at 1.94188, 151.92: PV = 2.1 New gain point: log(V) 3.22011 log(gain) 7.58758 Setting HV to 1740 V Using disc DAC 617 Noise rate: 20013.000000 minimum allowed: 400 Trying histogram with maximum 28pC Negative charge points discarded: 0 Histogram points out of range: under 3, over 1582 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 17: Chisq: 4.65481e+06 a[0] = 186.324 a[1] = 0.124503 a[2] = 236.082 a[3] = 8.7826 a[4] = 0.0785409 SPE fit converged successfully Found minimum at 2.986084 Possible valley at 3.034056 Full peak (exp + gaussian) = 298.511 Valley located at 3.03406, 145.321: PV = 2.1 New gain point: log(V) 3.24055 log(gain) 7.73896 Setting HV to 1820 V Using disc DAC 617 Noise rate: 24773.000000 minimum allowed: 400 Trying histogram with maximum 37pC Negative charge points discarded: 0 Histogram points out of range: under 4, over 1639 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 2.01544e+06 a[0] = 223.796 a[1] = 0.156295 a[2] = 243.109 a[3] = 12.0863 a[4] = 0.0366707 SPE fit converged successfully Found minimum at 4.592785 Possible valley at 4.594751 Full peak (exp + gaussian) = 276.951 Valley located at 4.59475, 140.181: PV = 2 New gain point: log(V) 3.26007 log(gain) 7.87763 Setting HV to 1900 V Using disc DAC 617 Noise rate: 31701.000000 minimum allowed: 400 Trying histogram with maximum 48pC Negative charge points discarded: 0 Histogram points out of range: under 9, over 1537 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 3.30842e+06 a[0] = 239.804 a[1] = 0.151416 a[2] = 240.33 a[3] = 16.5988 a[4] = 0.0185169 SPE fit converged successfully Found minimum at 6.639518 Possible valley at 6.495070 Full peak (exp + gaussian) = 259.753 Valley located at 6.49507, 125.986: PV = 2.1 New gain point: log(V) 3.27875 log(gain) 8.01542 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 1.302 mV orig: -1.405 mV ATWD 0 ch 1: -2.830 mV orig: -0.362 mV ATWD 0 ch 2: -0.595 mV orig: -0.367 mV ATWD 1 ch 0: -3.579 mV orig: -0.217 mV ATWD 1 ch 1: -17.447 mV orig: 0.015 mV ATWD 1 ch 2: -17.744 mV orig: -0.161 mV Writing XML calibration file... XML CRC32 = 0x8d913591 Retransmit XML (y/n)? n Rebooting...