Suspect dead after attempting to shoot officers