The computer date is used for the tracking. If you want to simulate the tracking for an other date you can add a bias by changing this line:
obs.date = ephem.now()
obs.date = ephem.now() + 4*ephem.hour + 40*ephem.minute