Operating margins at the aeronautics division, Lockheed's biggest, fell to 10.6 percent in the fourth quarter from 11.6 percent a year earlier.

Chief Financial Officer Bruce Tanner told investors on a conference call the aeronautics business posted lower margins because the unit was investing in new business lines.

Margins also took a hit on lower sales in the C-130 transport aircraft program. Operating margins measure how much profit a company makes on a dollar of sales.

The company planned to invest as much as $1.7 billion in 2019 to support growth in its space unit as well as several classified business lines, Tanner said, citing hypersonic weapons as a growing area of investment.

Lockheed and other U.S. weapons makers sales are expected to benefit from stronger global demand for fighter jets and munitions and higher U.S. defense budgets in fiscal 2020.

Jim Corridore, an analyst at CFRA Research, wrote in a note that Lockheed was expected to "benefit from strong FY 19 military funding in aeronautics and missile systems, while space systems should also see growth."

Shares rose half a percent to $289.20 as the company also forecast cash from operations in 2019 at $7.4 billion, higher than its outlook of $7 billion three months ago. The stock has tumbled 24 percent in the fourth quarter on fears of slowing global growth.

During the quarter, Lockheed's order backlog grew 19 percent to $130.5 billion from $109 billion.

Lockheed expects full-year profit to range between $19.15 and $19.45 per share, below the average analyst estimate of $19.55, according to IBES data from Refinitiv.

U.S. allies showed increased interest in purchasing the F-35 jet during the quarter, which offset some headwinds caused by the C-130 weakness.

Belgium chose to replace its aging F-16s with F-35s in a $4 billion euro ($4.55 billion) deal in October.

Japan and the United Kingdom both increased their existing orders for the stealth jets.

The company finished the year delivering 91 F-35 jets in 2018, up from 66 jets a year earlier. Lockheed has said it aims to deliver more than 130 F-35s in 2019. On the call, Tanner said that number would be above 160 in 2021.

Sales at the company's missiles and fire control business, which makes PAC-3 missiles for the Patriot missile defense system and the Terminal High Altitude Area Defense system (THAAD), designed to shoot down short-, medium-, and intermediate-range ballistic missiles, rose 22 percent to $2.4 billion during the fourth quarter.

In late November, Saudi Arabia agreed on a $15 billion deal to buy the THAAD system.

The company earned $4.39 per share from continuing operations, just short of estimates of $4.40 per share.

Net sales rose 4.1 percent to $14.41 billion.

During the quarter Lockheed had an effective tax rate of 13.6 percent which gave it a full-year tax rate of 15.5 percent following corporate tax reform in the United States.

(Reporting by Mike Stone in Washington and Rama Venkat in Bengaluru; Editing by Sriraj Kalluvila, Jeffrey Benkoe and Diane Craft)

By Mike Stone and Rama Venkat Raman