Neutral and ground should only be bonded at the service equipment. This could be at the meterservice drop, the main disconnectmeter, or the main panelservice disconnect (250.24(A)(1)).
Looks like the neutral is bonded in your main panel, via the bonding screw.
The second panel is then fed using four wires, to keep ground and neutral separate.