Fix the one and you will be closer to the second.
Your set up isn't that much different than mine other than I have a VFD on the well and No dimming on the LEDs. All electric and only load on the POCO transformer.
I may have to look into a VFD on the well. I have no idea how old the pump is. I think we are the only one on the transformer. Maybe the neighbors house too.
The pictures appear to show a copper wire and aluminum wire sharing the same lug.
You have two issues there CU and AL mixing and that lug is probably not listed for two conductors.
View attachment 2575825
good eye. Aluminum wires are to the Poco. Still not sure what the yellow one next to it is for. The meter is likely original to the house (79). The lug is dual 4/0 lugs are dual rated, maybe the meter is too...

Good question. I'll check when I get home. I switched phases on the lighting because the coffee maker would cause the UCL to flicker/dim. Separate dedicated circuits but it would still happen. In troubleshooting the UCLs also found some of the fixtures were wired backwards (existing chandeliers that I changed lamps on) . I thought I had an open neutral because fixtures would change brightness depending on which ones were on. Problem did not exist with incandescents. Fixing one problem at a time.Just curious, "some lights" your washer is 120v, so the lights that flicker, are they on the same phase or the other phase, or both?
Based on the quality of the neutral lug job I would be suspicious of those 'butt-splices' in the service entrance conductors.
I would replace the meter base and pull new service entrance conductors from the ATS to the meter.
Original panel was an old cutler hammer. I am not sure what amperage since the tub is used as a pullbox only now. I have to assume it was 200A based on the conduit size that looks original. In Chicago usually Poco runs the cables to the meter on residential.
At some point someone added a Siemens 200A panel. I am going to assume the current load side cable is when that was installed. It's pulled through the old tub and looks like it would had been long enough to land on the main breaker.
8-9 years ago previous owner installed the generator/ats. That is when they were butt-spliced and ran through the panel.
Point being-3 different people were involved on all these changes.
A little dimming when a load kicks on is normal and has always existed. Some of it can be mitigated by increasing the conductor size at the service, but it is often due to voltage drop across the utility transformer itself.
But LED flicker is caused by appliances that rapidly switch on and off, like new direct drive washers and inverter heat pumps. PWM heating in new ovens is also something I noticed causing flicker. We're in a perfect storm of brand new technologies that don't play well with each other and no one is sure who is to blame.
I feel like sometimes the oven makes the Soraa lamps flicker, only when they are dimmed really low though. Pretty sure the washer is direct drive. What is wierd is one appliance seems to effect one fixture, but a different appliance affects a different fixture....both fixtures on the same circuit and same type of dimmers.
My last house was all LED lamps (same brands) and I had zero issues.