*** 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.321800 Got disc point: SPE DAC: 600.000000 SPE Q: 0.938600 MPE DAC: 560.000000 MPE Q: 3.803800 Got disc point: SPE DAC: 650.000000 SPE Q: 1.679600 MPE DAC: 570.000000 MPE Q: 5.285800 Got disc point: SPE DAC: 700.000000 SPE Q: 2.420600 MPE DAC: 580.000000 MPE Q: 6.767800 Got disc point: SPE DAC: 750.000000 SPE Q: 3.211000 MPE DAC: 590.000000 MPE Q: 8.249800 Got disc point: SPE DAC: 800.000000 SPE Q: 3.952000 MPE DAC: 600.000000 MPE Q: 9.781200 Got disc point: SPE DAC: 850.000000 SPE Q: 4.693000 MPE DAC: 610.000000 MPE Q: 11.263200 Got disc point: SPE DAC: 900.000000 SPE Q: 5.434000 MPE DAC: 620.000000 MPE Q: 12.794600 Got disc point: SPE DAC: 950.000000 SPE Q: 6.175000 MPE DAC: 630.000000 MPE Q: 14.276600 Got disc point: SPE DAC: 1000.000000 SPE Q: 6.965400 MPE DAC: 640.000000 MPE Q: 15.857400 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -15.94 (err: 0.00405774) ch 1 gain (new): -1.80 (err: 0.000746935) ch 2 gain (new): -0.18 (err: 0.000755392) Performing FADC calibration... DAC: 725 baseline: 39.12 DAC: 750 baseline: 70.73 DAC: 775 baseline: 101.96 DAC: 800 baseline: 133.19 DAC: 825 baseline: 164.20 DAC: 850 baseline: 195.66 DAC: 875 baseline: 227.05 DAC: 900 baseline: 258.76 DAC: 925 baseline: 289.56 DAC: 950 baseline: 320.81 DAC: 975 baseline: 352.41 DAC: 1000 baseline: 383.96 FADC baseline fit m: 1.25276 b: -869.057 r^2: 0.999997 Setting pulser dac to 600 FADC gain: 8.93738e-05 Offset between ATWD and FADC leading edges: -65.1 ns Setting pulser dac to 700 FADC gain: 8.86514e-05 Offset between ATWD and FADC leading edges: -55.7 ns Setting pulser dac to 800 FADC gain: 8.7902e-05 Offset between ATWD and FADC leading edges: -55.4 ns Setting pulser dac to 900 FADC gain: 8.77027e-05 Offset between ATWD and FADC leading edges: -55.0 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: 147.954132 LED response: DAC: 1017 Amp: 147.986084 LED response: DAC: 1012 Amp: 148.101562 LED response: DAC: 1007 Amp: 147.945953 LED response: DAC: 1002 Amp: 147.949219 LED response: DAC: 997 Amp: 148.161346 LED response: DAC: 992 Amp: 147.974609 LED response: DAC: 987 Amp: 147.986084 LED response: DAC: 982 Amp: 148.090088 LED response: DAC: 977 Amp: 148.653564 LED response: DAC: 972 Amp: 148.000000 LED response: DAC: 967 Amp: 147.986893 LED response: DAC: 962 Amp: 147.968872 LED response: DAC: 957 Amp: 147.981979 LED response: DAC: 952 Amp: 147.995087 LED response: DAC: 947 Amp: 147.974609 LED response: DAC: 942 Amp: 147.974609 LED response: DAC: 937 Amp: 148.030304 LED response: DAC: 932 Amp: 147.968872 LED response: DAC: 927 Amp: 147.959045 LED response: DAC: 922 Amp: 147.969696 LED response: DAC: 917 Amp: 147.958237 LED response: DAC: 912 Amp: 147.968063 LED response: DAC: 907 Amp: 147.981979 LED response: DAC: 902 Amp: 147.983627 LED response: DAC: 897 Amp: 148.051590 LED response: DAC: 892 Amp: 148.089264 LED response: DAC: 887 Amp: 148.018845 LED response: DAC: 882 Amp: 148.057327 LED response: DAC: 877 Amp: 148.357910 LED response: DAC: 872 Amp: 149.090088 LED response: DAC: 867 Amp: 152.313675 LED response: DAC: 862 Amp: 169.888611 LED response: DAC: 857 Amp: 208.653564 LED response: DAC: 852 Amp: 299.599518 LED response: DAC: 847 Amp: 579.527466 LED response: DAC: 842 Amp: 873.698608 Search: DAC: 932 Level: 147.965286 Search: DAC: 887 Level: 148.029160 Search: DAC: 864 Level: 163.705765 Search: DAC: 853 Level: 284.284393 Search: DAC: 847 Level: 584.847656 Search: DAC: 844 Level: 797.447571 Search: DAC: 845 Level: 747.972778 Search: DAC: 846 Level: 684.156616 Search: DAC: 845 Level: 751.171021 Search: DAC: 932 Level: 140.583038 Search: DAC: 887 Level: 142.147110 Search: DAC: 864 Level: 325.911865 Search: DAC: 853 Level: 836.731628 Search: DAC: 858 Level: 597.349915 Search: DAC: 855 Level: 750.530151 Search: DAC: 856 Level: 697.537354 Search: DAC: 855 Level: 749.639587 Old gain for ch 1: -1.79728 Old error for ch 1: 0.000746935 Gain for ch 1: -1.76175 Error for ch 1: 0.00017502 Old gain for ch 2: -0.18367 Old error for ch 2: 0.000755392 Gain for ch 2: -0.196536 Error for ch 2: 3.46948e-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 837 for ATWD peak of 559.8 V 1100 Avg signal peak -1.13 Avg current peak -27.10 Triggers with too little light: 72 tt: 146.16 sigma: 0.372 Setting HV to 1200 V Using brightness 843 for ATWD peak of 460.5 V 1200 Avg signal peak -1.16 Avg current peak -23.45 Triggers with too little light: 231 tt: 143.42 sigma: 0.221 Setting HV to 1300 V Using brightness 846 for ATWD peak of 505.0 V 1300 Avg signal peak -1.10 Avg current peak -26.53 Triggers with too little light: 121 tt: 141.42 sigma: 0.384 Setting HV to 1400 V Using brightness 849 for ATWD peak of 436.9 V 1400 Avg signal peak -0.94 Avg current peak -31.85 Triggers with too little light: 134 tt: 139.73 sigma: 0.445 Setting HV to 1500 V Using brightness 852 for ATWD peak of 466.1 V 1500 Avg signal peak -0.89 Avg current peak -33.28 Triggers with too little light: 140 tt: 138.09 sigma: 0.559 Setting HV to 1600 V Using brightness 855 for ATWD peak of 486.9 V 1600 Avg signal peak -0.93 Avg current peak -30.91 Triggers with too little light: 135 tt: 136.31 sigma: 0.701 Setting HV to 1700 V Using brightness 858 for ATWD peak of 458.4 V 1700 Avg signal peak -0.91 Avg current peak -27.54 Triggers with too little light: 137 tt: 134.56 sigma: 0.910 Setting HV to 1800 V Using brightness 858 for ATWD peak of 622.2 V 1800 Avg signal peak -1.11 Avg current peak -25.48 Triggers with too little light: 77 tt: 133.03 sigma: 1.061 Setting HV to 1900 V Using brightness 861 for ATWD peak of 454.6 V 1900 Avg signal peak -1.18 Avg current peak -24.26 Triggers with too little light: 111 tt: 131.70 sigma: 1.289 1100 0.0301511 146.159 1200 0.0288675 143.419 1300 0.027735 141.417 1400 0.0267261 139.731 1500 0.0258199 138.091 1600 0.025 136.31 1700 0.0242536 134.564 1800 0.0235702 133.031 1900 0.0229416 131.7 Fit: m 1977.41 b 86.6225 r2 0.997272 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 545 Noise rate: 1793.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 3402 Attempting fit with parameter profile 0... Starting fit at bin 44 Fitting SPE histogram... Final parameter values, iteration 15: Chisq: 1.41861e+07 a[0] = -45.9321 a[1] = 5.9238 a[2] = 209.024 a[3] = 0.508877 a[4] = 16.9391 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 44 Fitting SPE histogram... Final parameter values, iteration 76: Chisq: 4.47066e+07 a[0] = -12.5459 a[1] = 132.886 a[2] = 289.268 a[3] = 0.513227 a[4] = 24.8738 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 44 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 1.41909e+07 a[0] = -35.6648 a[1] = 4.03709 a[2] = 211.47 a[3] = 0.508012 a[4] = 16.7249 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: 2245.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 3038 Attempting fit with parameter profile 0... Starting fit at bin 22 Fitting SPE histogram... Final parameter values, iteration 16: Chisq: 6.6998e+06 a[0] = 57.8704 a[1] = 1.09594 a[2] = 190.289 a[3] = 0.948112 a[4] = 6.06326 SPE fit converged successfully Found minimum at 0.189622 Possible valley at 0.185482 Full peak (exp + gaussian) = 210.763 Valley located at 0.185482, 52.8217: PV = 4 New gain point: log(V) 3.04139 log(gain) 6.7722 Setting HV to 1180 V Using disc DAC 545 Noise rate: 2136.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 3222 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 4.1842e+06 a[0] = 65.4641 a[1] = 0.293399 a[2] = 140.353 a[3] = 1.67187 a[4] = 2.87546 SPE fit converged successfully Found minimum at 0.468125 Possible valley at 0.484793 Full peak (exp + gaussian) = 180.437 Valley located at 0.484793, 59.2251: PV = 3 New gain point: log(V) 3.07188 log(gain) 7.01854 Setting HV to 1260 V Using disc DAC 545 Noise rate: 2789.000000 minimum allowed: 400 Trying histogram with maximum 4pC Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2632 Attempting fit with parameter profile 0... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 4.79281e+06 a[0] = 102.71 a[1] = 0.323828 a[2] = 172.58 a[3] = 2.82147 a[4] = 1.15839 SPE fit converged successfully Found minimum at 1.128590 Possible valley at 1.112597 Full peak (exp + gaussian) = 213.772 Valley located at 1.1126, 77.4972: PV = 2.8 New gain point: log(V) 3.10037 log(gain) 7.24581 Setting HV to 1340 V Using disc DAC 554 Noise rate: 2366.000000 minimum allowed: 400 Trying histogram with maximum 6pC Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 3154 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 3.26541e+06 a[0] = 91.8728 a[1] = 0.283804 a[2] = 149.95 a[3] = 4.56183 a[4] = 0.377461 SPE fit converged successfully Found minimum at 1.733498 Possible valley at 1.743054 Full peak (exp + gaussian) = 175.122 Valley located at 1.74305, 63.4928: PV = 2.8 New gain point: log(V) 3.1271 log(gain) 7.45448 Setting HV to 1420 V Using disc DAC 554 Noise rate: 3202.000000 minimum allowed: 400 Trying histogram with maximum 8pC Trying histogram with maximum 12pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 3071 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 38: Chisq: 2.62132e+07 a[0] = 2742.3 a[1] = 6.00212 a[2] = 61.923 a[3] = -11.1211 a[4] = -0.0015266 SPE fit converged successfully Bad SPE fit: gain point at 1420 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 7: Chisq: 5.68141e+06 a[0] = 656.537 a[1] = 2.21072 a[2] = 148.995 a[3] = 6.7902 a[4] = 0.0807797 SPE fit converged successfully Found minimum at 2.037059 Possible valley at 1.987331 Full peak (exp + gaussian) = 148.996 Valley located at 1.98733, 31.2296: PV = 4.8 New gain point: log(V) 3.15229 log(gain) 7.62722 Setting HV to 1500 V Using disc DAC 554 Noise rate: 3893.000000 minimum allowed: 400 Trying histogram with maximum 11pC Trying histogram with maximum 16pC Negative charge points discarded: 0 Histogram points out of range: under 7, over 3620 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 31: Chisq: 1.61174e+07 a[0] = 2140.45 a[1] = 3.48787 a[2] = 23.6392 a[3] = -31.2705 a[4] = -0.000767336 SPE fit converged successfully Bad SPE fit: gain point at 1500 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 8: Chisq: 6.47552e+06 a[0] = 1613.73 a[1] = 2.67226 a[2] = 117.769 a[3] = 10.4303 a[4] = 0.0284056 SPE fit converged successfully Found minimum at 2.294672 Possible valley at 2.334679 Full peak (exp + gaussian) = 117.769 Valley located at 2.33468, 21.4525: PV = 5.5 New gain point: log(V) 3.17609 log(gain) 7.81364 Setting HV to 1580 V Using disc DAC 554 Noise rate: 4277.000000 minimum allowed: 400 Trying histogram with maximum 15pC Trying histogram with maximum 23pC Negative charge points discarded: 0 Histogram points out of range: under 6, over 3648 Attempting fit with parameter profile 0... Starting fit at bin 4 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 3: Chisq: 2.08956e+08 a[0] = 822.623 a[1] = 0.601095 a[2] = -57.5093 a[3] = 375.158 a[4] = 0.00172709 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1580 V not used Error is: 1 Attempting fit with parameter profile 1... Starting fit at bin 4 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 8.27883e+06 a[0] = 1614.55 a[1] = 1.80628 a[2] = 105.545 a[3] = 15.837 a[4] = 0.0119076 SPE fit converged successfully Found minimum at 3.484141 Possible valley at 3.516069 Full peak (exp + gaussian) = 105.545 Valley located at 3.51607, 20.1308: PV = 5.2 New gain point: log(V) 3.19866 log(gain) 7.99501 Setting HV to 1660 V Using disc DAC 604 Noise rate: 4388.000000 minimum allowed: 400 Trying histogram with maximum 21pC Trying histogram with maximum 31pC Trying histogram with maximum 46pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2545 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 33: Chisq: 9.79638e+06 a[0] = 2040.11 a[1] = 1.16572 a[2] = 174.764 a[3] = 22.185 a[4] = 0.00731786 SPE fit converged successfully Found minimum at 5.324399 Possible valley at 5.238379 Full peak (exp + gaussian) = 174.764 Valley located at 5.23838, 25.9132: PV = 6.7 New gain point: log(V) 3.22011 log(gain) 8.1414 Setting HV to 1740 V Using disc DAC 604 Noise rate: 5402.000000 minimum allowed: 400 Trying histogram with maximum 28pC Trying histogram with maximum 41pC Trying histogram with maximum 62pC Negative charge points discarded: 0 Histogram points out of range: under 5, over 2457 Attempting fit with parameter profile 0... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 27: Chisq: 3.39927e+07 a[0] = 5767.24 a[1] = 1.4594 a[2] = 41.6987 a[3] = -127.355 a[4] = -3.45554e-05 SPE fit converged successfully Bad SPE fit: gain point at 1740 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 8: Chisq: 9.87401e+06 a[0] = 4203.75 a[1] = 1.17036 a[2] = 153.033 a[3] = 31.4423 a[4] = 0.00359546 SPE fit converged successfully Found minimum at 6.288450 Possible valley at 6.361264 Full peak (exp + gaussian) = 153.033 Valley located at 6.36126, 18.3978: PV = 8.3 New gain point: log(V) 3.24055 log(gain) 8.29285 Setting HV to 1820 V Using disc DAC 604 Noise rate: 5994.000000 minimum allowed: 400 Trying histogram with maximum 37pC Trying histogram with maximum 55pC Trying histogram with maximum 82pC Negative charge points discarded: 0 Histogram points out of range: under 8, over 2448 Attempting fit with parameter profile 0... Starting fit at bin 3 Fitting SPE histogram... Final parameter values, iteration 18: Chisq: 7.68707e+07 a[0] = 1829.79 a[1] = 0.640977 a[2] = 52.6167 a[3] = -53.671 a[4] = -5.64085e-05 SPE fit converged successfully Bad SPE fit: gain point at 1820 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 3 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 5.2746e+07 a[0] = 1746.01 a[1] = 0.548272 a[2] = 140.785 a[3] = 43.9327 a[4] = 0.00214083 SPE fit converged successfully Found minimum at 11.422512 Possible valley at 11.246761 Full peak (exp + gaussian) = 140.785 Valley located at 11.2468, 17.9617: PV = 7.8 New gain point: log(V) 3.26007 log(gain) 8.43813 Setting HV to 1900 V Using disc DAC 604 Noise rate: 6281.000000 minimum allowed: 400 Trying histogram with maximum 48pC Trying histogram with maximum 72pC Trying histogram with maximum 108pC Negative charge points discarded: 0 Histogram points out of range: under 7, over 2263 Attempting fit with parameter profile 0... Starting fit at bin 2 Fitting SPE histogram... Final parameter values, iteration 76: Chisq: 1.6664e+08 a[0] = 31.3172 a[1] = -0.0152617 a[2] = 1.56699e+06 a[3] = -62.4063 a[4] = 0.00186838 SPE fit error: singular matrix or no convergence! Bad SPE fit: gain point at 1900 V not used Error is: 1 Attempting fit with parameter profile 1... Starting fit at bin 2 Fitting SPE histogram... Final parameter values, iteration 14: Chisq: 1.19462e+08 a[0] = 1562.11 a[1] = 0.356537 a[2] = 126.996 a[3] = 60.3987 a[4] = 0.00121939 SPE fit converged successfully Found minimum at 16.911617 Possible valley at 16.911617 Full peak (exp + gaussian) = 126.996 Valley located at 16.9116, 16.4152: PV = 7.7 New gain point: log(V) 3.27875 log(gain) 8.57636 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 1.323 mV orig: -0.293 mV ATWD 0 ch 1: -0.886 mV orig: 0.298 mV ATWD 0 ch 2: 0.902 mV orig: -0.073 mV ATWD 1 ch 0: -1.291 mV orig: -0.343 mV ATWD 1 ch 1: -12.716 mV orig: -0.288 mV ATWD 1 ch 2: -13.518 mV orig: -0.201 mV Writing XML calibration file... XML CRC32 = 0xe8ef73d3 Retransmit XML (y/n)? n Rebooting...