-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathy3-2x2-bias.tex
1411 lines (1050 loc) · 162 KB
/
y3-2x2-bias.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
\documentclass[aps, prd,twocolumn,superscriptaddress,nofootinbib,preprintnumbers]{revtex4-1}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{natbib}
\input{journaldef.tex}
% MNRAS is set in Times font. If you don't have this installed (most LaTeX
% installations will be fine) or prefer the old Computer Modern fonts, comment
% out the following line
\usepackage{newtxtext,newtxmath}
% Depending on your LaTeX fonts installation, you might get better results with one of these:
%\usepackage{mathptmx}
%\usepackage{txfonts}
% Use vector fonts, so it zooms properly in on-screen viewing software
% Don't change these lines unless you know what you are doing
\usepackage[T1]{fontenc}
\usepackage{ae,aecompl}
\usepackage{xcolor}
%%%%% AUTHORS - PLACE YOUR OWN PACKAGES HERE %%%%%
% Only include extra packages if you really need them. Common packages are:
\usepackage{graphicx} % Including figure files
\usepackage{amsmath} % Advanced maths commands
\usepackage{amssymb} % Extra maths symbols
\usepackage{braket}
\usepackage{siunitx} %v. useful units package
\usepackage{multirow}
\usepackage{mathtools}
\usepackage{makecell}
\renewcommand{\cellalign}{l}
% \usepackage{caption}
\usepackage[caption = false]{subfig}
% \usepackage{subcaption}
% \captionsetup{compatibility=false}
% \usepackage{subfigure}
% \usepackage{mwe}
\usepackage{multirow}
\usepackage{ulem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{float}
\restylefloat{table}
% \usepackage[mathlines]{lineno}
% \usepackage{lineno}
% \linenumbers
%%%%% AUTHORS - PLACE YOUR OWN COMMANDS HERE %%%%%
% Please keep new commands to a minimum, and use \newcommand not \def to avoid
% overwriting existing commands. Example:
%\newcommand{\pcm}{\,cm$^{-2}$} % per cm-squared
\newcommand{\xip}{\ensuremath{\xi_{+}}}
\newcommand{\xim}{\ensuremath{\xi_{-}}}
\newcommand{\xipm}{\ensuremath{\xi_{\pm}}}
\newcommand{\gammat}{\ensuremath{\gamma_{\rm t}(\theta)}}
\newcommand{\wtheta}{\ensuremath{w(\theta)}}
\newcommand{\dsigr}{\ensuremath{\Delta\Sigma(R)}}
\newcommand{\dsigobsr}{\ensuremath{\Delta\Sigma^{\mathrm{obs}}(R)}}
\newcommand{\dsigmodr}{\ensuremath{\Delta\Sigma^{\mathrm{model}}(R)}}
\newcommand{\pgg}{\ensuremath{P_{\mathrm{gg}}}}
\newcommand{\pgm}{\ensuremath{P_{\mathrm{gm}}}}
\newcommand{\xigg}{\ensuremath{\xi_{\mathrm{gg}}} }
\newcommand{\xigm}{\ensuremath{\xi_{\mathrm{gm}}} }
\DeclareMathAlphabet\mathbfcal{OMS}{cmsy}{b}{n}
%units
\DeclareSIUnit \megaparsec {Mpc}
\DeclareSIUnit \h {\mbox{$h$}}
%cosmo parameters
\newcommand{\om}{\ensuremath{\Omega_{\mathrm m}}}
\newcommand{\ol}{\Omega_{\mathrm \Lambda}}
\newcommand{\omb}{\Omega_{\mathrm b}}
\newcommand{\sig}{\ensuremath{\sigma_8}}
\newcommand{\lcdm}{$\Lambda$CDM}
\newcommand{\wcdm}{$w$CDM}
\newcommand{\ns}{n_s}
\newcommand{\w}{w_0}
\newcommand{\wa}{w_a}
% eqn and figures
\newcommand\eqn[1]{equation~\ref{#1}}
\newcommand\eqnb[2]{equations~\ref{#1}~\& \ref{#2}}
\newcommand\eqnc[2]{equations~\ref{#1}--\ref{#2}}
\newcommand\Eqn[1]{Equation~\ref{#1}} % If you need to start a sentence with this...
\newcommand\Eqnb[2]{Equations~\ref{#1}~\& \ref{#2}}
% Likewise for figures and tables
\newcommand\fig[1]{Figure~\ref{#1}}
\newcommand\figb[2]{Figures~\ref{#1}~\& \ref{#2}}
\newcommand\chap[1]{Chapter~\ref{#1}}
\newcommand\sect[1]{Section~\ref{#1}}
\newcommand\tab[1]{Table~\ref{#1}}
\newcommand\app[1]{Appendix~\ref{#1}}
\newcommand{\redmagic}{\texttt{redMaGiC} }
\newcommand{\mice}{\texttt{MICE} }
\newcommand{\maglim}{\texttt{MagLim} }
\newcommand{\gold}{\texttt{GOLD} }
\newcommand{\buzzard}{\texttt{Buzzard} }
\newcommand{\hinv}{h^{-1}}
\newcommand{\beq}{\begin{equation}}
\newcommand{\eeq}{\end{equation}}
\newcommand{\hfour}{\hspace{4pt}}
\newcommand{\htwo}{\hspace{2pt}}
\newcommand{\nhat}{\hat{\textbf{n}}}
\newcommand{\del}{\partial}
\newcommand{\Chi}{\mathcal{X}}
\newcommand{\mb}{\mathbf}
\newcommand{\CLASS}{\texttt {CLASS}}
\newcommand{\COSMOLIKE}{\texttt {CosmoLike}}
\newcommand{\Camb}{\texttt {\textsc{Camb}}}
\newcommand{\HEALPIX}{{\textsc{Healpix}}}
\newcommand{\Halofit}{{\texttt{Halofit}}}
\newcommand{\balrog}{{\textsc{Balrog}}}
\newcommand{\isd}{\textsc{ISD}\xspace}
\newcommand{\enet}{\textsc{ENet}\xspace}
\newcommand{\metacal}{{\textsc{Metacalibration}~}}
\newcommand{\ttt}{{$3\times2$-point}}
\newcommand{\twottwo}{{$2\times2$-point}}
\usepackage{xspace} %This allows to add extra space when needed in new commands
\newcommand{\sdir}{\textsc{3sDir}\xspace}
\newcommand{\Nsims}{{{18}}}
%\usepackage[bottom]{footmisc}
\renewcommand{\thefootnote}{\arabic{footnote}}
\newcommand{\WMAP}{{\slshape WMAP~}}
\newcommand{\LCDM}{$ \Lambda $CDM~}
\newcommand{\PLANCK}{{\slshape PLANCK~}}
\newcommand{\WMAPc}{{\slshape WMAP}}
\newcommand{\CMBFAST}{\texttt {cmbfast~}}
\newcommand{\LCDMc}{$ \tilde{\lambda} $CDM}
\newcommand{\Planck}{{\slshape Planck~}}
\newcommand{\Planckc}{{\slshape Planck}}
\newcommand{\fsz}{\ensuremath{f_{sz}^{150}}}
\newcommand{\mbl}{\ensuremath{\mathbf{l}}}
\newcommand{\addgals}{{\sc Addgals}}
\newcommand{\calclens}{{\sc Calclens}}
\newcommand{\buzzardtwo}{{\sc Buzzard v2.0}}
\newcommand{\kcorrect}{{\sc kcorrect}}
\newcommand{\msol}{\ensuremath{h^{-1}M_{\odot}}}
\newcommand{\Msol}{\ensuremath{M_{\odot}}}
\newcommand{\mpc}{\ensuremath{h^{-1}\mathrm{Mpc}}}
\newcommand{\gpc}{\ensuremath{h^{-1}\mathrm{Gpc}}}
\newcommand{\gpcc}{\ensuremath{h^{-3}\mathrm{Gpc}^3}}
\newcommand{\kpc}{\ensuremath{h^{-1}\mathrm{kpc}}}
\newcommand{\Mpc}{\mathrm{Mpc}}
\newcommand{\nbody}{$N$-body}
\newcommand{\cs}{\ensuremath{\xi_{\pm}}}
\newcommand{\seight}{\ensuremath{S_8}}
\newcommand{\SP}[1]{{\color{orange}[SP: #1]}}
\newcommand{\Yv}[1]{{\color{blue}[YYY]}}
\newcommand{\brown}[1]{\textcolor{brown}{#1}}
\newcommand{\myvec}[1]{\hat{\mathbf{#1}}}
\newcommand{\jdr}[1]{{\color{blue}[JDR: #1]}}
\newcommand{\AC}[1]{{\color{teal}[AC: #1]}}
\newcommand{\acsuggest}[1]{\textcolor{teal}{#1}}
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\IR}[1]{{\color{red}[\textbf{Note for IR}: #1]}}
\newcommand{\gary}[1]{\textcolor{red}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%
% Title of the paper, and the short title which is used in the headers.
% Keep the title short and informative.
% The list of authors, and the short list which is used in the headers.
% If you need two or more lines of authors, add an extra line using \newauthor
% These dates will be filled out by the publisher
% \date{Accepted YYY. Received YYY; in original form ZZZ}
% Enter the current year, for the copyright statements etc.
% \pubyear{2015}
% Don't change these lines
% \hypersetup{draft}
\begin{document}
\preprint{DES-2019-0481}
\preprint{FERMILAB-PUB-21-249-SCD-T}
\title[Short title, max. 45 characters]{Dark Energy Survey Year 3 Results: Constraints on cosmological parameters and galaxy bias models from galaxy clustering and galaxy-galaxy lensing using the \redmagic sample}
\label{firstpage}
% \pagerange{\pageref{firstpage}--\pageref{lastpage}}
% Abstract of the paper
\begin{abstract}
We constrain cosmological parameters and galaxy-bias parameters using the combination of galaxy clustering and galaxy-galaxy lensing measurements from the Dark Energy Survey Year-3 data. We describe our modeling framework and choice of scales analyzed, validating their robustness to theoretical uncertainties in small-scale clustering by analyzing simulated data. Using a linear galaxy bias model and \redmagic galaxy sample, we obtain constraints on the matter content of universe to be $\Omega_{\rm m} = 0.325^{+0.033}_{-0.034}$. We also implement a non-linear galaxy bias model to probe smaller scales that includes parameterizations based on hybrid perturbation theory, and find that it leads to a 15\% gain in cosmological constraining power. Using the \redmagic galaxy sample as foreground lens galaxies, we find the galaxy clustering and galaxy-galaxy lensing measurements to exhibit significant signals akin to decorrelation between galaxies and mass on large scales, which is not expected in any current models. This likely systematic measurement error biases our constraints on galaxy bias and the $S_8$ parameter. We find that a scale-, redshift- and sky-area-independent phenomenological decorrelation parameter can effectively capture this inconsistency between the galaxy clustering and galaxy-galaxy lensing. We perform robustness tests of our methodology pipeline and demonstrate stability of the constraints to changes in the theory model. After accounting for this decorrelation, we infer the constraints on the mean host halo mass of the \redmagic galaxies from the large-scale bias constraints, finding the galaxies occupy halos of mass approximately $1.5 \times 10^{13} M_{\odot}/h$.
\end{abstract}
% Select between one and six entries from the list of approved keywords.
% Don't make up new ones.
% \begin{keywords}
% keyword1 -- keyword2 -- keyword3
% \end{keywords}
\input{authors.tex}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%% BODY OF PAPER %%%%%%%%%%%%%%%%%%
\section{Introduction}
%\IR{Mostly a placeholder introduction, will fill more details soon}
\label{sec:intro}
%\begin{itemize}
% \item LSS can tell us about dark energy.
% \item Galaxy clustering and galaxy-galaxy lensing is a good combo for probing LSS.
% \item Modeling galaxy bias is the main theoretical challenge for this.
%\end{itemize}
Wide-area imaging surveys of galaxies provide cosmological information through measurements of galaxy clustering and weak gravitational lensing. Galaxies are useful tracers of the full matter distribution, and their spatial clustering is used to infer the matter power spectrum. The shapes of distant galaxies are lensed by the intervening matter, providing a second way to probe the mass distribution. With wide-area galaxy surveys, these two probes of the late time universe have provided information on both the geometry and growth of structure in the universe.
In recent years, the combination of three two-point correlations---cosmic shear (the lensing shear auto-correlation), galaxy-galaxy lensing (the cross-correlation of lens galaxy positions with shear) and the angular auto-correlation of the lens galaxy positions---have been developed in a theoretical framework \citep{Cacciato_2009,Baldauf_2010,Cacciato_2012,van_den_Bosch_2013, Wibking_2018} and used to constrain cosmological parameters \citep{Cacciato_2013,Mandelbaum_2013,Kwan_2016,More_2015,Dvornik_2018,Coupon_2015, Singh_2019, Wibking_2019}. In practice, two galaxy samples are used: {\it lens} galaxies tracing the foreground large scale structure, and background {\it source} galaxies whose shapes are used to infer the lensing shear.
The Dark Energy Survey (DES) presented cosmological constraints from their Year 1 (Y1) data set from cosmic shear \citep{Troxel_2018} and a joint analysis of all three two-point correlations (henceforth called the ``$3\times2$pt'' datavector) \citep{Abbott_2018}.
This paper is part of a series describing the methodology and results of DES Year 3 (Y3) $3\times2$pt analysis. The cosmological constraints are presented for cosmic shear \citep{y3-cosmicshear1,y3-cosmicshear2}, the combination of galaxy clustering and galaxy-galaxy lensing using two different lens galaxy samples \citep[this paper; ][]{y3-2x2ptaltlensresults,y3-2x2ptmagnification}, as well as the $3\times2$pt analysis \citep{y3-3x2ptkp}. These cosmological results are enabled by extensive methodology developments at all stages of the analysis from pixels to cosmology, which are referenced throughout. This paper presents the modeling methodology and cosmology inference from DES Y3 galaxy clustering \citep{y3-galaxyclustering} and galaxy-galaxy lensing \citep{y3-gglensing} measurements.
We focus on the \redmagic \citep{Rozo_2016} galaxy sample, described further below. A parallel analysis using a different galaxy sample, the \maglim sample \citep{y3-2x2maglimforecast}, is presented in a separate paper \citep{y3-2x2ptaltlensresults}.
Incomplete theoretical understanding of the relationship of galaxies to the mass distribution, called galaxy bias, has been a limiting factor in interpreting the lens galaxy auto-correlation function (denoted $w(\theta)$) and galaxy-galaxy lensing (and denoted $\gamma_{\rm t}(\theta)$). At large scales, galaxy bias can be described by a single number, the linear bias $b_1$. On smaller scales, bias is non-local and non-linear, and its description is complicated \citep{Fry_93,Scherrer_98}. Perturbation theory (PT) approaches have been developed for quasi-linear scales $\sim 10$ Mpc, though the precise range of scales of its validity is a subtle question that depends on the galaxy population, the theoretical model, and the statistical power of the survey.
With a model for galaxy bias, $w(\theta)$ and $\gamma_{\rm t}$ measurements, together called the ``$2\times2$pt'' datavector, can probe the underlying matter power spectrum. They are also sensitive to the distance-redshift relation over the redshift range of the lens and source galaxy distributions. These two datavectors constitute a useful subset of the full $3\times 2$pt datavector, %which includes cosmic shear,
since bias and cosmological parameters can both be constrained (though the uncertainty in galaxy bias would limit either $w(\theta)$ or $\gamma_{\rm t}(\theta)$ individually).
A major part of the modeling and validation involves PT models of galaxy bias and tests using mock catalogs based on N-body simulations with various schemes of populating galaxies.
Approaches based on the halo occupation distribution (HOD) have been widely developed and are used for the DES galaxy samples. For the Year 3 (Y3) dataset of DES, two independent sets of mock catalogs have been developed, based on the $\buzzard$\citep{DeRose2019} and \mice simulations \citep{Fosalba_2014, Crocce_2015, Fosalba_2015}.
% Figure~\ref{fig:all2pt_comp}, based on simulated data, shows the expected constraints on $S_8$ and $\Omega_{\rm m}$ from the $2\times2$pt datavector and cosmic shear. It is evident that the two have some complementarity, which enables the breaking of degeneracies in both $\Lambda$CDM and $w$CDM. With data, these somewhat independent avenues to cosmology provide a valuable cross-check, as the leading sources of systematics are largely different.
An interesting recent development in cosmology is a possible disagreement between the inference of the expansion rate and the amplitude of mass fluctuations (denoted $\sigma_8$) and direct measurements or the inference of these quantities in the late-time universe. The predictions are anchored via measurements of the cosmic microwave background (CMB) and use general relativity and a cosmological model of the universe to extrapolate to late times. This cosmological model, denoted by $\Lambda$CDM, relies on two ingredients in the energy budget of the universe that have yet to be directly detected: cold dark matter (CDM) and dark energy in the form of a cosmological constant denoted as $\Lambda$. The value of $\sigma_8$ inferred from measurements of cosmic shear and the $3\times 2$pt datavector \citep{Abbott_2018,Troxel_2018, Heymans_2021, Hikage_2019, y3-3x2ptkp, y3-cosmicshear1, y3-cosmicshear2}, from galaxy clusters \citep{Abbott_2020_clusters,To_2021} and the redshift-space power spectrum \citep{Philcox_2020} tends to be lower than the CMB prediction. The significance of this tension is a work in progress and crucial to the viability of $\Lambda$CDM. The Hubble tension refers to the measured expansion rate being higher than predicted by the CMB. The resolution of the two tensions, and their possible relationship, is an active area of research in cosmology and provides additional context for the analysis presented here.
Figure~\ref{fig:all2pt_comp}, based on simulated data, shows the expected constraints on $S_8$ and $\Omega_{\rm m}$ from the $2\times2$pt datavector and cosmic shear ($1\times 2$pt). It is evident that the two have some complementarity, which enables the breaking of degeneracies in both $\Lambda$CDM and $w$CDM cosmological models (where $w$ is the dark energy equation of state parameter and $w \neq -1$ points towards the departure from standard $\Lambda$CDM model). Particularly noteworthy are the significantly better constraints compared to $1\times 2$pt on the parameter $w$ and $\Omega_{\rm m}$ using $2\times2$pt in the $w$CDM and $\Lambda$CDM models respectively. Note that unlike in $1\times2$pt, where all the matter in front of source galaxy contributes to its signal, $2\times2$pt receives contribution only from galaxies within the narrow lens redshift bins. Therefore, we attribute better constraints on these cosmological parameters from $2\times2$pt to significantly more precise redshifts of the lens galaxy sample. This allows for precise tomographic measurements of $2\times2$pt datavector which constrains the background geometric parameters like $w$ and $\Omega_{\rm m}$. With data, these somewhat independent avenues to cosmology provide a valuable cross-check, as the leading sources of systematics are largely different.
%\blue{Internal consistency description -- anticipate X??}
% \blue{sigma8 tension description}
The formalism used to compute the $2\times2$pt datavector is presented in \S\ref{sec:stat_theory}. The description of the lens and source galaxy samples, their redshift distributions and measurement methodology of our datavector and its covariance estimation are presented in \S\ref{sec:data}. In \S\ref{sec:param_inf} we validate our methodology using N-body simulations and determine the scale cuts for our analysis. Note that in this paper we focus on validation of analysis when using the \redmagic lens galaxy sample and we refer the reader to \citet{y3-2x2ptaltlensresults} for validation of analysis choices for the \maglim sample. The results on data are presented in \S\ref{sec:results}, and we conclude in \S\ref{sec:conclusions}.
\begin{figure}
\includegraphics[width=\columnwidth]{figs/simulated_lcdm_compare.pdf}
\includegraphics[width=\columnwidth]{figs/simulated_wcdm_compare.pdf}
\caption[]{Comparison of \textit{simulated} constraints on cosmological parameters $\Omega_{\mathrm{m}}$ and $S_8$ from cosmic shear alone ($1\times2$pt), galaxy clustering + galaxy-galaxy lensing ($2\times2$pt) and including all three probes ($3\times2$pt). This plot uses a \textit{simulated noise-less baseline datavector} (see \S\ref{sec:simlike_analysis}) and shows that $2\times2$pt adds complementary information to cosmic shear constraints, particularly, providing stronger constraints on $\Omega_{\mathrm{m}}$ and $w$.}
\label{fig:all2pt_comp}
\end{figure}
%\section{Summary Statistics and theory}
\section{Theoretical model}
\label{sec:stat_theory}
\subsection{Two-point correlations}
% \gary{GB: I commented out paragraphs that repeat things from the intro just above.}\SP{check}
%Using the catalog of the positions of a lens galaxy sample and the catalog of shapes of weak lensing source galaxies, one can construct three two-point summary statistics: the two-point autocorrelation of the positions of lens galaxies (galaxy clustering), the auto-correlation of the lensing shear estimated from the shape of source galaxies (cosmic shear), and the cross-correlation of this lensing shear field and position of lens galaxies (galaxy-galaxy lensing).
%In this study, we focus on galaxy clustering and galaxy-galaxy lensing. For galaxy clustering, we use measurements of the $w(\theta)$ statistic, which quantifies the excess number of projected galaxy pairs at a separation $\theta$ over a random distribution. For galaxy-galaxy lensing, we use measurements of the $\gamma_{\rm t}(\theta)$ statistic, which describes the average tangential component of the shear at projected lens-source separation $\theta$.
Here we describe the hybrid perturbation theory (PT) model used to make theoretical predictions for the two-point statistics $w(\theta)$ and $\gamma_t(\theta)$.
% \jdr{make it clear that we use PT and simulations/halo model (halofit is simulation based)}.
\subsubsection{Power spectrum}
\label{sec:Pk_pred}
To compute the two-point projected statistics $\wtheta$ and $\gammat$, we first describe our methodology of predicting galaxy-galaxy and galaxy-matter power spectra ($\pgg$ and $\pgm$ respectively). PT provides a framework to describe the distribution of biased tracers of the underlying dark matter field in quasi-linear and linear scales. This framework allows for an order-by-order controlled expansion of the overdensity of biased tracer (here galaxies) in terms of the overdensity of the dark matter field where successively higher-order non-linearities dominate only in successively smaller-scale modes. We will analyze two PT models in this analysis, an effective linear bias model (that is complete only at first order) and an effective one--loop PT model (that is complete up-to third order).
For the linear bias model, we can write the galaxy-matter cross spectrum as $P_{\mathrm{gm}}(k) = b_1 P_{\mathrm{mm}}$ and auto-power spectrum of the galaxies as $P_{\mathrm{gg}}(k) = b_1^2 P_{\mathrm{mm}}(k)$. Here $b_1$ is the linear bias parameter and $P_{\mathrm{mm}}(k)$ is the \textit{non-linear} power spectrum of the matter field. We use the non-linear matter power spectrum prediction from \citet{Takahashi:2012em} to model $P_{\mathrm{mm}}(k)$ (referred to as \textsc{Halofit} hereafter). We use the \citet{Bird_halofit} prescription to model the impact of massive neutrinos in this \textsc{Halofit} fitting formula. See \cite{y3-generalmethods} for robustness tests of this choice.
% \red{We use the halofit as our fiducial choice of matter power spectra. See Methods paper for robustness tests on this choice}
% We discuss our choice of the matter power spectrum in \S\red{matter section}.
In the effective one--loop PT model used here, $P_{\mathrm{gm}}$ and $P_{\mathrm{gg}}$ can be expressed as:
\begin{linenomath*}
\begin{align}\label{eq:P_gg_gm}
P_{\mathrm{gm}}(k, z) &= b_1 P_{\mathrm{mm}}(k, z) + \frac{1}{2} b_2 P_{\rm b_1 b_2}(k, z) + \frac{1}{2} b_{\mathrm{s}} P_{\rm b_1 s^2}(k, z) \nonumber \\
& + \frac{1}{2} b_{\rm 3nl}P_{\rm b_1 b_{\rm 3nl}}(k, z) \\
P_{\mathrm{gg}}(k, z) &= b_1^2 P_{\mathrm{mm}}(k, z) + b_1 b_2 P_{\rm b_1 b_2}(k, z) + b_1 b_{\mathrm{s}}P_{\rm b_1 s^2}(k, z) \nonumber \\
& + b_1b_{\rm 3nl} P_{\rm b_1 b_{\rm 3nl} }(k, z) + \frac{1}{4}b_2^2 P_{\rm b_2 b_2}(k, z) \nonumber \\
& + \frac{1}{2} b_2 b_{\mathrm{s}}P_{\rm b_2 s^2}(k, z) + \frac{1}{4} b^2_{\mathrm{s}} P_{\rm s^2 s^2}(k, z).
\end{align}
\end{linenomath*}
Here the parameters $ b_1 $, $ b_2 $, $ b_{\mathrm{s}} $ and $ b_{\rm 3nl} $ are the renormalized bias parameters \citep{McDonald2009}. The kernels $P_{\rm b_1 b_2}$, $P_{\rm b_1 s^2}$, $P_{\rm b_1 b_{\rm 3nl}}$, $P_{\rm b_2 b_2}$, $P_{\rm b_2 s^2}$ and $P_{\rm s^2 s^2}$ are described in \cite{Saito2014a} and are calculable from the linear matter power spectrum.
% \gary{[Are these functions calculable from the linear power spectrum?]}
We validated this model in \cite{p2020perturbation} using 3D correlation functions, $\xigg$ and $\xigm$, of \redmagic galaxies measured in DES-like simulations. These configuration space statistics are the Fourier transforms of the power spectra mentioned above. We found this model to describe the high signal-to-noise 3D measurements above scales of 4 Mpc/h and redshift $z < 1$ with a reduced $\chi^2$ consistent with one. Our tests also showed that at the projected precision of this analysis, two of the nonlinear bias parameters ($ b_{\mathrm{s}} $ and $ b_{\rm 3nl} $) can be fixed to their co-evolution values given by $b_{\rm s} = (-4/7) (b_1 - 1)$ and $b_{\rm 3nl} = (b_1 - 1)$. We will use this result as our \textit{fiducial} modeling choice for the one--loop PT model.
% \begin{itemize}
% \item Heavily referencing the 3D bias paper, describe range of perturbation theory models for $\xigg(r)$ and $\xigm(r)$ and their expected scales of applicability.
% \item To aid discussion, include some plots showing the sensitivity of our statistics to scales in $\xigg(r)$ and $\xigm(r)$.
% \end{itemize}
\subsubsection{Angular correlations} \label{sec:proj_2pt}
% \begin{itemize}
% \item Describe the statistics we use, \wtheta\ and \gammat.
% \item Show their relation to the underlying 3d correlation functions $\xigg(r)$ and $\xigm(r)$
% \end{itemize}
In order to calculate our observables $\wtheta$ and $\gammat$, we project the 3D power spectra described above to angular space. %Denoting the normalized redshift distribution of the lens galaxies in tomography bin $i$ by $n^{i}_{\rm g}(z)$ and that of source galaxies in tomography bin $j$ by $n_{\rm s}$,
The projected galaxy clustering and galaxy-galaxy lensing angular power spectra of tomography bins $i,j$ are given by:
\begin{linenomath*}
\begin{align}\label{eq:Cl_exact}
C^{ij}_{AB}(\ell) &= \frac{2}{\pi} \int d\chi_1 W^{\rm i}_{A}(\chi_1) \int d\chi_2 W^{\rm j}_{B}(\chi_2) \nonumber \\
&\mathrel{\phantom{=}} \int dk \ k^2 \ P_{ AB}(k,z(\chi_1),z(\chi_2)) j_{\ell}(k \chi_1) j_{\ell}(k \chi_2)\,,
\end{align}
\end{linenomath*}
where, $AB = \rm{gg}$ models galaxy clustering and $AB={\rm g\kappa}$, where $\kappa$ denotes the convergence field, models galaxy-galaxy lensing. Here $W^{i}_{\rm g}(\chi) = n^{i}_g (z(\chi))dz/d\chi$ is the normalized radial selection function of lens galaxies for tomographic bin $i$, and $W^{\rm i}_{\kappa}$ is the tomographic lensing efficiency of the source sample
\begin{linenomath*}
\begin{equation}
W^{i}_{\rm \kappa} (\chi)= \frac{3\Omega_{\rm m} H_0^2}{2} \int_{\chi}^{\infty} d\chi' n'_{\rm s} (z(\chi'))\frac{\chi}{a(\chi)}\frac{\chi' - \chi}{\chi'}\,,
\end{equation}
\end{linenomath*}
with $n_{\rm{g/s}}^i(z)$ the normalized redshift distribution of the lens/source galaxies in tomography bin $i$.
For the galaxy-galaxy lensing observable, we use the Limber approximation \citep{Limber:53, LoVerde:2008re} which simplifies the Eq.~\ref{eq:Cl_exact} to
\begin{linenomath*}
\begin{equation}\label{eq:Cl_limber}
C^{ij}_{\rm g\kappa}(\ell) = \int d\chi \frac{W^{i}_{\rm g}(\chi) W^{j}_{\rm \kappa}(\chi)}{\chi^2} P_{\rm g\kappa}\bigg(k=\frac{l + 1/2}{\chi},z(\chi)\bigg)\,.
\end{equation}
\end{linenomath*}
In the absence of other modeling ingredients that are described in the next section, we have $C^{ij}_{\rm g\kappa}(\ell) \equiv C^{ij}_{\rm gm}(\ell)$ (similarly $P_{\rm g\kappa} \equiv P_{\rm gm}$). As described in \citet{Fang_nonlimber}, even at the accuracy beyond this analysis, it is sufficient to use the Limber approximation for the galaxy-galaxy lensing observable, while for galaxy clustering this may cause significant cosmological parameter biases.
To evaluate galaxy clustering statistics using Eq.~\ref{eq:Cl_exact}, we split the predictions into small and large scales. The non-Limber correction is only significant on large scales where non-linear contributions to the matter power spectra as well as galaxy biasing are sub-dominant. Therefore we use the Limber approximation for the small-scale non-linear corrections and use non-Limber corrections strictly on large scales using linear theory. Schematically, i.e., ignoring contributions from redshift-space distortions and lens magnification \cite[see][for details]{y3-generalmethods}, the galaxy clustering angular power spectrum between tomographic bins $i$ and $j$ is given by:
% \begin{linenomath*}
\begin{widetext}
\begin{align}
&C_{\rm gg}^{ij} (\ell) \nonumber\\
&= \int d\chi\, \frac{W_{\rm g}^i(\chi)W_{\rm g}^j(\chi)}{\chi^2} \left[P_{\rm gg}\left(\frac{\ell+0.5}{\chi},\chi\right)- b_1^{i} b_1^{j} P_{\rm lin}\left(\frac{\ell+0.5}{\chi},\chi\right)\right]\nonumber\\
&+\frac{2}{\pi}\int d\chi_1\,b_{1}^i W_{\rm g}^i(\chi_1) D(z(\chi_1))\int d\chi_2\,b_{1}^j W_{\rm g}^j(\chi_2)D(z(\chi_2)) \int\frac{dk}{k}k^3 P_{\rm lin}(k,0)j_\ell(k\chi_1)j_\ell(k\chi_2)\,,
\label{eq:Cl-DD_rewrite}
\end{align}
% \end{linenomath*}
\end{widetext}
where $D(z(\chi)$) is the growth factor, and $P_{\rm lin}$ is the linear matter power spectrum. The full model of galaxy clustering, including the contributions from other modeling ingredients like redshift-space distortions and lens magnification that we describe below, is detailed in \cite{Fang_nonlimber} and \cite{y3-generalmethods}.
The real-space projected statistics of interest can be obtained from these angular correlations via:
\begin{linenomath*}
\begin{align}\label{eq:2pt_exact}
w^{ij}(\theta) &= \sum \frac{2\ell + 1}{4\pi} \overline{P_{\ell}}(\cos(\theta)) \ C^{ij}_{\rm gg}(\ell) \\
\gamma_{\rm t}^{ij}(\theta) &= \sum \frac{2\ell + 1}{4\pi \ell (\ell + 1)} \overline{P_{\ell}^2}(\cos(\theta)) \ C^{ij}_{\rm g\kappa}(\ell)
\end{align}
\end{linenomath*}
where $\overline{P_{\ell}}$ and $\overline{P_{\ell}^2}$ are bin-averaged Legendre Polynomials (see \citep{y3-covariances} for exact expressions).
\subsection{The rest of the model}
\label{sec:model_rest}
% \IR{We need to add more details in a few of the subsections.}
To describe the statistics measured from data, we have to model various other physical phenomena that contribute to the signal to obtain unbiased inferences. In this section, we describe the leading sources of these modeling systematics. We have also validated in \cite{y3-generalmethods} that higher-order corrections do not bias our results.
\subsubsection{Intrinsic Alignment}
Galaxy-galaxy lensing aims to isolate the percent-level coherent shape distortions, or shear, of background source galaxies due to the gravitational potential of foreground lens galaxies. The local environment, however, including the gravitational tidal field, can also impact the intrinsic shapes of source galaxies and contribute to the measured shear signal. This interaction between the source galaxies and their local environment, generally known as ``intrinsic alignments'' (IA) is non-random. When there is a non-zero overlap between the source and lens redshift distributions, IA can have a non-zero contribution to the galaxy-galaxy lensing signal. To account for this effect, we model IAs using the ``tidal alignment and tidal torquing'' (TATT) model \citep{Blazek_2019}. Ignoring higher-order effects, such as lens magnification (see \citep{y3-gglensing,y3-2x2ptmagnification}), IA contributes to the galaxy-shear angular power spectra through the correlation of lens density and the $E$-mode component of intrinsic source shapes: $C^{ij}_{\rm g\kappa}(\ell) \to C^{ij}_{\rm g\kappa}(\ell) + C^{ij}_{\rm gI_{\rm E}}(\ell)$. The $C^{ij}_{\rm gI_{\rm E}}(\ell)$ term is detailed in \citet*{y3-generalmethods}, \citet*{y3-cosmicshear2}, \citet*{y3-gglensing}, and \citet{Blazek_2019}. Within our implementation of the TATT framework, $C^{ij}_{\rm gI_{\rm E}}(\ell)$ for all tomographic bin combinations $i$ and $j$ can be expressed using five IA parameters --- $a_1$ and $a_2$ (normalization of linear and quadratic alignments); $\alpha_1$ and $\alpha_2$ (their respective redshift evolution); and $b_{\rm ta}$ (normalization of a density-weighting term) --- and the linear lens galaxy bias. Therefore this model captures higher order contributions to the intrinsic alignment of source galaxies as compared to the simpler non-linear alignment (NLA) model that was used in the DES Y1 analysis \citep{Krause2017,Abbott_2018}. In principle, there are also contributions at one-loop order in PT involving the non-linear galaxy bias and non-linear IA terms. However, in this analysis, we neglect these terms as we expect them to be subdominant, and they can be largely captured through the free $b_{\rm ta}$ parameter (see \citep{Blazek_2015} for further discussion of these terms).
\subsubsection{Magnification}
All the matter between the observed galaxy and the observer acts as a gravitational lens. Hence, the galaxies get magnified, increasing the size of galaxy images (parameterized by the magnification factor, $\mu$) and increasing their total flux. The galaxy magnification decreases the observed number density due to stretching of the local sky, whereas increasing the total flux results in an increase in number density (as intrinsically fainter galaxies, which are more numerous, can be observed). This changes the galaxy-galaxy angular power spectrum to: $C^{ij}_{\rm gg}(\ell) \to C^{ij}_{\rm gg}(\ell) + C^{ij}_{\rm \mu g}(\ell) + C^{ij}_{\rm \mu \mu}(\ell) $ and the galaxy-shear angular power spectrum to $C^{ij}_{\rm g\kappa}(\ell) \to C^{ij}_{\rm g\kappa}(\ell) + C^{ij}_{\rm \mu I_{\rm E}}(\ell) + C^{ij}_{\rm \mu \kappa}(\ell)$. The auto and cross-power spectra with magnification are again given by Eq.\ref{eq:Cl_exact} (see \cite{y3-generalmethods} for the detailed description of the equations for each of the power spectra).
The magnification coefficients are computed with the \balrog\ image simulations \citep{Suchyta_2016,y3-balrog} in a process described in \cite{y3-2x2ptmagnification}. Galaxy profiles are drawn from the DES deep fields \citep{y3-deepfields} and injected into real DES images \citep{Morganson_2018}. The full photometry pipeline \citep{y3-gold} and \redmagic\ sample selection are applied to the new images to produce a simulated \redmagic\ sample with the same selection effects as the real data. To compute the impact of magnification, the process is repeated, this time applying a constant magnification to each injected galaxy. The magnification coefficients are then derived from the fractional increase in number density when magnification is applied. This method captures both the impact of magnification on the galaxy magnitudes and the galaxy sizes, including all numerous sample selection effects. A similar procedure is repeated to estimate the magnification coefficients for the \maglim sample. We refer the reader to \citet*{y3-2x2ptmagnification} for further details about the impact of magnification on our observable and their constraints from data.
\subsubsection{Non-locality of galaxy-galaxy lensing} \label{sec:pm_theory}
The configuration-space estimate of the galaxy-galaxy lensing signal is a
non-local statistic. The galaxy-galaxy lensing
signal of source galaxy at redshift $z_{\rm s}$ by the matter around
galaxy at redshift $z_{\rm l}$ at transverse
%perpendicular to the line of sight
distance $R$ is related to the mass density of matter around lens
galaxy by:
\begin{linenomath*}
\begin{equation}
\gamma_{\rm t}(R;z_{\rm g},z_{\rm s}) = \frac{\Delta \Sigma (R;z_{\rm g})}{\Sigma_{\rm crit} (z_{\rm g},z_{\rm s})},
\end{equation}
\end{linenomath*}
where, $\Delta \Sigma(R;z_{\rm g}) = \bar{\Sigma}(0,R; z_{\rm g}) - \Sigma(R;z_{\rm g})$ and $\Sigma(R;z_{\rm g})$ is the surface mass density at a transverse separation $R$ from the lens and $\bar{\Sigma}(0,R)$ is the average surface mass density within a separation $R$ from that lens. Through the $\bar{\Sigma}(0,R)$ term, $\gamma_{\rm t}$ at any scale $R$ is dependent on the mass distribution at all scales less than $R$. This makes $\gamma_{\rm t}$ highly non-local, and any model that is valid only on large scales above some $r_{\rm min}$ will break down more rapidly than for a more local statistic like \wtheta. However, as the dependence on small scales is through the \textit{mean} surface mass density, the impact of the mass distribution inside $r_{\rm min}$ on $\gammat$ can be written as:
\begin{linenomath*}
\begin{equation}
\gamma_{\rm t}(R;z_{\rm g},z_{\rm s}) = \frac{1}{\Sigma_{\rm crit}(z_{\rm g},z_{\rm s})} \bigg(\Delta \Sigma_{\rm model}(z_{\rm g}) + \frac{B(z_{\rm g})}{R^2} \bigg),
\end{equation}
\end{linenomath*}
where $\Delta \Sigma^{\rm model}$ is the prediction from a model (which is given by PT here) that is valid on scales above $r_{\rm min}$ (also see \citep{Baldauf_2010}). Here, $B$ is the effective total residual mass below $r_{\rm min}$ and is known as the point mass (PM) parameter. In this analysis we use the thin redshift bin approximation
% \gary{[just the lens bin needs to be thin?]}\SP{for this step, i think yes}
(see Appendix~\ref{app:pm} for details of this validation) and hence the average $\gamma_{\rm t}$ signal between lens bin $i$ and source bin $j$ can be written as:
\begin{linenomath*}
\begin{equation}
\gamma^{ij}_{{\rm t}} = \gamma^{ij}_{{\rm t, model}} + G^{ij}/\theta^2,
\end{equation}
\end{linenomath*}
where,
\begin{linenomath*}
\begin{equation}\label{eq:pm_Cij}
G^{ij} = B^i \, \int dz_{\rm g} \ dz_{\rm s} \ n^{i}_{{\rm g}} \ n^{j}_{{\rm s}} \ \Sigma^{-1}_{\rm crit}(z_{\rm g},z_{\rm s}) \ \chi^{-2}(z_{\rm g}) \equiv B^i \, \beta^{ij} \,.
\end{equation}
\end{linenomath*}
Here $B^i$ is the PM for lens bin $i$, $n^{i}_{{\rm g}}$ is the redshift distribution of lens galaxies for tomographic bin $i$, $n^{j}_{{\rm s}}$ is the redshift distribution of source galaxies for tomographic bin $j$.
% Note that this approximation also retains the shear ratio information in our analysis.
However, instead of directly sampling over the parameters $B^i$ for each tomographic bin, we implement an analytic marginalization scheme as described in \cite{MacCrann:2019ntb}. We modify our inverse-covariance when calculating the likelihood as described in \S\ref{sec:cov_pm}.
\section{Data description}
\label{sec:data}
\subsection{DES Y3}
The full DES survey was completed in 2019 using the Cerro Tololo Inter-American Observatory (CTIO) 4-m Blanco telescope in Chile and covered approximately 5000 square degrees of the South Galactic Cap. This 570-megapixel Dark Energy Camera \citep{Flaugher15} images the field in five broadband filters, \textit{grizY}, which span the wavelength range from approximately 400nm to 1060nm. The raw images are processed by the DES Data Management team \citep{Sevilla11, Morganson18} and after a detailed object selection criteria on the first three years of imaging data (detailed in \citet*{Abbott_2018}), the Y3 \gold data set containing 400 million sources is constructed (single-epoch and coadd images are available\footnote{https://des.ncsa.illinois.edu/releases/dr1} as Data Release 1). We further process this \gold data set to obtain the lens and source catalogs described in the following sub-sections.
\subsubsection{\redmagic lens galaxy sample}
The principal lens sample used in this analysis is selected with the \redmagic algorithm \citep{Rozo_2016} run on DES Year 3 data. \redmagic selects Luminous Red Galaxies (LRGs) according to the magnitude-color-redshift relation of red-sequence galaxies, calibrated using an overlapping spectroscopic sample.
% from \blue{<SPEC Z SAMPLE, OZDES? ask Eli>}.
This sample has a threshold luminosity $L_{\rm min}$ and constant co-moving density. The full \redmagic algorithm is described in \citet{Rozo_2016}, and after application of this algorithm to DES Y3 data, we have approximately 2.6 million galaxies.
% \blue{Mention about high-density and high luminosity differences}
\citet*{y3-galaxyclustering} found that the \redmagic number density fluctuates with several observational properties of the survey, which imprints a non-cosmological bias into the galaxy clustering. To account for this we assign a weight to each galaxy, which corresponds to the inverse of the angular selection function at that galaxy's location. The computation and validation of these weights are described in \cite{y3-galaxyclustering}.
\subsubsection{\maglim lens galaxy sample}
DES cosmological constraints are also derived using a second
%We also compare and show the constraints using an alternative
lens sample, $\maglim$, selected by applying the criterion $i < 4z+18$ to the \gold catalog, where $z$ is the photometric redshift estimate given by $\texttt{DNF}$ \citep{DNF2016}.
%implementing a redshift-dependent magnitude cut on the $i$-band magnitude of the \gold catalog. In particular, we apply the following cut, $i < 4z+18$, where $z$ is the photometric redshift estimate given by $\texttt{DNF}$ \citep{DNF2016}. The motivation for this selection is that it
This selection is shown by \citet*{y3-2x2maglimforecast} to be optimal in terms of its 2$\times$2pt cosmological constraints.
We additionally apply a lower magnitude cut, $i>17.5$, to remove contamination from bright objects. The resulting sample has about 10.7 million galaxies.
Similarly to \texttt{redMaGiC}, we correct the impact of observational systematics on the \maglim galaxy clustering by assigning a weight to each galaxy, as described and validated in \cite{y3-galaxyclustering}. This sample is then used in \citet*{y3-2x2ptaltlensresults} to obtain cosmological constraints from the combination of galaxy clustering and galaxy-galaxy lensing from DES Y3 data. We refer to \cite{y3-2x2ptaltlensresults} for a detailed description of the sample and its validation.
\subsubsection{Source galaxy shape catalog}
To estimate the weak lensing shear of the observed source galaxies, we use the \metacal algorithm \citep{Sheldon_2017, huff2017metacalibration}. This method estimates the response of a shear estimator to artificially sheared galaxy images and incorporates improvements like better PSF estimation \citep{y3-piff}, better astrometric methods \citep{y3-gold} and inclusion of inverse variance weighting. The details of the method applied to our galaxy sample are presented in \cite{y3-shapecatalog}. This methodology does not capture the object-blending effects and shear-dependent detection biases and we use image simulations to calibrate this bias as detailed in \citet{y3-imagesims}. The galaxies that pass the selection cuts designed to reduce systematic biases (as detailed in \citet*{y3-shapecatalog}) are used to make our source sample shape catalog. This catalog consists of approximately 100 million galaxies with effective number density of $n_{\rm eff} = 5.6$ galaxies per ${\rm arcmin}^2$ and an effective shape noise of $\sigma_{\rm e} = 0.26$.
% \subsubsection{Photoz calibration}
\subsection{$\buzzard$ Simulations}
% \subsubsection{$\buzzard$ sims}
The \buzzard\ simulations are $N$-body lightcone simulations that have been populated with galaxies using the \textsc{Addgals} algorithm \citep{Addgals}, endowing each galaxy with positions, velocities, spectral energy distributions, broad-band photometry, half-light radii and ellipticities. In order to build a lightcone that spans the entire redshift range covered by DES Y3 galaxies, we combine three lightcones constructed from simulations with box sizes of $1.05,\, 2.6 \textrm{ and } 4.0\, (h^{-3}\, \rm Gpc^3)$, mass resolutions of $3.3\times10^{10},\, 1.6\times10^{11},\, 5.9\times10^{11}\, h^{-1}M_{\odot}$, spanning redshift ranges $0.0< z \leq 0.32$, $0.32< z \leq 0.84$ and $0.84< z \leq 2.35$ respectively. Together these produce $10,000$ square degrees of unique lightcone. The lightcones are run with the \textsc{L-Gadget2} $N$-body code, a memory optimized version of \textsc{Gadget2} \citep{Springel_2005}, with initial conditions generated using \textsc{2LPTIC} at $z=50$ \citep{Crocce2012}. From each $10,000$ square degree catalog, we can create two DES Y3 footprints.
The \textsc{Addgals} model uses the relationship, $P(\delta_{R}|M_r)$, between a local density proxy, $\delta_{R}$, and absolute magnitude $M_r$ measured from a high-resolution subhalo abundance matching (SHAM) model in order to populate galaxies into these lightcone simulations. The \textsc{Addgals} model reproduces the absolute--magnitude--dependent clustering of the SHAM.
% \gary{[Hmmm, this doesn't sound right, since SHAM \textbf{is} the model.]}
Additionally, we employ a conditional abundance matching (CAM) model, assigning redder SEDs to galaxies that are closer to massive dark matter halos, in a manner that allows us to reproduce the color-dependent clustering measured in the Sloan Digital Sky Survey Main Galaxy Sample (SDSS MGS) \citep{Addgals, DeRose2020b}.
These simulations are ray-traced using the spherical-harmonic transform (SHT) configuration of \textsc{Calclens}, where the SHTs are performed on an $N_{\rm side}=8192$ \textsc{HealPix} grid \citep{Becker2013}. The lensing distortion tensor is computed at each galaxy position and is used to deflect the galaxy angular positions, apply shear to galaxy intrinsic ellipticities, including effects of reduced shear, and magnify galaxy shapes and photometry. We have conducted convergence tests of this algorithm and found that resolution effects are negligible on the scales used for this analysis \citep{DeRose2019}.
Once the simulations have been ray-traced, we apply DES Y3-specific masking and photometric errors. To mask the simulations, we employ the Y3 footprint mask but do not apply the bad region mask \citep{y3-gold}, resulting in a footprint with an area of 4143.17 square degrees. Each set of three $N$-body simulations yields two Y3 footprints that contain 520 square degrees of overlap. In total, we use 18 \buzzard realizations in this analysis.
We apply a photometric error model to simulate wide-field photometric errors in our simulations. To select a lens galaxy sample, we run the \redmagic\ galaxy selection on our simulations using the same configuration as used in the Y3 data, as described in \citet*{y3-galaxyclustering}. A weak lensing source selection is applied to the simulations using PSF-convolved sizes and $i$-band SNR to match the non-tomographic source number density, 5.9 $\textrm{arcmin}^{-2}$, from the \metacal\ source catalog. This matching was performed using a slightly preliminary version of the \metacal\ catalog, so this number density is slightly different from the final \metacal\ catalog that is used in our DES Y3 analyses. We employ the \textit{fiducial} redshift estimation framework (see \S\ref{sec:sourcez}) to our simulations in order to place galaxies into four source redshift bins with number densities of 1.46 $\rm arcmin^{-2}$ each. Once binned, we match the shape noise of the simulations to that measured in the \metacal\ catalog per tomographic bin, yielding shape noise values of $\sigma_{e}=[0.247, 0.266, 0.263, 0.314]$.
Two-point functions are measured in the \buzzard\ simulations using the same pipeline used for the DES Y3 data, where we set \metacal\ responses and inverse variance weights equal to 1 for all galaxies, as these are not assigned in our simulation framework. We have opted to make measurements without shape noise in order to reduce the variance in the simulated analyses using these measurements. Lens galaxy weights are produced in a manner similar to that done in the data and applied to measure our clustering and lensing signals. The clustering and galaxy-galaxy lensing predictions match the DES \redmagic\ measurements to $10-20\%$ accuracy over most scales and tomographic bins, except for the first lens bin, which disagrees by $50\%$ in \wtheta. We refer the reader to \citet*{y3-simvalidation} for a more detailed comparison.
\subsection{Tomography and measurements}
\subsubsection{\redmagic redshift methodology}
\label{sec:lensz}
We split the \redmagic sample into $N_{\rm z,g} = 5$ tomographic bins, selected on the \redmagic redshift point estimate quantity ZREDMAGIC. The bin edges used are $z=0.15, 0.35, 0.50, 0.65, 0.80, 0.90$. The first three bins use a luminosity threshold of $L_{\min} > 0.5 L_{*}$ and are known as the high-density sample. The last two redshift bins use a luminosity threshold of $L_{\min} > 1.0 L_{*}$ and are known as the high-luminosity sample.
The redshift distributions are computed by stacking four samples from the PDF of each \redmagic galaxy, allowing for non-Gaussianity of the PDF. We find an average individual redshift uncertainty of $\sigma_z/(1+z) < 0.0126$ in the redshift range used from the variance of these samples. We refer the reader to \citet{Rozo_2016} for more details on the algorithm of redshift assignment for \redmagic galaxies and to \citet{y3-lenswz} for more details on the calibration of redshift distribution of the Y3 \redmagic sample.
\subsubsection{\maglim redshift methodology}
We use $\texttt{DNF}$ \citep{DNF2016} for splitting the $\maglim$ sample into tomographic bins and estimating the redshift distributions. $\texttt{DNF}$ uses a training set from a spectroscopic database as reference, and then provides an estimate of the redshift of the object through a nearest-neighbors fit in a hyperplane in color and magnitude space.
We split the $\maglim$ sample into $N_{\rm z,g} = 6$ tomographic bins from $z=0.2$ and $z=1.05$, selected using the $\texttt{DNF}$ photometric redshift estimate. The bin edges are $[0.20, 0.40, 0.55, 0.70, 0.85, 0.95, 1.05]$. The redshift distributions in each bin are then computed by stacking the $\texttt{DNF}$ PDF estimates of each $\maglim$ galaxy. See \cite{y3-2x2ptaltlensresults} for a more comprehensive description and validation of this methodology.
\subsubsection{Source redshift methodology}
\label{sec:sourcez}
The description of the tomographic bins of source samples and the methodology for calibrating their photometric redshift distributions are summarized in \citet*{y3-sompz}. Overall, the redshift calibration methodology involves the use of self-organizing maps \citep{y3-sompz}, clustering redshifts \citep{y3-sourcewz} and shear-ratio \citep{y3-shearratio} information. The Self-Organizing Map Photometric Redshift (SOMPZ) methodology leverages additional photometric bands in the DES deep-field observations \citep{y3-deepfields} and the \balrog\ simulation software \citep{balrog_21} to characterize a mapping between color space and redshifts. This mapping is then used to provide redshift distribution samples in the wide field, after including the uncertainties from sample variance and galaxy flux measurements in a way that is not subject to selection biases. The clustering redshift methodology performs the calibration by analyzing cross-correlations between \redmagic and spectroscopic data from Baryon Acoustic Oscillation Survey (BOSS) and its extension (eBOSS). Candidate $n_{\rm s}(z)$ distributions are drawn from the posterior distribution defined by the combination of SOMPZ and clustering-redshift likelihoods.
%; and filters out the less likely redshift distribution samples from the SOMPZ output.
These two approaches provide us the mean redshift distribution of source galaxies and uncertainty in this distribution. The shear-ratio calibration uses the ratios of small-scale galaxy-galaxy lensing data, which are largely independent of the cosmological parameters but help calibrate the uncertainties in the redshift distributions. We include it downstream in our analysis pipeline as an external likelihood, as briefly described in \S\ref{sec:shear_ratio} and detailed in \citet*{y3-shearratio}.
Finally, we split the source catalog into $N_{\rm z,s} = 4$ tomographic bins. The mean redshift distribution of \redmagic lens galaxies and source galaxies are compared in Fig.~\ref{fig:nz_comp}. We refer the reader to \citet*{y3-2x2ptaltlensresults} for \maglim sample redshift distribution.
\begin{figure}
\includegraphics[width=0.48\textwidth]{figs/nz_DES.pdf}
\caption[]{Comparison of the normalized redshift distributions of various tomographic bins of the source galaxies and \redmagic lens galaxies in the data.}
\label{fig:nz_comp}
\end{figure}
\subsubsection{2pt measurements}\label{sec:2pt_data}
% \blue{Describe the 2pt measurements for both $\wtheta$ and $\gammat$. Mention the combined SNR of these measurements. Mention that we do the measurements in the 20 radial bins for any two tomographic bin combinations. Mention that for $\wtheta$ we only use auto-bins. Introduce $N_{\rm data}$ and how it relates to the number of elements for $\wtheta$ and the number of $\gammat$ elements.}
For galaxy clustering, we use the Landy-Szalay estimator \citep{Landy_Szalay} given as:
\begin{linenomath*}
\begin{equation}
w(\theta) = \frac{DD - 2DR + RR}{RR}
\end{equation}
\end{linenomath*}
where $DD$, $DR$ and $RR$ are normalized weighted number counts of galaxy-galaxy, galaxy-random and random-random pairs within angular and tomographic bins. For lens tomographic bins, we measure the auto-correlations in $N_{\theta} = 20$ log-spaced angular bins ranging from 2.5 arcmin to 250 arcmin. Each lens galaxy in the catalog ($g_i$) is weighted with its systematic weight $w_{\rm g_i}$. This systematic weight aims to remove the
%correlations between the
large-scale fluctuations due to changing observing conditions at the telescope and Galactic foregrounds. Our catalog of randoms is 40 times larger than the galaxy catalog. The validation of this estimator and systematic weights of the lens galaxies is presented in \cite{y3-galaxyclustering}. In total we have $N_{\wtheta} = N_{\rm z,g} \times N_{\theta} = 100$ measured $\wtheta$ datapoints.
The galaxy-galaxy lensing estimator used in this analysis is given by:
\begin{linenomath*}
\begin{equation}
\gamma_{\rm t}(\theta) = \frac{\sum_k w_{\textrm{r}_k}}{\sum_i w_{\textrm{g}_i}} \frac{\sum_{ij} w_{\textrm{g}_i} w_{\textrm{s}_j} e^{\rm LS}_{{\rm t},ij}}{\sum_{kj} w_{\textrm{r}_k} w_{\textrm{s}_j}} - \frac{\sum_{kj} w_{\textrm{r}_k} w_{\textrm{s}_j} e^{\rm RS}_{{\rm t},kj}}{\sum_{kj} w_{\textrm{r}_k} w_{\textrm{s}_j}}
\end{equation}
\end{linenomath*}
where $e^{\rm LS}_{{\rm t},ij}$ and $e^{\rm RS}_{{\rm t},kj}$ is the measured tangential ellipticity of source galaxy $j$ around lens galaxy $i$ and random point $k$ respectively. The weight $w_{\textrm{g}_i}$ is the systematic weight of lens galaxy as described above, $w_{\textrm{r}_k}$ is the weight of random point that we fix to 1 and $w_{\textrm{s}_j}$ is the weight of the source galaxy that is computed from inverse variance of the shear response weighted ellipticity of the galaxy (see \citet*{y3-shapecatalog} for details).
% including the effects of boost factors, random point subtraction and shear responses is given by
This estimator has been detailed and validated in \citet{Singh_2017} and \citet*{y3-gglensing}. We measure this signal for each pair of lens and source tomographic bins and hence in total we have $N_{\gammat} = N_{\rm z,g} \times N_{\rm z,s} \times N_{\theta} = 400$ measured $\gammat$ datapoints.
We analyze both of these measured statistics jointly and hence we have in total $N_{\rm data} = N_{\wtheta} + N_{\gammat} = 500$ datapoints. Our measured signal to noise (SNR)\footnote{The SNR is calculated as $\sqrt{(\vec{\mathbfcal{D}}\, {\mathbfcal{C}}^{-1}\, \vec{\mathbfcal{D}})}$, where $\vec{\mathbfcal{D}}$ is the data under consideration and $\mathbfcal{C}$ is its covariance.}, using \redmagic lens sample, of $\wtheta$ is 171 \citep{y3-galaxyclustering}, of $\gammat$ is 121 \citep{y3-gglensing}; giving total joint total SNR of 196. In the \S\ref{sec:param_inf}, we describe and validate different sets of scale cuts for the linear bias model (angular scales corresponding to (8,6)Mpc/$h$ for $w(\theta),\gamma_{\rm t}(\theta)$ respectively) and the non-linear bias model ((4,4)Mpc/$h$). After applying these scale cuts, we obtain the joint SNR, that we analyze for cosmological constraints, as 81 for the linear bias model and 106 for the non-linear bias model.\footnote{Using a more optimal SNR estimator, SNR$= \frac{(\vec{\mathbfcal{D}}^{\rm data}\, {\mathbfcal{C}}^{-1}\, \vec{\mathbfcal{D}}^{\rm model})}{\sqrt{(\vec{\mathbfcal{D}}^{\rm model}\, {\mathbfcal{C}}^{-1}\, \vec{\mathbfcal{D}}^{\rm model})}}$, where $\vec{\mathbfcal{D}}^{\rm data}$ is the measured data and $\vec{\mathbfcal{D}}^{\rm model}$ is the bestfit model, we get SNR=79.5 for the linear bias model scale cuts of (8,6)Mpc/$h$.}
\subsubsection{Shear ratios}\label{sec:shear_ratio}
As will be detailed in \S\ref{sec:scale_cuts}, in this analysis, we remove the small scales' non-linear information from the 2pt measurements that are presented in the above sub-section. However, as presented in \citet*{y3-shearratio}, the ratio of $\gammat$ measurements for the same lens bin but different source bins is well described by our model (see \S\ref{sec:stat_theory}) even on small scales. Therefore we include these ratios (referred to as shear-ratio henceforth) as an additional independent dataset in our likelihood. In this shear-ratio datavector, we use the angular scales above 2Mpc/$h$ and less than our \textit{fiducial} scale cuts for 2pt measurements described in \S\ref{sec:scale_cuts} (we also leave two datapoints between 2pt scale cuts and shear-ratio scale cuts to remove any potential correlations between the two). The details of the analysis choices for shear-ratio measurements and the corresponding covariance matrix are detailed in \citet*{y3-shearratio} and \citet*{y3-3x2ptkp}.
% \SP{A short paragraph about blinding and tests that we passed before unblinding}
% \subsubsection{Blinding}
% \subsubsection{Unblinding}
\subsection{Covariance}
\label{sec:cov}
In this analysis, the covariance between the statistic $\wtheta$ and $\gammat$ (${\mathbfcal{C}}$) is modeled as the sum of a Gaussian term ($\mathbfcal{C}_{\rm G}$), trispectrum term ($\mathbfcal{C}_{\rm NG}$) and super-sample covariance term ($\mathbfcal{C}_{\rm SSC}$). The analytic model used to describe ($\mathbfcal{C}_{\rm G}$) is described in \cite{y3-covariances}. The terms $\mathbfcal{C}_{\rm NG}$ and $\mathbfcal{C}_{\rm SSC}$ are modeled using a halo model framework as detailed in \cite{Krause:2016jvl, Krause2017}. The covariance calculation has been performed using the CosmoCov package \citep{Fang:2020vhc}, and the robustness of this covariance matrix has been tested and detailed in \cite{y3-covariances}. We also account for two additional sources of uncertainties that are not included in our \textit{fiducial} model using the methodology of analytical marginalization \citep{Bridle_2002} as detailed below.
\subsubsection{Accounting for LSS systematics}
As described in \cite{y3-galaxyclustering}, we modify the $w(\theta)$ covariance to analytically marginalize over two sources of uncertainty in the correction of survey systematics: the choice of correction method, and the bias of the \textit{fiducial} method as measured on simulations.
These systematics are modelled as
\begin{equation}
w^{\prime}(\theta) = w(\theta) + A_{1} \Delta w_{\rm method}(\theta) + A_{2} w_{\rm r. \, s. \, bias}(\theta) \,,
\end{equation}
where $\Delta w_{\rm method}(\theta)$ is the difference between two systematics correction methods: Iterative Systematic Decontamination (\isd) and Elastic Net (\enet), and $w_{\rm r. \, s. \, bias}(\theta)$ is the residual systematic bias measured on Log-normal mocks. Both terms are presented in detail in \cite{y3-galaxyclustering}. Also note that here $A_{1}$ and $A_{2}$ are arbitrary amplitudes.
We analytically marginalise over these terms assuming a unit Gaussian as the prior on the amplitudes $A_{1}$ and $A_{2}$. The measured difference is a $1\sigma$ deviation from the prior center. The final additional covariance term to be added to the \textit{fiducial} covariance is:
\begin{equation}
\Delta \mathbfcal{C} = {\bf \Delta w_{\rm method}} {\bf \Delta w_{\rm method}}^{T} \ + \ {\bf w_{r. \, s. \, bias}} {\bf w_{r. \, s. \, bias}}^{T} \,.
\end{equation}
The systematic contribution to each tomographic bin is treated as independent so the covariance between lens bins is not modified.
\subsubsection{Point mass analytic marginalization}
\label{sec:cov_pm}
As mentioned in \S\ref{sec:pm_theory}, we modify the inverse covariance to perform analytic marginalization over the PM parameters. As detailed in \cite{MacCrann:2019ntb}, using the generalization of the Sherman-Morrison formula, this procedure changes our \textit{fiducial} inverse-covariance ${\mathbfcal{C}}^{-1}$ to ${\mathbfcal{C}}^{-1}_{\rm wPM}$ as follows:
\begin{linenomath*}
\begin{equation}
{\mathbfcal{C}}^{-1}_{\rm wPM} = {\mathbfcal{C}}^{-1} - {\mathbfcal{C}}^{-1} {\mathbfcal{U}} ({\mathbfcal{I}} + {\mathbfcal{U}}^{\rm T} {\mathbfcal{C}}^{-1} {\mathbfcal{U}})^{-1} {\mathbfcal{U}}^{\rm T} {\mathbfcal{C}}^{-1} \,.
\end{equation}
\end{linenomath*}
Here ${\mathbfcal{C}}^{-1}$ is the inverse of the halo-model covariance as described above, $\mathbfcal{I}$ is the identity matrix and $\mathbfcal{U}$ is a $N_{\rm data} \times N_{\rm z,g}$ matrix where the $i$-th column is given by $\sigma_{B^i} \vec{t}^{i}$. Here $\sigma_{B^i}$ is the standard deviation of the Gaussian prior on point mass parameter $B^i$ and $\vec{t}^{i}$ is given as:
\begin{linenomath*}
\begin{equation}
\bigg(\vec{t}^{i} \bigg)_{a} = \begin{cases}
0 & \parbox{5cm}{if $a$-th element does not correspond to $\gammat$ and if lens-redshift of $a$-th element $\neq i$} \\
\\
\beta^{ij}\theta_{a}^{-2} &\text{otherwise}
\end{cases}
\end{equation}
\end{linenomath*}
where the expression for $\beta^{ij}$ is shown in Eq.\ref{eq:pm_Cij}. We evaluate that term at fixed \textit{fiducial} cosmology as given in Table \ref{tab:params_all}. In our analysis we put a wide prior on PM parameters $B^i$ by choosing $\sigma_{B^i} = 10000$ which translates to the effective mass residual prior of $10^{17} M_{\odot}/h$ (see Eq.~\ref{eq:pm_halo}).
\section{Validation of parameter inference}
\label{sec:param_inf}
We assume the likelihood to be a multivariate Gaussian
\begin{linenomath*}
\begin{equation}
\ln \mathcal{L}(\vec{\mathbfcal{D}}|\Theta) = -\frac{1}{2} (\vec{\mathbfcal{D}} - \vec{\mathbfcal{T}}(\Theta))^{\rm T} \, {\mathbfcal{C}}^{-1}_{\rm wPM} \, (\vec{\mathbfcal{D}} - \vec{\mathbfcal{T}}(\Theta)) \,.
\end{equation}
\end{linenomath*}
Here $\vec{\mathbfcal{D}}$ is the measured $\gammat$ and $\wtheta$ datavector of length $N_{\rm data}$ (if we use all the angular and tomograhic bins), $\vec{\mathbfcal{T}}$ is the theoretical prediction for these statistics for the parameter values given by $\Theta$, and ${\mathbfcal{C}}^{-1}_{\rm wPM}$ is the inverse covariance matrix of shape $N_{\rm data} \times N_{\rm data}$ (including modifications from the PM marginalization term).
For our analysis we use the \textsc{Polychord} sampler with the settings described in \cite{y3-samplers}. The samplers probe the posterior ($\mathcal{P}(\Theta | \vec{\mathbfcal{D}})$) which is given by:
\begin{linenomath*}
\begin{equation}
\mathcal{P}(\Theta | \vec{\mathbfcal{D}}) = \frac{\mathcal{L}(\vec{\mathbfcal{D}}|\Theta) {\rm P}(\Theta)}{{\rm P}(\vec{\mathbfcal{D}})}
\end{equation}
\end{linenomath*}
where ${\rm P}(\Theta)$ are the priors on the parameters of our model, described in \S\ref{sec:prior}, and ${\rm P}(\vec{\mathbfcal{D}})$ is the evidence of data.
To estimate the constraints on the cosmological parameters, we have to marginalize the posterior over all the rest of the multi-dimensional parameter space. We quote the mean and 1$\sigma$ variance of the marginalized posteriors when quoting the constraints. However, note that these marginalized constraints can be biased if the posterior has significant non-Gaussianities, particularly in the case of broad priors assigned to poorly constrained parameters. The maximum-a-posteriori (MAP) point is not affected by such "projection effects"; therefore, we also show the MAP value in our plots. However, we note that in high-dimensional parameter space with a non-trivial structure, it is difficult to converge on a global maximum of the whole posterior (also see \citet{Joachimi_2021} and citations therein).
\subsection{Analysis choices}
\label{sec:analysis_choices}
In this subsection, we detail the galaxy bias models that we use, describe the free parameters of our models, and choose priors on those parameters.
\subsubsection{PT Models}
\label{sec:pt_models}
In this analysis, we test two different galaxy bias models:
% \gary{[These items are repetitive of earlier text and could be shortened.]}\SP{An earlier comment we got was that as paper focuses on biasing models, it would be good to have a brief summary of that earlier discussion here. }
\begin{enumerate}
\item \textit{Linear bias} model: The simplest model to describe the overdensity of galaxies, valid at large scales, assumes it to be linearly biased with respect to the dark matter overdensity (see \S\ref{sec:Pk_pred}). In this model, for each lens tomographic bin $j$, the average bias of galaxies is given by a constant free parameter $b^j_1$.
\item \textit{Non-linear bias} model:
To describe the clustering of galaxies at smaller scales robustly, we also implement a one--loop PT model. As described in \S\ref{sec:Pk_pred}, in general, this model has four free bias parameters for each lens tomographic bin. For each tomographic bin $j$, we fix three of the non-linear parameters to their co-evolution value given by: $b^{j}_{\rm s} = (-4/7) (b^j_1 - 1)$ and $b^{j}_{\rm 3nl} = b^j_1 - 1$ \citep{McDonald2009,Saito2014a}. Therefore, in our implementation, we have two free parameters for each tomographic bin: linear bias $b^{j}_1$ and non-linear bias $b^{j}_2$. This allows us to probe smaller scales with minimal extra degrees of freedom, obtaining tighter constraints on the cosmological parameters while keeping the biases due to projection effects, as described below, in control.
% \jdr{Probably good to emphasize that this choice is largely driven by our desire to minimize projection effects. If we could, we would want to marginalize over all of these parameters}.
As we describe below, in order to test the robustness of our model, we analyze the bias in the marginalized constraints on cosmological parameters. However, given asymmetric non-Gaussian degeneracies between the parameters of the model (particularly between cosmological parameters and poorly constrained non-linear bias parameters $b^{j}_2$ and intrinsic alignment parameters), the marginalized constraints show projection effects. We find that imposing priors on the non-linear bias model parameters in combination with $\sigma_8$, as $b^{j}_1 \sigma_8$ and $b^{j}_2 \sigma^2_8$ removes much of the posterior projection effect.
% \gary{[It is changing the prior, not the sampler, that would alter the projection effects. Is is better to say here that you change the priors to be over $b\sigma$ etc.?]}\SP{check}
As detailed later, these parameters are sampled with flat priors. We emphasize that the flat priors imposed on these non-linear combinations of parameters are non-informative, and our final constraints on $b^{j}_1$ and $b^{j}_2$ are significantly tighter than the projection of priors on these parameters.
% \red{In the end, we care about the posterior on the cosmology parameters. This requires marginalizing over all the free parameters of the model. $\wtheta$ and $\gammat$ has a lower signal to noise and hence can not constrain the higher-order parameters like $b^j_2$ tightly. When projecting this to lower dimension space, the posterior-mass due to non-linear parameters being far from the truth can bias the constraints on the marginalized parameters due to subtle degeneracies. This is known as projection effect or volume effect.} We find that using a uniform prior on the linear and non-linear bias parameters lead to large projection effects. Therefore, we choose to sample the parameters $b^{j}_1 \sigma_8$ and $b^{j}_2 \sigma^2_8$ which helps in removing much of the projection effect. \red{This choice is motivated because the overdensity of galaxy is approximately given by $\delta_g \sim b_1 \delta_m + b_2 \delta_m^2$.} We use wide uninformative uniform priors on these parameters for each tomographic bin $j$ given by : $0.67 < b^{j}_1 \sigma_8 < 3.0$ and $-4.2 < b^{j}_2 \sigma^2_8 < 4.2$. At each point in the parameter space, we calculate the $\sigma_8$ and retrieve the bias parameters $b^{j}_1$ and $b^{j}_2$ from the sampled parameters $b^{j}_1$ and $b^{j}_2$.
\end{enumerate}
\subsubsection{Cosmological Models}
\label{sec:cosmo_models}
% \subsection{Cosmological models, external datasets and priors}
% We test the following cosmological models in this work:
We report the constraints on two choices of the cosmological model:
\begin{enumerate}
\item Flat \lcdm\ : We free six cosmological parameters the total matter density $\Omega_{\rm m}$, the baryonic density $\Omega_{\rm b}$, the spectral index $n_{\rm s}$, the Hubble parameter $h$, the amplitude of scalar perturbations $A_s$ and $\Omega_\nu h^2$ (where $\Omega_\nu$ is the massive neutrino density). We assume a a flat cosmological model, and hence the dark energy density, $\Omega_\Lambda$, is fixed to be $\Omega_\Lambda = 1 - \Omega_{\rm m}$.
\item Flat \wcdm : In addition to the six parameters listed above, we also free the dark energy equation of state parameter $w$. Note that this parameter is constant in time and $w=-1$ corresponds to \lcdm\ cosmological model.
\end{enumerate}
\subsubsection{Scale cuts}\label{sec:scale_cuts}
The complex astrophysics of galaxy formation, evolution, and baryonic processes like feedback from active galactic nuclei (AGN), supernova explosions, and cooling make higher-order non-linear contributions that we do not include in our model. The contribution from these poorly understood effects can exceed our statistical uncertainty on the smallest scales; hence we apply scale cuts chosen so that our PT models give unbiased cosmological constraints.% when analyzing a datavector that receives a contribution from higher-order non-linearities at a level that we expect to be present in our measurements.
As mentioned earlier, marginalizing over a multi-dimensional parameter space can lead to biased 2D parameter constraints due to projection effects. To calibrate this effect for each of our models, we first perform an analysis using a \textit{baseline} datavector constructed from the \textit{fiducial} values of that model.
%Due to projection effects, we do not expect the marginalized contours of this \textit{baseline} analysis to be centered at the true cosmology, and the difference between them is a measure of the expected projection effect.
We then run our MCMC chain on the \textit{contaminated} datavector that includes higher-order non-linearities, and we measure the bias between the peak of the marginalized \textit{baseline} contours and the peak of the marginalized \textit{contaminated} contours.
From a joint analysis of 3D galaxy-galaxy and galaxy-matter correlation functions at fixed cosmology in simulations \citep{p2020perturbation}, we find that the \textit{linear bias} model is a good description above 8Mpc/$h$ while the two-parameter \textit{non-linear bias} model describes the correlations above 4Mpc/$h$. We convert these physical co-moving distances to angular scale cuts for each tomographic bin and treat them as starting guesses. Then for each model, we iterate over scale cuts until we find the minimum scales at which the bias between marginalized \textit{baseline} and \textit{contaminated} contours is less than $0.3\sigma$. For the \lcdm\ model, we impose this criterion on the $\Omega_{\rm m}-S_8$ projected plane, and for the $w$CDM model, we impose this criterion on all three 2D plane combinations constructed out of $\Omega_{\rm m}$, $S_8$ and $w$. Further validation of these cuts is performed using simulations in \ref{sec:sims} and \citet*{y3-simvalidation}.
% \begin{table}[H]
% \centering
% % \resizebox{\textwidth}{!}
% \tabcolsep=0.11cm
% \begin{tabular}{|c| c c c|}
% \hline
% % \hline
% Model & Parameter & Prior & Fiducial \\ \hline
% % & & & \\
% & \multicolumn{3}{c|}{\textbf{Cosmology}} \\
% % & & & \\
% \multirow{24}{*}{\shortstack[c]{Common\\ Parameters}} & $\Omega_{\rm m}$ & $\mathcal{U}[0.1, 0.9]$ & 0.3 \\
% & $A_s\times 10^{-9}$ & $\mathcal{U}[0.5, 5]$ & $2.19$\\
% & $\Omega_{\rm b}$ & $\mathcal{U}[0.03, 0.07]$ & 0.048 \\
% & $n_{\rm s}$ & $\mathcal{U}[0.87, 1.06]$ & 0.97\\
% & $h$ & $\mathcal{U}[0.55, 0.91]$ & 0.69\\
% & $\Omega_{\nu}h^2 \times 10^{-4}$ & $\mathcal{U}[6.0, 64.4]$ & 8.3 \\
% % & & & \\
% \cline{2-4}
% % & & & \\
% & \multicolumn{3}{c|}{\textbf{Intrinsic Alignment}} \\
% & $a_1$ & $\mathcal{U}[-5.0, 5.0]$ & 0.7\\
% & $a_2$ & $\mathcal{U}[-5.0, 5.0]$ & -1.36\\
% & $\alpha_1$ & $\mathcal{U}[-5.0, 5.0]$ & -1.7\\
% & $\alpha_2$ & $\mathcal{U}[-5.0, 5.0]$ & -2.5\\
% & $b_{\rm ta}$ & $\mathcal{U}[0.0, 2.0]$ & 1.0\\
% % & & & \\
% \cline{2-4}
% % & & & \\
% & \multicolumn{3}{c|}{\textbf{Lens photo-$z$}} \\
% & $\Delta z_{\rm g}^{1}$ & $\mathcal{G}[0.006, 0.004]$ & 0.0 \\
% & $\Delta z_{\rm g}^{2}$ & $\mathcal{G}[0.001, 0.003]$ & 0.0 \\
% & $\Delta z_{\rm g}^{3}$ & $\mathcal{G}[0.004, 0.003]$ & 0.0 \\
% & $\Delta z_{\rm g}^{4}$ & $\mathcal{G}[-0.002, 0.005]$ & 0.0 \\
% & $\Delta z_{\rm g}^{5}$ & $\mathcal{G}[-0.007, 0.01]$ & 0.0 \\
% & $\sigma z_{\rm g}^{5}$ & $\mathcal{G}[1.23, 0.054]$ & 1.0 \\
% % & & & \\
% \cline{2-4}
% % & & & \\
% & \multicolumn{3}{c|}{\textbf{Shear Calibration}} \\
% & \shortstack[c]{$m^{1}$} & $\mathcal{G}[-0.0063, 0.0091]$ & 0.0 \\
% & \shortstack[c]{$m^{2}$} & $\mathcal{G}[-0.0198, 0.0078]$ & 0.0 \\
% & \shortstack[c]{$m^{3}$} & $\mathcal{G}[-0.0241, 0.0076]$ & 0.0 \\
% & \shortstack[c]{$m^{4}$} & $\mathcal{G}[-0.0369, 0.0076]$ & 0.0 \\
% % & & & \\
% \cline{2-4}
% % & & & \\
% & \multicolumn{3}{c|}{\textbf{Source photo-$z$}} \\
% & $\Delta z_{\rm s}^{1}$ & $\mathcal{G}[0.0, 0.018]$ & 0.0 \\
% & $\Delta z_{\rm s}^{2}$ & $\mathcal{G}[0.0, 0.015]$ & 0.0 \\
% & $\Delta z_{\rm s}^{3}$ & $\mathcal{G}[0.0, 0.011]$ & 0.0 \\
% & $\Delta z_{\rm s}^{4}$ & $\mathcal{G}[0.0, 0.017]$ & 0.0 \\
% \cline{2-4}
% & \multicolumn{3}{c|}{\textbf{Point Mass}} \\
% & \shortstack[c]{$B_i$\\ $i \in [1,5]$} & $\mathcal{G}[0.0, 10^4]$ & 0.0\\
% % & {$B_i$\\ $i \in [1,5]$} & $\mathcal{G}[0.0, 10^4]$ & 0.0\\
% % & & & \\
% \hline
% % & & & \\
% & \multicolumn{3}{c|}{\textbf{Cosmology}} \\
% $w$CDM & $w$ & $\mathcal{U}[-2, -0.33]$ &-1.0\\
% % & & & \\
% \hline
% % & & & \\
% % & & & \\
% & \multicolumn{3}{c|}{\textbf{Galaxy Bias}} \\
% \multirow{2}{*}{\shortstack[c]{\textit{Linear}\\ \textit{Bias}}} &
% \shortstack[c]{$b_1^{i}$\\ $i \in [1,3]$} & $\mathcal{U}[0.8, 3.0]$ & 1.7\\
% % & & & \\
% & \shortstack[c]{$b_1^{i}$\\ $i \in [4,5]$} & $\mathcal{U}[0.8, 3.0]$ & 2.0\\
% % & & & \\
% \hline
% % & & & \\
% & \multicolumn{3}{c|}{\textbf{Galaxy Bias}} \\
% \multirow{9}{*}{\shortstack[c]{\textit{Non-linear}\\ \textit{Bias}}} &
% \shortstack[c]{$b_1^{i}\sigma_8$\\ $i \in [1,3]$} & $\mathcal{U}[0.67, 2.52]$ & 1.42\\
% % & & & \\
% & \shortstack[c]{$b_1^{i}\sigma_8$\\ $i \in [4,5]$} & $\mathcal{U}[0.67, 2.52]$ & 1.68\\
% % & & & \\
% & \shortstack[c]{$b_2^{i}\sigma^2_8$\\ $i \in [1,3]$} & $\mathcal{U}[-3.5, 3.5]$ & 0.16\\
% % & & & \\
% & \shortstack[c]{$b_2^{i}\sigma^2_8$\\ $i \in [4,5]$} & $\mathcal{U}[-3.5, 3.5]$ & 0.35\\
% % & & & \\
% % % \cline{2-4}
% % & & & \\
% % & \shortstack[c]{$b_2^{i}\sigma^2_8$\\ $i \in [1,5]$} & $\mathcal{U}[0.8, 3.0]$ &\shortstack[c]{Lens Galaxy\\ non-linear bias} \\
% % & & & \\
% \hline
% \end{tabular}
% \caption{The parameters varied in different models, their prior range used ($\mathcal{U}[X, Y] \equiv$ Uniform prior between $X$ and $Y$; $\mathcal{G}[\mu, \sigma] \equiv$ Gaussian prior with mean $\mu$ and standard-deviation $\sigma$) in this analysis and the fiducial values used for simulated likelihood tests.}
% % \IR{will update after source n(z) prescription finalizes}}
% \label{tab:params_all}
% \end{table}
\begin{table}[H]
\centering
% \resizebox{\textwidth}{!}
\tabcolsep=0.11cm
\begin{tabular}{|c| c c c|}
\hline
% \hline
Model & Parameter & Prior & Fiducial \\ \hline
% & & & \\
& \multicolumn{3}{c|}{\textbf{Cosmology}} \\
% & & & \\
\multirow{24}{*}{\shortstack[c]{Common\\ Parameters}} & $\Omega_{\rm m}$ & $\mathcal{U}[0.1, 0.9]$ & 0.3 \\
& $A_s\times 10^{-9}$ & $\mathcal{U}[0.5, 5]$ & $2.19$\\
& $\Omega_{\rm b}$ & $\mathcal{U}[0.03, 0.07]$ & 0.048 \\
& $n_{\rm s}$ & $\mathcal{U}[0.87, 1.06]$ & 0.97\\
& $h$ & $\mathcal{U}[0.55, 0.91]$ & 0.69\\
& $\Omega_{\nu}h^2 \times 10^{-4}$ & $\mathcal{U}[6.0, 64.4]$ & 8.3 \\
% & & & \\
\cline{2-4}
% & & & \\
& \multicolumn{3}{c|}{\textbf{Intrinsic Alignment}} \\
& $a_1$ & $\mathcal{U}[-5.0, 5.0]$ & 0.7\\
& $a_2$ & $\mathcal{U}[-5.0, 5.0]$ & -1.36\\
& $\alpha_1$ & $\mathcal{U}[-5.0, 5.0]$ & -1.7\\
& $\alpha_2$ & $\mathcal{U}[-5.0, 5.0]$ & -2.5\\
& $b_{\rm ta}$ & $\mathcal{U}[0.0, 2.0]$ & 1.0\\
% & & & \\
\cline{2-4}
% & & & \\
& \multicolumn{3}{c|}{\textbf{Lens photo-$z$}} \\
& $\Delta z_{\rm g}^{1}$ & $\mathcal{G}[0.006, 0.004]$ & 0.0 \\
& $\Delta z_{\rm g}^{2}$ & $\mathcal{G}[0.001, 0.003]$ & 0.0 \\
& $\Delta z_{\rm g}^{3}$ & $\mathcal{G}[0.004, 0.003]$ & 0.0 \\
& $\Delta z_{\rm g}^{4}$ & $\mathcal{G}[-0.002, 0.005]$ & 0.0 \\
& $\Delta z_{\rm g}^{5}$ & $\mathcal{G}[-0.007, 0.01]$ & 0.0 \\
& $\sigma z_{\rm g}^{5}$ & $\mathcal{G}[1.23, 0.054]$ & 1.0 \\
% & & & \\
\cline{2-4}
% & & & \\
& \multicolumn{3}{c|}{\textbf{Shear Calibration}} \\
& \shortstack[c]{$m^{1}$} & $\mathcal{G}[-0.0063, 0.0091]$ & 0.0 \\
& \shortstack[c]{$m^{2}$} & $\mathcal{G}[-0.0198, 0.0078]$ & 0.0 \\
& \shortstack[c]{$m^{3}$} & $\mathcal{G}[-0.0241, 0.0076]$ & 0.0 \\
& \shortstack[c]{$m^{4}$} & $\mathcal{G}[-0.0369, 0.0076]$ & 0.0 \\
% & & & \\
\cline{2-4}
% & & & \\
& \multicolumn{3}{c|}{\textbf{Source photo-$z$}} \\
& $\Delta z_{\rm s}^{1}$ & $\mathcal{G}[0.0, 0.018]$ & 0.0 \\
& $\Delta z_{\rm s}^{2}$ & $\mathcal{G}[0.0, 0.015]$ & 0.0 \\
& $\Delta z_{\rm s}^{3}$ & $\mathcal{G}[0.0, 0.011]$ & 0.0 \\
& $\Delta z_{\rm s}^{4}$ & $\mathcal{G}[0.0, 0.017]$ & 0.0 \\
\cline{2-4}
& \multicolumn{3}{c|}{\textbf{Point Mass}} \\
& \shortstack[c]{$B_i$\\ $i \in [1,5]$} & $\mathcal{G}[0.0, 10^4]$ & 0.0\\
% & {$B_i$\\ $i \in [1,5]$} & $\mathcal{G}[0.0, 10^4]$ & 0.0\\
% & & & \\
\hline
% & & & \\
& \multicolumn{3}{c|}{\textbf{Cosmology}} \\
$w$CDM & $w$ & $\mathcal{U}[-2, -0.33]$ &-1.0\\
% & & & \\
\hline
% & & & \\
% & & & \\
& \multicolumn{3}{c|}{\textbf{Galaxy Bias}} \\
\multirow{2}{*}{\shortstack[c]{\textit{Linear}\\ \textit{Bias}}} &
\shortstack[c]{$b_1^{i}$\\ $i \in [1,3]$} & $\mathcal{U}[0.8, 3.0]$ & 1.7\\
% & & & \\
& \shortstack[c]{$b_1^{i}$\\ $i \in [4,5]$} & $\mathcal{U}[0.8, 3.0]$ & 2.0\\
% & & & \\
\hline
% & & & \\
& \multicolumn{3}{c|}{\textbf{Galaxy Bias}} \\
\multirow{9}{*}{\shortstack[c]{\textit{Non-linear}\\ \textit{Bias}}} &
\shortstack[c]{$b_1^{i}\sigma_8$\\ $i \in [1,3]$} & $\mathcal{U}[0.67, 2.52]$ & 1.42\\
% & & & \\
& \shortstack[c]{$b_1^{i}\sigma_8$\\ $i \in [4,5]$} & $\mathcal{U}[0.67, 2.52]$ & 1.68\\
% & & & \\
& \shortstack[c]{$b_2^{i}\sigma^2_8$\\ $i \in [1,3]$} & $\mathcal{U}[-3.5, 3.5]$ & 0.16\\
% & & & \\
& \shortstack[c]{$b_2^{i}\sigma^2_8$\\ $i \in [4,5]$} & $\mathcal{U}[-3.5, 3.5]$ & 0.35\\
% & & & \\
% % \cline{2-4}
% & & & \\
% & \shortstack[c]{$b_2^{i}\sigma^2_8$\\ $i \in [1,5]$} & $\mathcal{U}[0.8, 3.0]$ &\shortstack[c]{Lens Galaxy\\ non-linear bias} \\
% & & & \\
\hline
\end{tabular}
\caption{The parameters varied in different models, their prior range used ($\mathcal{U}[X, Y] \equiv$ Uniform prior between $X$ and $Y$; $\mathcal{G}[\mu, \sigma] \equiv$ Gaussian prior with mean $\mu$ and standard-deviation $\sigma$) in this analysis and the \textit{fiducial} values used for simulated likelihood tests.}
% \IR{will update after source n(z) prescription finalizes}}
\label{tab:params_all}
\end{table}
\subsubsection{Priors and Fiducial values}
\label{sec:prior}
We use non-informative priors on the cosmological parameters to ensure statistically independent constraints on them. Although our constraints on cosmological parameters like the Hubble constant $h$, spectral index $n_{\rm s}$ and baryon fraction $\Omega_{\rm b}$ are modest compared to surveys like \textit{Planck}, we have verified that our choice of wide priors does not bias the inference on our cosmological parameters of interest, $\Omega_{\rm m}$ and $S_8$.
When analyzing the \textit{linear bias} model, we use a wide uniform prior on these linear bias parameters, given by $0.5 < b^{j}_1 < 3$. For the \textit{non-linear bias} model, as mentioned above, we sample the parameters $b^{j}_1 \sigma_8$ and $b^{j}_2 \sigma^2_8$. We use uninformative uniform priors on these parameters for each tomographic bin $j$ given by $0.67 < b^{j}_1 \sigma_8 < 3.0$ and $-4.2 < b^{j}_2 \sigma^2_8 < 4.2$. At each point in the parameter space, we calculate $\sigma_8$ and retrieve the bias parameters $b^{j}_1$ and $b^{j}_2$ from the sampled parameters to get the prediction from the theory model. The \textit{fiducial} values of the linear bias parameters $b^{j}_1$ used in our simulated likelihood tests are motivated by the recovered bias values in N-body simulations and are summarized in Table \ref{tab:params_all}.
For the non-linear bias parameters, the \textit{fiducial} values of $b^{j}_2$ are obtained from the interpolated $b_1-b_2$ relation extracted from 3D tests in \mice simulations (see Fig. 8 of \citet*{p2020perturbation}) for the \textit{fiducial} $b^j_1$ for each tomographic bin.
For the intrinsic alignment parameters, we again choose uniform and uninformative priors. As the IA parameters are directly dependent on the source galaxy population, it is challenging to motivate a reasonable choice of prior from other studies. The \textit{fiducial} values of these parameters required for the simulated test are motivated by the Y1 analysis as detailed in \cite{Samuroff_2019}.
We impose an informative prior for our measurement systematics parameters, lens photo-$z$ shift errors ($\Delta z^j_{\rm g}$), lens photo-$z$ width errors ($\sigma z^j_{\rm g}$), source photo-$z$ shift errors ($\Delta z^j_{\rm s}$) and shear calibration biases ($m^j$) for various tomographic bins $i$. The photo-$z$ shift parameter changes the redshift distributions for lenses (g) or sources (s) for any tomographic bin $j$, used in the theory predictions (see \S\ref{sec:stat_theory}) as $n^j_{\rm g/s}(z) \longrightarrow n^j_{\rm g/s}(z - \Delta z^j_{\rm g/s})$, while the photo-$z$ width results in $n^j_{\rm g}(z) \longrightarrow n^j_{\rm g}(\sigma z^j_{\rm g}[z - \langle z \rangle^j] + \langle z \rangle^j)$, where $\langle z \rangle^j$ is the mean redshift of the tomographic bin $j$. Lastly, the shear calibration uncertainity modifies the galaxy-galaxy lensing signal prediction between lens bin $i$ and source bin $j$ as $\gamma^{ij}_{\rm t} \longrightarrow (1 + m^j)\gamma^{ij}_{\rm t}$.
For the source photo-$z$, we refer the reader to \citet*{y3-sompz} for the characterization of source redshift distribution, \citet*{y3-sourcewz} for reducing the uncertainity in these redshift distribution using cross-correlations with spectroscopic galaxies and \citet*{y3-hyperrank} for a validation of the shift parameterization using a more complete method based on sampling the discrete distribution realizations. For the shear calibration biases, we refer the reader to \citet{y3-imagesims} which tests the shape measurement pipeline and determine the shear calibration uncertainity while accounting for effects like blending using state-of-art image simulation suite. For the priors on the lens photo-$z$ shift and lens photo-$z$ width errors, we refer the reader to \citet*{y3-lenswz}, which cross-correlated the DES lens samples with spectroscopic galaxy samples from Sloan Digital Sky Survey to calibrate the photometric redshifts of lenses (also see \citet{y3-2x2ptaltlensresults} and \citet{y3-2x2ptaltlenssompz} for further details on \maglim redshift calibration).
% The gaussian priors on the lens photo-$z$ shift errors
In this paper we fix the magnification coefficients to the best-fit values described in \citet*{y3-2x2ptmagnification, y3-generalmethods}, but we refer the reader to \citet*{y3-2x2ptmagnification} for details on the impact of varying the magnification coefficients on the cosmological constraints.
Note that in our tests to obtain scale cuts for cosmological analysis using simulated datavectors (described below), we remain conservative and fix the shear systematics to their \textit{fiducial} values and analyze the datavectors at the mean source redshift distribution $n_{\rm s}(z)$, as shown in Fig.~\ref{fig:nz_comp}.
% \gary{[Last sentence is confusing---maybe be more specific about what the "simulated tests" are?]}\SP{check}
\subsection{Simulated Likelihood tests}\label{sec:simlike_analysis}
We perform simulated likelihood tests to validate our choices of scale cuts, galaxy bias model and the cosmological model (including priors and external datasets when relevant). In this analysis we focus on determining and validating the scale cuts using \redmagic lens galaxy sample and we refer the reader to \citet{y3-2x2ptaltlensresults} for validation using the \maglim lens galaxy sample. We require that the choices adopted return unbiased cosmological parameters. This first step based on the tests on noiseless datavectors in the validation is followed by tests on cosmological simulations.
% \gary{[Confusing here too---does the "first step" mean tests using noiseless data derived from the model?]}\SP{check}
\subsubsection{Scale cuts for the linear bias model}
\label{sec:sc_linbias}
% Motivated by the 3D bias modeling paper, we choose the following scale cuts.
% Due to an increase in the parameter space (as we sample over cosmological parameters as well as other systematics parameters described in \S\ref{sec:full_pk_th}) as well as a decrease in signal to noise (compared to noiseless 3D correlation functions),
% We use simulated likelihood tests to determine the scale cuts for our linear bias model. We are interested in finding minimum scales.
Our baseline case assumes linear galaxy bias and no baryonic impact on the matter-matter power spectrum. We use the linear bias values for the five lens bins (in order of increasing redshift) $b_1 = 1.7, 1.7, 1.7, 2.0$, and $2.0$. We compare the cosmology constraints from the baseline datavector with a simulated datavector contaminated with contributions from non-linear bias and baryonic physics. For non-linear bias, we use the \textit{fiducial} $b^j_2$ values as described in the previous section and fix the bias parameters $b^j_s$ and $b^j_{\rm 3nl}$ to their co-evolution values. To capture the effect of baryons, we use the OWLS-AGN datavector, which is based on hydrodynamical simulations that include the effects of supernovae and AGN feedback, metal-dependent radiative cooling, stellar evolution, and kinematic stellar feedback \citep{Le_Brun_2014}.
% We define our criteria for scale cuts in the 2D plane of the most constrained cosmological parameters. For $\Lambda$CDM cosmology, we use $\Omega_{\rm m} - S_8$ while for $w$CDM cosmology we use $\Omega_{\rm m}-S_8$, $\Omega_{\rm m}-w_0$ and $S_8-w_0$. Our criterion for the minimum scales is that the distance of the peak of 2D marginalized contours with the baseline datavector to the peak with the contaminated datavector is less than 0.3$\sigma$.
Fig.~\ref{fig:sim_lin} shows the 0.3$\sigma$ contours when implementing the angular cuts corresponding to (8,6) Mpc/$h$ for $w(\theta)$ and $\gamma_{\rm t}$. The left panel is for $\Lambda$CDM, and the right panel for $w$CDM (only the $w- \Omega_{\rm m}$ plane is shown, but we also verified that the criterion is satisfied in the $\Omega_{\rm m}-S_8$ and $S_8-w$ planes). The figure shows the peaks of marginalized contaminated and baseline posteriors in 2D planes with blue and red markers respectively. We find that a 0.24$\sigma$ marginalized contaminated contour intersects the peak of baseline marginalized posterior in $\Lambda$CDM model, while same is true for a 0.05$\sigma$ contour in $w$CDM model. Therefore, we find that for the linear bias model, (8,6) Mpc/$h$ scale cuts pass the above-mentioned criteria that the distance between the peaks of baseline and contaminated contours is less than 0.3$\sigma$.
\begin{figure*}
\centering
\subfloat{%
\includegraphics[width=0.49\textwidth]{figs/compare_cosmo_all_2x2pt_lcdm__v0.4_sc_8_6_0.5_OmS8_draftv1.pdf}
}
\hfill
\subfloat{%
\includegraphics[width=0.49\textwidth]{figs/compare_cosmo_all_2x2pt_wcdm__v0.4_sc_8_6_0.5_Omw_draftv1.pdf}
}
\caption[]{Simulated datavector parameter constraints from a datavector contaminated with non-linear bias + baryons but analyzed with a linear bias + \textsc{Halofit} model. Dashed grey lines mark the truth values for the simulated datavector. The left panel shows contours for \lcdm, and the right panel shows \wcdm. The scale cuts are (8,6) Mpc/$h$ for $w(\theta)$ and $\gamma_{\rm t}$ respectively. In both panels, we compare the peak of the marginalized constraints in the 2D parameter plane for the contaminated datavector (blue circle) and the baseline datavector (red square). We see that the distance between the peaks of marginalized baseline contours is within 0.3$\sigma$ of the marginalized contaminated contours, which is our criterion for acceptable scale cuts. }
\label{fig:sim_lin}
\end{figure*}
\subsection{\buzzard simulation tests}
\label{sec:sims}
Finally, we validate our model with mock catalogs from cosmological simulations for analysis choice combinations that pass the simulated likelihood tests. These tests, and tests of cosmic shear and $3\times2$-point analyses, are presented in full in \citet*{y3-simvalidation}, and we summarize the details relevant for $2\times2$-point analyses here. We use the suite of Y3 \buzzard simulations described above. We again require that our analysis choices return unbiased cosmological parameters. In order to reduce the sample variance, we analyze the mean datavector constructed from 18 \buzzard realizations.
% \blue{We analyze the \mice simulations as well, but only one realization is available. The recovered cosmological contours and bestfit are shown in Appendix YYY}.
\subsubsection{Validation of linear bias model}
We have run simulated $2\times 2$-point analyses on the mean of the measurements from all 18 \buzzard simulations. We compare our model for $w(\theta)$ and $\gamma_{\rm t}(\theta)$ to our measurements at the true \buzzard cosmology, leaving only linear bias and lens magnification coefficients free. In this case, we have ten free parameters in total, and we find a chi-squared value of 13.6 for 285 data points using our \textit{fiducial} scale cuts and assuming the covariance of a single simulation, as appropriate for application to the data. This analysis assumes true source redshift distributions, and we fix the source redshift uncertainties to zero as a conservative choice. This results in cosmological constraints where the mean two-dimensional parameter biases are $0.23\sigma$ in the $S_8-\Omega_{\rm m}$ plane and $0.18\sigma$ in the $w-\Omega_{\rm m}$ plane. These biases are consistent with noise, as they have an approximately $1/\sqrt{18}\sigma$ error associated with them (assuming 1$\sigma$ error from a single realization). We perform a similar analysis using calibrated photometric redshift distributions where we use \redmagic lens redshift distributions, and use the SOMPZ redshift distribution estimates of source galaxies. These are weighted by the likelihood of those samples given the cross-correlation of our source galaxies with redMaGiC and spectroscopic galaxies (we refer the reader to Appendix F of \citet{y3-simvalidation} for detailed procedure). This procedure results in the mean two-dimensional parameter biases of $0.07\sigma$ in the $S_8-\Omega_{\rm m}$ plane and $0.05\sigma$ in the $w-\Omega_{\rm m}$ plane.
% \gary{[What are "calibrated pz distributions"?]} \SP{changed the text above}
% A similar analysis using calibrated photometric redshift distributions \gary{[What are "calibrated pz distributions"?]} and their uncertainties results in the mean two-dimensional parameter biases of $0.07\sigma$ in the $S_8-\Omega_{\rm m}$ plane and $0.05\sigma$ in the $w-\Omega_{\rm m}$ plane.
% For a more detailed discussion how these PTE values are calculated, see Section V of \citet*{y3-simvalidation}.
% This results in cosmological constraints that have a probability to exceed (PTE) a parameter bias of $0.3\sigma$ ($1\sigma$) in the $S_8-\Omega_{\rm m}$ plane of 0.25 ($<$0.01) and 0.35 ($<$0.01) in the $w-\Omega_{\rm m}$ plane. The mean two-dimensional parameter biases are $0.23\sigma$ in the $S_8-\Omega_{\rm m}$ plane and $0.18\sigma$ in the $w-\Omega_{\rm m}$ plane. These biases are consistent with noise, as they have an approximately $1/\sqrt{18}\sigma$ error associated with them. A similar analysis using calibrated photometric redshift distributions and their uncertainties shows a probability to exceed a parameter bias of $0.3\sigma$ ($1\sigma$) in the $S_8-\Omega_{\rm m}$ plane with respect to the true redshift analysis of 0.08 ($<$0.01), and 0.05 ($<$0.01) in the $w-\Omega_{\rm m}$ plane. The mean two-dimensional parameter biases for this analysis are $0.07\sigma$ in the $S_8-\Omega_{\rm m}$ plane and $0.05\sigma$ in the $w-\Omega_{\rm m}$ plane. For a more detailed discussion how these PTE values are calculated, see Section V of \citet*{y3-simvalidation}.
% Note that the projected baseline contours
The left panels of Fig.~\ref{fig:bcc_des_lcdm} and Fig.~\ref{fig:bcc_des_wcdm} show the 0.3$\sigma$ constraints obtained from analyzing linear galaxy bias models in $\Lambda$CDM and $w$CDM cosmologies on the \buzzard datavector in blue colored contours. Since we expect the marginalized posteriors to be affected by the projection effects, we compare these contours to a simulated noiseless baseline datavector obtained at the input cosmology of \buzzard (denoted by gray dashed lines in Fig.~\ref{fig:bcc_des_lcdm} and Fig.~\ref{fig:bcc_des_wcdm}, also see \citet*{DeRose2019}). We find that similar to results obtained with simulated datavectors in previous section, our parameter biases are less than the threshold of 0.3$\sigma$ for the fiducial scale cuts. For a more detailed discussion how these shift compare with probability to exceed (PTE) values of exceeding a $0.3\sigma$ bias, see Section V of \citet*{y3-simvalidation}.
Also note that as changing the input truth values of the parameters impacts the shape of the multi-dimensional posterior, we find that the effective magnitude and direction of the projection effects of the baseline contours (comparison of red contours in Fig.~\ref{fig:sim_lin} with Fig.~\ref{fig:bcc_des_lcdm} and Fig.~\ref{fig:bcc_des_wcdm}) are different.
% \blue{Make the case about projection effects being different for wcdm baseline compared to simulated DV analysis in previous section. i.e. projection effects are dependent upon the parameter values.}
\subsubsection{Scale cuts for non-linear bias model}
Likewise, we have run simulated $2\times 2$-point analyses including our non-linear bias model on the mean of the measurements from all 18 simulations. Similar to the procedure used to determine the linear bias scale cuts in \S\ref{sec:sc_linbias}, we iterate over scale cuts for each tomographic bin defined from varying physical scale cuts.
% We find that angular scale cuts corresponding to (4,4) Mpc/$h$ for $\wtheta$ and $\gammat$ pass our threshold scale cut criteria.
We compare our model for $w(\theta)$ and $\gamma_{\rm t}(\theta)$ to our measurements at the true \textsc{Buzzard} cosmology, leaving our bias model parameters and magnification coefficients free, which adds 15 free parameters. We find a $\chi^2$ value of 15.6 for 340 data points using our non-linear bias scale cuts and assuming the covariance of a single simulation. Simulated analyses using true redshift distributions result in cosmological constraints where the associated mean two-dimensional parameter biases for these analyses are $0.04\sigma$ in the $S_8-\Omega_{\rm m}$ plane and $0.11\sigma$ in the $w-\Omega_{m}$ plane. This is again consistent with noise due to finite number of realizations.
% Simulated analyses using true redshift distributions result in cosmological constraints that have a probability to exceed a parameter bias of $0.3\sigma$ ($1\sigma$) in the $S_8-\Omega_{m}$ plane of 0.20 ($<$0.01) and 0.26 ($<$0.01) in the $w-\Omega_{m}$ plane. The associated mean two-dimensional parameter biases for these analyses are $0.04\sigma$ in the $S_8-\Omega_{\rm m}$ plane and $0.11\sigma$ in the $w-\Omega_{m}$ plane.
\begin{figure*}
\includegraphics[width=\columnwidth]{figs/Buzzard_linbias86_2x2pt_lcdm.pdf}
\includegraphics[width=\columnwidth]{figs/Buzzard_nlbias44_2x2pt_lcdm.pdf}
\caption[]{The blue contours show constraints from \buzzard simulations (blue contours) compared with \buzzard-like theory datavector (red contours) in the $\Lambda$CDM cosmological model.
%The blue contours correspond to the result from the mean (over all Y3-like realizations) of Buzzard 2x2pt measurements, with covariance corresponding to single realization.
The left (right) panel shows the constraints for linear (non-linear) bias models with the scale cuts given in the legend. The linear and non-linear bias values are extracted from fits to the 3D correlation functions ($\xigg$ and $\xigm$). We see that both the scale-cut choices satisfy our validation criterion.
% \IR{we will update these plots with all 18 realizations in Y3 settings including varying neutrino masses}
}
\label{fig:bcc_des_lcdm}
\end{figure*}
In the right panel of \fig{fig:bcc_des_lcdm} we show the constraints on $\Omega_{\rm m}$ and $S_8$ from the mean Buzzard $2\times2$pt measurements for \lcdm\ cosmological model. The results for non-linear bias models are shown, where we find, the criterion for unbiased cosmology is satisfied for the choice of scale cuts of (4,4)Mpc/$h$ for $(w(\theta),\gamma_{\rm t}(\theta))$ respectively. Again for a more detailed discussion how these shift compare with PTE values of exceeding a $0.3\sigma$ bias, see \citet*{y3-simvalidation}. The \fig{fig:bcc_des_wcdm} shows the same analysis for \wcdm\ cosmological model in the $\Omega_{\rm m}$ and $w$ plane, where we find similar results. We therefore use (4,4)Mpc/$h$ as our validated scale cuts when analyzing data with non-linear bias model.
\begin{figure*}
\includegraphics[width=\columnwidth]{figs/Buzzard_linbias86_2x2pt_wcdm.pdf}
\includegraphics[width=\columnwidth]{figs/Buzzard_nlbias44_2x2pt_wcdm.pdf}
\caption[]{Same as Fig.~\ref{fig:bcc_des_lcdm} but for $w$CDM cosmology.
}
\label{fig:bcc_des_wcdm}
\end{figure*}
\section{Results}
\label{sec:results}
In this section we present the $2\times2$pt cosmology results using the DES Y3 \redmagic lens galaxy sample and study the implications of our constraints on galaxy bias.
\subsection{\redmagic cosmology constraints}
\label{sec:fid_cosmo_res}
In Fig.~\ref{fig:des_comp}, we compare the constraints on the cosmological parameters obtained from jointly analyzing $\wtheta$ and $\gammat$ with both linear and non-linear bias models.
% The 2x2pt constraints on $\om$ are at the 10\% level with DES Y3.
We find $\om = 0.325^{+0.033}_{-0.034}$ from the linear bias model (a 10\% constraint) at the \textit{fiducial} scale cuts of (8,6) Mpc/$h$ (for $(w(\theta),\gamma_{\rm t}(\theta))$ respectively), while using the non-linear bias model at same scale cuts gives completely consistent constraints.
% us $\om = 0.30^{+0.035}_{-0.037}$.
We also show the results for the scale cuts of (4,4) Mpc/$h$ using the non-linear bias model where we find $\om=0.323^{+0.034}_{-0.035}$. These marginalized constraints on $\om$ are completely consistent with the public DES-Y1 $2\times 2$pt results \citep{Abbott_2018} and \Planck results (including all three correlations between temperature and E-mode polarization, see \citet{Planck_2018_cosmo} for details).
With the analysis of linear bias model with (8,6) Mpc/$h$ scale cuts (referred to as \textit{fiducial} model in following text), we find $S_8 = 0.668^{+0.026}_{-0.033}$. As is evident from the contour plot in Fig.~\ref{fig:des_comp}, our constraints prefer lower $S_8$ compared to previous analyses. We use the Monte-Carlo parameter difference distribution methodology (as detailed in \citet*{y3-tensions}) to assess the tension between our \textit{fiducial} constraints and \Planck results. Using this criterion, we find a tension of 4.1$\sigma$, largely driven by the differences in the $S_8$ parameter. We find similar constraints on $S_8$ from the non-linear bias as well for both the scale cuts. We investigate the cause of this low $S_8$ value in the following sub-sections.
Note that the non-linear bias model at (4,4) Mpc/$h$ scale cuts results in tighter constraints in the $\om-S_8$ plane.
We estimate the total constraining power in this $\om-S_8$ plane by estimating 2D figure-of-merit (FoM), which is defined as ${\rm FoM}_{p_1,p_2} = 1/\sqrt{({\rm det \, Cov}(p_1,p_2))}$, for any two parameters $p_1$ and $p_2$ \citep{Huterer_2001, Wang_2008}. This statistic here is proportional to the inverse of the confidence region area in the 2D parameter plane of $\om-S_8$.
% We estimate the total constraining power in this $\om-S_8$ plane by integrating the marginalized posterior (after normalizing the peak of marginalized posterior to unity) for each model.
% We find that non-linear bias model at (4,4)Mpc/$h$ results in the value of $0.005226$. In comparison, linear bias at (8,6)Mpc/$h$ results in a value of $0.00613$; therefore non-linear bias model results in a $14.8$\% increase in constraining power.
We find that the non-linear bias model at (4,4) Mpc/$h$ results in a $17$\% increase in constraining power compared to the linear bias model at (8,6) Mpc/$h$.
\begin{figure}
\includegraphics[width=\columnwidth]{figs/data_lcdm_comp.pdf}
\caption[]{Comparison of the $2\times2$pt $\Lambda$CDM constraints, using \redmagic lens galaxy sample, for both linear bias and non-linear bias models at their respectively defined scale cuts given in the legend. We find a preference for a low value of $S_8$, compared to DES Y1 $2\times2$pt public result \citep{Abbott_2018} and Planck 2018 public result \citep{Planck_2018_cosmo}, with both models of galaxy bias which we investigate in \S\ref{sec:internal_consistency}. We also show that analyzing smaller scales using the non-linear galaxy bias model leads to 17\% better constraints in the $\Omega_{\rm m} - S_8$ plane. }\label{fig:des_comp}
\end{figure}