Text this: Robust algorithm for gain-and-phase errors estimation against the direction deviations of calibration sources