*** 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.197600 MPE DAC: 550.000000 MPE Q: 2.470000 Got disc point: SPE DAC: 600.000000 SPE Q: 0.889200 MPE DAC: 560.000000 MPE Q: 3.853200 Got disc point: SPE DAC: 650.000000 SPE Q: 1.580800 MPE DAC: 570.000000 MPE Q: 5.236400 Got disc point: SPE DAC: 700.000000 SPE Q: 2.272400 MPE DAC: 580.000000 MPE Q: 6.619600 Got disc point: SPE DAC: 750.000000 SPE Q: 2.964000 MPE DAC: 590.000000 MPE Q: 8.002800 Got disc point: SPE DAC: 800.000000 SPE Q: 3.655600 MPE DAC: 600.000000 MPE Q: 9.386000 Got disc point: SPE DAC: 850.000000 SPE Q: 4.347200 MPE DAC: 610.000000 MPE Q: 10.719800 Got disc point: SPE DAC: 900.000000 SPE Q: 5.038800 MPE DAC: 620.000000 MPE Q: 12.152400 Got disc point: SPE DAC: 950.000000 SPE Q: 5.779800 MPE DAC: 630.000000 MPE Q: 13.535600 Got disc point: SPE DAC: 1000.000000 SPE Q: 6.471400 MPE DAC: 640.000000 MPE Q: 14.918800 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -16.09 (err: 0.00420634) ch 1 gain (new): -1.80 (err: 0.000766617) ch 2 gain (new): -0.19 (err: 0.000781423) Performing FADC calibration... DAC: 725 baseline: 48.75 DAC: 750 baseline: 80.06 DAC: 775 baseline: 111.20 DAC: 800 baseline: 142.63 DAC: 825 baseline: 173.13 DAC: 850 baseline: 204.72 DAC: 875 baseline: 235.86 DAC: 900 baseline: 267.24 DAC: 925 baseline: 298.02 DAC: 950 baseline: 329.29 DAC: 975 baseline: 360.92 DAC: 1000 baseline: 392.81 FADC baseline fit m: 1.24887 b: -856.77 r^2: 0.999991 Setting pulser dac to 600 FADC gain: 8.9988e-05 Offset between ATWD and FADC leading edges: -77.0 ns Setting pulser dac to 700 FADC gain: 8.96312e-05 Offset between ATWD and FADC leading edges: -76.8 ns Setting pulser dac to 800 FADC gain: 8.90163e-05 Offset between ATWD and FADC leading edges: -76.5 ns Setting pulser dac to 900 FADC gain: 8.89846e-05 Offset between ATWD and FADC leading edges: -76.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: 148.697784 LED response: DAC: 1017 Amp: 148.719086 LED response: DAC: 1012 Amp: 148.709259 LED response: DAC: 1007 Amp: 148.719086 LED response: DAC: 1002 Amp: 148.735458 LED response: DAC: 997 Amp: 148.751846 LED response: DAC: 992 Amp: 148.753479 LED response: DAC: 987 Amp: 148.747742 LED response: DAC: 982 Amp: 148.708435 LED response: DAC: 977 Amp: 148.721542 LED response: DAC: 972 Amp: 148.745285 LED response: DAC: 967 Amp: 148.741196 LED response: DAC: 962 Amp: 148.850937 LED response: DAC: 957 Amp: 148.746933 LED response: DAC: 952 Amp: 148.745285 LED response: DAC: 947 Amp: 148.715805 LED response: DAC: 942 Amp: 148.724823 LED response: DAC: 937 Amp: 148.750198 LED response: DAC: 932 Amp: 148.728088 LED response: DAC: 927 Amp: 148.719086 LED response: DAC: 922 Amp: 148.767410 LED response: DAC: 917 Amp: 148.737106 LED response: DAC: 912 Amp: 148.743652 LED response: DAC: 907 Amp: 148.725632 LED response: DAC: 902 Amp: 148.795242 LED response: DAC: 897 Amp: 148.820633 LED response: DAC: 892 Amp: 149.266998 LED response: DAC: 887 Amp: 151.325958 LED response: DAC: 882 Amp: 158.776413 LED response: DAC: 877 Amp: 186.413589 LED response: DAC: 872 Amp: 328.250610 LED response: DAC: 867 Amp: 598.393127 LED response: DAC: 862 Amp: 801.676514 Search: DAC: 942 Level: 148.755981 Search: DAC: 902 Level: 148.783752 Search: DAC: 882 Level: 160.820450 Search: DAC: 872 Level: 332.300140 Search: DAC: 867 Level: 608.195251 Search: DAC: 864 Level: 728.965576 Search: DAC: 865 Level: 691.371887 Search: DAC: 864 Level: 730.442017 Search: DAC: 942 Level: 153.696365 Search: DAC: 902 Level: 154.499023 Search: DAC: 882 Level: 283.942322 Search: DAC: 872 Level: 773.972778 Search: DAC: 877 Level: 507.377777 Search: DAC: 874 Level: 656.772949 Search: DAC: 873 Level: 717.352539 Search: DAC: 873 Level: 714.263428 Old gain for ch 1: -1.80271 Old error for ch 1: 0.000766617 Gain for ch 1: -1.76759 Error for ch 1: 0.000310419 Old gain for ch 2: -0.191847 Old error for ch 2: 0.000781423 Gain for ch 2: -0.189681 Error for ch 2: 4.61316e-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 858 for ATWD peak of 403.4 Too few light pulses -- increasing brightness to 855 V 1100 Avg signal peak -0.81 Avg current peak -31.10 Triggers with too little light: 49 tt: 144.48 sigma: 0.125 Setting HV to 1200 V Using brightness 864 for ATWD peak of 433.8 V 1200 Avg signal peak -0.39 Avg current peak -26.45 Triggers with too little light: 596 tt: 141.95 sigma: 0.387 Setting HV to 1300 V Using brightness 867 for ATWD peak of 440.6 V 1300 Avg signal peak -0.41 Avg current peak -27.42 Triggers with too little light: 329 tt: 139.63 sigma: 0.300 Setting HV to 1400 V Using brightness 870 for ATWD peak of 456.8 V 1400 Avg signal peak -0.47 Avg current peak -29.21 Triggers with too little light: 402 tt: 137.86 sigma: 0.308 Setting HV to 1500 V Using brightness 870 for ATWD peak of 552.2 V 1500 Avg signal peak -0.73 Avg current peak -30.54 Triggers with too little light: 219 tt: 136.08 sigma: 0.481 Setting HV to 1600 V Using brightness 873 for ATWD peak of 418.4 V 1600 Avg signal peak -1.03 Avg current peak -29.25 Triggers with too little light: 291 tt: 134.38 sigma: 0.417 Setting HV to 1700 V Using brightness 876 for ATWD peak of 413.8 V 1700 Avg signal peak -0.89 Avg current peak -28.36 Triggers with too little light: 426 tt: 132.81 sigma: 0.598 Setting HV to 1800 V Using brightness 876 for ATWD peak of 498.5 V 1800 Avg signal peak -1.04 Avg current peak -28.22 Triggers with too little light: 258 tt: 131.39 sigma: 0.677 Setting HV to 1900 V Using brightness 879 for ATWD peak of 433.1 V 1900 Avg signal peak -0.92 Avg current peak -28.87 Triggers with too little light: 421 tt: 130.31 sigma: 0.872 1100 0.0301511 144.476 1200 0.0288675 141.949 1300 0.027735 139.626 1400 0.0267261 137.855 1500 0.0258199 136.083 1600 0.025 134.377 1700 0.0242536 132.812 1800 0.0235702 131.386 1900 0.0229416 130.306 Fit: m 1972.84 b 85.0137 r2 0.999669 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 545 Noise rate: 86023.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 16503, over 22 Attempting fit with parameter profile 0... Starting fit at bin 0 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 1: Chisq: NaN a[0] = 1717 a[1] = Inf a[2] = 1717 a[3] = 0 a[4] = 1773.5 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 0 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 8: Chisq: 5.31284e+07 a[0] = 997.741 a[1] = 8.67558e+09 a[2] = 710.821 a[3] = -0.00456203 a[4] = 472.721 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 0 Fitting SPE histogram... Final parameter values, iteration 37: Chisq: 6.99442e+07 a[0] = 3467.37 a[1] = 63.2308 a[2] = -1901.86 a[3] = -0.00122857 a[4] = 3244.71 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: 79927.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 18059, over 21 Attempting fit with parameter profile 0... Starting fit at bin 0 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 1: Chisq: NaN a[0] = 2747 a[1] = Inf a[2] = 2747 a[3] = 0 a[4] = 2459.93 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 1... Starting fit at bin 0 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 3.1604e+08 a[0] = 212.795 a[1] = 29738.8 a[2] = 1266.69 a[3] = 0.00252032 a[4] = 255.713 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 0 Fitting SPE histogram... Final parameter values, iteration 76: Chisq: 4.52474e+06 a[0] = 7834.67 a[1] = 72.7409 a[2] = -7692.18 a[3] = -0.0179437 a[4] = 1277.81 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1100 V not used Error is: 1 Setting HV to 1180 V Using disc DAC 545 Noise rate: 68995.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 17095, over 25 Attempting fit with parameter profile 0... Starting fit at bin 0 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 1: Chisq: NaN a[0] = 4268 a[1] = Inf a[2] = 4268 a[3] = 0 a[4] = 2629.57 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1180 V not used Error is: 1 Attempting fit with parameter profile 1... Starting fit at bin 0 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 1.23347e+08 a[0] = 1654.67 a[1] = 3.38223e+06 a[2] = 1718.08 a[3] = 0.00424741 a[4] = 1135.32 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1180 V not used Error is: 1 Attempting fit with parameter profile 2... Starting fit at bin 0 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 9: Chisq: 5.57789e+08 a[0] = 1969.69 a[1] = 27.1446 a[2] = -1.48945e+11 a[3] = 1.35071e+06 a[4] = 1.65498e+09 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1180 V not used Error is: 1 Setting HV to 1260 V Using disc DAC 545 Noise rate: 59697.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 16068, over 41 Attempting fit with parameter profile 0... Starting fit at bin 0 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 1: Chisq: NaN a[0] = 5263 a[1] = Inf a[2] = 5263 a[3] = 0 a[4] = 2090.55 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1260 V not used Error is: 1 Attempting fit with parameter profile 1... Starting fit at bin 0 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 3: Chisq: 7.40977e+07 a[0] = 2796.72 a[1] = 2.28723e+08 a[2] = 2607.67 a[3] = 0.00787315 a[4] = 1916.07 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1260 V not used Error is: 1 Attempting fit with parameter profile 2... Starting fit at bin 0 Fitting SPE histogram... Final parameter values, iteration 19: Chisq: 13470.6 a[0] = 3078.95 a[1] = 45.2389 a[2] = 6377.46 a[3] = -0.011939 a[4] = 7517.86 SPE fit converged successfully Bad SPE fit: gain point at 1260 V not used Error is: 2 Setting HV to 1340 V Using disc DAC 554 Noise rate: 2431.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2074 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 15: Chisq: 5.78019e+06 a[0] = 119.428 a[1] = 0.487262 a[2] = 224.748 a[3] = 2.0935 a[4] = 1.3577 SPE fit converged successfully Found minimum at 0.586180 Possible valley at 0.596077 Full peak (exp + gaussian) = 267.81 Valley located at 0.596077, 100.028: PV = 2.7 New gain point: log(V) 3.1271 log(gain) 7.11621 Setting HV to 1420 V Using disc DAC 554 Noise rate: 2985.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2224 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 19: Chisq: 4.59093e+06 a[0] = 119.73 a[1] = 0.294923 a[2] = 186.889 a[3] = 3.22147 a[4] = 0.713387 SPE fit converged successfully Found minimum at 1.159729 Possible valley at 1.139905 Full peak (exp + gaussian) = 233.189 Valley located at 1.1399, 94.0409: PV = 2.5 New gain point: log(V) 3.15229 log(gain) 7.30339 Setting HV to 1500 V Using disc DAC 554 Noise rate: 2733.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2420 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 7: Chisq: 3.8953e+06 a[0] = 210.619 a[1] = 0.785526 a[2] = 202.28 a[3] = 4.75585 a[4] = 0.235841 SPE fit converged successfully Found minimum at 1.902339 Possible valley at 1.862047 Full peak (exp + gaussian) = 207.304 Valley located at 1.86205, 76.8521: PV = 2.7 New gain point: log(V) 3.17609 log(gain) 7.47257 Setting HV to 1580 V Using disc DAC 554 Noise rate: 3811.000000 minimum allowed: 400 Trying histogram with maximum 15pC Negative charge points discarded: 0 Histogram points out of range: under 4, over 2548 Attempting fit with parameter profile 0... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 33: Chisq: 4.00935e+07 a[0] = 527.307 a[1] = 3.67248 a[2] = 108.323 a[3] = -10.9048 a[4] = -0.000101895 SPE fit converged successfully Bad SPE fit: gain point at 1580 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 4.11851e+06 a[0] = 324.383 a[1] = 1.00255 a[2] = 184.156 a[3] = 6.76836 a[4] = 0.0953536 SPE fit converged successfully Found minimum at 2.436609 Possible valley at 2.503372 Full peak (exp + gaussian) = 184.522 Valley located at 2.50337, 58.8697: PV = 3.1 New gain point: log(V) 3.19866 log(gain) 7.62582 Setting HV to 1660 V Using disc DAC 608 Noise rate: 2698.000000 minimum allowed: 400 Trying histogram with maximum 21pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2727 Attempting fit with parameter profile 0... Starting fit at bin 12 Fitting SPE histogram... Final parameter values, iteration 19: Chisq: 2.9196e+06 a[0] = 92.6684 a[1] = 0.0780139 a[2] = 165.625 a[3] = 9.93413 a[4] = 0.0754438 SPE fit converged successfully Found minimum at 3.178922 Possible valley at 3.226189 Full peak (exp + gaussian) = 208.318 Valley located at 3.22619, 77.6054: PV = 2.7 New gain point: log(V) 3.22011 log(gain) 7.79247 Setting HV to 1740 V Using disc DAC 608 Noise rate: 3695.000000 minimum allowed: 400 Trying histogram with maximum 28pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2810 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 2.90688e+06 a[0] = 117.001 a[1] = 0.132136 a[2] = 171.883 a[3] = 14.0239 a[4] = 0.0329861 SPE fit converged successfully Found minimum at 5.329095 Possible valley at 5.224020 Full peak (exp + gaussian) = 190.223 Valley located at 5.22402, 72.0303: PV = 2.6 New gain point: log(V) 3.24055 log(gain) 7.94221 Setting HV to 1820 V Using disc DAC 608 Noise rate: 3248.000000 minimum allowed: 400 Trying histogram with maximum 37pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2811 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 10: Chisq: 2.953e+06 a[0] = 159.529 a[1] = 0.186475 a[2] = 175.402 a[3] = 18.9713 a[4] = 0.0153637 SPE fit converged successfully Found minimum at 7.209081 Possible valley at 7.262447 Full peak (exp + gaussian) = 180.041 Valley located at 7.26245, 62.5241: PV = 2.9 New gain point: log(V) 3.26007 log(gain) 8.07343 Setting HV to 1900 V Using disc DAC 608 Noise rate: 4599.000000 minimum allowed: 400 Trying histogram with maximum 48pC Negative charge points discarded: 0 Histogram points out of range: under 4, over 2968 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 27: Chisq: 4.25469e+06 a[0] = 282.638 a[1] = 0.29281 a[2] = 169.633 a[3] = 24.8453 a[4] = 0.00752004 SPE fit converged successfully Found minimum at 8.944305 Possible valley at 8.934392 Full peak (exp + gaussian) = 169.828 Valley located at 8.93439, 45.9344: PV = 3.7 New gain point: log(V) 3.27875 log(gain) 8.19058 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 2.695 mV orig: -0.698 mV ATWD 0 ch 1: -0.110 mV orig: 0.108 mV ATWD 0 ch 2: 1.389 mV orig: -0.205 mV ATWD 1 ch 0: -4.774 mV orig: -0.047 mV ATWD 1 ch 1: -18.406 mV orig: -0.428 mV ATWD 1 ch 2: -17.113 mV orig: -0.445 mV Writing XML calibration file... XML CRC32 = 0x18c0884f Retransmit XML (y/n)? n Rebooting...