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.839800 MPE DAC: 560.000000 MPE Q: 3.408600 Got disc point: SPE DAC: 650.000000 SPE Q: 1.482000 MPE DAC: 570.000000 MPE Q: 4.693000 Got disc point: SPE DAC: 700.000000 SPE Q: 2.173600 MPE DAC: 580.000000 MPE Q: 6.026800 Got disc point: SPE DAC: 750.000000 SPE Q: 2.815800 MPE DAC: 590.000000 MPE Q: 7.311200 Got disc point: SPE DAC: 800.000000 SPE Q: 3.507400 MPE DAC: 600.000000 MPE Q: 8.645000 Got disc point: SPE DAC: 850.000000 SPE Q: 4.149600 MPE DAC: 610.000000 MPE Q: 9.978800 Got disc point: SPE DAC: 900.000000 SPE Q: 4.841200 MPE DAC: 620.000000 MPE Q: 11.312600 Got disc point: SPE DAC: 950.000000 SPE Q: 5.483400 MPE DAC: 630.000000 MPE Q: 12.646400 Got disc point: SPE DAC: 1000.000000 SPE Q: 6.175000 MPE DAC: 640.000000 MPE Q: 14.029600 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -18.18 (err: 0.00423505) ch 1 gain (new): -2.02 (err: 0.000778263) ch 2 gain (new): -0.21 (err: 0.000720524) Performing FADC calibration... DAC: 725 baseline: 42.75 DAC: 750 baseline: 74.03 DAC: 775 baseline: 105.27 DAC: 800 baseline: 136.45 DAC: 825 baseline: 167.23 DAC: 850 baseline: 198.59 DAC: 875 baseline: 229.64 DAC: 900 baseline: 260.83 DAC: 925 baseline: 291.82 DAC: 950 baseline: 323.31 DAC: 975 baseline: 354.47 DAC: 1000 baseline: 386.06 FADC baseline fit m: 1.24691 b: -861.257 r^2: 0.999997 Setting pulser dac to 600 FADC gain: 7.61181e-05 Offset between ATWD and FADC leading edges: -75.6 ns Setting pulser dac to 700 FADC gain: 7.59424e-05 Offset between ATWD and FADC leading edges: -75.3 ns Setting pulser dac to 800 FADC gain: 7.54424e-05 Offset between ATWD and FADC leading edges: -75.0 ns Setting pulser dac to 900 FADC gain: 7.54348e-05 Offset between ATWD and FADC leading edges: -74.7 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.998367 LED response: DAC: 1017 Amp: 149.031128 LED response: DAC: 1012 Amp: 148.996719 LED response: DAC: 1007 Amp: 148.994263 LED response: DAC: 1002 Amp: 148.996719 LED response: DAC: 997 Amp: 148.999176 LED response: DAC: 992 Amp: 148.995911 LED response: DAC: 987 Amp: 148.997543 LED response: DAC: 982 Amp: 148.999176 LED response: DAC: 977 Amp: 148.995911 LED response: DAC: 972 Amp: 148.992630 LED response: DAC: 967 Amp: 148.995087 LED response: DAC: 962 Amp: 148.992630 LED response: DAC: 957 Amp: 148.995911 LED response: DAC: 952 Amp: 148.994263 LED response: DAC: 947 Amp: 148.994263 LED response: DAC: 942 Amp: 149.011459 LED response: DAC: 937 Amp: 149.004913 LED response: DAC: 932 Amp: 148.993454 LED response: DAC: 927 Amp: 149.005737 LED response: DAC: 922 Amp: 149.004089 LED response: DAC: 917 Amp: 149.008194 LED response: DAC: 912 Amp: 149.007370 LED response: DAC: 907 Amp: 148.996719 LED response: DAC: 902 Amp: 148.998367 LED response: DAC: 897 Amp: 148.995911 LED response: DAC: 892 Amp: 149.003281 LED response: DAC: 887 Amp: 149.024567 LED response: DAC: 882 Amp: 149.233414 LED response: DAC: 877 Amp: 149.660934 LED response: DAC: 872 Amp: 151.686325 LED response: DAC: 867 Amp: 171.203110 LED response: DAC: 862 Amp: 207.974609 LED response: DAC: 857 Amp: 299.101562 LED response: DAC: 852 Amp: 506.320221 LED response: DAC: 847 Amp: 737.879578 LED response: DAC: 842 Amp: 926.533142 Search: DAC: 932 Level: 148.991806 Search: DAC: 887 Level: 149.028183 Search: DAC: 864 Level: 191.174973 Search: DAC: 853 Level: 464.912842 Search: DAC: 847 Level: 728.006531 Search: DAC: 850 Level: 603.928894 Search: DAC: 848 Level: 693.754578 Search: DAC: 847 Level: 741.115662 Search: DAC: 932 Level: 137.722565 Search: DAC: 887 Level: 138.583221 Search: DAC: 864 Level: 498.106171 Search: DAC: 853 Level: 930.704102 Search: DAC: 858 Level: 751.400085 Search: DAC: 861 Level: 625.674011 Search: DAC: 859 Level: 712.299500 Search: DAC: 860 Level: 671.499329 Search: DAC: 859 Level: 717.477722 Old gain for ch 1: -2.02425 Old error for ch 1: 0.000778263 Gain for ch 1: -1.99425 Error for ch 1: 0.000410894 Old gain for ch 2: -0.207579 Old error for ch 2: 0.000720524 Gain for ch 2: -0.219481 Error for ch 2: 5.13898e-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 840 for ATWD peak of 457.5 V 1100 Avg signal peak -0.93 Avg current peak -21.52 Triggers with too little light: 44 tt: 146.34 sigma: 0.304 Setting HV to 1200 V Using brightness 846 for ATWD peak of 449.1 V 1200 Avg signal peak -0.94 Avg current peak -25.32 Triggers with too little light: 205 tt: 144.15 sigma: 0.277 Setting HV to 1300 V Using brightness 849 for ATWD peak of 489.6 V 1300 Avg signal peak -1.10 Avg current peak -30.98 Triggers with too little light: 326 tt: 142.34 sigma: 0.431 Setting HV to 1400 V Using brightness 852 for ATWD peak of 541.3 V 1400 Avg signal peak -1.04 Avg current peak -29.14 Triggers with too little light: 298 tt: 140.06 sigma: 0.374 Setting HV to 1500 V Using brightness 858 for ATWD peak of 401.6 Too few light pulses -- increasing brightness to 855 V 1500 Avg signal peak -1.35 Avg current peak -40.67 Triggers with too little light: 292 tt: 137.85 sigma: 0.558 Setting HV to 1600 V Using brightness 858 for ATWD peak of 480.0 V 1600 Avg signal peak -0.85 Avg current peak -22.61 Triggers with too little light: 419 tt: 135.90 sigma: 0.666 Setting HV to 1700 V Using brightness 864 for ATWD peak of 403.4 Too few light pulses -- increasing brightness to 861 V 1700 Avg signal peak -1.16 Avg current peak -36.54 Triggers with too little light: 668 tt: 134.29 sigma: 0.750 Setting HV to 1800 V Using brightness 864 for ATWD peak of 489.9 V 1800 Avg signal peak -0.61 Avg current peak -21.31 Triggers with too little light: 642 tt: 132.90 sigma: 1.055 Setting HV to 1900 V Using brightness 864 for ATWD peak of 515.5 V 1900 Avg signal peak -0.90 Avg current peak -21.05 Triggers with too little light: 247 tt: 131.35 sigma: 4.749 1100 0.0301511 146.338 1200 0.0288675 144.155 1300 0.027735 142.337 1400 0.0267261 140.061 1500 0.0258199 137.849 1600 0.025 135.905 1700 0.0242536 134.294 1800 0.0235702 132.898 1900 0.0229416 131.351 Fit: m 2120.71 b 82.9647 r2 0.995817 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 545 Noise rate: 2166.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2355 Attempting fit with parameter profile 0... Starting fit at bin 36 Fitting SPE histogram... Final parameter values, iteration 19: Chisq: 3.92587e+07 a[0] = -235.402 a[1] = 7.78586 a[2] = 317.082 a[3] = 0.364254 a[4] = 31.4483 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 36 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 4.1459e+07 a[0] = 6885.68 a[1] = 5473.25 a[2] = 300.619 a[3] = 0.376328 a[4] = 34.8457 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 36 Fitting SPE histogram... Final parameter values, iteration 15: Chisq: 3.92587e+07 a[0] = -235.138 a[1] = 7.77688 a[2] = 317.111 a[3] = 0.36425 a[4] = 31.4464 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: 2546.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 1877 Attempting fit with parameter profile 0... Starting fit at bin 19 Fitting SPE histogram... Final parameter values, iteration 12: Chisq: 1.4642e+07 a[0] = 24.1248 a[1] = 1.80721 a[2] = 291.196 a[3] = 0.641561 a[4] = 9.00312 SPE fit converged successfully Found minimum at 0.000000 Possible valley at -0.051926 SPE valley finder error: gain point at 1100 V not used Error is: 6 Attempting fit with parameter profile 1... Starting fit at bin 19 Fitting SPE histogram... Final parameter values, iteration 14: Chisq: 1.46418e+07 a[0] = 23.5874 a[1] = 2.09601 a[2] = 292.785 a[3] = 0.641336 a[4] = 8.94472 SPE fit converged successfully Found minimum at 0.012827 Possible valley at -0.043350 Full peak (exp + gaussian) = 298.935 Valley located at -0.0433502, 30.2512: PV = 9.9 New gain point: log(V) 3.04139 log(gain) 6.60242 Setting HV to 1180 V Using disc DAC 545 Noise rate: 2416.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2049 Attempting fit with parameter profile 0... Starting fit at bin 12 Fitting SPE histogram... Final parameter values, iteration 17: Chisq: 9.47507e+06 a[0] = 104.825 a[1] = 0.868999 a[2] = 212.388 a[3] = 1.12961 a[4] = 4.33237 SPE fit converged successfully Found minimum at 0.293699 Possible valley at 0.285859 Full peak (exp + gaussian) = 251.666 Valley located at 0.285859, 91.4867: PV = 2.8 New gain point: log(V) 3.07188 log(gain) 6.84827 Setting HV to 1260 V Using disc DAC 545 Noise rate: 2849.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2515 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 12: Chisq: 5.29327e+06 a[0] = 99.6472 a[1] = 0.515669 a[2] = 163.192 a[3] = 1.88117 a[4] = 1.8869 SPE fit converged successfully Found minimum at 0.601973 Possible valley at 0.612396 Full peak (exp + gaussian) = 200.964 Valley located at 0.612396, 80.4895: PV = 2.5 New gain point: log(V) 3.10037 log(gain) 7.06977 Setting HV to 1340 V Using disc DAC 555 Noise rate: 2959.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2660 Attempting fit with parameter profile 0... Starting fit at bin 12 Fitting SPE histogram... Final parameter values, iteration 13: Chisq: 3.99517e+06 a[0] = 92.925 a[1] = 0.291696 a[2] = 154.189 a[3] = 3.00007 a[4] = 0.785319 SPE fit converged successfully Found minimum at 0.960024 Possible valley at 0.988689 Full peak (exp + gaussian) = 192.922 Valley located at 0.988689, 76.0744: PV = 2.5 New gain point: log(V) 3.1271 log(gain) 7.27247 Setting HV to 1420 V Using disc DAC 555 Noise rate: 2888.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 3, over 3097 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 3.30589e+06 a[0] = 94.3808 a[1] = 0.244298 a[2] = 132.886 a[3] = 4.74724 a[4] = 0.347766 SPE fit converged successfully Found minimum at 1.898898 Possible valley at 1.857847 Full peak (exp + gaussian) = 162.481 Valley located at 1.85785, 67.2348: PV = 2.4 New gain point: log(V) 3.15229 log(gain) 7.47178 Setting HV to 1500 V Using disc DAC 555 Noise rate: 3619.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 3435 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 4.63742e+06 a[0] = 136.279 a[1] = 0.50389 a[2] = 137.646 a[3] = 7.04243 a[4] = 0.109543 SPE fit converged successfully Found minimum at 2.816970 Possible valley at 2.748856 Full peak (exp + gaussian) = 141.566 Valley located at 2.74886, 52.3801: PV = 2.7 New gain point: log(V) 3.17609 log(gain) 7.64306 Setting HV to 1580 V Using disc DAC 555 Noise rate: 4382.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 3, over 2252 Attempting fit with parameter profile 0... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 21: Chisq: 4.57281e+06 a[0] = 341.108 a[1] = 0.71351 a[2] = 194.48 a[3] = 10.1112 a[4] = 0.0427751 SPE fit converged successfully Found minimum at 3.640034 Possible valley at 3.648708 Full peak (exp + gaussian) = 194.731 Valley located at 3.64871, 57.8349: PV = 3.4 New gain point: log(V) 3.19866 log(gain) 7.80014 Setting HV to 1660 V Using disc DAC 612 Noise rate: 3263.000000 minimum allowed: 400 Trying histogram with maximum 21pC Trying histogram with maximum 31pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2608 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 2.9517e+06 a[0] = 115.158 a[1] = 0.10736 a[2] = 175.745 a[3] = 15.3397 a[4] = 0.0288939 SPE fit converged successfully Found minimum at 5.829071 Possible valley at 5.708338 Full peak (exp + gaussian) = 197.93 Valley located at 5.70834, 74.4395: PV = 2.7 New gain point: log(V) 3.22011 log(gain) 7.98115 Setting HV to 1740 V Using disc DAC 612 Noise rate: 4104.000000 minimum allowed: 400 Trying histogram with maximum 28pC Trying histogram with maximum 41pC Negative charge points discarded: 0 Histogram points out of range: under 4, over 2605 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 5: Chisq: 4.00207e+06 a[0] = 169.658 a[1] = 0.176584 a[2] = 178.384 a[3] = 21.4172 a[4] = 0.0122509 SPE fit converged successfully Found minimum at 8.138540 Possible valley at 8.283954 Full peak (exp + gaussian) = 182.249 Valley located at 8.28395, 60.8508: PV = 3 New gain point: log(V) 3.24055 log(gain) 8.1261 Setting HV to 1820 V Using disc DAC 612 Noise rate: 4227.000000 minimum allowed: 400 Trying histogram with maximum 37pC Trying histogram with maximum 55pC Negative charge points discarded: 0 Histogram points out of range: under 4, over 2713 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 29: Chisq: 3.93704e+06 a[0] = 267.17 a[1] = 0.226935 a[2] = 177.04 a[3] = 28.8671 a[4] = 0.00636581 SPE fit converged successfully Found minimum at 10.969486 Possible valley at 10.861825 Full peak (exp + gaussian) = 177.422 Valley located at 10.8618, 45.194: PV = 3.9 New gain point: log(V) 3.26007 log(gain) 8.25574 Setting HV to 1900 V Using disc DAC 612 Noise rate: 4794.000000 minimum allowed: 400 Trying histogram with maximum 48pC Trying histogram with maximum 72pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2772 Attempting fit with parameter profile 0... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 29: Chisq: 2.79571e+07 a[0] = 916.013 a[1] = 0.892018 a[2] = 45.0982 a[3] = -150.535 a[4] = -2.36835e-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 5 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 4.58257e+06 a[0] = 411.243 a[1] = 0.305153 a[2] = 157.55 a[3] = 38.7616 a[4] = 0.00255017 SPE fit converged successfully Found minimum at 11.628489 Possible valley at 11.819300 Full peak (exp + gaussian) = 157.553 Valley located at 11.8193, 35.9061: PV = 4.4 New gain point: log(V) 3.27875 log(gain) 8.38374 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 1.325 mV orig: -0.127 mV ATWD 0 ch 1: -1.156 mV orig: 0.343 mV ATWD 0 ch 2: -0.363 mV orig: 0.234 mV ATWD 1 ch 0: 4.125 mV orig: -0.479 mV ATWD 1 ch 1: 2.381 mV orig: -0.344 mV ATWD 1 ch 2: 1.892 mV orig: -0.251 mV Writing XML calibration file... XML CRC32 = 0x49a4d7fb Retransmit XML (y/n)? n Rebooting...