A fierce wildfire that had threatened 4,000 homes northwest of Los Angeles was nearly 60-percent contained on Saturday as favorable weather conditions helped beat it back, officials said.