It seems that you might be having strain on back and chest muscles due to lifiting your grand daughter.
Continue with medicine you take.
Usually within few days muscle become relax and you will feel better.
Avoid weightlifting and take rest.
Apply some analgesic
, muscle relaxant
I do not see any necessity for x-ray right now.
Ok and take care.