Long-Term Debt
12 Months Ended
Dec. 31, 2016
Debt Disclosure [Abstract]  
Long-Term Debt
10. Long-Term Debt

Long-term debt consisted of the following (in thousands):
 
December 31,
 
2016
 
2015
Revolving credit facility due November 2020
$
118,000

 
$
285,000

Term loan facility due November 2017
232,750

 
245,000

Other, interest at various rates, collateralized by equipment and other assets
583

 
836

Unamortized deferred financing costs
(2,363
)
 
(5,243
)
Long-term debt
$
348,970

 
$
525,593



Revolving Credit Facility and Term Loan

On July 10, 2015, we and our wholly owned subsidiary, EESLP, entered into a $750.0 million credit agreement (the “Credit Agreement”) with Wells Fargo, as the administrative agent, and various financial institutions as lenders. On October 5, 2015, the parties amended and restated the Credit Agreement to provide for a $925.0 million credit facility, consisting of a $680.0 million revolving credit facility and a $245.0 million term loan facility (collectively, the “Credit Facility”). The Credit Facility became available to us on November 3, 2015 (referred to as the “Initial Availability Date”). On November 3, 2015, EESLP incurred approximately $300.0 million of indebtedness under the revolving credit facility and $245.0 million of indebtedness under the term loan facility. Pursuant to the separation and distribution agreement with Archrock and certain of our and Archrock’s respective affiliates, on November 3, 2015, EESLP transferred $532.6 million of net proceeds from borrowings under the Credit Facility to Archrock to allow it to repay a portion of its indebtedness in connection with the Spin-off. In accordance with the Credit Agreement, we are required to repay borrowings outstanding under the term loan facility on each anniversary of the Initial Availability Date in an amount equal to the lesser of (i) $12.3 million and (ii) the outstanding principal balance of the term loan facility. In November 2016, we repaid $12.3 million of borrowings outstanding under the term loan facility. The principal amount of $232.8 million due in November 2017 under the term loan facility is classified as long-term in our balance sheet at December 31, 2016 because we have the intent and ability to refinance the current principal amount due with borrowings under our existing revolving credit facility.

On April 22, 2016, June 17, 2016, August 24, 2016 and November 22, 2016, we and our wholly owned subsidiary, EESLP, entered into amendments to the Credit Agreement with Wells Fargo, as the administrative agent, and various financial institutions as lenders. These amendments to the Credit Agreement, among other things:
waived any potential event of default arising under the Credit Agreement as a result of the potential inaccuracy of certain representations and warranties regarding our prior period financial information and previously delivered compliance certificate for the 2015 fiscal year;
provides that LIBOR loans will bear interest at LIBOR plus 2.75% and base rate loans will bear interest at the Base Rate plus 1.75% until January 4, 2017;
adds a condition precedent to the borrowing of loans that, after giving effect to the application of the proceeds of each borrowing, our consolidated cash balance of group members (as defined in the amended Credit Agreement) will not exceed $30,000,000 plus certain other amounts; and
amends the definition of EBITDA to allow adjustments for certain Restructuring Costs and Restatement Costs (in each case as defined in the amended Credit Agreement) to the extent such costs were incurred during the years ending December 31, 2016 and 2017.

As of December 31, 2016, we had $118.0 million in outstanding borrowings and $57.1 million in outstanding letters of credit under our revolving credit facility. At December 31, 2016, taking into account guarantees through letters of credit, we had undrawn capacity of $504.9 million under our revolving credit facility. Our Credit Agreement limits our Total Debt (as defined in the Credit Agreement) to EBITDA (as defined in the Credit Agreement) ratio on the last day of the fiscal quarter to not greater than 3.75 to 1.0 (which will increase to 4.50 to 1.0 following the completion of a qualified capital raise). As a result of this limitation, $226.9 million of the $504.9 million of undrawn capacity under our revolving credit facility was available for additional borrowings as of December 31, 2016. Because this limitation considers all of our outstanding debt obligations, the additional borrowings available to us are in excess of borrowings needed under our revolving credit facility to refinance the current principal amount due under the term loan facility.

