Here's what I have for Janet dau of Thomas & Mgt Gemmell. Janet McMurtrie, b. 1 July 1780 at Maybole, Ayr, SCT, m. John Gray, 10 February 1863 at Kirkoswald, Ayr, Sct, d. 11 February 1864 at Kirkmichael, Ayr, SCT
This must hve been second marriage if she married at 83! So perhaps something is wrong.
What is the documentary source for the McS... references?