Optimization of the antenna of a monopulse goniometer system operating in the search mode is described. A mathematical algorithm takes into account the level of radiation of minor lobes allowing to increase angular sensitivity and reduce angle measurement errors.