Added minNumObs and minNumUncen arguments.