Revolving borrowings under the Credit Facility bear interest at a rate equal to, at our option, either the Base Rate or LIBOR (or EURIBOR, in the case of Euro-denominated borrowings) plus the applicable margin. The applicable margin for revolving borrowings varies (i) in the case of LIBOR loans, from 1.50% to 2.75% and (ii) in the case of Base Rate loans, from 0.50% to 1.75%, and will be determined based on our total leverage ratio pricing grid. “Base Rate” means the highest of the prime rate, the federal funds effective rate plus 0.50% and one-month LIBOR plus 1.00%. Until the term loan facility is refinanced in full with the proceeds of a qualified capital raise (as defined in the Credit Agreement), the applicable margin for borrowings under the revolving credit facility will be increased by 1.00% until the first anniversary of the Initial Availability Date and by 1.50% following the first anniversary of the Initial Availability Date. Term loan borrowings under the Credit Facility will bear interest at a rate equal to, at our option, either (1) the Base Rate plus 4.75%, or (2) the greater of LIBOR or 1.00%, plus 5.75%. The weighted average annual interest rate on outstanding borrowings under the revolving credit facility at December 31, 2016 and 2015 was 5.0% and 3.1%, respectively. The annual interest rate on the outstanding balance of the term loan facility at December 31, 2016 and 2015 was 6.8%.

We guarantee EESLP’s obligations under the Credit Facility. In addition, EESLP’s obligations under the Credit Facility are secured by (1) substantially all of our assets and the assets of EESLP and our Significant Domestic Subsidiaries (as defined in the Credit Agreement), including certain real property, and (2) all of the equity interests of our U.S. restricted subsidiaries (other than certain excluded subsidiaries) (as defined in the Credit Agreement) and 65% of the voting equity interests in certain of our first-tier foreign subsidiaries.

We are required to prepay borrowings outstanding under the term loan facility with the net proceeds of certain asset sales, equity issuances, debt incurrences and other events (subject to, in certain circumstances, our right to reinvest the proceeds within a specified period). In addition, if the total leverage ratio (as defined in the Credit Agreement) as of the last day in any fiscal year is greater than 2.50 to 1.00, we are required to prepay borrowings outstanding under the term loan facility with a portion of Excess Cash Flow (as defined in the Credit Agreement) for that fiscal year equal to (a) 50% of Excess Cash Flow if the total leverage ratio is greater than 3.00 to 1.00 or (b) 25% of Excess Cash Flow if the total leverage ratio is greater than 2.50 to 1.00 but less than or equal to 3.00 to 1.00.

Unamortized Debt Financing Costs

During the year ended December 31, 2015, we incurred transaction costs of $13.3 million related to our Credit Agreement, of which $7.7 million and $5.6 million related to our revolving credit facility and term loan facility, respectively. Debt issuance costs relating to our term loan facility are presented as a direct deduction from the carrying value of the facility, and are being amortized over the term of the facility. Amortization of deferred financing costs relating to the term loan facility totaled $2.9 million and $0.4 million during the years ended December 31, 2016 and 2015, respectively, and was recorded to interest expense in our statements of operations. During the year ended December 31, 2016, we incurred transaction costs of approximately $0.8 million related to our revolving credit facility. Debt issuance costs relating to our revolving credit facility are included in intangible and other assets, net, and are being amortized over the term of the facility. See Note 7 for further discussion regarding the amortization of deferred financing costs relating to our revolving credit facility.
 
Debt Compliance

The Credit Agreement contains various covenants with which we, EESLP and our respective restricted subsidiaries must comply, including, but not limited to, limitations on the incurrence of indebtedness, investments, liens on assets, repurchasing equity, making distributions, transactions with affiliates, mergers, consolidations, dispositions of assets and other provisions customary in similar types of agreements. We are required to maintain, on a consolidated basis, a minimum interest coverage ratio (as defined in the Credit Agreement) of 2.25 to 1.00; a maximum total leverage ratio (as defined in the Credit Agreement) of 3.75 to 1.00 prior to the completion of a qualified capital raise and 4.50 to 1.00 thereafter; and, following the completion of a qualified capital raise, a maximum senior secured leverage ratio (as defined in the Credit Agreement) of 2.75 to 1.00. As of December 31, 2016, we were in compliance with all financial covenants under the Credit Agreement.

Long-Term Debt Maturity Schedule

Contractual maturities of long-term debt (excluding interest to be accrued thereon) at December 31, 2016 are as follows (in thousands):
 
December 31,
2016
 
 
2017
$
232,750

 
(1)
2018
253

 
 
2019
253

 
 
2020
118,077

 
 
2021

 
 
Thereafter

 
 
Total debt
$
351,333

 
(1)
 
(1)
The principal amount of $232.8 million due in November 2017 under the term loan facility is classified as long-term in our balance sheet at December 31, 2016 because we have the intent and ability to refinance the current principal amount due with borrowings under our existing revolving credit facility. These amounts include the full face value of the term loan facility and have not been reduced by the aggregate unamortized debt financing costs of $2.4 million as of December 31, 2016.