You must pro-rate. On Schedule E, only the portion of mortgage interest and property tax that applies to the rental period is entered. The portion that applies to the period of personal use goes to Schedule A. (Insurance covering the time of personal use is not deductible; but insurance applying to the time of rental use is deductible on Schedule E.)
**Answers are correct to the best of my ability but do not constitute tax or legal advice.