Stevie Wonder, Katy Perry and Earth Wind & Fire rally for Obama

Last night President Obama joined 6,000 supporters at the star-studded 30 Days to Victory gala at the Nokia Theatre in Los Angeles.

Stevie Wonder, Earth Wind & Fire, Jon Bon Jovi, Jennifer Hudson and Katy Perry belted out some of their most notable songs prior to the president taking the stage.

Before beginning his speech, President Obama took a shot at his own lackluster debate performance last week, marveling at how the entertainers that were on stage before him performed to perfection.

“They just perform flawlessly, night after night,” he said. “I can’t always say the same.”

Prior to the gala, Obama spent more than two hours at an intimate “thank you event” for a group of 12 donors and former President Bill Clinton at the home of DreamWorks Animation CEO Jeffrey Katzenberg.

Obama ended his night at a dinner at Wolfgang Puck’s WP24 where he told his supporters, who paid $25,000 to see him, that he intends to win. “I’m a big believer in closing the deal,” he said.

As he enters the final weeks before Election Day, the president is spending two days fundraising on the West Coast, where he is expected to bring in at least $9.5 million for his campaign.

Follow Chris Witherspoon on Twitter at @WitherspoonC