The correct inference from the sentence is:
D. He feels a great sense of accomplishment.
The comparison to an astronomer who has discovered a new planet suggests that Tom feels a significant sense of achievement or pleasure in whatever he has accomplished.