Measurement of input beam emittance to obtain MeV, mA-class heavy ion beams in a VERFQ linac