Online multi-parameter phase-curve fitting and application to a large corpus of asteroid photometric data