Annual report pursuant to Section 13 and 15(d)

Segment Data (Details)

v3.6.0.2
Segment Data (Details)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2016
USD ($)
Sep. 30, 2016
USD ($)
Jun. 30, 2016
USD ($)
Mar. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Sep. 30, 2015
USD ($)
Jun. 30, 2015
USD ($)
Mar. 31, 2015
USD ($)
Dec. 31, 2016
USD ($)
segments
Dec. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
Segment Reporting Information For Our Reportable Segments                      
Number of Operating Segments | segments                 3    
Net sales to external customers $ 1,011,326 $ 1,043,717 $ 1,008,388 $ 849,973 $ 782,367 $ 1,151,204 $ 1,301,341 $ 1,103,240 $ 3,913,404 [1] $ 4,338,152 [1] $ 6,779,456 [1]
Intersegment sales (purchases)                 0 0 0
Depreciation and amortization                 145,577 126,494 124,063
Operating income (loss) (9,746) $ (3,414) $ (14,811) $ (39,439) (39,100) [2] $ 86,854 $ 88,094 $ 67,561 (67,410) 203,409 201,572
Turnarounds, catalysts and capital expenditures                 90,457 136,543 150,902
Total Assets by Reportable Segment                      
Total assets 2,110,159       2,176,138       2,110,159 2,176,138  
Refining and Marketing                      
Segment Reporting Information For Our Reportable Segments                      
Net sales to external customers                 2,932,673 3,305,762 5,382,360
Intersegment sales (purchases)                 307,497 358,194 555,622
Depreciation and amortization                 124,304 107,619 104,676
Operating income (loss)                 (96,946) 178,081 204,609
Turnarounds, catalysts and capital expenditures                 78,478 108,777 125,621
Total Assets by Reportable Segment                      
Total assets 1,739,840       1,822,924       1,739,840 1,822,924  
Asphalt                      
Segment Reporting Information For Our Reportable Segments                      
Net sales to external customers                 248,988 257,955 457,412
Intersegment sales (purchases)                 (16,772) (31,198) (59,615)
Depreciation and amortization                 5,044 4,892 4,747
Operating income (loss)                 17,448 2,363 (25,597)
Turnarounds, catalysts and capital expenditures                 3,001 3,385 5,777
Total Assets by Reportable Segment                      
Total assets 111,941       106,015       111,941 106,015  
Retail                      
Segment Reporting Information For Our Reportable Segments                      
Net sales to external customers                 731,743 774,435 939,684
Intersegment sales (purchases)                 (290,725) (326,996) (496,007)
Depreciation and amortization                 13,519 12,431 12,241
Operating income (loss)                 15,536 25,230 25,665
Turnarounds, catalysts and capital expenditures                 5,630 18,993 16,748
Total Assets by Reportable Segment                      
Total assets 241,272       231,078       241,272 231,078  
Corporate                      
Segment Reporting Information For Our Reportable Segments                      
Net sales to external customers                 0 0 0
Intersegment sales (purchases)                 0 0 0
Depreciation and amortization                 2,710 1,552 2,399
Operating income (loss)                 (3,448) (2,265) (3,105)
Turnarounds, catalysts and capital expenditures                 3,348 5,388 $ 2,756
Total Assets by Reportable Segment                      
Total assets $ 17,106       $ 16,121       $ 17,106 $ 16,121  
[1] Includes excise taxes on sales by the retail segment of $81,602, $77,860 and $75,409 for the years ended December 31, 2016, 2015 and 2014, respectively.
[2] During the three months ended December 31, 2015, we recognized a goodwill impairment loss of $39,028 related to our California refining reporting unit (Note 12).