When a group of astronomers calculate a star is on a course to slam into Earth, a few days before, it’s accompanying planet will first pass close enough to the…