It looks like James's parents only married in 1853. On IGI, actual extract from OPRs:
BARNARD LIVELY Marriages: Spouse: CATHARINE GALLAGHER
Marriage: 17 OCT 1853 Leswalt, Wigtown, Scotland
Also on IGI, two children showing for this couple, including the Catherine you already have:
1. MARGARET LIVELY Birth: 16 FEB 1857 Auchinleck, Ayr, Scotland
2. CATHRINE LIVELY Birth: 14 JAN 1860 Old Luce, Wigtown, Scotland
On the 1851 Census at
http://www.dumgal.gov.uk/historicalindexes/census.aspx there are only two Lively entries which I think might be duplicates. This looks like it might be Barnard age 23 (on Scotlands People, these entries are both down as Barny). These entries seem to be duplicated, although the addresses are slightly different, which is why they are showing as separate entries although the household members are the same.
LIVELY Danny, age 85, Labourer farm, b. Ireland, household of Robert Campbell (on SP his age is down as 23)
Address: Creachmore(887) Kirkcolm
LIVELY Danny, age 23, Labourer farm, b. Ireland, household of Robert Campbell
Address: Craichmore(891) Leswalt
From the 1851 Census, there is only one Catherine Gall* that would fit in age to Barnard:
GALLACHER Catherine, age 28, Servant, unmarried, daughter of Hannah, b. Ireland
Address: Cot House (900), Whithorn
Regards.
Monica