Calculating phase of DFT sinewave?
4 full cycles of a sine wave (starting at a phase of 0) is an odd function in aperture, so the real part of DFT result bin 4 should be zero (or nearly so with numerical noise).  

atan2(-1,0) should result in -pi/2