The rare planetary alignment won't be seen again until 2040