The mayor of the City of Los Angeles would not be going to El Segundo (a separate city) or Six Flags (not in the city of Los Angeles) as part of his official duties. Also, many of the items shown briefly in the opening titles are not in the City of Los Angeles, either (Randy's Donuts - Inglewood; Bob's Big Boy - Burbank; sign in Beverly Gardens Park - Beverly Hills).
I knew that this was originally developed around the Jack Donaghy character but I'm not convinced that they're actually filming in LA.This show was originally developed as a spinoff of "30 Rock," with Alec Baldwin as Jack Donaghy becoming the mayor of New York City -- but then Baldwin dropped out, and they retooled it to be a Ted Danson vehicle, and he didn't want to leave Los Angeles to film anywhere else.
I'm almost certain that the pilot was filmed in New York and I'm not sure the second episode was filmed here either.
(The only scene that looked like it might have been filmed here was the scene with Holly Hunter outside the Mayor's Mansion on her bicycle. Unless a place like Staten Island has those type of street lamps.)
The production company also appears to be getting a New York state tax credit which may or may not be for Fey and Carlock's New York production office.
I was thinking that this was going to be a New Yorker's idea of what Los Angeles is like but if this is set in the same bizarro universe (or same type of universe) as 30 Rock and Kimmy Schmidt, that could work.(I do kind of wonder if they'll have any crossovers with "30 Rock" -- even something like an offhand reference to someone watching "TGS with Tracy Jordan" -- to show it takes place in the same universe.)