Statistics for Optimization of the Optical Infrastructure and Trapping Potential for a Quantum Processor Based on Trapped Barium Ions