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.098800 MPE DAC: 550.000000 MPE Q: 2.321800 Got disc point: SPE DAC: 600.000000 SPE Q: 0.839800 MPE DAC: 560.000000 MPE Q: 3.754400 Got disc point: SPE DAC: 650.000000 SPE Q: 1.531400 MPE DAC: 570.000000 MPE Q: 5.137600 Got disc point: SPE DAC: 700.000000 SPE Q: 2.223000 MPE DAC: 580.000000 MPE Q: 6.570200 Got disc point: SPE DAC: 750.000000 SPE Q: 2.964000 MPE DAC: 590.000000 MPE Q: 7.953400 Got disc point: SPE DAC: 800.000000 SPE Q: 3.655600 MPE DAC: 600.000000 MPE Q: 9.386000 Got disc point: SPE DAC: 850.000000 SPE Q: 4.396600 MPE DAC: 610.000000 MPE Q: 10.818600 Got disc point: SPE DAC: 900.000000 SPE Q: 5.088200 MPE DAC: 620.000000 MPE Q: 12.251200 Got disc point: SPE DAC: 950.000000 SPE Q: 5.829200 MPE DAC: 630.000000 MPE Q: 13.683800 Got disc point: SPE DAC: 1000.000000 SPE Q: 6.520800 MPE DAC: 640.000000 MPE Q: 15.165800 Performing ATWD calibration... Performing baseline calibration... Performing ATWD frequency calibration... Performing amplifier calibration (using ATWD0)... ch 0 gain (new): -16.28 (err: 0.00439927) ch 1 gain (new): -1.81 (err: 0.000979714) ch 2 gain (new): -0.17 (err: 0.000805838) Performing FADC calibration... DAC: 725 baseline: 43.37 DAC: 750 baseline: 74.19 DAC: 775 baseline: 105.70 DAC: 800 baseline: 137.25 DAC: 825 baseline: 168.08 DAC: 850 baseline: 199.55 DAC: 875 baseline: 230.08 DAC: 900 baseline: 261.49 DAC: 925 baseline: 293.08 DAC: 950 baseline: 324.27 DAC: 975 baseline: 356.21 DAC: 1000 baseline: 387.65 FADC baseline fit m: 1.25106 b: -863.966 r^2: 0.999989 Setting pulser dac to 600 FADC gain: 8.87127e-05 Offset between ATWD and FADC leading edges: -75.9 ns Setting pulser dac to 700 FADC gain: 8.82019e-05 Offset between ATWD and FADC leading edges: -75.2 ns Setting pulser dac to 800 FADC gain: 8.80476e-05 Offset between ATWD and FADC leading edges: -74.8 ns Setting pulser dac to 900 FADC gain: 8.79477e-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: 145.486481 LED response: DAC: 1017 Amp: 145.461090 LED response: DAC: 1012 Amp: 145.501236 LED response: DAC: 1007 Amp: 145.491394 LED response: DAC: 1002 Amp: 145.521698 LED response: DAC: 997 Amp: 145.450455 LED response: DAC: 992 Amp: 145.471741 LED response: DAC: 987 Amp: 145.434891 LED response: DAC: 982 Amp: 145.357086 LED response: DAC: 977 Amp: 145.366913 LED response: DAC: 972 Amp: 145.407867 LED response: DAC: 967 Amp: 145.436523 LED response: DAC: 962 Amp: 145.482391 LED response: DAC: 957 Amp: 145.506958 LED response: DAC: 952 Amp: 145.443893 LED response: DAC: 947 Amp: 145.475021 LED response: DAC: 942 Amp: 145.506958 LED response: DAC: 937 Amp: 145.516785 LED response: DAC: 932 Amp: 145.522522 LED response: DAC: 927 Amp: 145.515976 LED response: DAC: 922 Amp: 145.484024 LED response: DAC: 917 Amp: 145.494675 LED response: DAC: 912 Amp: 145.539719 LED response: DAC: 907 Amp: 145.503693 LED response: DAC: 902 Amp: 145.504501 LED response: DAC: 897 Amp: 145.604416 LED response: DAC: 892 Amp: 145.478302 LED response: DAC: 887 Amp: 145.489761 LED response: DAC: 882 Amp: 145.641281 LED response: DAC: 877 Amp: 145.473389 LED response: DAC: 872 Amp: 145.520889 LED response: DAC: 867 Amp: 145.414413 LED response: DAC: 862 Amp: 145.425873 LED response: DAC: 857 Amp: 145.461090 LED response: DAC: 852 Amp: 145.464371 LED response: DAC: 847 Amp: 145.466019 LED response: DAC: 842 Amp: 145.480759 LED response: DAC: 837 Amp: 145.488937 LED response: DAC: 832 Amp: 145.478302 LED response: DAC: 827 Amp: 145.451263 LED response: DAC: 822 Amp: 145.502869 LED response: DAC: 817 Amp: 145.533981 LED response: DAC: 812 Amp: 145.444717 LED response: DAC: 807 Amp: 145.456177 LED response: DAC: 802 Amp: 145.410324 LED response: DAC: 797 Amp: 145.439804 LED response: DAC: 792 Amp: 145.429977 LED response: DAC: 787 Amp: 145.389023 LED response: DAC: 782 Amp: 145.438980 LED response: DAC: 777 Amp: 145.456177 LED response: DAC: 772 Amp: 145.475021 LED response: DAC: 767 Amp: 145.489761 LED response: DAC: 762 Amp: 145.432434 LED response: DAC: 757 Amp: 145.449631 LED response: DAC: 752 Amp: 145.416870 LED response: DAC: 747 Amp: 145.401306 LED response: DAC: 742 Amp: 145.443085 LED response: DAC: 737 Amp: 145.426697 LED response: DAC: 732 Amp: 145.397217 LED response: DAC: 727 Amp: 145.445541 LED response: DAC: 722 Amp: 145.428345 LED response: DAC: 717 Amp: 145.429153 LED response: DAC: 712 Amp: 145.450455 LED response: DAC: 707 Amp: 145.409500 LED response: DAC: 702 Amp: 145.386566 LED response: DAC: 697 Amp: 145.445541 LED response: DAC: 692 Amp: 145.393936 LED response: DAC: 687 Amp: 145.468475 LED response: DAC: 682 Amp: 145.451263 LED response: DAC: 677 Amp: 145.442261 LED response: DAC: 672 Amp: 145.495499 LED response: DAC: 667 Amp: 145.398849 LED response: DAC: 662 Amp: 145.447998 LED response: DAC: 657 Amp: 145.461090 LED response: DAC: 652 Amp: 145.429153 LED response: DAC: 647 Amp: 145.416870 LED response: DAC: 642 Amp: 145.456177 LED response: DAC: 637 Amp: 145.431610 LED response: DAC: 632 Amp: 145.384109 LED response: DAC: 627 Amp: 145.383286 LED response: DAC: 622 Amp: 145.409500 LED response: DAC: 617 Amp: 145.459457 LED response: DAC: 612 Amp: 145.666672 LED response: DAC: 607 Amp: 147.787872 LED response: DAC: 602 Amp: 159.823914 LED response: DAC: 597 Amp: 186.483215 LED response: DAC: 592 Amp: 240.752655 LED response: DAC: 587 Amp: 333.827179 LED response: DAC: 582 Amp: 456.965607 LED response: DAC: 577 Amp: 583.838684 LED response: DAC: 572 Amp: 714.724792 LED response: DAC: 567 Amp: 837.153137 Search: DAC: 795 Level: 145.514908 Search: DAC: 681 Level: 145.450531 Search: DAC: 624 Level: 145.410553 Search: DAC: 595 Level: 204.834869 Search: DAC: 581 Level: 483.923340 Search: DAC: 574 Level: 672.811584 Search: DAC: 570 Level: 768.579956 Search: DAC: 572 Level: 716.711365 Search: DAC: 573 Level: 692.526550 Search: DAC: 572 Level: 718.249023 Search: DAC: 795 Level: 145.900101 Search: DAC: 681 Level: 145.849930 Search: DAC: 624 Level: 147.611404 Search: DAC: 595 Level: 487.283752 Search: DAC: 581 Level: 827.262756 Search: DAC: 588 Level: 658.129761 Search: DAC: 584 Level: 759.460999 Search: DAC: 586 Level: 708.605530 Search: DAC: 587 Level: 683.763123 Search: DAC: 586 Level: 707.912170 Old gain for ch 1: -1.80771 Old error for ch 1: 0.000979714 Gain for ch 1: -1.82665 Error for ch 1: 0.000309261 Old gain for ch 2: -0.1697 Old error for ch 2: 0.000805838 Gain for ch 2: -0.214879 Error for ch 2: 2.97472e-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 564 for ATWD peak of 571.3 V 1100 Avg signal peak -0.79 Avg current peak -35.01 Triggers with too little light: 89 tt: 146.19 sigma: 0.350 Setting HV to 1200 V Using brightness 573 for ATWD peak of 414.8 V 1200 Avg signal peak -0.84 Avg current peak -30.55 Triggers with too little light: 604 tt: 143.50 sigma: 0.190 Setting HV to 1300 V Using brightness 579 for ATWD peak of 458.3 V 1300 Avg signal peak -0.77 Avg current peak -27.47 Triggers with too little light: 344 tt: 141.23 sigma: 0.356 Setting HV to 1400 V Using brightness 585 for ATWD peak of 453.5 V 1400 Avg signal peak -0.97 Avg current peak -26.41 Triggers with too little light: 278 tt: 138.96 sigma: 0.400 Setting HV to 1500 V Using brightness 588 for ATWD peak of 456.5 V 1500 Avg signal peak -0.88 Avg current peak -26.29 Triggers with too little light: 50 tt: 137.24 sigma: 0.420 Setting HV to 1600 V Using brightness 588 for ATWD peak of 539.7 V 1600 Avg signal peak -0.93 Avg current peak -26.23 Triggers with too little light: 77 tt: 135.58 sigma: 0.502 Setting HV to 1700 V Using brightness 591 for ATWD peak of 487.7 V 1700 Avg signal peak -1.77 Avg current peak -29.04 Triggers with too little light: 96 tt: 133.80 sigma: 0.467 Setting HV to 1800 V Using brightness 597 for ATWD peak of 444.8 Too few light pulses -- increasing brightness to 594 V 1800 Avg signal peak -3.11 Avg current peak -54.15 Triggers with too little light: 328 tt: 132.31 sigma: 0.439 Setting HV to 1900 V Using brightness 600 for ATWD peak of 442.9 Too few light pulses -- increasing brightness to 597 V 1900 Avg signal peak -2.03 Avg current peak -46.23 Triggers with too little light: 728 tt: 131.12 sigma: 0.737 1100 0.0301511 146.19 1200 0.0288675 143.505 1300 0.027735 141.231 1400 0.0267261 138.964 1500 0.0258199 137.245 1600 0.025 135.58 1700 0.0242536 133.804 1800 0.0235702 132.308 1900 0.0229416 131.117 Fit: m 2097.17 b 82.9969 r2 0.999696 Performing HV gain calibration (using ATWD0)... Setting HV to 1020 V Using disc DAC 551 Noise rate: 1596.000000 minimum allowed: 400 Trying histogram with maximum 1pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2554 Attempting fit with parameter profile 0... Starting fit at bin 35 Fitting SPE histogram... Final parameter values, iteration 17: Chisq: 7.4799e+07 a[0] = -283.734 a[1] = 8.45856 a[2] = 382.28 a[3] = 0.332119 a[4] = 51.2548 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 35 Fitting SPE histogram... SPE fit error: singular matrix Final parameter values, iteration 2: Chisq: 8.38482e+07 a[0] = 35117.4 a[1] = 19051.2 a[2] = 350.816 a[3] = 0.341504 a[4] = 45.0762 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 35 Fitting SPE histogram... Final parameter values, iteration 16: Chisq: 7.48663e+07 a[0] = -500.477 a[1] = 12.8188 a[2] = 373.695 a[3] = 0.333844 a[4] = 52.8299 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 551 Noise rate: 1891.000000 minimum allowed: 400 Trying histogram with maximum 2pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2015 Attempting fit with parameter profile 0... Starting fit at bin 18 Fitting SPE histogram... Final parameter values, iteration 16: Chisq: 2.75951e+07 a[0] = -2005.7 a[1] = 61.8166 a[2] = 348.05 a[3] = 0.550569 a[4] = 12.091 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: 2.67384e+07 a[0] = -1265.92 a[1] = 21.6715 a[2] = 348.884 a[3] = 0.546646 a[4] = 11.7484 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 22: Chisq: 2.67796e+07 a[0] = -4488.2 a[1] = 30.031 a[2] = 349.251 a[3] = 0.547634 a[4] = 11.879 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 551 Noise rate: 2272.000000 minimum allowed: 400 Trying histogram with maximum 3pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2082 Attempting fit with parameter profile 0... Starting fit at bin 12 Fitting SPE histogram... Final parameter values, iteration 10: Chisq: 1.44189e+07 a[0] = 85.3503 a[1] = 1.13382 a[2] = 263.831 a[3] = 0.939592 a[4] = 5.00618 SPE fit converged successfully Found minimum at 0.131543 Possible valley at 0.134802 Full peak (exp + gaussian) = 293.244 Valley located at 0.134802, 83.5607: PV = 3.5 New gain point: log(V) 3.07188 log(gain) 6.76828 Setting HV to 1260 V Using disc DAC 551 Noise rate: 2549.000000 minimum allowed: 400 Trying histogram with maximum 4pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 2376 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 7.32985e+06 a[0] = 102.616 a[1] = 0.580204 a[2] = 201.649 a[3] = 1.55907 a[4] = 2.64683 SPE fit converged successfully Found minimum at 0.436540 Possible valley at 0.450842 Full peak (exp + gaussian) = 243.179 Valley located at 0.450842, 86.8099: PV = 2.8 New gain point: log(V) 3.10037 log(gain) 6.9882 Setting HV to 1340 V Using disc DAC 560 Noise rate: 2537.000000 minimum allowed: 400 Trying histogram with maximum 6pC Negative charge points discarded: 0 Histogram points out of range: under 2, over 2562 Attempting fit with parameter profile 0... Starting fit at bin 12 Fitting SPE histogram... Final parameter values, iteration 9: Chisq: 4.73221e+06 a[0] = 102.968 a[1] = 0.368165 a[2] = 192.823 a[3] = 2.42532 a[4] = 1.1223 SPE fit converged successfully Found minimum at 0.727596 Possible valley at 0.728294 Full peak (exp + gaussian) = 234.984 Valley located at 0.728294, 86.3624: PV = 2.7 New gain point: log(V) 3.1271 log(gain) 7.18011 Setting HV to 1420 V Using disc DAC 560 Noise rate: 2449.000000 minimum allowed: 400 Trying histogram with maximum 8pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2714 Attempting fit with parameter profile 0... Starting fit at bin 9 Fitting SPE histogram... Final parameter values, iteration 7: Chisq: 4.25893e+06 a[0] = 105.389 a[1] = 0.278399 a[2] = 166.875 a[3] = 3.77439 a[4] = 0.530032 SPE fit converged successfully Found minimum at 1.358778 Possible valley at 1.373819 Full peak (exp + gaussian) = 203.725 Valley located at 1.37382, 79.7615: PV = 2.6 New gain point: log(V) 3.15229 log(gain) 7.37218 Setting HV to 1500 V Using disc DAC 560 Noise rate: 3600.000000 minimum allowed: 400 Trying histogram with maximum 11pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 2988 Attempting fit with parameter profile 0... Starting fit at bin 6 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 4.43399e+06 a[0] = 146.456 a[1] = 0.510626 a[2] = 169.944 a[3] = 5.58385 a[4] = 0.186515 SPE fit converged successfully Found minimum at 2.121865 Possible valley at 2.172255 Full peak (exp + gaussian) = 178.405 Valley located at 2.17225, 67.6914: PV = 2.6 New gain point: log(V) 3.17609 log(gain) 7.54227 Setting HV to 1580 V Using disc DAC 560 Noise rate: 4503.000000 minimum allowed: 400 Trying histogram with maximum 15pC Negative charge points discarded: 0 Histogram points out of range: under 4, over 3023 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 28: Chisq: 3.50547e+06 a[0] = 269.257 a[1] = 0.854188 a[2] = 159.284 a[3] = 7.87348 a[4] = 0.0700728 SPE fit converged successfully Found minimum at 2.834452 Possible valley at 2.888506 Full peak (exp + gaussian) = 159.607 Valley located at 2.88851, 50.757: PV = 3.1 New gain point: log(V) 3.19866 log(gain) 7.6915 Setting HV to 1660 V Using disc DAC 612 Noise rate: 4091.000000 minimum allowed: 400 Trying histogram with maximum 21pC Negative charge points discarded: 0 Histogram points out of range: under 1, over 3330 Attempting fit with parameter profile 0... Starting fit at bin 13 Fitting SPE histogram... Final parameter values, iteration 6: Chisq: 2.88584e+06 a[0] = 84.6076 a[1] = 0.0846771 a[2] = 145.074 a[3] = 11.6785 a[4] = 0.0567289 SPE fit converged successfully Found minimum at 4.204252 Possible valley at 4.166959 Full peak (exp + gaussian) = 176.547 Valley located at 4.16696, 65.3612: PV = 2.7 New gain point: log(V) 3.22011 log(gain) 7.86272 Setting HV to 1740 V Using disc DAC 612 Noise rate: 5080.000000 minimum allowed: 400 Trying histogram with maximum 28pC Negative charge points discarded: 0 Histogram points out of range: under 0, over 3472 Attempting fit with parameter profile 0... Starting fit at bin 10 Fitting SPE histogram... Final parameter values, iteration 10: Chisq: 2.40706e+06 a[0] = 141.22 a[1] = 0.207802 a[2] = 153.372 a[3] = 16.1842 a[4] = 0.0211165 SPE fit converged successfully Found minimum at 6.149995 Possible valley at 6.250140 Full peak (exp + gaussian) = 158.262 Valley located at 6.25014, 57.6198: PV = 2.7 New gain point: log(V) 3.24055 log(gain) 8.00443 Setting HV to 1820 V Using disc DAC 612 Noise rate: 7224.000000 minimum allowed: 400 Trying histogram with maximum 37pC Negative charge points discarded: 0 Histogram points out of range: under 7, over 3401 Attempting fit with parameter profile 0... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 33: Chisq: 2.3522e+07 a[0] = 2070 a[1] = 1.94213 a[2] = 56.8481 a[3] = -41.3366 a[4] = -0.000140917 SPE fit converged successfully Bad SPE fit: gain point at 1820 V not used Error is: 2 Attempting fit with parameter profile 1... Starting fit at bin 8 Fitting SPE histogram... Final parameter values, iteration 8: Chisq: 6.07792e+06 a[0] = 315.862 a[1] = 0.403684 a[2] = 147.928 a[3] = 21.7266 a[4] = 0.00878453 SPE fit converged successfully Found minimum at 7.387063 Possible valley at 7.478803 Full peak (exp + gaussian) = 147.977 Valley located at 7.4788, 40.2937: PV = 3.7 New gain point: log(V) 3.26007 log(gain) 8.13233 Setting HV to 1900 V Using disc DAC 612 Noise rate: 13604.000000 minimum allowed: 400 Trying histogram with maximum 48pC Negative charge points discarded: 0 Histogram points out of range: under 9, over 3481 Attempting fit with parameter profile 0... Starting fit at bin 7 Fitting SPE histogram... Final parameter values, iteration 25: Chisq: 2.10222e+07 a[0] = 1705.19 a[1] = 1.31777 a[2] = 33.9131 a[3] = -94.8677 a[4] = -6.88129e-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 7: Chisq: 6.05152e+06 a[0] = 601.011 a[1] = 0.547386 a[2] = 136.843 a[3] = 28.9628 a[4] = 0.0042813 SPE fit converged successfully Found minimum at 8.109600 Possible valley at 8.142835 Full peak (exp + gaussian) = 136.843 Valley located at 8.14283, 28.36: PV = 4.8 New gain point: log(V) 3.27875 log(gain) 8.25718 Performing DAQ baseline calibration... Successfully switched to DOMAPP FPGA. Local coincidence enabled. Setting HV to 1400 V ATWD 0 ch 0: 2.754 mV orig: -1.386 mV ATWD 0 ch 1: 0.702 mV orig: -1.438 mV ATWD 0 ch 2: 0.867 mV orig: -1.362 mV ATWD 1 ch 0: 3.457 mV orig: -0.554 mV ATWD 1 ch 1: -0.502 mV orig: 0.272 mV ATWD 1 ch 2: -0.219 mV orig: 0.122 mV Writing XML calibration file... XML CRC32 = 0x9c5247d0 Retransmit XML (y/n)? n Rebooting...