Sorry, but Last Man On Earth was based on I Am Legend and was redone recently starring Will Smith.
You are correct. I was mistaken. Been awhile since I looked this stuff up.