Fourth-quarter results beat Wall Street estimates but the company’s revenue outlook for the first quarter fell shy of expectations.