Investigation underway after deadly shooting in San Francisco