interesting i did a check on genealogist check from 1850-1860 but no Hamilton Scott surname found so i thought just try the Hamilton surname found this one the yr was 1859
https://civilrecords.irishgenealogy.ie/churchrecords/details-civil/47e8…
so did another look from 1840-1850 and found this one under the surname Scott and John was forename that was in 1848
https://civilrecords.irishgenealogy.ie/churchrecords/details-civil/92d3….
hope one of these might help unfortunately i am unablle to check roots ireland but i did have a look at the surname in roots ireland and no search was found so it is possible that John was Hamilton or Scott and mother was Scott or Hamilton