Process Data Rectification And Process Optimization With Uncertainty