Error analysis of light curves of detached eclipsing binary systems