In determining the amount of a penalty under paragraph (2), consideration shall be given to such factors as the gravity of the offense, any history of prior disclosures of information on pending funding decisions made after December 15, 1989, ability to pay the penalty, injury to the public, benefits received, deterrence of future violations, and such other factors as the Secretary may determine in regulations to be appropriate.