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.124200 Got disc point: SPE DAC: 600.000000 SPE Q: 0.938600 MPE DAC: 560.000000 MPE Q: 3.507400 Got disc point: SPE DAC: 650.000000 SPE Q: 1.630200 MPE DAC: 570.000000 MPE Q: 4.841200 Got disc point: SPE DAC: 700.000000 SPE Q: 2.321800 MPE DAC: 580.000000 MPE Q: 6.224400 Got disc point: SPE DAC: 750.000000 SPE Q: 3.013400 MPE DAC: 590.000000 MPE Q: 7.607600 Got disc point: SPE DAC: 800.000000 SPE Q: 3.754400 MPE DAC: 600.000000 MPE Q: 9.040200 Got disc point: SPE DAC: 850.000000 SPE Q: 4.446000 MPE DAC: 610.000000 MPE Q: 10.374000 Got disc point: SPE DAC: 900.000000 SPE Q: 5.187000 MPE DAC: 620.000000 MPE Q: 11.806600 Got disc point: SPE DAC: 950.000000 SPE Q: 5.878600 MPE DAC: 630.000000 MPE Q: 13.189800 Got disc point: SPE DAC: 1000.000000 SPE Q: 6.619600 MPE DAC: 640.000000 MPE Q: 14.622400 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -15.70 (err: 0.00429738) ch 1 gain (new): -1.75 (err: 0.000712754) ch 2 gain (new): -0.20 (err: 0.000729581) Performing FADC calibration... DAC: 725 baseline: 51.34 DAC: 750 baseline: 82.54 DAC: 775 baseline: 113.84 DAC: 800 baseline: 144.65 DAC: 825 baseline: 175.35 DAC: 850 baseline: 206.32 DAC: 875 baseline: 237.36 DAC: 900 baseline: 268.43 DAC: 925 baseline: 299.47 DAC: 950 baseline: 330.60 DAC: 975 baseline: 362.05 DAC: 1000 baseline: 393.70 FADC baseline fit m: 1.24242 b: -849.447 r^2: 0.999991 Setting pulser dac to 600 FADC gain: 9.06392e-05 Offset between ATWD and FADC leading edges: -77.4 ns Setting pulser dac to 700 FADC gain: 8.96884e-05 Offset between ATWD and FADC leading edges: -77.0 ns Setting pulser dac to 800 FADC gain: 8.95035e-05 Offset between ATWD and FADC leading edges: -76.7 ns Setting pulser dac to 900 FADC gain: 8.95186e-05 Offset between ATWD and FADC leading edges: -76.5 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: 140.619171 LED response: DAC: 1017 Amp: 140.624893 LED response: DAC: 1012 Amp: 140.561020 LED response: DAC: 1007 Amp: 140.583954 LED response: DAC: 1002 Amp: 140.589676 LED response: DAC: 997 Amp: 140.636368 LED response: DAC: 992 Amp: 140.606873 LED response: DAC: 987 Amp: 140.653564 LED response: DAC: 982 Amp: 140.614258 LED response: DAC: 977 Amp: 140.606873 LED response: DAC: 972 Amp: 140.640457 LED response: DAC: 967 Amp: 140.656021 LED response: DAC: 962 Amp: 140.660110 LED response: DAC: 957 Amp: 140.622437 LED response: DAC: 952 Amp: 140.634720 LED response: DAC: 947 Amp: 140.576584 LED response: DAC: 942 Amp: 140.583954 LED response: DAC: 937 Amp: 140.628174 LED response: DAC: 932 Amp: 140.618347 LED response: DAC: 927 Amp: 140.570847 LED response: DAC: 922 Amp: 140.596237 LED response: DAC: 917 Amp: 140.599503 LED response: DAC: 912 Amp: 140.592957 LED response: DAC: 907 Amp: 140.630630 LED response: DAC: 902 Amp: 140.595413 LED response: DAC: 897 Amp: 140.589676 LED response: DAC: 892 Amp: 141.203110 LED response: DAC: 887 Amp: 144.099915 LED response: DAC: 882 Amp: 180.013107 LED response: DAC: 877 Amp: 272.449646 LED response: DAC: 872 Amp: 432.833740 LED response: DAC: 867 Amp: 603.950012 LED response: DAC: 862 Amp: 781.480774 LED response: DAC: 857 Amp: 934.511902 Search: DAC: 940 Level: 140.587296 Search: DAC: 898 Level: 140.628769 Search: DAC: 877 Level: 279.425629 Search: DAC: 867 Level: 609.596985 Search: DAC: 862 Level: 782.365356 Search: DAC: 864 Level: 714.752930 Search: DAC: 865 Level: 680.857117 Search: DAC: 864 Level: 715.422974 Search: DAC: 940 Level: 146.315430 Search: DAC: 898 Level: 146.346008 Search: DAC: 877 Level: 582.380432 Search: DAC: 867 Level: 904.159912 Search: DAC: 872 Level: 740.654663 Search: DAC: 874 Level: 676.402344 Search: DAC: 873 Level: 710.881409 Search: DAC: 873 Level: 708.027527 Old gain for ch 1: -1.75172 Old error for ch 1: 0.000712754 Gain for ch 1: -1.706 Error for ch 1: 0.000421522 Old gain for ch 2: -0.19569 Old error for ch 2: 0.000729581 Gain for ch 2: -0.176307 Error for ch 2: 4.41974e-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 861 for ATWD peak of 424.8 V 1100 Avg signal peak -1.12 Avg current peak -31.23 Triggers with too little light: 1 tt: 144.05 sigma: 0.124 Setting HV to 1200 V Using brightness 864 for ATWD peak of 469.6 V 1200 Avg signal peak -1.26 Avg current peak -33.73 Triggers with too little light: 52 tt: 141.62 sigma: 0.393 Setting HV to 1300 V Using brightness 867 for ATWD peak of 544.1 V 1300 Avg signal peak -1.25 Avg current peak -34.61 Triggers with too little light: 65 tt: 139.36 sigma: 0.322 Setting HV to 1400 V Using brightness 873 for ATWD peak of 487.8 V 1400 Avg signal peak -1.11 Avg current peak -32.29 Triggers with too little light: 157 tt: 137.46 sigma: 0.438 Setting HV to 1500 V Using brightness 876 for ATWD peak of 417.4 V 1500 Avg signal peak -1.11 Avg current peak -30.05 Triggers with too little light: 188 tt: 135.53 sigma: 0.493 Setting HV to 1600 V Using brightness 879 for ATWD peak of 410.0 V 1600 Avg signal peak -1.11 Avg current peak -29.20 Triggers with too little light: 243 tt: 133.91 sigma: 0.788 Setting HV to 1700 V Using brightness 879 for ATWD peak of 419.3 V 1700 Avg signal peak -1.30 Avg current peak -30.31 Triggers with too little light: 208 tt: 132.26 sigma: 0.966 Setting HV to 1800 V Using brightness 882 for ATWD peak of 428.4 V 1800 Avg signal peak -1.21 Avg current peak -30.61 Triggers with too little light: 260 tt: 131.20 sigma: 2.073 Setting HV to 1900 V Using brightness 882 for ATWD peak of 456.0 V 1900 Avg signal peak -1.32 Avg current peak -30.75 Triggers with too little light: 223 tt: 129.89 sigma: 1.357 1100 0.0301511 144.046 1200 0.0288675 141.623 1300 0.027735 139.357 1400 0.0267261 137.461 1500 0.0258199 135.533 1600 0.025 133.905 1700 0.0242536 132.26 1800 0.0235702 131.203 1900 0.0229416 129.894 Fit: m 1976.84 b 84.5105 r2 0.999634 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 544 Noise rate: 2065.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 2390, over 2852 Attempting fit with parameter profile 0... Starting fit at bin 1 Fitting SPE histogram... Final parameter values, iteration 13: Chisq: 7.5773e+07 a[0] = 370.856 a[1] = 30.9971 a[2] = 47.3602 a[3] = -1.91098 a[4] = -0.078135 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 1 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 6.552e+07 a[0] = 400.414 a[1] = 21.2049 a[2] = 106.085 a[3] = 0.536148 a[4] = 9.17292 SPE fit converged successfully Found minimum at 0.171567 Possible valley at 0.174087 Full peak (exp + gaussian) = 106.089 Valley located at 0.174087, 41.8577: PV = 2.5 New gain point: log(V) 3.0086 log(gain) 6.52462 Setting HV to 1100 V Using disc DAC 544 Noise rate: 2070.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 2286, over 2536 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] = 980 a[1] = Inf a[2] = 980 a[3] = 0 a[4] = 2.16143 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... Final parameter values, iteration 6: Chisq: 2.38179e+07 a[0] = 791.177 a[1] = 40.7633 a[2] = 106.534 a[3] = 0.896295 a[4] = 1.4363 SPE fit converged successfully Found minimum at 0.143407 Possible valley at 0.141240 Full peak (exp + gaussian) = 106.534 Valley located at 0.14124, 49.4747: PV = 2.2 New gain point: log(V) 3.04139 log(gain) 6.74779 Setting HV to 1180 V Using disc DAC 544 Noise rate: 2464.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 1800, over 3136 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] = 1182 a[1] = Inf a[2] = 1182 a[3] = 0 a[4] = 0.77547 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... Final parameter values, iteration 8: Chisq: 1.3434e+07 a[0] = 1074.4 a[1] = 58.8847 a[2] = 86.5312 a[3] = 1.49804 a[4] = 0.1945 SPE fit converged successfully Found minimum at 0.119843 Possible valley at 0.128882 Full peak (exp + gaussian) = 86.5312 Valley located at 0.128882, 60.6366: PV = 1.4 New gain point: log(V) 3.07188 log(gain) 6.97086 Setting HV to 1260 V Using disc DAC 544 Noise rate: 3021.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 945, over 2443 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] = 1591 a[1] = Inf a[2] = 1591 a[3] = 0 a[4] = 0.24993 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... Final parameter values, iteration 14: Chisq: 1.64156e+07 a[0] = 1508.49 a[1] = 46.1485 a[2] = 107.089 a[3] = 2.18421 a[4] = 0.0830556 SPE fit converged successfully Found minimum at 0.174738 Possible valley at 0.171382 Full peak (exp + gaussian) = 107.089 Valley located at 0.171382, 77.0445: PV = 1.4 New gain point: log(V) 3.10037 log(gain) 7.13463 Setting HV to 1340 V Using disc DAC 553 Noise rate: 2102.000000 minimum allowed: 400 Trying histogram with maximum 6pC Trying histogram with maximum 8pC Trying histogram with maximum 12pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2447 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 17: Chisq: 2.22221e+06 a[0] = 349.41 a[1] = 1.46636 a[2] = 183.798 a[3] = 4.54492 a[4] = 0.133716 SPE fit converged successfully Found minimum at 1.636172 Possible valley at 1.640627 Full peak (exp + gaussian) = 184.244 Valley located at 1.64063, 91.0147: PV = 2 New gain point: log(V) 3.1271 log(gain) 7.45286 Setting HV to 1420 V Using disc DAC 553 Noise rate: 2738.000000 minimum allowed: 400 Trying histogram with maximum 8pC Trying histogram with maximum 12pC Trying histogram with maximum 17pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2642 Attempting fit with parameter profile 0... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 20: Chisq: 2.49695e+06 a[0] = 362.621 a[1] = 1.18053 a[2] = 160.351 a[3] = 6.98687 a[4] = 0.0500551 SPE fit converged successfully Found minimum at 2.375534 Possible valley at 2.385952 Full peak (exp + gaussian) = 160.446 Valley located at 2.38595, 77.2632: PV = 2.1 New gain point: log(V) 3.15229 log(gain) 7.63962 Setting HV to 1500 V Using disc DAC 553 Noise rate: 3433.000000 minimum allowed: 400 Trying histogram with maximum 11pC Trying histogram with maximum 16pC Trying histogram with maximum 24pC Negative charge points discarded: 0 Histogram points out of range: under 4, over 2875 Attempting fit with parameter profile 0... Starting fit at bin 4 Fitting SPE histogram... Final parameter values, iteration 22: Chisq: 2.4472e+06 a[0] = 356.746 a[1] = 0.789192 a[2] = 146.049 a[3] = 10.8538 a[4] = 0.0222967 SPE fit converged successfully Found minimum at 3.690284 Possible valley at 3.720282 Full peak (exp + gaussian) = 146.117 Valley located at 3.72028, 65.8964: PV = 2.2 New gain point: log(V) 3.17609 log(gain) 7.83092 Setting HV to 1580 V Using disc DAC 553 Noise rate: 3639.000000 minimum allowed: 400 Trying histogram with maximum 15pC Trying histogram with maximum 23pC Trying histogram with maximum 34pC Negative charge points discarded: 0 Histogram points out of range: under 5, over 2932 Attempting fit with parameter profile 0... Starting fit at bin 3 Fitting SPE histogram... Final parameter values, iteration 20: Chisq: 2.28174e+06 a[0] = 406.832 a[1] = 0.668918 a[2] = 136.546 a[3] = 16.1255 a[4] = 0.00931646 SPE fit converged successfully Found minimum at 5.160151 Possible valley at 5.090047 Full peak (exp + gaussian) = 136.554 Valley located at 5.09005, 57.4199: PV = 2.4 New gain point: log(V) 3.19866 log(gain) 8.00285 Setting HV to 1660 V Using disc DAC 606 Noise rate: 2759.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 3251 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 18: Chisq: 2.1999e+06 a[0] = 248.791 a[1] = 0.273589 a[2] = 140.012 a[3] = 24.094 a[4] = 0.00555792 SPE fit converged successfully Found minimum at 8.673838 Possible valley at 8.650032 Full peak (exp + gaussian) = 140.353 Valley located at 8.65003, 60.529: PV = 2.3 New gain point: log(V) 3.22011 log(gain) 8.17725 Setting HV to 1740 V Using disc DAC 606 Noise rate: 3035.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 1, over 3568 Attempting fit with parameter profile 0... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 28: Chisq: 2.87631e+06 a[0] = 309.005 a[1] = 0.266875 a[2] = 128.832 a[3] = 33.7479 a[4] = 0.00251973 SPE fit converged successfully Found minimum at 11.474290 Possible valley at 11.256730 Full peak (exp + gaussian) = 128.87 Valley located at 11.2567, 51.3342: PV = 2.5 New gain point: log(V) 3.24055 log(gain) 8.32358 Setting HV to 1820 V Using disc DAC 606 Noise rate: 3420.000000 minimum allowed: 400 Trying histogram with maximum 37pC Trying histogram with maximum 55pC Trying histogram with maximum 82pC Trying histogram with maximum 123pC Negative charge points discarded: 0 Histogram points out of range: under 7, over 2394 Attempting fit with parameter profile 0... Starting fit at bin 3 Fitting SPE histogram... Final parameter values, iteration 24: Chisq: 2.97575e+06 a[0] = 512.878 a[1] = 0.242635 a[2] = 176.201 a[3] = 46.6949 a[4] = 0.00114468 SPE fit converged successfully Found minimum at 14.008451 Possible valley at 14.242534 Full peak (exp + gaussian) = 176.207 Valley located at 14.2425, 68.9666: PV = 2.6 New gain point: log(V) 3.26007 log(gain) 8.46461 Setting HV to 1900 V Using disc DAC 606 Noise rate: 3843.000000 minimum allowed: 400 Trying histogram with maximum 48pC Trying histogram with maximum 72pC Trying histogram with maximum 108pC Trying histogram with maximum 161pC Negative charge points discarded: 0 Histogram points out of range: under 6, over 2479 Attempting fit with parameter profile 0... Starting fit at bin 2 Fitting SPE histogram... Final parameter values, iteration 24: Chisq: 3.27261e+06 a[0] = 477.144 a[1] = 0.184918 a[2] = 168.172 a[3] = 63.9114 a[4] = 0.000608423 SPE fit converged successfully Found minimum at 19.173382 Possible valley at 18.880968 Full peak (exp + gaussian) = 168.175 Valley located at 18.881, 63.5052: PV = 2.6 New gain point: log(V) 3.27875 log(gain) 8.60092 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 5.066 mV orig: -0.769 mV ATWD 0 ch 1: 0.448 mV orig: 0.081 mV ATWD 0 ch 2: 2.029 mV orig: -0.292 mV ATWD 1 ch 0: 0.803 mV orig: -0.101 mV ATWD 1 ch 1: 1.067 mV orig: -0.269 mV ATWD 1 ch 2: 1.105 mV orig: -0.140 mV Writing XML calibration file... XML CRC32 = 0x31e7e789 Retransmit XML (y/n)? n Rebooting...