Updated try/catch for analyses