An algorithm for selecting the optimum mode of photomultiplier operation in a Raman–lidar gas analyzer is presented, which provides the minimum error in measuring the gas concentration. Concrete examples demonstrate the implementation of the algorithm for selecting the temperature and supply voltage of the photomultiplier.