1 Introduction

Type Ia supernovae (SNe Ia) are ideal standard candles [1]. In 1998, the accelerating expansion of the Universe was discovered using the luminosity-redshift relation of SNe Ia [2, 3]. The cosmological principle assumes that the Universe is homogeneous and isotropic at large scales. Based on the cosmological principle and numerous observational facts, the standard \(\varLambda \)CDM model has been established. It can be used to explain various observations.

However, it is worthy to examine the validity of the standard \(\varLambda \)CDM model [4,5,6,7] and its assumptions, namely the cosmological principle. Deviation from cosmic isotropy with high statistical confidence level would lead to a major paradigm shift. At present, the standard cosmology confronts some challenges. Observations on the large-scale structure of the Universe, such as “great cold spot” on cosmic microwave background (CMB) sky map [8], alignment of lower multipoles in CMB power spectrum [9, 10], alignment of polarization directions of quasars in large scale [11], handedness of spiral galaxies [12], and spatial variation of the fine structure constant [13, 14], show that the Universe may be anisotropic.

The isotropy of the cosmic acceleration has been widely tested using SNe Ia. Generally, there are two different ways to study the possible anisotropy from SNe Ia. The first one is directly fitting the data to a specific anisotropic model (AM) [15,16,17]. Many anisotropic cosmological models have been proposed to match the observations, including the Bianchi I type cosmological model [15, 18] and the Rinders–Finsler cosmological model [19]. The extended topological quintessence model with a spherical inhomogeneous distribution for dark energy density is also proposed [14].

An alternative method is directly analysing the SNe Ia data in a model-independent way [14, 20,21,22,23,24,25,26,27,28,29,30,31,32], which does not depend on the specific cosmological model. The hemisphere comparison (HC) method and dipole fitting (DF) method are usually used in literature. The hemisphere comparison method divides samples into two hemispheres perpendicular to a polar axis, then fits cosmological parameters using samples in each hemisphere independently and compares their differences. The dipole fitting (DF) method assumes a dipolar deviation on redshift-distance modulus relation, then derives the dipole’s direction and magnitude using statistic approaches. Meanwhile, low-redshift SNe Ia are used to estimate the direction and amplitude of the local bulk flow [33,34,35,36,37,38,39,40]. So far, no study has been able to rule out the isotropy at more than 3\(\sigma \). The gravitational wave as standard siren has also been proposed to probe cosmic anisotropy [41].

Table 1 Incomplete list of previous works on cosmological preferred directions. AM is short for a specific anisotropic model, DF for dipole fitting method, and HC for hemisphere comparison method
Fig. 1
figure 1

Venn diagram of the three SNe Ia catalogs. Overlapped data points are shown as labeled numbers

Table 2 Best-fitting results of dipole and monopole for three data sets. The confidence level (CL) is defined as the probability of the case where the dipole magnitude of an arbitrary data set in “isotropic” samples being smaller than the best-fitting dipole magnitude

The directions and magnitudes of anisotropy from previous works are shown in Table 1. It’s obvious that different results are derived from different authors. In this paper, we compare the DF fitting results of different SNe Ia samples and try to find the reason for the differences. This paper is organized as follows. In Sect. 2, SNe Ia data sets and DF method are introduced. The fitting results are shown in Sect. 3.1. We discuss the possible reasons for the differences in Sect. 4. Finally, we summarize in Sect. 5.

Fig. 2
figure 2

Best-fitting dipole direction (star) and 1\(\sigma \) error range of the Union2.1 data set. Scatter points represent dipole fitting results of simulating samples

Fig. 3
figure 3

Similar to Fig. 2 for the Constitution data set

Fig. 4
figure 4

Best-fitting dipole direction (star) of the JLA data set. Scatter points represent dipole directions and magnitudes generated by MCMC sampling of original samples

Fig. 5
figure 5

