A study of fly generation during raising