Description
Refactor how logs and warnings are handled throughout the package. Ensure that model fitting errors, timeouts, and warnings (e.g., convergence issues) are captured and returned in a structured way. Logging should also support verbosity levels (INFO, WARN, ERROR) to improve debugging and transparency during batch processing.