Blue lines show marginalized likelihoods of dipole A, monopole B and (lb) for Union2.1 data set, and black vertical lines represent best-fitting values. Green dotted lines represent results of “isotropic” samples

Fig. 6
figure 6

Similar to Fig. 5 for Constitution data set

2 Data and methods

2.1 Data sets

Large-scale systematic sky surveys on SNe Ia have been performed in the past decades. These surveys, which cover a wide range of redshifts from \(z<0.1\) to \(z \sim 1\), include Supernovae Legacy Survey [42, 43, SNLS], Sloan Supernova Survey [44], the Pan-STARRS survey [45,46,47], Harvard-Smithsonian Center for Astrophysics survey [48, CfA], the Carnegie Supernova Project [49, 50, 51, CSP], the Lick Observatory Supernova Search [52, LOSS], the Nearby Supernova Factory [53, NSF], etc. Thanks to these sky surveys, a bunch of SNe Ia catalogs has been published, including “SNLS” [42], “Union” [54], “Constitution” [48], “SDSS” [55], “SNLS3” [56], “Union2.1” [57], and “Joint Light-curve Analysis(JLA)” [58].

In this paper, we used three SNe Ia catalogs in our analysis: Union2.1, Constitution, and JLA. Union2.1 includes 580 SNe Ia [57]. The catalog covers samples with redshift range \(0.015 \le z \le 1.414\). Constitution catalog combines samples from Union and CfA3, containing 397 SNe Ia with redshifts in the range \(0.015 \le z \le 1.55\) [48]. The coordinate information of the Constitution catalog is adopted from the Open Supernova Catalog in this paper [59]. JLA catalog includes several low-redshift samples (\(z < 0.1)\), all three seasons from the SDSS-II (\(0.05< z < 0.4\)), and three years from SNLS (\(0.2< z < 1\)). It includes 740 SNe Ia with high-quality light curves [58]. It covers redshift range \(0.01 \le 1.30 \). The three SNe Ia catalogs have some overlap in samples. The numbers of overlapped data points are shown in Fig. 1.

Fig. 7
figure 7

Blue lines show marginalized likelihoods of dipole A, monopole B and (lb) for JLA data set, and black vertical lines represent best-fitting values. Orange dotted lines represent results of “isotropic” samples. Green dashed lines represent results of combined fitting of dipole parameters and nuisance parameters

2.2 Dipole fitting method

Firstly, we briefly introduce the dipole fitting method. For Union2.1 and Constitution data sets, the luminosity distance could be expanded by Hubble series parameters: Hubble parameter H, deceleration parameter q, jerk parameter j and snap parameter s. These parameters can be expressed as functions of the scale factor a and its derivatives,

$$\begin{aligned} H= & {} \frac{{\dot{a}}}{a} \quad q = -\frac{1}{H^2}\frac{\ddot{a}}{a} \nonumber \\ j= & {} \frac{1}{H^3}\frac{\dddot{a}}{a} \quad s = \frac{1}{H^4}\frac{\ddddot{a}}{a}. \end{aligned}$$
(1)

Taylor expansion of luminosity distance could be made in terms of redshift and Hubble series parameters [60]. However, this expansion diverges at \(z>1\). Thus, another parameter \(y=z/(1+z)\) is introduced to overcome this problem. The luminosity distance can be expanded as a function of y [61, 62]

$$\begin{aligned} d_{\mathrm {L}}(y)= & {} \frac{c}{H_0} \bigg [y-\frac{1}{2}(q_0-3)y^2 + \frac{1}{6}(11-5q_0-j_0)y^3 \nonumber \\&+ \frac{1}{24}(50-7j_0-26q_0+10q_0j_0 \nonumber \\&+21q_0^2-15q_0^3+s_0)y^4 + O(y^5) \bigg ]. \end{aligned}$$
(2)

The distance modulus is defined as

