Effect of weather on a microbial insecticide