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.074800 Got disc point: SPE DAC: 600.000000 SPE Q: 0.938600 MPE DAC: 560.000000 MPE Q: 3.408600 Got disc point: SPE DAC: 650.000000 SPE Q: 1.630200 MPE DAC: 570.000000 MPE Q: 4.742400 Got disc point: SPE DAC: 700.000000 SPE Q: 2.321800 MPE DAC: 580.000000 MPE Q: 6.125600 Got disc point: SPE DAC: 750.000000 SPE Q: 3.062800 MPE DAC: 590.000000 MPE Q: 7.459400 Got disc point: SPE DAC: 800.000000 SPE Q: 3.754400 MPE DAC: 600.000000 MPE Q: 8.842600 Got disc point: SPE DAC: 850.000000 SPE Q: 4.495400 MPE DAC: 610.000000 MPE Q: 10.127000 Got disc point: SPE DAC: 900.000000 SPE Q: 5.236400 MPE DAC: 620.000000 MPE Q: 11.510200 Got disc point: SPE DAC: 950.000000 SPE Q: 5.928000 MPE DAC: 630.000000 MPE Q: 12.893400 Got disc point: SPE DAC: 1000.000000 SPE Q: 6.669000 MPE DAC: 640.000000 MPE Q: 14.276600 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -15.50 (err: 0.00442884) ch 1 gain (new): -1.71 (err: 0.000764033) ch 2 gain (new): -0.20 (err: 0.00094809) Performing FADC calibration... DAC: 725 baseline: 34.34 DAC: 750 baseline: 65.88 DAC: 775 baseline: 97.27 DAC: 800 baseline: 128.62 DAC: 825 baseline: 159.44 DAC: 850 baseline: 190.52 DAC: 875 baseline: 221.87 DAC: 900 baseline: 253.52 DAC: 925 baseline: 284.71 DAC: 950 baseline: 315.97 DAC: 975 baseline: 347.40 DAC: 1000 baseline: 378.91 FADC baseline fit m: 1.2516 b: -872.967 r^2: 0.999997 Setting pulser dac to 600 FADC gain: 9.59804e-05 Offset between ATWD and FADC leading edges: -77.5 ns Setting pulser dac to 700 FADC gain: 9.51649e-05 Offset between ATWD and FADC leading edges: -76.7 ns Setting pulser dac to 800 FADC gain: 9.4825e-05 Offset between ATWD and FADC leading edges: -76.4 ns Setting pulser dac to 900 FADC gain: 9.35387e-05 Offset between ATWD and FADC leading edges: -76.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: 141.074524 LED response: DAC: 1017 Amp: 141.056519 LED response: DAC: 1012 Amp: 141.050781 LED response: DAC: 1007 Amp: 141.058151 LED response: DAC: 1002 Amp: 141.067154 LED response: DAC: 997 Amp: 141.056519 LED response: DAC: 992 Amp: 141.061432 LED response: DAC: 987 Amp: 141.061432 LED response: DAC: 982 Amp: 141.072891 LED response: DAC: 977 Amp: 141.056519 LED response: DAC: 972 Amp: 141.067154 LED response: DAC: 967 Amp: 141.068802 LED response: DAC: 962 Amp: 141.049957 LED response: DAC: 957 Amp: 141.045868 LED response: DAC: 952 Amp: 141.054871 LED response: DAC: 947 Amp: 141.044220 LED response: DAC: 942 Amp: 141.052414 LED response: DAC: 937 Amp: 141.045044 LED response: DAC: 932 Amp: 141.064697 LED response: DAC: 927 Amp: 141.051590 LED response: DAC: 922 Amp: 141.058975 LED response: DAC: 917 Amp: 141.045868 LED response: DAC: 912 Amp: 141.063065 LED response: DAC: 907 Amp: 141.070435 LED response: DAC: 902 Amp: 141.073715 LED response: DAC: 897 Amp: 141.062241 LED response: DAC: 892 Amp: 141.077805 LED response: DAC: 887 Amp: 141.090912 LED response: DAC: 882 Amp: 142.452087 LED response: DAC: 877 Amp: 147.588043 LED response: DAC: 872 Amp: 158.951675 LED response: DAC: 867 Amp: 182.266998 LED response: DAC: 862 Amp: 220.713348 LED response: DAC: 857 Amp: 280.505310 LED response: DAC: 852 Amp: 361.252258 LED response: DAC: 847 Amp: 473.298126 LED response: DAC: 842 Amp: 621.545471 LED response: DAC: 837 Amp: 794.583923 LED response: DAC: 832 Amp: 938.289124 Search: DAC: 927 Level: 141.069443 Search: DAC: 879 Level: 145.485916 Search: DAC: 855 Level: 314.728699 Search: DAC: 843 Level: 597.134338 Search: DAC: 837 Level: 804.457397 Search: DAC: 840 Level: 698.916138 Search: DAC: 838 Level: 772.460693 Search: DAC: 839 Level: 738.776855 Search: DAC: 839 Level: 739.459045 Search: DAC: 927 Level: 147.247299 Search: DAC: 879 Level: 225.441681 Search: DAC: 855 Level: 973.566528 Search: DAC: 867 Level: 551.526855 Search: DAC: 861 Level: 802.150696 Search: DAC: 864 Level: 678.071106 Search: DAC: 862 Level: 760.430542 Search: DAC: 863 Level: 725.393494 Search: DAC: 863 Level: 723.961365 Old gain for ch 1: -1.71237 Old error for ch 1: 0.000764033 Gain for ch 1: -1.64614 Error for ch 1: 0.000183411 Old gain for ch 2: -0.204715 Old error for ch 2: 0.00094809 Gain for ch 2: -0.157653 Error for ch 2: 6.2394e-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 816 for ATWD peak of 425.0 V 1100 Avg signal peak -0.60 Avg current peak -26.63 Triggers with too little light: 0 tt: 146.15 sigma: 0.147 Setting HV to 1200 V Using brightness 828 for ATWD peak of 548.9 V 1200 Avg signal peak -0.68 Avg current peak -27.17 Triggers with too little light: 0 tt: 143.31 sigma: 0.246 Setting HV to 1300 V Using brightness 840 for ATWD peak of 447.4 V 1300 Avg signal peak -0.64 Avg current peak -27.08 Triggers with too little light: 8 tt: 141.05 sigma: 0.181 Setting HV to 1400 V Using brightness 849 for ATWD peak of 424.2 V 1400 Avg signal peak -0.63 Avg current peak -27.01 Triggers with too little light: 39 tt: 138.99 sigma: 0.373 Setting HV to 1500 V Using brightness 855 for ATWD peak of 424.0 V 1500 Avg signal peak -0.71 Avg current peak -26.50 Triggers with too little light: 37 tt: 137.01 sigma: 0.406 Setting HV to 1600 V Using brightness 858 for ATWD peak of 465.2 V 1600 Avg signal peak -0.78 Avg current peak -26.12 Triggers with too little light: 21 tt: 135.29 sigma: 0.447 Setting HV to 1700 V Using brightness 864 for ATWD peak of 419.6 V 1700 Avg signal peak -0.75 Avg current peak -26.38 Triggers with too little light: 103 tt: 133.66 sigma: 0.542 Setting HV to 1800 V Using brightness 867 for ATWD peak of 417.9 V 1800 Avg signal peak -0.75 Avg current peak -26.33 Triggers with too little light: 127 tt: 132.27 sigma: 0.612 Setting HV to 1900 V Using brightness 870 for ATWD peak of 458.4 V 1900 Avg signal peak -0.82 Avg current peak -26.05 Triggers with too little light: 128 tt: 130.97 sigma: 0.770 1100 0.0301511 146.15 1200 0.0288675 143.314 1300 0.027735 141.053 1400 0.0267261 138.991 1500 0.0258199 137.013 1600 0.025 135.289 1700 0.0242536 133.658 1800 0.0235702 132.273 1900 0.0229416 130.967 Fit: m 2102.98 b 82.7079 r2 0.999911 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 544 Noise rate: 826.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 3, over 2563 Attempting fit with parameter profile 0... Starting fit at bin 23 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 2.096e+08 a[0] = 14.5832 a[1] = -1.12189 a[2] = 480.334 a[3] = 0.247626 a[4] = 150.72 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 23 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 2.93953e+08 a[0] = 45848.7 a[1] = 29616.2 a[2] = 383.245 a[3] = 0.256447 a[4] = 41.8664 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 23 Fitting SPE histogram... Final parameter values, iteration 14: Chisq: 2.1612e+08 a[0] = -152.515 a[1] = 15.3251 a[2] = 494.223 a[3] = 0.247492 a[4] = 121.786 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 544 Noise rate: 1831.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 1286 Attempting fit with parameter profile 0... Starting fit at bin 23 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 6.81691e+07 a[0] = 57.1349 a[1] = 0.876745 a[2] = 620.076 a[3] = 0.329215 a[4] = 48.6721 SPE fit converged successfully Found minimum at 0.006584 Possible valley at -0.022768 Full peak (exp + gaussian) = 662.887 Valley located at -0.0227684, 59.7784: PV = 11 New gain point: log(V) 3.04139 log(gain) 6.31282 Setting HV to 1180 V Using disc DAC 544 Noise rate: 1874.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1196 Attempting fit with parameter profile 0... Starting fit at bin 19 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 4.95735e+06 a[0] = 260.704 a[1] = 1.92782 a[2] = 457.752 a[3] = 0.548259 a[4] = 18.8923 SPE fit converged successfully Found minimum at 0.153512 Possible valley at 0.156250 Full peak (exp + gaussian) = 548.351 Valley located at 0.15625, 218.005: PV = 2.5 New gain point: log(V) 3.07188 log(gain) 6.53432 Setting HV to 1260 V Using disc DAC 544 Noise rate: 2747.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1423 Attempting fit with parameter profile 0... Starting fit at bin 18 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 1.04287e+07 a[0] = 213.215 a[1] = 1.21983 a[2] = 363.321 a[3] = 0.908736 a[4] = 7.54355 SPE fit converged successfully Found minimum at 0.290796 Possible valley at 0.286226 Full peak (exp + gaussian) = 433.693 Valley located at 0.286226, 169.91: PV = 2.6 New gain point: log(V) 3.10037 log(gain) 6.75378 Setting HV to 1340 V Using disc DAC 553 Noise rate: 2479.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 1531 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 7.08306e+06 a[0] = 99.0781 a[1] = 0.570273 a[2] = 380.56 a[3] = 1.39281 a[4] = 2.65023 SPE fit converged successfully Found minimum at 0.194994 Possible valley at 0.184465 Full peak (exp + gaussian) = 425.334 Valley located at 0.184465, 97.1259: PV = 4.4 New gain point: log(V) 3.1271 log(gain) 6.93923 Setting HV to 1420 V Using disc DAC 553 Noise rate: 2478.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 1665 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 4.64503e+06 a[0] = 126.904 a[1] = 0.407729 a[2] = 316.93 a[3] = 2.14202 a[4] = 1.37434 SPE fit converged successfully Found minimum at 0.556925 Possible valley at 0.542931 Full peak (exp + gaussian) = 369.918 Valley located at 0.542931, 111.138: PV = 3.3 New gain point: log(V) 3.15229 log(gain) 7.12616 Setting HV to 1500 V Using disc DAC 553 Noise rate: 2708.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1771 Attempting fit with parameter profile 0... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 4.50359e+06 a[0] = 139.77 a[1] = 0.331308 a[2] = 281.921 a[3] = 3.22241 a[4] = 0.628804 SPE fit converged successfully Found minimum at 0.966722 Possible valley at 0.977917 Full peak (exp + gaussian) = 329.978 Valley located at 0.977917, 112.958: PV = 2.9 New gain point: log(V) 3.17609 log(gain) 7.30352 Setting HV to 1580 V Using disc DAC 553 Noise rate: 3223.000000 minimum allowed: 400 Trying histogram with maximum 15pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1843 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 12: Chisq: 2.79146e+06 a[0] = 269.353 a[1] = 0.867082 a[2] = 293.017 a[3] = 4.63508 a[4] = 0.234482 SPE fit converged successfully Found minimum at 1.668630 Possible valley at 1.699734 Full peak (exp + gaussian) = 297.858 Valley located at 1.69973, 100.552: PV = 3 New gain point: log(V) 3.19866 log(gain) 7.4614 Setting HV to 1660 V Using disc DAC 606 Noise rate: 2927.000000 minimum allowed: 400 Trying histogram with maximum 21pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2031 Attempting fit with parameter profile 0... Starting fit at bin 13 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 3.68288e+06 a[0] = 117.8 a[1] = 0.141127 a[2] = 282.556 a[3] = 6.59681 a[4] = 0.159267 SPE fit converged successfully Found minimum at 1.847109 Possible valley at 1.906646 Full peak (exp + gaussian) = 328.988 Valley located at 1.90665, 98.5113: PV = 3.3 New gain point: log(V) 3.22011 log(gain) 7.61467 Setting HV to 1740 V Using disc DAC 606 Noise rate: 2724.000000 minimum allowed: 400 Trying histogram with maximum 28pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2047 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 2.24402e+06 a[0] = 115.689 a[1] = 0.0946474 a[2] = 264.798 a[3] = 9.18836 a[4] = 0.0885112 SPE fit converged successfully Found minimum at 2.756501 Possible valley at 2.836208 Full peak (exp + gaussian) = 313.283 Valley located at 2.83621, 95.8979: PV = 3.3 New gain point: log(V) 3.24055 log(gain) 7.75858 Setting HV to 1820 V Using disc DAC 606 Noise rate: 2966.000000 minimum allowed: 400 Trying histogram with maximum 37pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2066 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 7: Chisq: 3.38408e+06 a[0] = 127.008 a[1] = 0.0808469 a[2] = 247.547 a[3] = 12.6878 a[4] = 0.046829 SPE fit converged successfully Found minimum at 4.313851 Possible valley at 4.307769 Full peak (exp + gaussian) = 293.082 Valley located at 4.30777, 98.8913: PV = 3 New gain point: log(V) 3.26007 log(gain) 7.89872 Setting HV to 1900 V Using disc DAC 606 Noise rate: 3220.000000 minimum allowed: 400 Trying histogram with maximum 48pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2025 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 14: Chisq: 2.37317e+06 a[0] = 244.33 a[1] = 0.279306 a[2] = 270.689 a[3] = 16.6398 a[4] = 0.0183958 SPE fit converged successfully Found minimum at 5.990334 Possible valley at 5.942262 Full peak (exp + gaussian) = 273.031 Valley located at 5.94226, 79.4464: PV = 3.4 New gain point: log(V) 3.27875 log(gain) 8.01649 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 6.525 mV orig: -0.698 mV ATWD 0 ch 1: 0.980 mV orig: -0.067 mV ATWD 0 ch 2: 3.321 mV orig: -0.297 mV ATWD 1 ch 0: 0.869 mV orig: 0.068 mV ATWD 1 ch 1: 3.182 mV orig: -0.237 mV ATWD 1 ch 2: 0.740 mV orig: 0.061 mV Writing XML calibration file... XML CRC32 = 0x1a0753b1 Retransmit XML (y/n)? n Rebooting...