The only thing I would be concerned about the YYZ-DEN-PSP UA itinerary is the 58 minute connection in DEN, especially because you are on the last DEN-PSP flight for the night. If for some reason your YYZ-DEN flight get delayed, and you miss your connection, you don’t have much options. I just checked and the last DEN-ONT flight has also departed by then. UA can get you to PSP through SFO, but it will be much later at night.
Not trying to scare you, but the one thing I worry about is when it is a UA connection that is less than 1 hour and I am on the last flight for the night to my destination.