*** 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.926600 Got disc point: SPE DAC: 600.000000 SPE Q: 0.741000 MPE DAC: 560.000000 MPE Q: 3.260400 Got disc point: SPE DAC: 650.000000 SPE Q: 1.383200 MPE DAC: 570.000000 MPE Q: 4.495400 Got disc point: SPE DAC: 700.000000 SPE Q: 2.025400 MPE DAC: 580.000000 MPE Q: 5.779800 Got disc point: SPE DAC: 750.000000 SPE Q: 2.667600 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.643600 MPE DAC: 620.000000 MPE Q: 11.065600 Got disc point: SPE DAC: 950.000000 SPE Q: 5.285800 MPE DAC: 630.000000 MPE Q: 12.399400 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): -18.42 (err: 0.00413153) ch 1 gain (new): -2.04 (err: 0.000817152) ch 2 gain (new): -0.24 (err: 0.000802234) Performing FADC calibration... DAC: 725 baseline: 31.50 DAC: 750 baseline: 63.21 DAC: 775 baseline: 94.78 DAC: 800 baseline: 126.43 DAC: 825 baseline: 157.17 DAC: 850 baseline: 188.57 DAC: 875 baseline: 220.22 DAC: 900 baseline: 252.09 DAC: 925 baseline: 283.63 DAC: 950 baseline: 315.35 DAC: 975 baseline: 347.08 DAC: 1000 baseline: 379.20 FADC baseline fit m: 1.26235 b: -883.84 r^2: 0.999987 Setting pulser dac to 600 FADC gain: 7.65842e-05 Offset between ATWD and FADC leading edges: -77.1 ns Setting pulser dac to 700 FADC gain: 7.63272e-05 Offset between ATWD and FADC leading edges: -76.9 ns Setting pulser dac to 800 FADC gain: 7.59508e-05 Offset between ATWD and FADC leading edges: -76.7 ns Setting pulser dac to 900 FADC gain: 7.57859e-05 Offset between ATWD and FADC leading edges: -76.4 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: 138.426697 LED response: DAC: 1017 Amp: 138.396393 LED response: DAC: 1012 Amp: 138.447174 LED response: DAC: 1007 Amp: 138.462738 LED response: DAC: 1002 Amp: 138.432434 LED response: DAC: 997 Amp: 138.432434 LED response: DAC: 992 Amp: 138.444717 LED response: DAC: 987 Amp: 138.379196 LED response: DAC: 982 Amp: 138.416046 LED response: DAC: 977 Amp: 138.364456 LED response: DAC: 972 Amp: 138.414413 LED response: DAC: 967 Amp: 138.395584 LED response: DAC: 962 Amp: 138.381653 LED response: DAC: 957 Amp: 138.380829 LED response: DAC: 952 Amp: 138.377563 LED response: DAC: 947 Amp: 138.375916 LED response: DAC: 942 Amp: 138.411957 LED response: DAC: 937 Amp: 138.387390 LED response: DAC: 932 Amp: 138.405411 LED response: DAC: 927 Amp: 138.431610 LED response: DAC: 922 Amp: 138.373459 LED response: DAC: 917 Amp: 138.396393 LED response: DAC: 912 Amp: 138.427521 LED response: DAC: 907 Amp: 138.384109 LED response: DAC: 902 Amp: 138.384109 LED response: DAC: 897 Amp: 138.346436 LED response: DAC: 892 Amp: 138.389023 LED response: DAC: 887 Amp: 138.423416 LED response: DAC: 882 Amp: 138.419327 LED response: DAC: 877 Amp: 138.482391 LED response: DAC: 872 Amp: 138.511871 LED response: DAC: 867 Amp: 139.549545 LED response: DAC: 862 Amp: 143.212936 LED response: DAC: 857 Amp: 153.993454 LED response: DAC: 852 Amp: 182.772324 LED response: DAC: 847 Amp: 242.461914 LED response: DAC: 842 Amp: 360.054047 LED response: DAC: 837 Amp: 546.000793 LED response: DAC: 832 Amp: 768.981995 LED response: DAC: 827 Amp: 939.377563 Search: DAC: 925 Level: 138.413040 Search: DAC: 876 Level: 138.494095 Search: DAC: 851 Level: 196.668747 Search: DAC: 839 Level: 479.568481 Search: DAC: 833 Level: 744.187744 Search: DAC: 836 Level: 619.502625 Search: DAC: 834 Level: 706.484253 Search: DAC: 835 Level: 665.427612 Search: DAC: 834 Level: 709.794250 Search: DAC: 925 Level: 146.013428 Search: DAC: 876 Level: 151.059311 Search: DAC: 851 Level: 645.210999 Search: DAC: 839 Level: 1014.939026 Search: DAC: 845 Level: 882.077026 Search: DAC: 848 Level: 770.475403 Search: DAC: 849 Level: 730.263123 Search: DAC: 850 Level: 690.745056 Search: DAC: 849 Level: 728.192322 Old gain for ch 1: -2.0448 Old error for ch 1: 0.000817152 Gain for ch 1: -1.95384 Error for ch 1: 0.000306993 Old gain for ch 2: -0.237034 Old error for ch 2: 0.000802234 Gain for ch 2: -0.195218 Error for ch 2: 8.7552e-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 436.0 V 1100 Avg signal peak -0.64 Avg current peak -27.58 Triggers with too little light: 3 tt: 147.08 sigma: 0.144 Setting HV to 1200 V Using brightness 828 for ATWD peak of 454.4 V 1200 Avg signal peak -0.74 Avg current peak -27.12 Triggers with too little light: 29 tt: 144.50 sigma: 0.228 Setting HV to 1300 V Using brightness 834 for ATWD peak of 509.3 V 1300 Avg signal peak -0.83 Avg current peak -27.54 Triggers with too little light: 54 tt: 142.48 sigma: 0.172 Setting HV to 1400 V Using brightness 840 for ATWD peak of 441.0 V 1400 Avg signal peak -0.89 Avg current peak -27.87 Triggers with too little light: 84 tt: 140.64 sigma: 0.226 Setting HV to 1500 V Using brightness 843 for ATWD peak of 519.2 V 1500 Avg signal peak -1.05 Avg current peak -27.23 Triggers with too little light: 46 tt: 138.80 sigma: 0.372 Setting HV to 1600 V Using brightness 849 for ATWD peak of 419.7 V 1600 Avg signal peak -0.89 Avg current peak -24.36 Triggers with too little light: 209 tt: 136.96 sigma: 0.513 Setting HV to 1700 V Using brightness 852 for ATWD peak of 431.7 V 1700 Avg signal peak -0.94 Avg current peak -22.21 Triggers with too little light: 282 tt: 135.26 sigma: 0.529 Setting HV to 1800 V Using brightness 855 for ATWD peak of 414.9 V 1800 Avg signal peak -0.92 Avg current peak -21.25 Triggers with too little light: 346 tt: 133.74 sigma: 0.648 Setting HV to 1900 V Using brightness 855 for ATWD peak of 485.9 V 1900 Avg signal peak -1.05 Avg current peak -21.20 Triggers with too little light: 152 tt: 132.42 sigma: 0.787 1100 0.0301511 147.082 1200 0.0288675 144.499 1300 0.027735 142.482 1400 0.0267261 140.644 1500 0.0258199 138.796 1600 0.025 136.957 1700 0.0242536 135.261 1800 0.0235702 133.736 1900 0.0229416 132.417 Fit: m 2032.53 b 86.0109 r2 0.998073 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 552 Noise rate: 857.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2658 Attempting fit with parameter profile 0... Starting fit at bin 25 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 6: Chisq: 1.42286e+08 a[0] = 75469.2 a[1] = 5338.99 a[2] = 473.073 a[3] = 0.25069 a[4] = 119.717 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 1... Starting fit at bin 25 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 2.38038e+08 a[0] = 76460.3 a[1] = 52234.3 a[2] = 371.543 a[3] = 0.246535 a[4] = 34.9153 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 25 Fitting SPE histogram... Final parameter values, iteration 20: Chisq: 1.37147e+08 a[0] = -365.327 a[1] = 17.7769 a[2] = 502.053 a[3] = 0.243528 a[4] = 127.068 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 552 Noise rate: 1511.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1249 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 12: Chisq: 2.86769e+07 a[0] = -431.653 a[1] = 8.038 a[2] = 657.388 a[3] = 0.337421 a[4] = 34.4389 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: 9.13735e+07 a[0] = 27484.6 a[1] = 20756.9 a[2] = 559.04 a[3] = 0.335566 a[4] = 21.2573 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 17: Chisq: 2.87114e+07 a[0] = -477.269 a[1] = 9.04004 a[2] = 651.375 a[3] = 0.337825 a[4] = 34.7585 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 552 Noise rate: 2229.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1219 Attempting fit with parameter profile 0... Starting fit at bin 24 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 9.09412e+06 a[0] = 208.957 a[1] = 1.56577 a[2] = 414.729 a[3] = 0.578308 a[4] = 14.9163 SPE fit converged successfully Found minimum at 0.127228 Possible valley at 0.127169 Full peak (exp + gaussian) = 499.218 Valley located at 0.127169, 191.151: PV = 2.6 New gain point: log(V) 3.07188 log(gain) 6.5575 Setting HV to 1260 V Using disc DAC 552 Noise rate: 2531.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 1434 Attempting fit with parameter profile 0... Starting fit at bin 19 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 6.83847e+06 a[0] = 204.675 a[1] = 1.08384 a[2] = 318.413 a[3] = 0.982485 a[4] = 6.19543 SPE fit converged successfully Found minimum at 0.314396 Possible valley at 0.308011 Full peak (exp + gaussian) = 388.981 Valley located at 0.308011, 165.592: PV = 2.3 New gain point: log(V) 3.10037 log(gain) 6.78766 Setting HV to 1340 V Using disc DAC 562 Noise rate: 2304.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1465 Attempting fit with parameter profile 0... Starting fit at bin 11 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 6.87854e+06 a[0] = 93.8266 a[1] = 0.494346 a[2] = 339.649 a[3] = 1.52094 a[4] = 2.15419 SPE fit converged successfully Found minimum at 0.182512 Possible valley at 0.187223 Full peak (exp + gaussian) = 383.887 Valley located at 0.187223, 92.8925: PV = 4.1 New gain point: log(V) 3.1271 log(gain) 6.97745 Setting HV to 1420 V Using disc DAC 562 Noise rate: 2615.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 1677 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 4.76012e+06 a[0] = 121.847 a[1] = 0.340899 a[2] = 270.368 a[3] = 2.35405 a[4] = 1.0983 SPE fit converged successfully Found minimum at 0.564972 Possible valley at 0.586968 Full peak (exp + gaussian) = 324.981 Valley located at 0.586968, 108.511: PV = 3 New gain point: log(V) 3.15229 log(gain) 7.16715 Setting HV to 1500 V Using disc DAC 562 Noise rate: 3006.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1707 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 5.18364e+06 a[0] = 134.78 a[1] = 0.269587 a[2] = 236.17 a[3] = 3.60708 a[4] = 0.503668 SPE fit converged successfully Found minimum at 1.154262 Possible valley at 1.129858 Full peak (exp + gaussian) = 287.139 Valley located at 1.12986, 110.127: PV = 2.6 New gain point: log(V) 3.17609 log(gain) 7.35249 Setting HV to 1580 V Using disc DAC 562 Noise rate: 3188.000000 minimum allowed: 400 Trying histogram with maximum 15pC Negative charge points discarded: 0 Histogram points out of range: under 3, over 1856 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 20: Chisq: 2.9852e+06 a[0] = 300.886 a[1] = 0.969583 a[2] = 256.508 a[3] = 5.15668 a[4] = 0.173854 SPE fit converged successfully Found minimum at 1.856405 Possible valley at 1.903373 Full peak (exp + gaussian) = 258.536 Valley located at 1.90337, 88.2596: PV = 2.9 New gain point: log(V) 3.19866 log(gain) 7.50771 Setting HV to 1660 V Using disc DAC 620 Noise rate: 2870.000000 minimum allowed: 400 Trying histogram with maximum 21pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2038 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 2.98181e+06 a[0] = 107.831 a[1] = 0.107165 a[2] = 231.065 a[3] = 7.47671 a[4] = 0.120593 SPE fit converged successfully Found minimum at 2.093481 Possible valley at 2.104796 Full peak (exp + gaussian) = 279.457 Valley located at 2.1048, 93.1751: PV = 3 New gain point: log(V) 3.22011 log(gain) 7.66905 Setting HV to 1740 V Using disc DAC 620 Noise rate: 3172.000000 minimum allowed: 400 Trying histogram with maximum 28pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2052 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 3.27349e+06 a[0] = 110.706 a[1] = 0.0718101 a[2] = 214.113 a[3] = 10.579 a[4] = 0.0706795 SPE fit converged successfully Found minimum at 3.596860 Possible valley at 3.496291 Full peak (exp + gaussian) = 265.903 Valley located at 3.49629, 92.3029: PV = 2.9 New gain point: log(V) 3.24055 log(gain) 7.81978 Setting HV to 1820 V Using disc DAC 620 Noise rate: 3535.000000 minimum allowed: 400 Trying histogram with maximum 37pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2093 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 7: Chisq: 5.11296e+06 a[0] = 159.496 a[1] = 0.213064 a[2] = 229.724 a[3] = 14.3667 a[4] = 0.0239255 SPE fit converged successfully Found minimum at 4.884662 Possible valley at 4.866167 Full peak (exp + gaussian) = 237.194 Valley located at 4.86617, 83.0612: PV = 2.9 New gain point: log(V) 3.26007 log(gain) 7.95269 Setting HV to 1900 V Using disc DAC 620 Noise rate: 3927.000000 minimum allowed: 400 Trying histogram with maximum 48pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2127 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 10: Chisq: 2.62422e+06 a[0] = 302.442 a[1] = 0.340213 a[2] = 223.138 a[3] = 19.2478 a[4] = 0.0118489 SPE fit converged successfully Found minimum at 6.929220 Possible valley at 6.744690 Full peak (exp + gaussian) = 223.571 Valley located at 6.74469, 65.4897: PV = 3.4 New gain point: log(V) 3.27875 log(gain) 8.07972 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 2.828 mV orig: -0.932 mV ATWD 0 ch 1: 0.740 mV orig: -0.225 mV ATWD 0 ch 2: 2.289 mV orig: -0.470 mV ATWD 1 ch 0: -3.345 mV orig: -0.035 mV ATWD 1 ch 1: -13.013 mV orig: -0.361 mV ATWD 1 ch 2: -14.857 mV orig: 0.040 mV Writing XML calibration file... XML CRC32 = 0xa120ba7d Retransmit XML (y/n)? n Rebooting...