Optimality of Gradient-MUSIC for spectral estimation