Numerical simulation and experiment of error field measurement using luminous trace of electron beam in SST-1