Police officer chasing criminal with gun