FAIR VALUE MEASUREMENTS (Measured on Recurring Basis) (Details) - Fair Value, Measurements, Recurring [Member] - USD ($) $ in Thousands |
Sep. 30, 2016 |
Dec. 31, 2015 |
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Marketable securities |
$ 59,991
|
$ 234,258
|
| Level 1 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Marketable securities |
59,991
|
234,258
|
| Non-qualified pension plan assets |
9,773
|
9,325
|
| Level 2 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Marketable securities |
0
|
0
|
| Level 3 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Marketable securities |
0
|
0
|
| Inventory Intermediation Agreement Obligation [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
6,194
|
|
| Derivative assets, effect of counter-party netting |
0
|
|
| Derivative assets, net carrying value |
6,194
|
|
| Inventory Intermediation Agreement Obligation [Member] | Level 1 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
0
|
|
| Inventory Intermediation Agreement Obligation [Member] | Level 2 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
6,194
|
|
| Inventory Intermediation Agreement Obligation [Member] | Level 3 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
0
|
|
| Catalyst lease obligations [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative liability, effect of counter-party netting |
0
|
0
|
| Catalyst lease obligations |
44,286
|
31,802
|
| Catalyst lease obligations [Member] | Level 1 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Catalyst lease obligations |
0
|
0
|
| Catalyst lease obligations [Member] | Level 2 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Catalyst lease obligations |
44,286
|
31,802
|
| Catalyst lease obligations [Member] | Level 3 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Catalyst lease obligations |
0
|
0
|
| Commodity contract [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative liability, gross carrying value |
30,065
|
52,482
|
| Derivative liability, effect of counter-party netting |
(30,065)
|
(52,482)
|
| Derivative Liability |
0
|
0
|
| Commodity contract [Member] | Level 1 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative liability, gross carrying value |
26,618
|
|
| Derivative Liability |
|
49,960
|
| Commodity contract [Member] | Level 2 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative liability, gross carrying value |
3,447
|
|
| Derivative Liability |
|
2,522
|
| Commodity contract [Member] | Level 3 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative Liability |
0
|
0
|
| Derivatives included with inventory supply arrangement obligations [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
|
0
|
| Derivative assets, effect of counter-party netting |
|
0
|
| Derivative assets, net carrying value |
|
0
|
| Derivatives included with inventory supply arrangement obligations [Member] | Level 1 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
|
0
|
| Derivatives included with inventory supply arrangement obligations [Member] | Level 2 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
|
0
|
| Derivatives included with inventory supply arrangement obligations [Member] | Level 3 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
|
0
|
| Money market funds [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Cash and cash equivalents |
307,508
|
631,280
|
| Money market funds [Member] | Level 1 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Cash and cash equivalents |
307,508
|
631,280
|
| Money market funds [Member] | Level 2 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Cash and cash equivalents |
0
|
0
|
| Money market funds [Member] | Level 3 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Cash and cash equivalents |
0
|
0
|
| Commodity contract [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
34,908
|
98,609
|
| Derivative assets, effect of counter-party netting |
(30,065)
|
(52,482)
|
| Derivative assets, net carrying value |
4,843
|
46,127
|
| Commodity contract [Member] | Level 1 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
24,086
|
63,810
|
| Commodity contract [Member] | Level 2 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
10,440
|
31,256
|
| Commodity contract [Member] | Level 3 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, net carrying value |
$ 382
|
3,543
|
| Inventory Intermediation Agreement Obligation [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
|
35,511
|
| Derivative assets, effect of counter-party netting |
|
0
|
| Derivative assets, net carrying value |
|
35,511
|
| Inventory Intermediation Agreement Obligation [Member] | Level 1 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
|
0
|
| Inventory Intermediation Agreement Obligation [Member] | Level 2 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
|
35,511
|
| Inventory Intermediation Agreement Obligation [Member] | Level 3 [Member] |
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
| Derivative assets, gross carrying value |
|
$ 0
|