The characterization of the distant blazar GB6 J1239+0443 from flaring and low activity periods