In Rayleigh scattering by a molecule the intensity of the scattered light is:
$$I \propto I_0({1+\cos^2(\theta))}$$
while the time-averaged Poynting vector of an oscillating dipole is:
$$\langle S \rangle \propto \sin^2(\theta)$$
The magnitude of the Poynting vector is the intensity of EM field.
Since in Rayleigh phenomenon the scattered light is due to an oscillating dipole, why do we get this difference in the angular dependence?