SAN FRANCISCO — A small magnitude 3.6 earthquake struck the San Francisco Bay Area, jolting thousands of people awake and causing minor damage.