I've had this happen when either lights are too small (point lights) or area lights have their spread set to a small value- it also has happened with shiny metal materials have really small detail in their bump map - I donno if these issues caused the flickering in your scene but hope it helps