Set completed date when analysis fails.