The race between President Goodluck Jonathan and former military dictator Muhammadu Buhari was too close to call, according to analysts.