Origin Energy said it's loss was partly due to spending on newly-acquired NSW energy assets and a lower contribution from its wholesale electricity Energy Markets business. Origin also said it had secured a $7.4 billion bank loan facility to help fund the massive $24.7 billion Australia Pacific LNG (APLNG) project it is operating. It has refinanced all of its existing debt with the new facility terms including maturity dates of August 2017 and August 2018. The debt is underwritten by ANZ, Bank of America Merrill Lynch, Goldman Sachs, JP Morgan and UBS. Gas is set to significantly grow Origin's revenue when the APLNG project in Queensland comes online in 2015 and is now 45 per cent complete, chairman Kevin McCann said. Tougher competition and discounting in electricity and gas retailing drove down profit, with earnings before interest, tax, depreciation and amortisation in its core energy markets business down 15 per cent to $1.3 billion. The company said in a statement that due to those current market conditions, it would not provide specific earnings guidance. The company declared a 25 cent per share unfranked dividend, the same as last year. The company's shares have opened 59 cents, or 4.8 per cent, higher at $12.86 with investors reacting well to the securing of funding.