$$\begin{aligned} \mu _{\mathrm {th}} = 5 \log \frac{d_{\mathrm {L}}}{\mathrm {Mpc}} + 25. \end{aligned}$$
(3)

Then the \(\chi ^2\) can be calculated as

$$\begin{aligned} \chi ^2(H_0, q_0, j_0, s_0) = \sum _i \frac{(\mu _{\mathrm {obs},i} - \mu _{{\mathrm {th}},i})^2}{\sigma _i^2}, \end{aligned}$$
(4)

where \(\mu _\mathrm {obs}\) and \(\sigma _i\) are observational values of distance moduli and their errors, respectively. The best-fitting values of parameters could be obtained by minimizing \(\chi ^2(H_0, q_0, j_0, s_0)\).

Table 3 Fitted parameters of JLA data set for separated fitting and combined fitting
Fig. 8
figure 8

Probability distribution functions of dipole parameters and nuisance parameters when fitted simultaneously for JLA data set

Fig. 9
figure 9

Probability distribution functions of rectangular components of dipole \({\varvec{A}}\) and monopole B for JLA data set directly using (lbA) as fitted parameters

Fig. 10
figure 10

Probability distribution functions of rectangular components of dipole \({\varvec{A}}\) and monopole B for JLA data set directly using \((A_x,A_y,A_z)\) as fitted parameters

For the JLA sample, the observational values of distance moduli are not directly given. Therefore, we use the values obtained in the \(\varLambda \)CDM model to avoid fitting too many free parameters simultaneously. The theoretical luminosity distance in \(\varLambda \)CDM model can be expressed as

