Analysis of the spatial non-uniformity of negative ion production in surface-produced negative ion sources