added new output message
modified the code so the degree of certainty is published together with the object id