Background modeling for dark matter search with 1.7 years of COSINE-100 data