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.458000 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.273800 Got disc point: SPE DAC: 750.000000 SPE Q: 3.062800 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.423400 Got disc point: SPE DAC: 900.000000 SPE Q: 5.187000 MPE DAC: 620.000000 MPE Q: 11.856000 Got disc point: SPE DAC: 950.000000 SPE Q: 5.878600 MPE DAC: 630.000000 MPE Q: 13.239200 Got disc point: SPE DAC: 1000.000000 SPE Q: 6.619600 MPE DAC: 640.000000 MPE Q: 14.721200 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -15.66 (err: 0.00426942) ch 1 gain (new): -1.76 (err: 0.00112805) ch 2 gain (new): -0.19 (err: 0.00107706) Performing FADC calibration... DAC: 725 baseline: 40.13 DAC: 750 baseline: 71.70 DAC: 775 baseline: 102.96 DAC: 800 baseline: 134.30 DAC: 825 baseline: 164.85 DAC: 850 baseline: 196.15 DAC: 875 baseline: 227.53 DAC: 900 baseline: 259.12 DAC: 925 baseline: 290.13 DAC: 950 baseline: 321.30 DAC: 975 baseline: 352.29 DAC: 1000 baseline: 383.86 FADC baseline fit m: 1.24869 b: -864.966 r^2: 0.999996 Setting pulser dac to 600 FADC gain: 9.07736e-05 Offset between ATWD and FADC leading edges: -76.6 ns Setting pulser dac to 700 FADC gain: 9.01687e-05 Offset between ATWD and FADC leading edges: -75.3 ns Setting pulser dac to 800 FADC gain: 8.97626e-05 Offset between ATWD and FADC leading edges: -74.9 ns Setting pulser dac to 900 FADC gain: 8.94447e-05 Offset between ATWD and FADC leading edges: -74.6 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: 149.004913 LED response: DAC: 1017 Amp: 149.005737 LED response: DAC: 1012 Amp: 148.996719 LED response: DAC: 1007 Amp: 149.000824 LED response: DAC: 1002 Amp: 149.000824 LED response: DAC: 997 Amp: 148.995911 LED response: DAC: 992 Amp: 149.005737 LED response: DAC: 987 Amp: 148.994263 LED response: DAC: 982 Amp: 148.996719 LED response: DAC: 977 Amp: 149.000824 LED response: DAC: 972 Amp: 148.998367 LED response: DAC: 967 Amp: 148.998367 LED response: DAC: 962 Amp: 148.995087 LED response: DAC: 957 Amp: 149.002457 LED response: DAC: 952 Amp: 148.998367 LED response: DAC: 947 Amp: 149.001633 LED response: DAC: 942 Amp: 149.002457 LED response: DAC: 937 Amp: 149.007370 LED response: DAC: 932 Amp: 148.994263 LED response: DAC: 927 Amp: 148.996719 LED response: DAC: 922 Amp: 148.995911 LED response: DAC: 917 Amp: 149.004913 LED response: DAC: 912 Amp: 149.000824 LED response: DAC: 907 Amp: 148.995087 LED response: DAC: 902 Amp: 149.005737 LED response: DAC: 897 Amp: 148.999176 LED response: DAC: 892 Amp: 149.005737 LED response: DAC: 887 Amp: 149.001633 LED response: DAC: 882 Amp: 149.006546 LED response: DAC: 877 Amp: 149.003281 LED response: DAC: 872 Amp: 149.010651 LED response: DAC: 867 Amp: 149.004913 LED response: DAC: 862 Amp: 149.000824 LED response: DAC: 857 Amp: 149.004089 LED response: DAC: 852 Amp: 148.998367 LED response: DAC: 847 Amp: 149.005737 LED response: DAC: 842 Amp: 148.995087 LED response: DAC: 837 Amp: 149.007370 LED response: DAC: 832 Amp: 149.004913 LED response: DAC: 827 Amp: 148.999176 LED response: DAC: 822 Amp: 149.009003 LED response: DAC: 817 Amp: 149.009827 LED response: DAC: 812 Amp: 149.004913 LED response: DAC: 807 Amp: 149.009827 LED response: DAC: 802 Amp: 149.004913 LED response: DAC: 797 Amp: 149.016373 LED response: DAC: 792 Amp: 149.007370 LED response: DAC: 787 Amp: 149.009003 LED response: DAC: 782 Amp: 149.000000 LED response: DAC: 777 Amp: 149.003281 LED response: DAC: 772 Amp: 149.015564 LED response: DAC: 767 Amp: 149.007370 LED response: DAC: 762 Amp: 149.021301 LED response: DAC: 757 Amp: 149.013107 LED response: DAC: 752 Amp: 149.025391 LED response: DAC: 747 Amp: 149.007370 LED response: DAC: 742 Amp: 149.009827 LED response: DAC: 737 Amp: 149.023758 LED response: DAC: 732 Amp: 149.003281 LED response: DAC: 727 Amp: 149.013107 LED response: DAC: 722 Amp: 149.013916 LED response: DAC: 717 Amp: 149.017197 LED response: DAC: 712 Amp: 149.013916 LED response: DAC: 707 Amp: 149.095825 LED response: DAC: 702 Amp: 149.017197 LED response: DAC: 697 Amp: 149.018021 LED response: DAC: 692 Amp: 149.022934 LED response: DAC: 687 Amp: 149.013916 LED response: DAC: 682 Amp: 149.019653 LED response: DAC: 677 Amp: 149.046677 LED response: DAC: 672 Amp: 149.020477 LED response: DAC: 667 Amp: 149.032761 LED response: DAC: 662 Amp: 149.019653 LED response: DAC: 657 Amp: 149.018845 LED response: DAC: 652 Amp: 149.018845 LED response: DAC: 647 Amp: 149.039307 LED response: DAC: 642 Amp: 149.025391 LED response: DAC: 637 Amp: 149.053238 LED response: DAC: 632 Amp: 149.032761 LED response: DAC: 627 Amp: 149.181000 LED response: DAC: 622 Amp: 149.596237 LED response: DAC: 617 Amp: 150.312851 LED response: DAC: 612 Amp: 152.124481 LED response: DAC: 607 Amp: 156.706802 LED response: DAC: 602 Amp: 167.606873 LED response: DAC: 597 Amp: 189.715805 LED response: DAC: 592 Amp: 239.738739 LED response: DAC: 587 Amp: 315.602783 LED response: DAC: 582 Amp: 458.288300 LED response: DAC: 577 Amp: 570.144165 LED response: DAC: 572 Amp: 694.169556 LED response: DAC: 567 Amp: 786.841125 LED response: DAC: 562 Amp: 871.914001 Search: DAC: 792 Level: 149.010803 Search: DAC: 677 Level: 149.030792 Search: DAC: 619 Level: 149.985916 Search: DAC: 590 Level: 264.193970 Search: DAC: 576 Level: 599.049805 Search: DAC: 569 Level: 743.535400 Search: DAC: 572 Level: 694.057983 Search: DAC: 570 Level: 734.153015 Search: DAC: 571 Level: 716.913513 Search: DAC: 571 Level: 712.753906 Search: DAC: 792 Level: 143.745819 Search: DAC: 677 Level: 143.417099 Search: DAC: 619 Level: 157.698563 Search: DAC: 590 Level: 529.146484 Search: DAC: 576 Level: 847.004272 Search: DAC: 583 Level: 702.553101 Search: DAC: 586 Level: 623.557678 Search: DAC: 584 Level: 670.716553 Search: DAC: 583 Level: 706.341431 Old gain for ch 1: -1.75607 Old error for ch 1: 0.00112805 Gain for ch 1: -1.68762 Error for ch 1: 0.000567015 Old gain for ch 2: -0.193423 Old error for ch 2: 0.00107706 Gain for ch 2: -0.1734 Error for ch 2: 3.65552e-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 567 for ATWD peak of 461.5 V 1100 Avg signal peak -1.18 Avg current peak -32.37 Triggers with too little light: 180 tt: 145.77 sigma: 0.163 Setting HV to 1200 V Using brightness 573 for ATWD peak of 528.0 V 1200 Avg signal peak -1.29 Avg current peak -33.85 Triggers with too little light: 210 tt: 143.09 sigma: 0.394 Setting HV to 1300 V Using brightness 579 for ATWD peak of 438.0 V 1300 Avg signal peak -1.08 Avg current peak -34.73 Triggers with too little light: 32 tt: 141.04 sigma: 0.261 Setting HV to 1400 V Using brightness 582 for ATWD peak of 426.6 V 1400 Avg signal peak -1.22 Avg current peak -35.88 Triggers with too little light: 59 tt: 139.02 sigma: 0.431 Setting HV to 1500 V Using brightness 588 for ATWD peak of 434.1 Too few light pulses -- increasing brightness to 585 V 1500 Avg signal peak -2.18 Avg current peak -66.52 Triggers with too little light: 446 tt: 137.04 sigma: 0.509 Setting HV to 1600 V Using brightness 588 for ATWD peak of 493.9 V 1600 Avg signal peak -1.45 Avg current peak -32.81 Triggers with too little light: 614 tt: 135.07 sigma: 0.604 Setting HV to 1700 V Using brightness 597 for ATWD peak of 556.1 Too few light pulses -- increasing brightness to 594 Too few light pulses -- increasing brightness to 591 V 1700 Avg signal peak -2.34 Avg current peak -54.98 Triggers with too little light: 737 tt: 133.26 sigma: 0.602 Setting HV to 1800 V Using brightness 594 for ATWD peak of 424.1 Too few light pulses -- increasing brightness to 591 V 1800 Avg signal peak -2.49 Avg current peak -61.55 Triggers with too little light: 541 tt: 131.72 sigma: 0.794 Setting HV to 1900 V Using brightness 600 for ATWD peak of 434.8 V 1900 Avg signal peak -0.64 Avg current peak -30.33 Triggers with too little light: 475 tt: 131.35 sigma: 1.272 1100 0.0301511 145.771 1200 0.0288675 143.086 1300 0.027735 141.036 1400 0.0267261 139.025 1500 0.0258199 137.035 1600 0.025 135.069 1700 0.0242536 133.262 1800 0.0235702 131.716 1900 0.0229416 131.352 Fit: m 2082.47 b 83.0927 r2 0.996506 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 543 Noise rate: 1689.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 28, over 2495 Attempting fit with parameter profile 0... Starting fit at bin 0 Fitting SPE histogram... Final parameter values, iteration 16: Chisq: 2.24513e+07 a[0] = -9.78199 a[1] = 7.91463 a[2] = 337.066 a[3] = 0.346127 a[4] = 48.7783 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 0 Fitting SPE histogram... Final parameter values, iteration 4: Chisq: 2.25405e+07 a[0] = 11.6656 a[1] = 146.234 a[2] = 336.701 a[3] = 0.347 a[4] = 49.0435 SPE fit converged successfully Found minimum at 0.020820 Possible valley at 0.022707 Full peak (exp + gaussian) = 336.701 Valley located at 0.0227075, 2.35921: PV = 1.4e+02 New gain point: log(V) 3.0086 log(gain) 6.33567 Setting HV to 1100 V Using disc DAC 543 Noise rate: 2270.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 26, over 2025 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 4: Chisq: 1.05062e+07 a[0] = 28.5882 a[1] = 0.661515 a[2] = 321.664 a[3] = 0.571788 a[4] = 13.5424 SPE fit converged successfully Found minimum at 0.011436 Possible valley at -0.073922 SPE valley finder error: gain point at 1100 V not used Error is: 6 Attempting fit with parameter profile 1... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 1.13417e+07 a[0] = -98.8044 a[1] = 42.7008 a[2] = 340.236 a[3] = 0.572403 a[4] = 12.2427 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 14 Fitting SPE histogram... Final parameter values, iteration 4: Chisq: 1.05061e+07 a[0] = 28.5774 a[1] = 0.66144 a[2] = 321.678 a[3] = 0.57174 a[4] = 13.5469 SPE fit converged successfully Found minimum at 0.000000 Possible valley at -0.073909 SPE valley finder error: gain point at 1100 V not used Error is: 6 Setting HV to 1180 V Using disc DAC 543 Noise rate: 2536.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 16, over 2168 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 11: Chisq: 8.26596e+06 a[0] = 86.8569 a[1] = 0.909279 a[2] = 262.174 a[3] = 0.988743 a[4] = 5.88505 SPE fit converged successfully Found minimum at 0.197749 Possible valley at 0.205765 Full peak (exp + gaussian) = 297.521 Valley located at 0.205765, 79.1434: PV = 3.8 New gain point: log(V) 3.07188 log(gain) 6.79042 Setting HV to 1260 V Using disc DAC 543 Noise rate: 2781.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 42, over 2446 Attempting fit with parameter profile 0... Starting fit at bin 0 Fitting SPE histogram... Final parameter values, iteration 13: Chisq: 8.33066e+06 a[0] = 76.3131 a[1] = 0.368426 a[2] = 204.627 a[3] = 1.61112 a[4] = 2.91921 SPE fit converged successfully Found minimum at 0.418890 Possible valley at 0.429722 Full peak (exp + gaussian) = 246.778 Valley located at 0.429722, 68.6184: PV = 3.6 New gain point: log(V) 3.10037 log(gain) 7.00246 Setting HV to 1340 V Using disc DAC 553 Noise rate: 2545.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2538 Attempting fit with parameter profile 0... Starting fit at bin 12 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 4.26768e+06 a[0] = 98.1026 a[1] = 0.286901 a[2] = 201.658 a[3] = 2.57422 a[4] = 1.41106 SPE fit converged successfully Found minimum at 0.926717 Possible valley at 0.940221 Full peak (exp + gaussian) = 248.532 Valley located at 0.940221, 79.5688: PV = 3.1 New gain point: log(V) 3.1271 log(gain) 7.20598 Setting HV to 1420 V Using disc DAC 553 Noise rate: 3417.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2875 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 3.31413e+06 a[0] = 98.3366 a[1] = 0.234075 a[2] = 169.105 a[3] = 3.9869 a[4] = 0.602534 SPE fit converged successfully Found minimum at 1.594760 Possible valley at 1.602854 Full peak (exp + gaussian) = 207.779 Valley located at 1.60285, 73.0794: PV = 2.8 New gain point: log(V) 3.15229 log(gain) 7.39597 Setting HV to 1500 V Using disc DAC 553 Noise rate: 3611.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 3, over 3126 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 3.72077e+06 a[0] = 120.294 a[1] = 0.337901 a[2] = 163.735 a[3] = 6.01363 a[4] = 0.211436 SPE fit converged successfully Found minimum at 2.525720 Possible valley at 2.484618 Full peak (exp + gaussian) = 179.503 Valley located at 2.48462, 63.7192: PV = 2.8 New gain point: log(V) 3.17609 log(gain) 7.57447 Setting HV to 1580 V Using disc DAC 553 Noise rate: 4034.000000 minimum allowed: 400 Trying histogram with maximum 15pC Negative charge points discarded: 0 Histogram points out of range: under 6, over 3400 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 34: Chisq: 2.81808e+07 a[0] = 753.956 a[1] = 3.95597 a[2] = 64.7532 a[3] = -13.1991 a[4] = -0.00100439 SPE fit converged successfully Bad SPE fit: gain point at 1580 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: 4.13605e+06 a[0] = 212.576 a[1] = 0.67951 a[2] = 159.495 a[3] = 8.50635 a[4] = 0.0734246 SPE fit converged successfully Found minimum at 3.232419 Possible valley at 3.234219 Full peak (exp + gaussian) = 160.152 Valley located at 3.23422, 44.3297: PV = 3.6 New gain point: log(V) 3.19866 log(gain) 7.72508 Setting HV to 1660 V Using disc DAC 605 Noise rate: 4761.000000 minimum allowed: 400 Trying histogram with maximum 21pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 3561 Attempting fit with parameter profile 0... Starting fit at bin 14 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 2.76448e+06 a[0] = 78.4884 a[1] = 0.0643376 a[2] = 141.067 a[3] = 12.5276 a[4] = 0.0630887 SPE fit converged successfully Found minimum at 5.011038 Possible valley at 4.971929 Full peak (exp + gaussian) = 176.123 Valley located at 4.97193, 60.8493: PV = 2.9 New gain point: log(V) 3.22011 log(gain) 7.8932 Setting HV to 1740 V Using disc DAC 605 Noise rate: 4474.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 0, over 2635 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 2.96571e+06 a[0] = 145.122 a[1] = 0.129972 a[2] = 218.067 a[3] = 17.6202 a[4] = 0.0226007 SPE fit converged successfully Found minimum at 6.695668 Possible valley at 6.858769 Full peak (exp + gaussian) = 232.762 Valley located at 6.85877, 75.4275: PV = 3.1 New gain point: log(V) 3.24055 log(gain) 8.04135 Setting HV to 1820 V Using disc DAC 605 Noise rate: 4549.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 3, over 2551 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 5.68428e+06 a[0] = 221.461 a[1] = 0.17461 a[2] = 222.343 a[3] = 24.2138 a[4] = 0.0113814 SPE fit converged successfully Found minimum at 9.685516 Possible valley at 9.843374 Full peak (exp + gaussian) = 225.572 Valley located at 9.84337, 60.9026: PV = 3.7 New gain point: log(V) 3.26007 log(gain) 8.1794 Setting HV to 1900 V Using disc DAC 605 Noise rate: 8127.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 4, over 2705 Attempting fit with parameter profile 0... Starting fit at bin 5 Fitting SPE histogram... Final parameter values, iteration 26: Chisq: 5.36693e+06 a[0] = 318.023 a[1] = 0.220934 a[2] = 209.154 a[3] = 32.252 a[4] = 0.00536731 SPE fit converged successfully Found minimum at 12.255774 Possible valley at 11.958731 Full peak (exp + gaussian) = 209.41 Valley located at 11.9587, 45.5838: PV = 4.6 New gain point: log(V) 3.27875 log(gain) 8.30389 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 4.324 mV orig: -0.657 mV ATWD 0 ch 1: -1.355 mV orig: 0.393 mV ATWD 0 ch 2: 0.028 mV orig: 0.061 mV ATWD 1 ch 0: 1.677 mV orig: -0.219 mV ATWD 1 ch 1: -0.030 mV orig: -0.026 mV ATWD 1 ch 2: 1.114 mV orig: -0.211 mV Writing XML calibration file... XML CRC32 = 0x4ce64a48 Retransmit XML (y/n)? n Rebooting...