SENIOR SECURED CREDIT AGREEMENT dated as of August 16, 2018 Among FS ENERGY AND POWER FUND The LENDERS Party Hereto and JPMORGAN CHASE BANK, N.A. as Administrative Agent and Collateral Agent