Man pleads guilty in weapon investigation case