Laser-induced fluorescence spectroscopy of an N+2-ion beam