SF is surprisingly hostile to late night music for a city of its size. The DNA Lounge blog is a good window into what it's like to own a club in SF. Here's a classic post where jwz compares SF to Austin after attending SXSW for the first time:
http://www.dnalounge.com/backstage/log/2009/03/16.html