You had a query that took 4736 seconds, and your UNDO_RETENTION is 900 seconds. If you increase it to 5000, you will not probably see that error but can you afford to have so big UNDO tablespace? You will need in this case to increase the size of the UNDO tablespace.