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.049400 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.594200 Got disc point: SPE DAC: 700.000000 SPE Q: 2.025400 MPE DAC: 580.000000 MPE Q: 5.977400 Got disc point: SPE DAC: 750.000000 SPE Q: 2.667600 MPE DAC: 590.000000 MPE Q: 7.311200 Got disc point: SPE DAC: 800.000000 SPE Q: 3.359200 MPE DAC: 600.000000 MPE Q: 8.694400 Got disc point: SPE DAC: 850.000000 SPE Q: 4.001400 MPE DAC: 610.000000 MPE Q: 10.028200 Got disc point: SPE DAC: 900.000000 SPE Q: 4.643600 MPE DAC: 620.000000 MPE Q: 11.362000 Got disc point: SPE DAC: 950.000000 SPE Q: 5.285800 MPE DAC: 630.000000 MPE Q: 12.745200 Got disc point: SPE DAC: 1000.000000 SPE Q: 5.977400 MPE DAC: 640.000000 MPE Q: 14.177800 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -17.99 (err: 0.00357244) ch 1 gain (new): -2.02 (err: 0.000641601) ch 2 gain (new): -0.22 (err: 0.000798262) Performing FADC calibration... DAC: 725 baseline: 42.65 DAC: 750 baseline: 73.25 DAC: 775 baseline: 104.49 DAC: 800 baseline: 135.57 DAC: 825 baseline: 165.67 DAC: 850 baseline: 197.01 DAC: 875 baseline: 228.22 DAC: 900 baseline: 259.36 DAC: 925 baseline: 289.61 DAC: 950 baseline: 320.96 DAC: 975 baseline: 352.27 DAC: 1000 baseline: 383.58 FADC baseline fit m: 1.23905 b: -855.965 r^2: 0.999991 Setting pulser dac to 600 FADC gain: 7.75407e-05 Offset between ATWD and FADC leading edges: -75.1 ns Setting pulser dac to 700 FADC gain: 7.74817e-05 Offset between ATWD and FADC leading edges: -74.9 ns Setting pulser dac to 800 FADC gain: 7.6863e-05 Offset between ATWD and FADC leading edges: -74.4 ns Setting pulser dac to 900 FADC gain: 7.69663e-05 Offset between ATWD and FADC leading edges: -74.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: 139.654388 LED response: DAC: 1017 Amp: 139.602783 LED response: DAC: 1012 Amp: 139.608521 LED response: DAC: 1007 Amp: 139.639633 LED response: DAC: 1002 Amp: 139.609329 LED response: DAC: 997 Amp: 139.641281 LED response: DAC: 992 Amp: 139.657654 LED response: DAC: 987 Amp: 139.613434 LED response: DAC: 982 Amp: 139.622437 LED response: DAC: 977 Amp: 139.616714 LED response: DAC: 972 Amp: 139.623260 LED response: DAC: 967 Amp: 139.696152 LED response: DAC: 962 Amp: 139.663391 LED response: DAC: 957 Amp: 139.702698 LED response: DAC: 952 Amp: 139.640457 LED response: DAC: 947 Amp: 139.635544 LED response: DAC: 942 Amp: 139.595413 LED response: DAC: 937 Amp: 139.611801 LED response: DAC: 932 Amp: 139.654388 LED response: DAC: 927 Amp: 139.689606 LED response: DAC: 922 Amp: 139.714981 LED response: DAC: 917 Amp: 139.647827 LED response: DAC: 912 Amp: 139.619171 LED response: DAC: 907 Amp: 139.628998 LED response: DAC: 902 Amp: 139.649475 LED response: DAC: 897 Amp: 139.742828 LED response: DAC: 892 Amp: 139.651932 LED response: DAC: 887 Amp: 139.643738 LED response: DAC: 882 Amp: 139.639633 LED response: DAC: 877 Amp: 139.719894 LED response: DAC: 872 Amp: 139.654388 LED response: DAC: 867 Amp: 139.759216 LED response: DAC: 862 Amp: 139.983627 LED response: DAC: 857 Amp: 141.702698 LED response: DAC: 852 Amp: 152.776413 LED response: DAC: 847 Amp: 179.299759 LED response: DAC: 842 Amp: 239.436523 LED response: DAC: 837 Amp: 368.592957 LED response: DAC: 832 Amp: 600.999207 LED response: DAC: 827 Amp: 845.064697 Search: DAC: 925 Level: 139.652145 Search: DAC: 876 Level: 139.665466 Search: DAC: 851 Level: 157.028503 Search: DAC: 839 Level: 309.693634 Search: DAC: 833 Level: 548.835815 Search: DAC: 830 Level: 708.903015 Search: DAC: 831 Level: 660.527222 Search: DAC: 830 Level: 712.161560 Search: DAC: 925 Level: 136.169662 Search: DAC: 876 Level: 137.762131 Search: DAC: 851 Level: 350.336182 Search: DAC: 839 Level: 899.457397 Search: DAC: 845 Level: 635.876465 Search: DAC: 842 Level: 779.942993 Search: DAC: 843 Level: 729.088135 Search: DAC: 844 Level: 678.532776 Search: DAC: 843 Level: 728.238831 Old gain for ch 1: -2.01921 Old error for ch 1: 0.000641601 Gain for ch 1: -1.97774 Error for ch 1: 0.000181657 Old gain for ch 2: -0.222928 Old error for ch 2: 0.000798262 Gain for ch 2: -0.21517 Error for ch 2: 4.62622e-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 792 for ATWD peak of 429.1 V 1100 Avg signal peak -0.55 Avg current peak -33.83 Triggers with too little light: 0 tt: 143.18 sigma: 0.062 Setting HV to 1200 V Using brightness 819 for ATWD peak of 436.7 V 1200 Avg signal peak -0.76 Avg current peak -29.67 Triggers with too little light: 4 tt: 142.53 sigma: 0.412 Setting HV to 1300 V Using brightness 831 for ATWD peak of 402.4 V 1300 Avg signal peak -0.78 Avg current peak -26.83 Triggers with too little light: 102 tt: 140.91 sigma: 0.389 Setting HV to 1400 V Using brightness 837 for ATWD peak of 436.0 V 1400 Avg signal peak -0.79 Avg current peak -23.48 Triggers with too little light: 171 tt: 138.67 sigma: 0.378 Setting HV to 1500 V Using brightness 837 for ATWD peak of 674.3 V 1500 Avg signal peak -1.04 Avg current peak -22.87 Triggers with too little light: 60 tt: 136.87 sigma: 0.351 Setting HV to 1600 V Using brightness 843 for ATWD peak of 412.5 V 1600 Avg signal peak -0.91 Avg current peak -26.34 Triggers with too little light: 189 tt: 135.43 sigma: 0.412 Setting HV to 1700 V Using brightness 846 for ATWD peak of 415.8 V 1700 Avg signal peak -0.90 Avg current peak -30.25 Triggers with too little light: 183 tt: 134.41 sigma: 0.565 Setting HV to 1800 V Using brightness 846 for ATWD peak of 547.5 V 1800 Avg signal peak -1.11 Avg current peak -32.68 Triggers with too little light: 121 tt: 133.28 sigma: 0.697 Setting HV to 1900 V Using brightness 849 for ATWD peak of 438.9 V 1900 Avg signal peak -1.05 Avg current peak -30.61 Triggers with too little light: 110 tt: 131.81 sigma: 1.002 1100 0.0301511 143.181 1200 0.0288675 142.529 1300 0.027735 140.915 1400 0.0267261 138.67 1500 0.0258199 136.87 1600 0.025 135.433 1700 0.0242536 134.413 1800 0.0235702 133.284 1900 0.0229416 131.812 R^2 value is too low (0.98501): discarding point 0 Fit: m 1807.52 b 90.4424 r2 0.996824 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 554 Noise rate: 1757.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1999 Attempting fit with parameter profile 0... Starting fit at bin 34 Fitting SPE histogram... Final parameter values, iteration 15: Chisq: 2.22686e+07 a[0] = 6.27153 a[1] = -2.83826 a[2] = 445.344 a[3] = 0.297036 a[4] = 100.145 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 34 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 3.91641e+07 a[0] = 67648.9 a[1] = 41613.3 a[2] = 422.012 a[3] = 0.297445 a[4] = 58.9061 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 34 Fitting SPE histogram... Final parameter values, iteration 12: Chisq: 2.23002e+07 a[0] = 4.39767 a[1] = -3.37962 a[2] = 447.068 a[3] = 0.29696 a[4] = 99.3012 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 554 Noise rate: 2538.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1446 Attempting fit with parameter profile 0... Starting fit at bin 18 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 4.60187e+06 a[0] = 1.86985 a[1] = -2.17872 a[2] = 434.595 a[3] = 0.4775 a[4] = 19.3481 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 18 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 6.07871e+06 a[0] = -1744.49 a[1] = 74.5162 a[2] = 428.562 a[3] = 0.478065 a[4] = 16.9316 SPE fit converged successfully Bad SPE fit: gain point at 1100 V not used Error is: 2 Attempting fit with parameter profile 2... Starting fit at bin 18 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 4.60187e+06 a[0] = 1.79615 a[1] = -2.21713 a[2] = 434.701 a[3] = 0.477511 a[4] = 19.3377 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 554 Noise rate: 3191.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1478 Attempting fit with parameter profile 0... Starting fit at bin 11 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 6.61362e+06 a[0] = 68.4249 a[1] = 1.0728 a[2] = 320.288 a[3] = 0.823966 a[4] = 6.27291 SPE fit converged successfully Found minimum at 0.049438 Possible valley at 0.045547 Full peak (exp + gaussian) = 348.558 Valley located at 0.0455471, 72.3199: PV = 4.8 New gain point: log(V) 3.07188 log(gain) 6.71125 Setting HV to 1260 V Using disc DAC 554 Noise rate: 3634.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 1791 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 5.64764e+06 a[0] = 115.248 a[1] = 0.682349 a[2] = 240.247 a[3] = 1.40183 a[4] = 3.33055 SPE fit converged successfully Found minimum at 0.420548 Possible valley at 0.408680 Full peak (exp + gaussian) = 284.528 Valley located at 0.40868, 96.1961: PV = 3 New gain point: log(V) 3.10037 log(gain) 6.94203 Setting HV to 1340 V Using disc DAC 564 Noise rate: 3400.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1930 Attempting fit with parameter profile 0... Starting fit at bin 13 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 3.26398e+06 a[0] = 112.033 a[1] = 0.459385 a[2] = 229.875 a[3] = 2.21137 a[4] = 1.28604 SPE fit converged successfully Found minimum at 0.619182 Possible valley at 0.636952 Full peak (exp + gaussian) = 270.441 Valley located at 0.636952, 93.0973: PV = 2.9 New gain point: log(V) 3.1271 log(gain) 7.14 Setting HV to 1420 V Using disc DAC 564 Noise rate: 3562.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2159 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 3.85623e+06 a[0] = 111.871 a[1] = 0.23877 a[2] = 179.327 a[3] = 3.44002 a[4] = 0.676887 SPE fit converged successfully Found minimum at 1.238408 Possible valley at 1.234462 Full peak (exp + gaussian) = 228.531 Valley located at 1.23446, 89.9743: PV = 2.5 New gain point: log(V) 3.15229 log(gain) 7.3319 Setting HV to 1500 V Using disc DAC 564 Noise rate: 3841.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2235 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 4.11885e+06 a[0] = 144.849 a[1] = 0.473975 a[2] = 188.264 a[3] = 5.15579 a[4] = 0.22415 SPE fit converged successfully Found minimum at 1.959198 Possible valley at 1.954974 Full peak (exp + gaussian) = 200.842 Valley located at 1.95497, 76.2866: PV = 2.6 New gain point: log(V) 3.17609 log(gain) 7.50763 Setting HV to 1580 V Using disc DAC 564 Noise rate: 5040.000000 minimum allowed: 400 Trying histogram with maximum 15pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2461 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 23: Chisq: 2.62906e+06 a[0] = 247.978 a[1] = 0.755107 a[2] = 177.054 a[3] = 7.43244 a[4] = 0.0864138 SPE fit converged successfully Found minimum at 2.824325 Possible valley at 2.813776 Full peak (exp + gaussian) = 177.96 Valley located at 2.81378, 57.65: PV = 3.1 New gain point: log(V) 3.19866 log(gain) 7.66647 Setting HV to 1660 V Using disc DAC 621 Noise rate: 4113.000000 minimum allowed: 400 Trying histogram with maximum 21pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2646 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 2.8293e+06 a[0] = 92.1159 a[1] = 0.0993855 a[2] = 157.656 a[3] = 11.012 a[4] = 0.0577949 SPE fit converged successfully Found minimum at 3.744085 Possible valley at 3.755221 Full peak (exp + gaussian) = 188.49 Valley located at 3.75522, 70.9382: PV = 2.7 New gain point: log(V) 3.22011 log(gain) 7.8372 Setting HV to 1740 V Using disc DAC 621 Noise rate: 4334.000000 minimum allowed: 400 Trying histogram with maximum 28pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2772 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 2.63698e+06 a[0] = 119.163 a[1] = 0.177596 a[2] = 164.029 a[3] = 15.3539 a[4] = 0.0230429 SPE fit converged successfully Found minimum at 5.527381 Possible valley at 5.504247 Full peak (exp + gaussian) = 171.826 Valley located at 5.50425, 62.3748: PV = 2.8 New gain point: log(V) 3.24055 log(gain) 7.98155 Setting HV to 1820 V Using disc DAC 621 Noise rate: 4478.000000 minimum allowed: 400 Trying histogram with maximum 37pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2826 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 10: Chisq: 4.31029e+06 a[0] = 150.366 a[1] = 0.185851 a[2] = 158.95 a[3] = 21.3376 a[4] = 0.0115272 SPE fit converged successfully Found minimum at 8.108275 Possible valley at 8.011296 Full peak (exp + gaussian) = 161.8 Valley located at 8.0113, 54.447: PV = 3 New gain point: log(V) 3.26007 log(gain) 8.12448 Setting HV to 1900 V Using disc DAC 621 Noise rate: 6593.000000 minimum allowed: 400 Trying histogram with maximum 48pC Negative charge points discarded: 0 Histogram points out of range: under 3, over 3041 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 36: Chisq: 2.56524e+07 a[0] = 598.033 a[1] = 1.05415 a[2] = 62.2131 a[3] = -45.1032 a[4] = -8.85549e-05 SPE fit converged successfully Bad SPE fit: gain point at 1900 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 3.25548e+06 a[0] = 239.317 a[1] = 0.245143 a[2] = 151.252 a[3] = 28.3965 a[4] = 0.0057745 SPE fit converged successfully Found minimum at 10.222724 Possible valley at 10.260934 Full peak (exp + gaussian) = 151.479 Valley located at 10.2609, 41.9843: PV = 3.6 New gain point: log(V) 3.27875 log(gain) 8.2486 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 2.745 mV orig: -0.446 mV ATWD 0 ch 1: -0.237 mV orig: 0.111 mV ATWD 0 ch 2: 2.077 mV orig: -0.416 mV ATWD 1 ch 0: 3.754 mV orig: -0.527 mV ATWD 1 ch 1: 0.195 mV orig: 0.272 mV ATWD 1 ch 2: 1.159 mV orig: -0.111 mV Writing XML calibration file... XML CRC32 = 0xed766c47 Retransmit XML (y/n)? n Rebooting...