If corrective action in not taken within 40 days or a longer period as the Secretary may agree to, after due notice or the report referred to in subsection (a)(1), such person shall be liable for a civil penalty of not more than $5,000 per violation for each day such violation continues, dating from the date of such notice or report.