gym can fight any time iirc
After 12 midnight is a new day to earn the 50 coins.. Its probably the easiest timing to fight and put in ur pokemon and hopefully no one disturb it.. Not sure now, but gym is a serious business last time.. Now still can see some ppl playing with multiple phones during event..
Of course some play cheat and spoof or use some tools etc, this ahma at least honest to walk in the middle of the night..
Me not the ahma anyway, but if its just catching pokemon at 1am, then the ahma also a bit too addicted liao..