Deadly shooting leads to hours-long standoff