Ola Hallengren Index Optimize script failed because a deadlock
In most cases, running an index job should be done only once per week.  If there is an off peak time (like weekends) that you can run it that would be better.


  Index maintenance one day per week, Scheduling, How should I schedule jobs? 


If you must run daily, you can change the variables below to address lock timeouts. 


WaitAtLowPriorityAbortAfterWait
LockTimeout


https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html