Less than 180 phase shift in inverting amplifier
Your capacitor at the emitter is too small. It causes tens of degrees phase lead. You have high hfe transistor, maybe it has very small internal BE junction resistance and the 50 Ohm at the base is seen less than 0,25 Ohm at the emitter. A perfect RC highpass filter affecting heavily at 10kHz. 

Increase the cap at the emitter from 1uF to 250uF and see the difference.

ADD: It's a common error to calculate the RE bypass capacitor starting from the resistance of RE and the wanted -3dB frequency for the bypassing (see NOTE1). After doing it one wonders why the cap is clearly too small - just like you did.

Forming a proper equation (with complex phasors) for the base current shows that the cap at the emitter must be surprisingly big for low enough reactance. To make the highpass effect of the RE bypassing cap neglible, the reactance of the cap must be much smaller than Rx, where Rx is the parallel combination of RE and the resistance of the whole base circuit (=thevenin equivalent) divided by hfe (more exactly by hfe+1). 

In your case the most remarkable component in Rx is 50Ohm/hfe.

NOTE1: It bypasses the RE, but it is still too high reactance in the base current circuit. For base current its effect is amplified by the transistor by factor hfe+1.