$$\begin{aligned} d_{\mathrm {L}}(z) = \frac{(1+z)c}{H_0} \int _{0}^{z} \frac{{\mathrm {d}}z'}{\sqrt{\varOmega _{\mathrm {m}}(1+z)^3+(1-\varOmega _{\mathrm {m}})}}. \end{aligned}$$
(5)

Union2.1 and Constitution data sets already give \(\mu _\mathrm {obs}\) as a part of the released data. For JLA data set, \(\mu _\mathrm {obs}\) can be derived from light curve parameters of SN Ia from [58]

$$\begin{aligned} \mu _{{\mathrm {obs}}} = m_{\mathrm {B}}^*-(M_{{\mathrm {B}}} - \alpha \times X_1 + \beta \times {\mathcal {C}}), \end{aligned}$$
(6)

where \(m_{{\mathrm {B}}}^*\) is the observed peak magnitude in the rest-frame of the B band, \(X_1\) describes the time stretching of light-curve, \({\mathcal {C}}\) describes the supernova color at maximum brightness and \(M_{{\mathrm {B}}}\) is the absolute B-band magnitude, which depends on the host galaxy properties. \(\alpha ,\beta \) are nuisance parameters. \(M_{{\mathrm {B}}}\) can be fitted by a simple step function related to \(M_{{\mathrm {stellar}}}\) [63],

$$\begin{aligned} M_{{\mathrm {B}}} = \left\{ \begin{array}{ll} M_{{\mathrm {B}}}^1 &{} M_{{\mathrm {stellar}}} < 10^{10} M_{\odot } \\ M_{{\mathrm {B}}}^1 + \varDelta _M &{} M_{{\mathrm {stellar}}} \geqslant 10^{10} M_{\odot }. \\ \end{array} \right. \end{aligned}$$
(7)

where \(M_{{\mathrm {B}}}^1\) and \(\varDelta _M\) are nuisance parameters. \({\varvec{C}}(\alpha ,\beta )\) is the total covariance matrix, which can be obtained with JLA data. \(\chi ^2\) is defined as

$$\begin{aligned} \chi ^2_{JLA} (\alpha , \beta , M_{{\mathrm {B}}}^1, \varDelta _M, \varOmega _{{\mathrm {m}}}) = (\varvec{\mu }_{{\mathrm {obs}}} - \varvec{\mu }_{{\mathrm {th}}})^{\dag } {\varvec{C}}^{-1} (\varvec{\mu }_{{\mathrm {obs}}} - \varvec{\mu }_{{\mathrm {th}}}). \end{aligned}$$
(8)

By minimizing \(\chi ^2_{JLA}\), all free parameters mentioned above can be fitted. Our best-fitting results are consistent with those of [58].

To quantify the anisotropic deviations on luminosity distance, we define the distance moduli with dipole \({\varvec{A}}\) and monopole B as

$$\begin{aligned} {\tilde{\mu }}_{{\mathrm {th}}} = \mu _{{\mathrm {th}}}(1 - {\varvec{A}} \cdot \hat{{\varvec{n}}} + B), \end{aligned}$$
(9)

where \({\tilde{\mu }}_{{\mathrm {th}}}\) is the theoretical value of distance modulus with dipolar direction dependence, and \(\hat{{\varvec{n}}}\) is the unit vector pointing at the corresponding SN Ia. \({\varvec{A}} \cdot \hat{{\varvec{n}}}\) represents the projected dipole magnitude in the direction of the given SNe Ia sample. \(\hat{{\varvec{n}}}\) can be represented in galactic coordinate as

$$\begin{aligned} \hat{{\varvec{n}}} = \cos (b) \cos (l) \hat{{\varvec{i}}} + \cos (b) \sin (l) \hat{{\varvec{j}}} + \sin (b) \hat{{\varvec{k}}}. \end{aligned}$$
(10)

Then the projection is

$$\begin{aligned} {\varvec{A}} \cdot \hat{{\varvec{n}}} = \cos (b) \cos (l)A_x + \cos (b) \sin (l) A_y + \sin (b) A_z. \end{aligned}$$
(11)

The best-fitting dipole and monopole parameters can be derived with the following steps:

  1. 1.

    Substitute \(\mu _\mathrm {th}\) with \({\tilde{\mu }}_{{\mathrm {th}}}\) in the expression of \(\chi ^2\) as is shown in Eqs. (4) and (8).

  2. 2.

    Fit the dipole \((A_x, A_y, A_z)\) and the monopole component B by minimizing \(\chi ^2\).

  3. 3.

    Transform the fitted dipole from Cartesian coordinate \((A_x, A_y, A_z)\) back to spherical coordinate (lbA).

Finally, we analyze the likelihood of the fitted parameters and the significance of dipole magnitude utilizing Markov Chain Monte Carlo (MCMC) sampling. To obtain the significance of dipole anisotropy precisely, we use the Monte Carlo simulation method [14, 24, 25]. To be specific, we construct a type of synthetic samples based on original data sets by assuming that theoretical values of distance moduli are “real” values. We refer to these synthetic samples as “isotropic” samples. Applying MCMC sampling on these samples, probability distributions of the fitted parameters can be obtained. They are also used to probe the effect of anisotropic factors, which we will discuss in Sect. 4.

2.3 Quadrupole fitting

To examine whether a higher order of anisotropy exists, we fit the quadrupole along with the dipole in a similar manner as mentioned previously. We define the quadrupole \({\mathbf {Q}}\) in

$$\begin{aligned} {\tilde{\mu }}_{{\mathrm {th}}} = \mu _{{\mathrm {th}}}(1 - {\mathbf {Q}}^T \hat{{\varvec{n}}} {\mathbf {Q}} - {\varvec{A}} \cdot \hat{{\varvec{n}}} + B), \end{aligned}$$
(12)

where \({\mathbf {Q}}\) is a symmetric, traceless \(3\times 3\) matrix determined by 5 individual parameters.

Table 4 Redshift tomography results for the Union2.1 data set using dipole fitting method
Table 5 Similar to Table 4, but for the Constitution data set
Fig. 11
figure 11

Marginalized likelihoods of dipole A, monopole B and (lb) for different redshift range of Union2.1 data set

Fig. 12
figure 12

Similar to Fig. 11, but for Constitution data set

Fig. 13
figure 13

Left column shows samples drawn from fitted Kent distribution, the right column shows original dipole positions. Black x-cross shows the center of Kent distribution. Red cruciform shows the position of the best-fitting dipole

Fig. 14
figure 14

Probability distribution functions of dipole and quadrupole parameters

Fig. 15
figure 15

Distribution of eigenvectors with maximum eigenvalues of fitted quadrupole matrices, with eigenvalues represented in different colors

2.4 Hemisphere comparison method

We applied hemisphere comparison method to the three samples. For a randomly chosen axis, data points contained in each hemisphere is used to fit \(\varOmega _{{\mathrm {m}}}\) individually, then the difference between each hemisphere is shown as

$$\begin{aligned} \delta =\frac{\varDelta \varOmega _{{\mathrm {m0}}}}{{{\bar{\varOmega }}}_{{\mathrm {m0}}}}=\frac{\varOmega _{{\mathrm {m0,u}}}-\varOmega _{{\mathrm {m0,d}}}}{(\varOmega _{{\mathrm {m0,u}}}+\varOmega _{{\mathrm {m0,d}}})/2}, \end{aligned}$$
(13)

where the subscripts u and d represent the best parameter fitting value in the ‘up’ and ‘down’ hemispheres, respectively.

3 Results

3.1 Dipole fitting method

Fitting results are shown in Table 2. The confidence level is defined as the probability \(\mathrm {P}(|{\varvec{A}}_{\mathrm{iso}}|<|{\varvec{A}}_{\mathrm{fit}}|)\), where \(|{\varvec{A}}_{\mathrm{iso}}|\) is the dipole magnitude of an arbitrary data set in “isotropic” samples, and \(|{\varvec{A}}_{\mathrm{fit}}|\) is the best-fitting dipole magnitude. Best-fitting dipole directions and 1\(\sigma \) errors for Union2.1, Constitution, and JLA data sets, along with dipole fitting results of samples are plotted in Figs. 2, 3 and 4, respectively.

We generate \(2 \times 10^6\) effective samples for each data set for MCMC sampling. Probability distributions of dipole and monopole parameters for Union2.1, Constitution, and JLA data sets are shown in Figs. 56 and 7, respectively. Note that the best-fitting parameters do not coincide with most probable values for some parameters. This is because that the best-fitting values represent the maximum point of probability density function (PDF), while the most probable values in presented figures are the maximum values of marginal PDF of lbA, respectively. The marginalization process “flattens” lots of information about the original PDF, thus the maxima can differ from those of the original PDF. Also notice that because the volume of parameter space approaches to zero when \(A \rightarrow 0\) or \(b \rightarrow \pm 90^{\circ }\), A will always have zero likelihood at \(A = 0\) while having its maximum likelihood at some finite value, and b will form a sine curve, even when samples are uniformly distributed around the origin. This does not affect the validity of analyzing the magnitude and direction of the dipole, so long as the sampling results are compared with those of “isotropic” samples, where deviations from “isotropic” scenario can be discerned from bias introduced from features of the spherical coordinate.

For Union2.1 data set, the direction and magnitude of the dipole are \((l=309.3^{\circ } {}^{+ 15.5^{\circ }}_{-15.7^{\circ }} ,\ b = -8.9^{\circ } {}^{ + 11.2^{\circ }}_{-9.8^{\circ }})\), and \(\ A=(1.46 \pm 0.56) \times 10^{-3}\). The confidence level of dipolar anisotropy is 98.3%. For Constitution data set, these parameters are \((l=67.0^{\circ }{}^{+ 66.5^{\circ }}_{-66.2^{\circ }},\ b=-0.6^{\circ }{}^{+ 25.2^{\circ }}_{-26.3^{\circ }})\), \(\ A=(4.4 \pm 5.0) \times 10^{-4}\), and \(\ B = (-0.2 \pm 2.4) \times 10^{-4}\). The confidence level of dipolar anisotropy is 19.7%.

We fit JLA data set in two different approaches. Firstly, we fit nuisance parameters, then fit dipole parameters using the fitted nuisance parameters as constant. Secondly, we fit the nuisance parameters and dipole parameters simultaneously. Since nuisance parameters are related to both theoretical and observational values of distance moduli, “isotropic” synthetic data sets are not implemented in this approach. As is shown in Table 3, the combined fitting approach gives larger anisotropy than the separate fitting approach. Furthermore, the fitted values of nuisance parameters are slightly shifted. As shown in Fig. 8, B, \(\varOmega _\mathrm {m}\), and M are correlated.

It is worth mentioning that, JLA data set gives null results in dipole fitting. The 1\(\sigma \) error range of dipole direction covers the whole celestial sphere. The confidence level of dipole magnitude is merely 0.23%. Furthermore, there is no significant difference between the likelihood of simulation results in 1\(\sigma \) error range and full results. The same is true for the likelihood of parameters of “isotropic” samples and original samples. Besides, significant deviations exist in best-fitting values and most probable values of fitted parameters. Thus, no significant dipolar anisotropy of redshift-distance modulus relation is found in the JLA data set.

For Union2.1 data set, we get similar results as previous works [14, 20,21,22, 24, 25, 28]. For Constitution data sets, our results are different from those of [38]. Considering different methods, and the weak signal of the dipole in this data set, the difference is reasonable.

For JLA data set, we get different likelihood distributions as [64], which can be attributed to different fitting parameters used in the MCMC estimation. In this paper, we fit the dipole by fitting its rectangular components \((A_x, A_y, A_z)\), then convert the fitting results to spherical coordinate. However, [64] used the galactic coordinate (lb) and dipole magnitude A directly. The likelihood distributions given in [64] are inappropriate because the marginalized likelihood of b does not approach zero at \(b = \pm 90^{\circ }\). Moreover, the marginalized likelihood of l at \(0^{\circ }\) diverges from the likelihood at \(360^{\circ }\), which is contrary to the fact that the two longitudes actually “wrap up” on the sphere. We also notice that some other work, such as [29,30,31] shows similar improper likelihood distribution.

We fit parameter(lbA) with constraints \(0^{\circ }< l< 360^{\circ }, -90^{\circ }< b < 90^{\circ }, A > 0\) enforced on them, i.e., sampling results out of such boundaries will be discarded by the MCMC sampler. By using the fitting method described above, the likelihood distributions mentioned in [64] can be reproduced. Though seemingly proper, such constraints ignore the periodicity and symmetry of spherical coordinate, which results in artificial “gaps” on fitting parameters, thus blocking the sampler from properly sampling on those boundaries. As shown in Fig. 9, non-zero likelihood at \(b = \pm 90^{\circ }\) forms an unreasonable ‘spike’ at poles, which depends on the choice of the coordinate system. The proper method would be “set free” (lbA) when sampling, then “wrap around” those parameters to their boundaries afterward. By using this “wrap around” technique, we reproduce the same posteriors as using rectangular components \((A_x, A_y, A_z)\) for fitting. By comparison, posteriors used in this paper are following best-fitting values, and joint likelihood contours are smooth oval shapes, as shown in Fig. 10.

The redshift tomography results for Union2.1 and Constitution data sets are shown in Tables 4 and 5, respectively. The probability distributions for each data set are shown in Figs. 11 and 12. Because the covariance matrix is involved in the fitting, it takes considerably long time to give the results for JLA sample, we do not perform the redshift tomography analysis.

We fit the spherical distribution of dipole position with Kent distribution [65], which is the analogy to the bivariate normal distribution on the two-dimensional unit sphere. The samples drawn from Kent distribution are shown along with the original dipole positions in Fig. 13. We find that Kent distribution fits well with dipole positions derived from Union2.1 data set, but is less suitable for Constitution and JLA data set.

3.2 Quadrupole fitting method

We performed the quadrupole fitting method for the JLA data set. Five independent parameters \(Q_{11}, Q_{22}, Q_{12},Q_{13}, Q_{23}\) are used to represent the quadrupole \({\mathbf {Q}}\). The likelihood distributions of these parameters are shown in Fig. 14. The distributions of the main eigenvectors are shown in Fig. 15. The averaged absolute value of the determinant of fitted matrices is \(4.1 \times 10^{-7}\). The quadrupole of JLA data set is not significant.

3.3 Hemisphere comparison method

The hemisphere comparison results in different redshift bins are shown in Tables 6 and 7. The results are roughly following dipole fitting results for Union2.1 data set but show larger discrepancies for Constitution data set.

Table 6 Redshift tomography results using hemisphere comparison method for the Union2.1 data set
Table 7 Similar to Table 6, but for the Constitution data set

4 Discussions

4.1 Effects of anisotropy in data distribution

As shown in Figs. 56 and 7, even if no redshift-distance anisotropy in the input data, fitting results are still distributed an-isotropically (green dotted lines). This indicates other reasons, such as anisotropic coordinate or redshift distribution would affect the results.

To determine whether the coordinate distribution of samples would affect the results, we introduce two types of synthetic data sets.

  1. Type A data sets

    substituting the coordinates in the original data set with random coordinates uniformly distributed in the whole sky. \(\varvec{\mu }_{{\mathrm {obs}}}\) are replaced with synthetic data.

  2. Type B data sets

    substituting the coordinates in the original data set with random coordinates, but only uniformly distributed in the eastern hemisphere of the celestial sphere. Distance moduli are substituted in the same manner as type A data sets.

Fig. 16
figure 16

Distribution of dipole directions of type B samples. Dipole directions concentrate near crossed positions

Using MCMC sampling method introduced in Sect. 2, we find the dipoles in type A data sets are uniformly distributed in the whole sky. However, the dipoles in Type B data sets tend to concentrate in \((l,b)=(90^{\circ }, 0^{\circ })\), \((l,b)=(270^{\circ }, 0^{\circ })\), as shown in Fig. 16. Meanwhile, dipole magnitudes are generally larger than it is in Type A data sets, as shown in Fig. 17. This indicates that the anisotropy of coordinates of samples does affect the results of dipole fitting.

In addition, we generate three kinds of synthetic data sets with specific coordinate distributions, based on the Union2.1 data set. The probability density function of the randomly-generated coordinates are proportional to \(1-\sin (b)\), \(\sin ^2(b)\) and \(\cos ^2(b)\), respectively. In other words, the coordinates are concentrated on the south galactic pole, both galactic poles, and the galactic plane, respectively, as is shown in Fig. 18. Distance moduli are replaced in the same manner as “isotropic” data sets. The fitted results are shown in Fig. 19.

The spatial distribution of redshifts can be anisotropic, i.e., the redshift of samples in one patch of the sky may be generally smaller than another patch of sky. This may also cause an influence on fitting results. To extract the effects of anisotropy in redshift distribution from other factors, we introduce another kind of synthetic data set.

  1. Type C data sets

    shuffle the coordinates in the original data set, making distance-related data of every sample correspond with a coordinate of another random sample in the data set. Keep the ‘shuffled coordinates’ order unchanged, then substitute distance moduli as type A data sets.

Using the generating method described above, we can alternate the spatial distribution of redshifts without changing the distribution of coordinates. We find that the fitting results of type C data sets are fairly consistent with “isotropic” samples, as shown in Fig. 20. Therefore, the anisotropy of redshift distribution does not cause a significant influence on fitting results.

5 Conclusions

In this paper, we study three different data sets of SNe Ia, namely Union2.1, Constitution, and JLA, to find possible dipolar anisotropy in redshift-distance relation. We fit the dipole and monopole parameters by minimizing \(\chi ^2\), then run MCMC sampling to determine the error range and confidence level of the fitting parameters. We also apply the hemisphere comparison method to find possible anisotropy in \(\varOmega _\mathrm {m}\) on Union2.1 and Constitution data sets, and compare the results with dipole fitting method.

Fig. 17
figure 17

Likelihood of dipole magnitude A of different samples. Blue solid line indicates the result of synthetic samples with isotropically distributed coordinates, which tend to reduce the dipole magnitude. Green dotted line indicates the result of synthetic samples with extremely an-isotropically distributed coordinates, which increase the dipole magnitude

Fig. 18
figure 18

Coordinates generated for three synthetic data sets. The probability density functions of the coordinate density are proportional to \(1-\sin (b)\), \(\sin ^2(b)\) and \(\cos ^2(b)\), respectively

Fig. 19
figure 19

Probability distributions of three synthetic data sets with a specific coordinate distribution

Fig. 20
figure 20

Likelihood of parameters for type C samples and isotropic samples. No significant deviation caused by the different spatial distribution of redshifts is found

For Union2.1 data set, we find the direction and magnitude of the dipole are \((l=309.3^{\circ } {}^{+ 15.5^{\circ }}_{-15.7^{\circ }} ,\ b = -8.9^{\circ } {}^{ + 11.2^{\circ }}_{-9.8^{\circ }} ), \ A=(1.46 \pm 0.56) \times 10^{-3}\). The monopole magnitude is \(B = (-2.6 \pm 2.1) \times 10^{-4}\). The confidence level of dipolar anisotropy is 98.3%. Hemisphere comparison method gives \(\delta =0.20,l=352^{\circ },b=-9^{\circ }\). For Constitution data set, these parameters are \((l=67.0^{\circ }{}^{+ 66.5^{\circ }}_{-66.2^{\circ }},\ b=-0.6^{\circ }{}^{+ 25.2^{\circ }}_{-26.3^{\circ }}), \ A=(4.4 \pm 5.0) \times 10^{-4},\ B = (-0.2 \pm 2.4) \times 10^{-4}\), The confidence level of dipolar anisotropy is 19.7%. The results of hemisphere comparison method are \(\delta =0.56,l=141^{\circ },b=-11^{\circ }\). For JLA data set, fitted parameters are \(l=94.4^{\circ },\ b=-51.7^{\circ }, \ A=7.8 \times 10^{-4},\ B=1.9 \times 10^{-3}\). The 1\(\sigma \) error range of dipole direction covers almost the whole sky. The confidence level of dipolar anisotropy is merely 0.23%. Redshift tomography results show slightly larger anisotropy at lower redshift range.

As shown above, the Union2.1 and Constitution data sets, although have a large portion of overlapped data points, give radically different results in terms of the best-fitting dipole parameters and confidence levels. Furthermore, JLA data set, which contains more data and a smaller portion of overlapped data than the other two data sets, gives an essentially null result in dipolar anisotropy. Due to the large discrepancies of the best-fitting dipole parameters among different data sets, and the low confidence level given by Constitution and JLA data set, we conclude that no sufficient evidence of dipolar anisotropy is found in the aforementioned three SNe Ia catalogs. The larger confidence level of dipolar anisotropy shown in Union2.1 data set may come from non-cosmological factors.

We also study the effects of anisotropy of coordinate and redshift distribution in dipole fitting method and find that anisotropy distribution of coordinates can cause dipole magnitude to become larger. However, anisotropy distribution of redshifts does not have a significant influence on fitting results.

In future, the next-generation cosmological surveys, such as LSST [66], Euclid [67], and WFIRST [68] will observe much larger SNe Ia data sets with enhanced light-curve calibration, which may shed light on the anisotropy in redshift-distance relation.