In the area of synthetic aperture radar (SAR), the ultra-high resolution is always a continuous pursuit for researchers. To realize ultra-high resolution, microwave photonics (MWP) technology is an excellent solution since it has advantages of low transmission loss, ultra-wide bandwidth (UWB), etc. However, with the improvement of resolution, new problems arise as the impact of more systematical errors becomes non-negligible. For example, the synchronization error between the transmit channel and the mixing channel, unknown system delay during signal reception, and fluctuation of frequency for UWB signals. These factors will bring degradation of the focusing quality of SAR images together with the motion errors and the trajectory measurement errors, not only cause residual range cell migration (RCM) and azimuth phase error (APE), but also higher-order phase error along the range frequency dimension. In this paper, we discuss the adverse influence of the above factors and give a detailed analysis of the 2-D phase error of the coarse focused image processed by range migration algorithm (RMA). Then, to compensate for the above unknown systematical errors, a 2-D autofocus method is proposed and the effectiveness is validated by experiments on both simulated and real data.