Finding likelihood-based confidence interval when a matrix contains definition variables