magistrate can issue warrant during investigation