Immigrant acquitted of San Francisco killing sentenced on lesser gun charge