The boundary conditions are correct. The top-left warning means the simulation is diverged. Please refer to this article https://optics.ansys.com/hc/en-us/articles/11277217507603-Troubleshooting-diverging-simulations-in-FDTD
if you have more questions please write a new post.