Long-term mortgage rates ticked up this week, but have now been below 4 percent since the beginning of the year.