0707.3380/ms.tex
1: % Version of 10/11/06
2: \documentclass[12pt,preprint]{aastex}
3: \newcommand{\etal}{et al.}
4: \begin{document}
5: \title{The Fifth Data Release of the Sloan Digital Sky Survey}
6: 
7: 
8: \author{
9: Jennifer K. Adelman-McCarthy\altaffilmark{\ref{Fermilab}},
10: Marcel A. Ag\"ueros\altaffilmark{\ref{Washington}},
11: Sahar S. Allam\altaffilmark{\ref{Fermilab},\ref{Wyoming}},
12: Kurt S. J. Anderson\altaffilmark{\ref{APO}},
13: Scott F. Anderson\altaffilmark{\ref{Washington}},
14: James Annis\altaffilmark{\ref{Fermilab}},
15: Neta A. Bahcall\altaffilmark{\ref{Princeton}},
16: Coryn A. L. Bailer-Jones\altaffilmark{\ref{MPIA}},
17: Ivan K. Baldry\altaffilmark{\ref{LJMU},\ref{JHU}},
18: J. C. Barentine\altaffilmark{\ref{APO}},
19: Timothy C. Beers\altaffilmark{\ref{MSUJINA}},
20: V. Belokurov\altaffilmark{\ref{Cambridge}},
21: Andreas Berlind\altaffilmark{\ref{NYU}},
22: Mariangela Bernardi\altaffilmark{\ref{Penn}}, 
23: Michael R. Blanton\altaffilmark{\ref{NYU}},
24: John J. Bochanski\altaffilmark{\ref{Washington}},
25: William N. Boroski\altaffilmark{\ref{Fermilab}},
26: D. M. Bramich\altaffilmark{\ref{Cambridge}},
27: Howard J. Brewington\altaffilmark{\ref{APO}},
28: Jarle Brinchmann\altaffilmark{\ref{Porto}},
29: J. Brinkmann\altaffilmark{\ref{APO}},
30: Robert J. Brunner\altaffilmark{\ref{Illinois}},
31: Tam\'as Budav\'ari\altaffilmark{\ref{JHU}},
32: Larry N. Carey\altaffilmark{\ref{Washington}},
33: Samuel Carliles\altaffilmark{\ref{JHU}},
34: Michael A. Carr\altaffilmark{\ref{Princeton}},
35: Francisco J. Castander\altaffilmark{\ref{Barcelona}},
36: A. J. Connolly\altaffilmark{\ref{Pitt}},
37: R. J. Cool,\altaffilmark{\ref{Arizona}},
38: Carlos E. Cunha,\altaffilmark{\ref{Chicago},\ref{CfCP}},
39: Istv\'an Csabai\altaffilmark{\ref{Eotvos},\ref{JHU}},
40: %Paul C. Czarapata\altaffilmark{\ref{Fermilab}},
41: Julianne J. Dalcanton\altaffilmark{\ref{Washington}},
42: Mamoru Doi\altaffilmark{\ref{IoaUT}},
43: %Feng Dong\altaffilmark{\ref{Princeton}},
44: Daniel J. Eisenstein\altaffilmark{\ref{Arizona}},
45: Michael L. Evans\altaffilmark{\ref{Washington}},
46: N. W. Evans\altaffilmark{\ref{Cambridge}},
47: Xiaohui Fan\altaffilmark{\ref{Arizona}},
48: Douglas P. Finkbeiner\altaffilmark{\ref{Princeton}},
49: Scott D. Friedman\altaffilmark{\ref{STScI}},
50: Joshua A. Frieman\altaffilmark{\ref{Fermilab},\ref{Chicago},\ref{CfCP}},
51: Masataka Fukugita\altaffilmark{\ref{ICRRUT}},
52: Bruce Gillespie\altaffilmark{\ref{APO}},
53: G. Gilmore\altaffilmark{\ref{Cambridge}},
54: Karl Glazebrook\altaffilmark{\ref{JHU}},
55: Jim Gray\altaffilmark{\ref{Microsoft}},
56: Eva K. Grebel\altaffilmark{\ref{Basel}},
57: James E. Gunn\altaffilmark{\ref{Princeton}},
58: %Vijay K. Gurbani\altaffilmark{\ref{Fermilab},\ref{Lucent2}},
59: Ernst de Haas\altaffilmark{\ref{Princeton}},
60: Patrick B. Hall\altaffilmark{\ref{York}},
61: %Frederick H. Harris\altaffilmark{\ref{NOFS}},
62: Michael Harvanek\altaffilmark{\ref{APO}},
63: Suzanne L. Hawley\altaffilmark{\ref{Washington}},
64: Jeffrey Hayes\altaffilmark{\ref{Catholic}},
65: Timothy M. Heckman\altaffilmark{\ref{JHU}},
66: John S. Hendry\altaffilmark{\ref{Fermilab}},
67: Gregory S. Hennessy\altaffilmark{\ref{USNO}},
68: Robert B. Hindsley\altaffilmark{\ref{NRL}},
69: Christopher M. Hirata\altaffilmark{\ref{IAS}},
70: Craig J. Hogan\altaffilmark{\ref{Washington}},
71: David W. Hogg\altaffilmark{\ref{NYU}},
72: %Donald J. Holmgren\altaffilmark{\ref{Fermilab}},
73: Jon A. Holtzman\altaffilmark{\ref{NMSU}},
74: Shin-ichi Ichikawa\altaffilmark{\ref{NAOJ}},
75: Takashi Ichikawa\altaffilmark{\ref{Tohoku}},
76: \v{Z}eljko Ivezi\'{c}\altaffilmark{\ref{Washington}},
77: Sebastian Jester\altaffilmark{\ref{Southampton}},
78: David E. Johnston\altaffilmark{\ref{JPL},\ref{Caltech}},
79: Anders M. Jorgensen\altaffilmark{\ref{LANL}},
80: Mario Juri\'{c}\altaffilmark{\ref{Princeton},\ref{IAS}},
81: Guinevere Kauffmann\altaffilmark{\ref{MPA}},
82: Stephen M. Kent\altaffilmark{\ref{Fermilab}},
83: S. J. Kleinman\altaffilmark{\ref{Subaru}},
84: G. R. Knapp\altaffilmark{\ref{Princeton}},
85: Alexei Yu. Kniazev\altaffilmark{\ref{MPIA}},
86: Richard G. Kron\altaffilmark{\ref{Chicago},\ref{Fermilab}},
87: Jurek Krzesinski\altaffilmark{\ref{APO},\ref{MSO}},
88: Nikolay Kuropatkin\altaffilmark{\ref{Fermilab}},
89: Donald Q. Lamb\altaffilmark{\ref{Chicago},\ref{EFI}},
90: Hubert Lampeitl\altaffilmark{\ref{STScI}},
91: Brian C. Lee\altaffilmark{\ref{LBL},\ref{Gatan}},
92: R. French Leger\altaffilmark{\ref{Fermilab}},
93: Marcos Lima,\altaffilmark{\ref{ChicagoPhys},\ref{CfCP}},
94: Huan Lin\altaffilmark{\ref{Fermilab}},
95: Daniel C. Long\altaffilmark{\ref{APO}},
96: Jon Loveday\altaffilmark{\ref{Sussex}},
97: Robert H. Lupton\altaffilmark{\ref{Princeton}},
98: Rachel Mandelbaum\altaffilmark{\ref{IAS}},
99: Bruce Margon\altaffilmark{\ref{SantaCruz}},
100: David Mart\'{\i}nez-Delgado\altaffilmark{\ref{IAC}},
101: Takahiko Matsubara\altaffilmark{\ref{Nagoya}},
102: Peregrine M. McGehee\altaffilmark{\ref{LANL2}},
103: Timothy A. McKay\altaffilmark{\ref{Michigan}},
104: Avery Meiksin\altaffilmark{\ref{Edinburgh}},
105: Jeffrey A. Munn\altaffilmark{\ref{NOFS}},
106: Reiko Nakajima\altaffilmark{\ref{Penn}},
107: Thomas Nash\altaffilmark{\ref{Fermilab}},
108: Eric H. Neilsen, Jr.\altaffilmark{\ref{Fermilab}},
109: Heidi Jo Newberg\altaffilmark{\ref{RPI}},
110: %Peter R. Newman\altaffilmark{\ref{APO}},
111: Robert C. Nichol\altaffilmark{\ref{Portsmouth}},
112: %Tom Nicinski\altaffilmark{\ref{Fermilab},\ref{CMCElectronics}},
113: Maria Nieto-Santisteban\altaffilmark{\ref{JHU}},
114: Atsuko Nitta\altaffilmark{\ref{Gemini}},
115: %William O'Mullane\altaffilmark{\ref{JHU}},
116: Hiroaki Oyaizu,\altaffilmark{\ref{Chicago},\ref{CfCP}},
117: Sadanori Okamura\altaffilmark{\ref{DoAUT}},
118: Jeremiah P. Ostriker\altaffilmark{\ref{Princeton}},
119: %Russell Owen\altaffilmark{\ref{Washington}},
120: Nikhil Padmanabhan\altaffilmark{\ref{Princetonphys},\ref{LBL}},
121: Changbom Park\altaffilmark{\ref{KIAS}},
122: %George Pauls\altaffilmark{\ref{Princeton}},
123: John Peoples Jr.\altaffilmark{\ref{Fermilab}},
124: Jeffrey R. Pier\altaffilmark{\ref{NOFS}},
125: Adrian C. Pope\altaffilmark{\ref{JHU}},
126: Dimitri Pourbaix\altaffilmark{\ref{Princeton},\ref{Bruxelles}},
127: Thomas R. Quinn\altaffilmark{\ref{Washington}},
128: M. Jordan Raddick\altaffilmark{\ref{JHU}},
129: Paola Re Fiorentin\altaffilmark{\ref{MPIA}},
130: Gordon T. Richards\altaffilmark{\ref{JHU},\ref{Drexel}},
131: Michael W. Richmond\altaffilmark{\ref{RIT}},
132: Hans-Walter Rix\altaffilmark{\ref{MPIA}},
133: Constance M. Rockosi\altaffilmark{\ref{Lick}},
134: David J. Schlegel\altaffilmark{\ref{LBL}},
135: Donald P. Schneider\altaffilmark{\ref{PSU}},
136: %Joshua Schroeder\altaffilmark{\ref{Princeton},\ref{Colorado}},
137: Ryan Scranton\altaffilmark{\ref{Pitt}},
138: Uro\v{s} Seljak\altaffilmark{\ref{Princetonphys},\ref{Princeton}},
139: Erin Sheldon\altaffilmark{\ref{Chicago},\ref{CfCP}},
140: Kazu Shimasaku\altaffilmark{\ref{DoAUT}},
141: Nicole M. Silvestri\altaffilmark{\ref{Washington}},
142: J. Allyn Smith\altaffilmark{\ref{LANL},\ref{APeay}},
143: Vernesa Smol\v{c}i\'{c}\altaffilmark{\ref{MPIA}},
144: Stephanie A. Snedden\altaffilmark{\ref{APO}},
145: Albert Stebbins\altaffilmark{\ref{Fermilab}}
146: Chris Stoughton\altaffilmark{\ref{Fermilab}},
147: Michael A. Strauss\altaffilmark{\ref{Princeton}},
148: Mark SubbaRao\altaffilmark{\ref{Chicago},\ref{Adler}},
149: Yasushi Suto\altaffilmark{\ref{TokyoPhys}},
150: Alexander S. Szalay\altaffilmark{\ref{JHU}},
151: Istv\'an Szapudi\altaffilmark{\ref{Hawaii}},
152: Paula Szkody\altaffilmark{\ref{Washington}},
153: Max Tegmark\altaffilmark{\ref{MIT}},
154: Aniruddha R. Thakar\altaffilmark{\ref{JHU}},
155: Christy A. Tremonti\altaffilmark{\ref{Arizona}},
156: Douglas L. Tucker\altaffilmark{\ref{Fermilab}},
157: Alan Uomoto\altaffilmark{\ref{JHU},\ref{CarnegieObs}},
158: Daniel E. Vanden Berk\altaffilmark{\ref{PSU}},
159: Jan Vandenberg\altaffilmark{\ref{JHU}},
160: S. Vidrih\altaffilmark{\ref{Cambridge}},
161: Michael S. Vogeley\altaffilmark{\ref{Drexel}},
162: Wolfgang Voges\altaffilmark{\ref{MPIEP}},
163: Nicole P. Vogt\altaffilmark{\ref{NMSU}},
164: %Lucianne M. Walkowicz\altaffilmark{\ref{Washington}},
165: David H. Weinberg\altaffilmark{\ref{OSU}},
166: Andrew A. West\altaffilmark{\ref{Berkeley}},
167: Simon D.M. White\altaffilmark{\ref{MPA}},
168: Brian Wilhite\altaffilmark{\ref{Illinois}},
169: %Yongzhong Xu\altaffilmark{\ref{LANLtheory}},
170: Brian Yanny\altaffilmark{\ref{Fermilab}},
171: D. R. Yocum\altaffilmark{\ref{Fermilab}},
172: Donald G. York\altaffilmark{\ref{Chicago},\ref{EFI}},
173: Idit Zehavi\altaffilmark{\ref{Case}},
174: Stefano Zibetti\altaffilmark{\ref{MPIEP}},
175: Daniel B. Zucker\altaffilmark{\ref{MPIA},\ref{Cambridge}}
176: }
177: 
178: \altaffiltext{1}{
179: Fermi National Accelerator Laboratory, P.O. Box 500, Batavia, IL 60510.
180: \label{Fermilab}}
181: 
182: \altaffiltext{2}{
183: Department of Astronomy, University of Washington, Box 351580, Seattle, WA
184: 98195.
185: \label{Washington}}
186: 
187: \altaffiltext{3}{
188: Department of Physics and Astronomy, University of Wyoming, Laramie, WY 82071.
189: \label{Wyoming}}
190: 
191: \altaffiltext{4}{
192: Apache Point Observatory, P.O. Box 59, Sunspot, NM 88349.
193: \label{APO}}
194: 
195: \altaffiltext{5}{
196: Department of Astrophysical Sciences, Princeton University, Princeton, NJ
197: 08544.
198: \label{Princeton}}
199: 
200: \altaffiltext{6}{
201: Max-Planck-Institut f\"ur Astronomie, K\"onigstuhl 17, D-69117 Heidelberg,
202: Germany.
203: \label{MPIA}}
204: 
205: \altaffiltext{7}{
206: Astrophysics Research Institute,
207: Liverpool John Moores University,
208: Twelve Quays House, Egerton Wharf,
209: Birkenhead CH41 1LD, UK
210: \label{LJMU}}
211: 
212: \altaffiltext{8}{
213: Center for Astrophysical Sciences, Department of Physics and Astronomy, Johns
214: Hopkins University, 3400 North Charles Street, Baltimore, MD 21218. 
215: \label{JHU}}
216: 
217: \altaffiltext{9}{
218: Department of Physics \& Astronomy and Joint
219: Institute for Nuclear Astrophysics, Michigan State
220: University, East Lansing, MI 48824-1116
221: \label{MSUJINA}
222: }
223: 
224: \altaffiltext{10}{
225: Institute of Astronomy, University of Cambridge, Madingley Road,
226: Cambridge CB3 0HA, UK
227: \label{Cambridge}}
228: 
229: \altaffiltext{11}{
230: Center for Cosmology and Particle Physics,
231: Department of Physics,
232: New York University,
233: 4 Washington Place,
234: New York, NY 10003.
235: \label{NYU}}
236: 
237: \altaffiltext{12}{
238: Department of Physics and Astronomy, University of Pennsylvania,
239: Philadelphia, PA 19104. 
240: \label{Penn}}
241: 
242: \altaffiltext{13}{
243: Centro de Astrof{\'\i}sica da Universidade do Porto, Rua 
244: das Estrelas - 4150-762 Porto, Portugal.
245: \label{Porto}}
246: 
247: \altaffiltext{14}{
248: Department of Astronomy
249: University of Illinois
250: 1002 West Green Street, Urbana, IL 61801.
251: \label{Illinois}}
252: 
253: \altaffiltext{15}{Institut 
254: d'Estudis Espacials de Catalunya/CSIC, Gran Capit\'a 2-4,
255: E-08034 Barcelona, Spain.
256: \label{Barcelona}}
257: 
258: \altaffiltext{16}{
259: Department of Physics and Astronomy, University of Pittsburgh, 3941 O'Hara
260: Street, Pittsburgh, PA 15260.
261: \label{Pitt}}
262: 
263: \altaffiltext{17}{
264: Steward Observatory, 933 North Cherry Avenue, Tucson, AZ 85721.
265: \label{Arizona}}
266: 
267: \altaffiltext{18}{
268: Department of Astronomy and Astrophysics, University of Chicago, 5640 South
269: Ellis Avenue, Chicago, IL 60637.
270: \label{Chicago}}
271: 
272: \altaffiltext{19}{
273: Kavli Institute for Cosmological Physics, The University of Chicago,
274: 5640 South Ellis Avenue, Chicago, IL 60637.
275: \label{CfCP}}
276: 
277: \altaffiltext{20}{
278: Department of Physics of Complex Systems, 
279: E\"{o}tv\"{o}s Lor\'and University, Pf.\ 32,
280: H-1518 Budapest, Hungary.
281: \label{Eotvos}}
282: 
283: \altaffiltext{21}{Institute of Astronomy,
284: School of Science, University of Tokyo,
285: Osawa 2-21-1, Mitaka, 181-0015, Japan.
286: \label{IoaUT}}
287: 
288: \altaffiltext{22}{
289: Space Telescope Science Institute, 3700 San Martin Drive, Baltimore, MD
290: 21218.
291: \label{STScI}}
292: 
293: \altaffiltext{23}{Institute for Cosmic Ray Research, University of Tokyo, 5-1-5 Kashiwa,
294:  Kashiwa City, Chiba 277-8582, Japan.
295: \label{ICRRUT}}
296: 
297: \altaffiltext{24}{
298: Microsoft Research, 455 Market Street, Suite 1690, San Francisco, CA 94105.
299: \label{Microsoft}}
300: 
301: \altaffiltext{25}{
302: Astronomical Institute of the University of Basel, 
303: Department of Physics and Astronomy, Venusstrasse 7, CH-4102 Basel,
304: Switzerland
305: \label{Basel}}
306: 
307: %\altaffiltext{23}{
308: %Lucent Technologies, 2000 Lucent Lane, Naperville, IL 60566.
309: %\label{Lucent2}}
310: 
311: \altaffiltext{26}{
312: Dept. of Physics \& Astronomy,
313: York University,
314: 4700 Keele St.,
315: Toronto, ON, M3J 1P3,
316: Canada
317: \label{York}}
318: 
319: \altaffiltext{27}{
320: Institute for Astronomy and Computational Sciences
321:      Physics Department
322:      Catholic University of America
323:      Washington DC 20064
324: \label{Catholic}}
325: 
326: \altaffiltext{28}{
327: US Naval Observatory, 3540 Massachusetts Avenue NW, Washington, DC 20392.
328: \label{USNO}}
329: 
330: \altaffiltext{29}{
331: Code 7215, Remote Sensing Division
332: Naval Research Laboratory
333: 4555 Overlook Avenue SW
334: Washington, DC 20392.
335: \label{NRL}}
336: 
337: \altaffiltext{30}{
338: Institute for Advanced Study
339: Einstein Drive
340: Princeton, NJ 08540
341: \label{IAS}}
342: 
343: \altaffiltext{31}{
344: Department of Astronomy, MSC 4500, New Mexico State University,
345: P.O. Box 30001, Las Cruces, NM 88003.
346: \label{NMSU}}
347: 
348: \altaffiltext{32}{National Astronomical Observatory, 
349: 2-21-1 Osawa, Mitaka, Tokyo 181-8588, Japan.
350: \label{NAOJ}}
351: 
352: \altaffiltext{33}{
353: Astronomical Institute, Tohoku University,
354: Aoba, Sendai 980-8578, Japan
355: \label{Tohoku}}
356: 
357: \altaffiltext{34}{
358: School of Physics and Astronomy,
359: University of Southampton,
360: Southampton SO17 1BJ,
361: United Kingdom
362: \label{Southampton}}
363: 
364: \altaffiltext{35}{
365: Jet Propulsion Laboratory, 4800 Oak Drive, Pasadena, CA 91109
366: \label{JPL}}
367: 
368: \altaffiltext{36}{
369: California Institute of Technology, 1200 East California Blvd, Pasadena, CA
370: 91125
371: \label{Caltech}}
372: 
373: \altaffiltext{37}{
374: ISR-4, MS D448, 
375: Los Alamos National Laboratory, P.O.Box 1663, Los Alamos, NM 87545.
376: \label{LANL}}
377: 
378: \altaffiltext{38}{
379: Max Planck Institut f\"ur Astrophysik, Postfach 1, 
380: D-85748 Garching, Germany.
381: \label{MPA}}
382: 
383: \altaffiltext{39}{
384: Subaru Telescope, 650 N. A'ohoku Place, Hilo, HI 96720, USA
385: \label{Subaru}}
386: 
387: \altaffiltext{40}{
388: Obserwatorium Astronomiczne na Suhorze, Akademia Pedogogiczna w
389: Krakowie, ulica Podchor\c{a}\.{z}ych 2,
390: PL-30-084 Krac\'ow, Poland.
391: \label{MSO}}
392: 
393: \altaffiltext{41}{
394: Enrico Fermi Institute, University of Chicago, 5640 South Ellis Avenue,
395: Chicago, IL 60637.
396: \label{EFI}}
397: 
398: \altaffiltext{42}{
399: Lawrence Berkeley National Laboratory, One Cyclotron Road,
400: Berkeley CA 94720.
401: \label{LBL}}
402: 
403: \altaffiltext{43}{
404: Gatan Inc., Pleasanton, CA 94588
405: \label{Gatan}}
406: 
407: \altaffiltext{44}{
408: Department of Physics, University of Chicago, 5640 South
409: Ellis Avenue, Chicago, IL 60637.
410: \label{ChicagoPhys}}
411: 
412: \altaffiltext{45}{
413: Astronomy Centre, University of Sussex, Falmer, Brighton BN1 9QJ, UK. 
414: \label{Sussex}}
415: 
416: \altaffiltext{46}{
417: Department of Astronomy \& Astrophysics, University of California, Santa
418: Cruz, CA 95064 
419: \label{SantaCruz}}
420: 
421: \altaffiltext{47}{
422: Joseph Henry Laboratories, Princeton University, Princeton, NJ
423: 08544.
424: \label{Princetonphys}}
425: 
426: \altaffiltext{48}{
427: Instituto de Astrofisica de Canarias, La Laguna, Spain
428: \label{IAC}}
429: 
430: %\altaffiltext{37}{
431: %Instituto de Astrofisica de Andalucia 
432: %(CSIC), Camino Bajo de Huetor, 24 18008 Granada, Spain.
433: %\label{Andalucia}}
434: %
435: 
436: \altaffiltext{49}{
437: Department of Physics and Astrophysics,
438:  Nagoya University,
439:  Chikusa, Nagoya 464-8602,
440:  Japan.
441: \label{Nagoya}}
442: 
443: \altaffiltext{50}{
444: AOT-IC, MS H820, 
445: Los Alamos National Laboratory, P.O.Box 1663, Los Alamos, NM 87545.
446: \label{LANL2}}
447: 
448: \altaffiltext{51}{
449: Department of Physics, University of Michigan, 500 East University Avenue, Ann
450: Arbor, MI 48109.
451: \label{Michigan}}
452: 
453: \altaffiltext{52}{
454: SUPA; Institute for Astronomy,
455: Royal Observatory,
456: University of Edinburgh,
457: Blackford Hill,
458: Edinburgh EH9 3HJ,
459: UK.
460: \label{Edinburgh}}
461: 
462: \altaffiltext{53}{
463: US Naval Observatory, 
464: Flagstaff Station, 10391 W. Naval Observatory Road, Flagstaff, AZ
465: 86001-8521.
466: \label{NOFS}}
467: 
468: \altaffiltext{54}{
469: Department of Physics, Applied Physics, and Astronomy, Rensselaer
470: Polytechnic Institute, 110 Eighth Street, Troy, NY 12180. 
471: \label{RPI}}
472: 
473: \altaffiltext{55}{
474: Institute of Cosmology and Gravitation (ICG),
475: Mercantile House, Hampshire Terrace,
476: Univ. of Portsmouth, Portsmouth, PO1 2EG, UK.
477: \label{Portsmouth}}
478: 
479: \altaffiltext{56}{
480: Gemini Observatory, 670 N. A'ohoku Place, Hilo, HI 96720, USA
481: \label{Gemini}}
482: 
483: %\altaffiltext{44}{
484: %    CMC Electronics Aurora,
485: % 84 N. Dugan Rd.
486: %    Sugar Grove, IL 60554.
487: %\label{CMCElectronics}}
488: %
489: 
490: \altaffiltext{57}{Department of 
491: Astronomy and Research Center for the Early Universe, 
492: University of Tokyo,
493:  7-3-1 Hongo, Bunkyo, Tokyo 113-0033, Japan.
494: \label{DoAUT}}
495: 
496: \altaffiltext{58}{
497: Korea Institute for Advanced Study,
498: 207-43 Cheong-Yang-Ni, Dong-Dae-Mun-Gu
499: Seoul 130-722, Korea
500: \label{KIAS}}
501: 
502: \altaffiltext{59}{
503: FNRS
504: Institut  d'Astronomie et d'Astrophysique,
505:  Universit\'e Libre de Bruxelles, CP. 226, Boulevard du Triomphe, B-1050
506:  Bruxelles, Belgium.
507: \label{Bruxelles}}
508: 
509: \altaffiltext{60}{
510: Department of Physics, 
511: Drexel University, 3141 Chestnut Street, Philadelphia, PA 19104.
512: \label{Drexel}}
513: 
514: \altaffiltext{61}{
515: Department of Physics, Rochester Institute of Technology, 84 Lomb Memorial
516: Drive, Rochester, NY 14623-5603.
517: \label{RIT}}
518: 
519: \altaffiltext{62}{
520: UCO/Lick Observatory, University of California, Santa Cruz, CA 95064.
521: \label{Lick}}
522: 
523: 
524: \altaffiltext{63}{
525: Department of Astronomy and Astrophysics, 525 Davey Laboratory, 
526: Pennsylvania State
527: University, University Park, PA 16802.
528: \label{PSU}}
529: 
530: \altaffiltext{64}{
531: Department of Physics and Astronomy, Austin Peay State University,
532: P.O. Box 4608, Clarksville, TN 37040
533: \label{APeay}}
534: 
535: %\altaffiltext{50}{
536: %Center for Astrophysics and Space Astronomy, University of Colorado,
537: %Boulder, CO 80309.
538: %\label{Colorado}}
539: %
540: %\altaffiltext{51}{
541: %International Centre for Theoretical Physics
542: %Strada Costiera 11
543: %I-34014 Trieste, Italy.
544: %\label{Trieste}}
545: %
546: %\altaffiltext{52}{University of Zagreb, 
547: %Department of Physics, Bijeni\v{c}ka cesta 32, 
548: %10000 Zagreb, Croatia.
549: %\label{Zagreb}}
550: 
551: \altaffiltext{65}{
552: Adler Planetarium and Astronomy Museum,
553: 1300 Lake Shore Drive,
554: Chicago, IL 60605.
555: \label{Adler}}
556: 
557: 
558: \altaffiltext{66}{
559: Department of Physics, The University of Tokyo, Tokyo 113-0033, Japan
560: \label{TokyoPhys}}
561: 
562: \altaffiltext{67}{
563: Institute for Astronomy, 2680 Woodlawn Road, Honolulu, HI 96822.
564: \label{Hawaii}}
565: 
566: \altaffiltext{68}{
567: Dept. of Physics, Massachusetts Institute of Technology, Cambridge,  
568: MA 02139.
569: \label{MIT}}
570: 
571: \altaffiltext{69}{
572: Observatories of the Carnegie Institution of Washington, 
573: 813 Santa Barbara Street, 
574: Pasadena, CA  91101.
575: \label{CarnegieObs}}
576: 
577: \altaffiltext{70}{
578: Max-Planck-Institut f\"ur extraterrestrische Physik, 
579: Giessenbachstrasse 1, D-85741 Garching, Germany.
580: \label{MPIEP}}
581: 
582: \altaffiltext{71}{
583: Department of Astronomy, 
584: Ohio State University, 140 West 18th Avenue, Columbus, OH 43210.
585: \label{OSU}}
586: 
587: \altaffiltext{72}{
588: Astronomy Department, 601 Campbell Hall, University of
589: California, Berkeley, CA 94720-3411
590: \label{Berkeley}}
591: 
592: \altaffiltext{73}{
593: Department of Astronomy, Case Western Reserve University,
594: Cleveland, OH 44106
595: \label{Case}}
596: %
597: %\altaffiltext{61}{
598: %Theoretical Division, MS B285, Los Alamos National Laboratory, Los Alamos, NM 87545.
599: %\label{LANLtheory}}
600: %
601: 
602: 
603: \shorttitle{SDSS DR5}
604: \shortauthors{Adelman-McCarthy \etal}
605: 
606: 
607: \begin{abstract}
608: This paper describes the Fifth Data Release (DR5) of the Sloan Digital Sky
609: Survey (SDSS). DR5 includes all survey quality data taken through June
610: 2005 and represents the completion of the SDSS-I project
611: (whose successor, SDSS-II will continue through mid-2008).
612: It includes five-band photometric data for 217 million
613: objects selected over 8000 deg$^2$, and 1,048,960 spectra of
614: galaxies, quasars, and stars selected from 5713 deg$^2$ of
615: that imaging data.
616: These numbers represent a roughly 20\% increment over those of the
617: Fourth Data Release; all the data from previous data releases are
618: included in the present release.  
619: In addition to ``standard'' SDSS observations,
620: DR5 includes repeat scans of the 
621: southern equatorial stripe, imaging scans across M31 and the
622: core of the Perseus cluster of galaxies, and the first spectroscopic
623: data from SEGUE, a survey to explore the kinematics and 
624: chemical evolution of the Galaxy.
625: The catalog database incorporates several new features, including
626: photometric redshifts of galaxies, tables of matched objects in
627: overlap regions of the imaging survey, and tools that allow precise
628: computations of survey geometry for statistical investigations.
629: \end{abstract}
630: \keywords{Atlases---Catalogs---Surveys}
631: 
632: Submitted to The Astrophysical Journal Supplement Series, October 12, 2006
633: 
634: \section{Introduction}
635: \label{sec:introduction}
636: 
637: The primary goals of the Sloan Digital Sky Survey (SDSS) are:
638: a large-area, well-calibrated imaging survey of the north Galactic cap,
639: repeat imaging of an equatorial stripe in the south Galactic cap
640: to allow variability studies and deeper co-added imaging, and
641: spectroscopic surveys of well-defined samples of
642: roughly $10^6$ galaxies and $10^5$ quasars
643: (York \etal\ 2000).  The survey uses a dedicated, wide-field, 2.5m
644: telescope (Gunn \etal\ 2006) at Apache Point Observatory, New Mexico.
645: Imaging is carried out in drift-scan mode using a 142 mega-pixel
646: camera (Gunn \etal\ 1998) that gathers data in five broad bands,
647: $u\,g\,r\,i\,z$, 
648: spanning the range from 3000 to 10,000 \AA\ (Fukugita \etal\ 1996),
649: with an effective exposure time of 54.1 seconds per band.
650: The images are processed using specialized software (Lupton \etal\
651: 2001; Stoughton \etal\ 2002; Lupton 2005), 
652: and are astrometrically (Pier
653: \etal\ 2003) and photometrically (Hogg \etal\ 2001; 
654: Tucker \etal\ 2006) calibrated using
655: observations of a set of primary standard stars (Smith \etal\ 2002)
656: observed on a neighboring 20-inch telescope.  
657: 
658: Objects are selected from the imaging data for spectroscopy using a
659: variety of algorithms, including a complete sample of galaxies with
660: Petrosian (1976) 
661: $r$ magnitudes brighter than 17.77 (Strauss \etal\ 2002), a deeper
662: sample of color- and magnitude-selected luminous
663: red galaxies (LRGs) from redshift 0.15 to beyond 0.5 (Eisenstein \etal\
664: 2001), a color-selected sample of quasars with $0 < z < 5.5$
665: (Richards \etal\ 2002), optical counterparts to ROSAT X-ray
666: sources (Anderson \etal\ 2003), and a variety of stellar and
667: calibrating objects (Stoughton \etal\ 2002; Adelman-McCarthy \etal\ 2006).  
668: These targets are observed by a pair of double spectrographs fed
669: by 640 optical fibers, each $3''$ in diameter, 
670: plugged into aluminum plates 2.98$^\circ$ in diameter.
671: The resulting spectra cover the wavelength range $3800-9200$ \AA\ with
672: a resolution of $\lambda/\Delta \lambda \approx 2000$.  
673: The finite size of the fiber cladding means
674: that only one of two objects closer than $55''$ can be targeted on a
675: given plate; this restriction results in a roughly 10\%
676: incompleteness in galaxy spectroscopy, but this incompleteness is
677: well characterized and is generally straightforward to correct in statistical
678: calculations (e.g., Zehavi et al.\ 2002).
679: 
680: This paper presents the Fifth Data Release (DR5) of the SDSS,
681: which follows the Early Data Release of commissioning data
682: (EDR; Stoughton \etal\ 2002) and the regular data releases
683: DR1-DR4 (Abazajian \etal\ 2003, 2004, 2005;
684: Adelman-McCarthy \etal\ 2006).
685: These data releases are cumulative, so all observations in the earlier
686: releases are also included in DR5.  
687: There have been no substantive changes to the imaging or
688: spectroscopic software since DR2, so DR5 includes 
689: data identical to DR2-DR4 in the overlapping regions.
690: Finkbeiner \etal\ (2004) presented a separate
691: (``Orion'') release of imaging data outside the formal SDSS footprint,
692: mostly at low Galactic latitudes.
693: 
694: The Fifth Data Release includes all survey quality data that were
695: taken as part of ``SDSS-I,'' the phase of the SDSS that ran through
696: June 2005, including a variety of imaging scans and spectroscopic
697: observations taken outside of the standard survey footprint or
698: with non-standard spectroscopic target selection.
699: The second ``SDSS-II'' phase, which includes a number of new
700: participating institutions and will continue through mid-2008,
701: consists of three distinct 
702: surveys: the Sloan Legacy Survey, the Sloan Supernova Survey,
703: and the Sloan Extension for Galactic Understanding and Exploration
704: (SEGUE).  The Legacy survey is essentially a continuation of SDSS-I,
705: with the goal of completing imaging and spectroscopy over about
706: 8000 deg$^2$ of the north Galactic cap.
707: The Supernova Survey (J. Frieman \etal\ 2007, in preparation)
708: repeatedly scans a 300 square degree area in
709: the south Galactic cap during the fall months to detect and measure
710: time variable objects, especially Type Ia supernovae 
711: (out to $z\approx 0.4$)
712: that can
713: be used to measure the cosmic expansion history.
714: SEGUE includes 3500 deg$^2$ of new imaging, mostly at 
715: Galactic latitudes below those of the original SDSS footprint,
716: and spectroscopy of about 240,000 selected stellar targets to
717: study the structure, chemical evolution, and stellar content of
718: the Milky Way.  Future SDSS data releases will include data from
719: all three surveys, and some early data from SEGUE are included
720: in DR5.  An initial release of imaging data and uncalibrated
721: object catalogs from the Autumn 2005 season of the Supernova Survey
722: is available at {\tt http://www.sdss.org/drsn1/DRSN1\_data\_release.html},
723: but it is not part of DR5.
724: 
725: Section~\ref{sec:DR5} of this paper describes the contents
726: of DR5, and \S\ref{sec:quality} summarizes information about
727: data quality, including new tests of spectrophotometric accuracy.
728: Section~\ref{sec:features} describes several new features of DR5:
729: photometric redshifts for galaxies, 
730: ``sector/region'' tables
731: for precisely defining the survey geometry, 
732: and tools for matching repeat observations of the same objects.
733: We conclude in \S~\ref{sec:conclusions}.  
734: 
735: \section{What is included in DR5}
736: \label{sec:DR5}
737: 
738: As described by Stoughton \etal\ (2002), public SDSS data are
739: available both as flat files (from the Data Archive Server, or DAS) 
740: and via a flexible web interface to the SDSS database (the 
741: Catalog Archive Server, or CAS).  Information about and entry 
742: points to both interfaces can be found at {\tt http://www.sdss.org/dr5}.  
743: The CAS is a convenient and powerful tool for selecting objects
744: found in the SDSS based on their location, photometric parameters,
745: and (if they were observed spectroscopically) spectroscopic parameters.
746: FITS images and spectra for individual objects and fields
747: are available from the CAS; the DAS should be used for bulk
748: downloads of large quantities of data.
749: Links to extensive documentation and examples
750: are available on the above web site.
751: 
752: The principal SDSS imaging data are taken
753: along a series of great-circle stripes that aim to fill
754: a contiguous area in the north Galactic cap, and along three
755: non-contiguous stripes in the south Galactic cap.  
756: Each filled stripe consists of two interleaved strips
757: because of the gaps between columns of CCDs
758: in the imaging camera (see Gunn \etal\ 1998; York \etal\ 2000).
759: Figure~\ref{fig:skydist} shows the region of sky included in DR5,  
760: in imaging (top) and spectroscopy (bottom).  In contrast to DR4,
761: the imaging available in DR5 covers an essentially contiguous region of
762: the north Galactic cap, with 
763: a few small patches totaling $\sim 200$ square degrees
764: remaining (nearly all of this area will be included in DR6).
765: The area covered by the DR5 primary
766: imaging survey (including the southern stripes but not counting
767: these patches) is 8000 deg$^2$.
768: The great circle
769: stripes in the north overlap at the poles of the survey; 
770: 21\% of this region of sky is covered more than once. 
771: In any region where imaging runs overlap, one run is
772: declared primary and used for spectroscopic target
773: selection, and other runs are declared secondary.  DR5 includes 
774: both the primary and secondary (repeat) observations
775: of each area and source (see \S\ref{sec:match}).
776: 
777: As spectroscopic observations necessarily
778: lag the imaging, the DR5 spectroscopic area still has the gap
779: at intermediate declinations that was present in the DR4 imaging
780: coverage.  The area covered by the spectroscopic
781: survey is 5713 deg$^2$.
782: The spectroscopic data include 1,048,960 spectra,
783: arrayed on 1639 plates of 640 fibers each.  
784: Thirty-two fibers per plate are
785: devoted to measurements of sky. 
786: Automated spectral classification yields
787: approximately 675,000 galaxies,
788: 90,000 quasars, and 216,000 stars.
789: Nearly 99\% of all spectra are of high enough quality to yield an
790: unambiguous classification and redshift; most of the unidentified targets
791: are either faint ($r>20$) or have featureless spectra
792: (hot stars or blazar-like AGN; see Collinge \etal\ 2005).  
793: However, in rare cases the assigned redshift is far from the
794: true redshift, so for an object with unusual
795: properties it is important to
796: examine the spectra and 
797: to check for flags that can indicate data quality or classification
798: problems.
799: As described in the DR4 paper (Adelman-McCarthy \etal\ 2006),
800: a number of plates have duplicate
801: observations, usually just one but in some cases several.
802: DR5 includes 62 duplicates of 53 unique 
803: main survey plates, and ten duplicates of special plates
804: which take spectra outside the standard survey target
805: selection.
806: Some main-survey objects are also reobserved on adjacent
807: plates to check the end-to-end reproducibility of spectroscopy.
808: In total, about 2\% of main-survey objects have one or more repeat spectra.
809: 
810: \begin{figure}
811: \plotone{f1s.eps}
812: \caption{
813: The distribution on the sky of SDSS imaging (upper panel) and
814: spectroscopy (lower panel) included in DR5, shown in J2000 equatorial
815: coordinates.  The regions of sky that are new to DR5 are shaded more lightly.
816: The upper panel includes both those regions included in the CAS
817: (totaling 8000 deg$^2$) and the supplementary imaging runs
818: available only through the DAS, which consist of SEGUE scans
819: at low Galactic latitude and scans through M31 and the Perseus cluster.
820: \label{fig:skydist}}\end{figure}  
821: 
822: In the Fall months, when the southern Galactic cap is visible in the
823: northern hemisphere, the SDSS imaging has been confined to a stripe
824: along the Celestial Equator, plus two ``outrigger'' stripes,
825: centered roughly at $\delta = +15^\circ$ and $\delta = -10^\circ$,
826: respectively (these are visible on the right-hand-side of the 
827: panels of Figure~\ref{fig:skydist}).  We have performed multiple
828: imaging passes of the southern equatorial stripe
829: (a.k.a. Stripe 82, spanning $\rm 22^h\,20^m < \alpha < 3^h\,20^m$, 
830: $-1.25^\circ < \delta < + 1.25$, in J2000 coordinates), 
831: which can be used for variability studies and for 
832: co-addition to create deeper summed images.
833: Previous data releases have included only a single epoch of these
834: observations.  In DR5, we make available 36 runs on the northern
835: strip of this stripe and 29 runs on the southern strip; these are
836: all the observations of Stripe 82 carried out before July 2005 that are
837: of survey quality. 
838: Each individual run covers only part of the full right
839: ascension range of the stripe; Figure~\ref{fig:stripe82} shows the number
840: of passes available along the northern and southern strips, as a
841: function of right ascension.  
842: The central regions of the stripe have typically been covered 10-20
843: times.  The extra runs are available in DR5
844: only through the DR supplemental DAS, described at
845: {\tt http://www.sdss.org/dr5/start/aboutdr5sup.html}. In future data releases, 
846: they will be made 
847: available through the CAS as well.  
848: Note that DR5 does not include
849: those runs on Stripe 82 at larger right ascension, in the region of
850: Orion, as described by Finkbeiner \etal\ (2004).  Those runs
851: continue to be made available through the websites indicated in that
852: paper. 
853: 
854: \begin{figure}
855: \plotone{f2.eps}
856: \caption{
857: Coverage of the southern equatorial stripe in DR5.
858: Solid and dotted lines show the number of photometric runs
859: covering regions of different right ascension, for the
860: northern and southern strips, respectively.
861: \label{fig:stripe82}}
862: \end{figure}  
863: 
864: A combined, deep image of the full equatorial stripe is being prepared
865: and will be made available in a future data release.
866: However, for objects that can be detected in a single pass, 
867: the benefits of co-addition can mostly be realized simply
868: by averaging the photometric measurements from the multiple
869: passes, using the multiple entries in the photometric catalog rather 
870: than analyzing a summed image.  Figure~\ref{fig:colorcolor},
871: based on the Stripe 82 stellar catalog of 
872: Ivezi\'c \etal\ (2007),
873: demonstrates this improvement, 
874: showing the $g-r$ vs. $u-g$ color-color diagram for blue,
875: non-variable point sources (mostly white dwarfs) 
876: in Stripe 82.  
877: Data co-added at the catalog level have been used to search
878: for faint quasars (Jiang \etal\ 2006), to measure the dispersion
879: in galaxy colors on the red sequence (Cool \etal\ 2006),
880: and to improve the signal-to-noise ratio of galaxy 
881: $u$-band Petrosian magnitudes (Baldry \etal\ 2005).
882: The Stripe 82 data have also 
883: been used to search for variable and high proper motion objects
884: (e.g., Ivezi\'c \etal\ 2003) and to test the covariance
885: of photometric errors among bands and among multiple objects
886: in the same fields (Scranton \etal\ 2005).
887: Because the catalogs from the multiple Stripe 82 scans are not
888: yet available in the CAS, averaging or variability searches must
889: be done by downloading object tables from the DAS and 
890: identifying repeat observations of the same object by 
891: positional matching.
892: 
893: In addition to the repeat scans on Stripe 82, several
894: imaging runs outside of the standard footprint are included:
895: \begin{itemize} 
896: \item Two runs that together make a $2.5^\circ$ 
897:   stripe crossing M31, the Andromeda Galaxy.  These imaging data have
898:   been used to search for substructure in M31's halo (e.g., Zucker
899:   \etal\ 2004ab).  
900:  \item Five runs that together cover 78 deg$^2$ centered roughly on
901:    the low-redshift Perseus cluster of galaxies. 
902:  \item Ten runs of imaging data taken as part of the SEGUE survey,
903: 	including stripes at $l=50^\circ\>$ ($-46^\circ < b < -8^\circ$),
904: 	$l=110^\circ\>$ ($-36^\circ < b < 29.5^\circ$), and
905: 	$l=130^\circ\>$ ($-49 < b < -18.6$), and a stripe that
906: 	runs for 20 degrees along $\delta \approx 25^\circ$.
907: \end{itemize}
908: As with the repeat scans of Stripe 82, objects detected in these
909: runs are recorded in the DRsupplemental DAS: 
910: {\tt http://www.sdss.org/dr5/start/aboutdrsup.html}, but they are not, as yet, 
911: available in the CAS.
912: All these runs are in quite crowded fields, as they tend to go to low
913: Galactic latitude, or pass through the center of M31.  The completeness
914: and accuracy of the photometry produced by the automated 
915: SDSS pipeline becomes suspect in crowded fields, so these data should be used
916: with care.  
917: Plots and tables of the field-by-field data
918: quality for these runs may be accessed at 
919: {\tt http://das.sdss.org/DRsup/data/imaging/QA/summaryQA\_analyzePC.html}.
920: 
921: \begin{figure}
922: \epsscale{0.5}
923: \plotone{f3.eps}
924: \caption{
925: The $g-r$ vs. $u-g$ color-color diagram for the blue, non-variable
926: point sources with $u<20$ in the equatorial stripe 
927: (from Ivezi\'c \etal [2007]).
928: The top panel shows results
929: using single-epoch DR5 photometry, while the bottom panel shows
930: the striking improvement obtained by averaging the photometric
931: measurements from all of the imaging passes, allowing clear
932: separation between the sequences of helium white dwarfs
933: (the top side of the ``triangle'') and hydrogen white dwarfs
934: (which lie along the other two sides).  
935: This region of color
936: space also includes white dwarf--M dwarf pairs, hot subdwarfs,
937: and quasars (see, e.g., the discussion of Eisenstein et al.\ [2006]).
938: Main sequence and red giant stars (far more numerous, of course),
939: are mostly off the diagram to the upper right.
940: \label{fig:colorcolor}}
941: \end{figure}  
942: 
943: Because of the relatively small footprint of the imaging in the southern
944: Galactic cap, the spectroscopy of targets selected by
945: our normal algorithms was completed
946: quite early in the survey; most of these data
947: were included already in DR1.  We generally restrict imaging observations
948: to pristine conditions, when the moon is below the horizon, the sky is
949: cloudless, 
950: and the seeing is good.  To make optimal use of the remaining time,
951: we undertook a series of 
952: spectroscopic observing programs, based mostly on the imaging data
953: of the equatorial stripe in the southern Galactic cap, designed to
954: go beyond the science goals of the main survey.  DR5 includes 299
955: plates from these programs, 
956: carried out in the Fall months of 2001--2004,  
957: with a total of 204,160 spectra.
958: The great majority of these plates were already included in DR4;
959: the target selection for them is described in the DR4 paper
960: (Adelman-McCarthy \etal\ 2006), and we will not repeat it here.
961: The science objectives include
962: studies of galactic kinematics, calibration of photometric redshifts,
963: evaluation of the completeness of the quasar survey
964: (Vanden Berk \etal\ 2005),
965: and surveys of galaxies that fall outside of the standard
966: survey selection criteria (Baldry \etal\ 2005).  
967: 
968: DR5 includes a total of 84 special plates that were not included
969: in DR4.  All of these were obtained as early data of the SEGUE program.
970: Each SEGUE pointing includes two 640-fiber plates of different
971: exposure times, with 592 brighter
972: ($13 < g < 18$) and 560 fainter ($18 < g < 20$) stars targeted.
973: The remaining targets are calibration standards and sky fibers.
974: Target selection algorithms, 
975: which are outlined in 
976: Adelman-McCarthy \etal\ (2006) and will be described
977: more fully in a future paper,
978: identify candidate stars in the following categories:
979: white dwarfs (25 per pointing), cool white dwarfs (10),
980: A/BHB stars (150), F turnoff and sub-dwarf stars (150),
981: G stars (375), K giants (100), low metallicity candidates (150),
982: K dwarfs (125), M dwarfs (50), and AGB candidates (10).
983: These plates are listed and described at
984: {\tt http://www.sdss.org/dr5/products/spectra/special.html}.
985: 
986: %For queries from the CAS, it is often most convenient to refer
987: %to ``chunk'' names or numbers, which refer to a region of imaging data
988: %on which target selection was run and spectroscopic tiles
989: %defined (Blanton \etal\ 2003).
990: %The chunk names for the new special plates are
991: %{\tt segue98, seguefaint98, segue101, seguefaint102,
992: %segue104, seguefaint105, segue106, seguefaint107, segue117, seguefaint118},
993: %and the chunk numbers are simply the digits at the ends of these names.
994: 
995: Tables~\ref{table:imaging} and~\ref{table:spectroscopy}
996: summarize the characteristics of the DR5 imaging and spectroscopic
997: surveys, respectively.
998: Note that the ``star'' and ``galaxy'' divisions in 
999: Table~\ref{table:imaging} refer to the 
1000: photometric pipeline classifications; ``stars'' include 
1001: quasars and any other unresolved sources, and
1002: ``galaxies'' are all resolved objects, including
1003: airplane and satellite trails, etc.
1004: Classifications in Table~\ref{table:spectroscopy} are those
1005: returned by the spectroscopic pipeline; note, in particular,
1006: that the ``quasar'' classification (based on the presence
1007: of a securely detected, high excitation emission line with
1008: FWHM broader than 1000~km~sec$^{-1}$) does not include
1009: any explicit luminosity cut.
1010: 
1011: DR5 contains several QSO-related tables and views. The
1012: {\tt QuasarCatalog} table lists the individually inspected, luminosity
1013: and line-width restricted, bonafide quasars from the DR3 sample as
1014: published by Schneider et al. (2005). A similar catalog is now
1015: being created for DR5 (Schneider et al. 2007).  The
1016: {\tt QSOBunch} table contains a record for each ``object'' flagged as a
1017: potential QSO in any of three catalog tables: {\tt Target.PhotoObjAll},
1018: {\tt Best.PhotoObjAll} or {\tt SpecObj}. In such cases a bunch record
1019: describing the primary photo, target, and spectro objects within
1020: 1.5 arcseconds of that object is created.  Identifiers of nearby
1021: objects from each catalog are combined into {\tt QSOConcordanceAll}
1022: records that point to the {\tt QSOBunch} record.  Those identifiers
1023: in turn point to the {\tt QSObest}, {\tt QSOtarget}, and {\tt QSOspec} 
1024: tables that carry more detailed information about each object.
1025: Thus, the {\tt QuasarCatalog} table provides straightforward
1026: access to a set of carefully vetted quasars with well defined
1027: selection criteria, while the {\tt QSOConcordanceAll} table
1028: can be used to identify all objects that were flagged as potential
1029: quasars based on photometry and/or spectroscopy.
1030: 
1031: 
1032: \begin{deluxetable}{lr}
1033: \tablecaption{Characteristics of the DR5 Imaging Survey
1034:               \label{table:imaging}}
1035: 
1036: \startdata
1037: 
1038: \cutinhead{}
1039: %\cutinhead{\bf Imaging} 
1040: 
1041:  Footprint area & 8000\ deg$^2$ (20\% increment over DR4)\\
1042:  Imaging catalog & 217 million unique objects \\
1043:  AB Magnitude limits:\tablenotemark{a} \\
1044: \qquad $u$      & 22.0 mag\\
1045: \qquad $g$      & 22.2 mag\\
1046: \qquad $r$      & 22.2 mag\\
1047: \qquad $i$      & 21.3 mag\\
1048: \qquad $z$      & 20.5 mag\\
1049: Median PSF width     & $1.4^{\prime\prime}$ in $r$ \\
1050:  RMS photometric calibration errors: \\
1051: \qquad   $r$ & 2\% \\
1052: \qquad   $u-g$ & 3\% \\
1053: \qquad   $g-r$ & 2\% \\
1054: \qquad   $r-i$ & 2\% \\
1055: \qquad   $i-z$ & 3\% \\
1056:  Astrometry errors   & $< 0.1^{\prime\prime}$ rms absolute per coordinate \\
1057: Object Counts:\tablenotemark{b}\\
1058: \qquad Stars, primary	& 85,383,971\\
1059: \qquad Stars, secondary & 28,201,858\\
1060: \qquad Galaxies, primary   & 131,721,365\\
1061: \qquad Galaxies, secondary & 33,044,047\\
1062: 
1063: \enddata
1064: 
1065: \tablenotetext{a}{95\% completeness for point sources in
1066: typical seeing; 50\% completeness numbers are generally 0.4 mag
1067: fainter.  The difference between ``asinh'' magnitudes and 
1068: conventional magnitudes is $0.004 - 0.015$ at the 95\% limits
1069: and $0.008 - 0.03$ at the 50\% limits, smaller than the uncertainty
1070: in conversion of magnitudes between surveys used to estimate the
1071: completeness.}
1072: \tablenotetext{b}{Primary imaging objects are those in the primary
1073: imaging area; secondary objects are in repeat imaging, so they
1074: are typically repeats of primary objects.}
1075: \end{deluxetable}
1076: 
1077: \begin{deluxetable}{lr}
1078: \tablecaption{Characteristics of the DR5 Spectroscopic Survey
1079:               \label{table:spectroscopy}}
1080: 
1081: \startdata
1082: \cutinhead{\bf Main Survey}
1083: 
1084: Footprint area  & 5713\ deg$^2$ (19\% increment over DR4)\\
1085: Wavelength coverage & 3800--9200\AA\\
1086:  Resolution $\lambda/\Delta \lambda$    &1800--2100 \\
1087:  Signal-to-noise ratio\tablenotemark{a} &$>4$ per pixel at $g=20.2$\\
1088:  Wavelength calibration errors & $<5$ km sec$^{-1}$\\
1089:  Redshift accuracy & 30 km sec$^{-1}$ rms for Main galaxies\\
1090:                    & $\sim 99\%$ of classifications and redshifts are reliable\\
1091:  Number of plates & 1639 \\
1092:  Number of spectra\tablenotemark{b}& 1,048,960\\
1093:  \qquad  Galaxies   &  674,741 \\
1094:  \qquad\quad  Science primary galaxies&  561,530 \\
1095:  \qquad  Quasars    & 90,596 \\
1096:  \qquad\quad  Science primary quasars&  75,005\\
1097:  \qquad  Stars      & 215,781 \\
1098:  \qquad  Sky        & 55,555 \\
1099:  \qquad  Unclassifiable & 12,287\\ 
1100: 
1101: \cutinhead{\bf Additional Spectroscopy}
1102: 
1103:   Repeat of main survey plates & 62 plates \\
1104:   SEGUE and SEGUE test plates & 80 plates (2 repeated) \\
1105:   Other southern programs & 219 plates (8 repeated) \\
1106: 
1107: \enddata
1108: \tablenotetext{a}{Pixel size is 69 km$\,{\rm s}^{-1}$, 
1109: varying from 0.9\AA\ (blue end)
1110: to 2.1\AA\ (red end).}
1111: \tablenotetext{b}{
1112: Science primary objects define the set of unique science spectra
1113: of objects from main-survey plates (i.e., they exclude repeat observations,
1114: sky fibers, spectrophotometric standards, and objects from special plates).
1115: }
1116: \end{deluxetable}
1117: 
1118: \section{Data Quality}
1119: \label{sec:quality}
1120: 
1121: SDSS imaging data are obtained under photometric conditions,
1122: as determined by observations from the 0.5-m photometric monitoring
1123: telescope and a 10$\mu$m ``cloud camera''
1124: (Hogg \etal\ 2001; Tucker \etal\ 2006).
1125: The median seeing of the imaging data is $1.4''$
1126: in the $r$ band, and essentially all imaging data accepted
1127: as survey quality have seeing better than $2''$ 
1128: (see Figure~\ref{fig:seeing}).
1129: The 95\% completeness limit for detection of point sources in
1130: the $r$ band is 22.2 mag, estimated from comparison to deeper surveys
1131: (COMBO-17 and CNOC-2).  
1132: Constancy of stellar population colors shows that photometric
1133: calibration over the survey area is
1134: accurate to roughly 0.02 mag
1135: in the $g, r$ and $i$ bands, and 0.03 mag in $u$ and
1136: $z$ (Ivezi\'c \etal\ 2004).
1137: Analysis of multiple observations of the southern Equatorial stripe
1138: shows that photometry of bright stars is repeatable at better
1139: than 0.01 mag in all bands and that the photometric pipeline
1140: correctly estimates random photometric errors
1141: (Ivezi\'c \etal 2007).
1142: All magnitudes are roughly on an AB system
1143: (Oke \& Gunn 1983) and use the ``asinh'' scale described by Lupton,
1144: Gunn, \& Szalay (1999).  
1145: The astrometric calibration precision
1146: is better than $0.1''$ rms per coordinate
1147: (Pier \etal\ 2003).  
1148: 
1149: \begin{figure}
1150: \plotone{f4.eps}
1151: \caption{
1152: The distribution of image quality (FWHM of point sources)
1153: in the imaging survey, measured in $r$ band.
1154: \label{fig:seeing}}\end{figure}  
1155: 
1156: The wavelength calibration uncertainty for SDSS spectra is roughly 0.05 \AA. 
1157: Note that spectra in DR5 (and DR2-DR4) are {\it not} corrected for 
1158: Galactic extinction; this is a change relative to DR1.
1159: The spectra are flux-calibrated using observations of F subdwarfs,
1160: which are targeted for this purpose on each spectroscopic plate;
1161: the calibration procedure is described in \S 4.1 of
1162: Abazajian et al.\ (2004).
1163: Wilhite et al.\ (2005) discuss the repeatability of stellar spectra
1164: taken more than 50 days apart. 
1165: Their Figure 4 shows that the distribution of the fractional difference
1166: from one observation to another in the flux summed over all pixels in
1167: non-variable stars has a 68\% full-width of $\sim 5-8\%$, depending on
1168: signal-to-noise ratio.  Their Figure 5 shows that the typical offset
1169: in the calibration between two epochs of a single plate is $1-3$\%
1170: over the full observed wavelength range, with no strong features at
1171: any wavelength.
1172: 
1173: A useful way to test the quality of spectrophotometry on small
1174: scales ($< 500$\AA) is to observe a population of identical
1175: objects at a range of redshifts.  Spectrophotometric
1176: residuals may then be computed by dividing the restframe spectra of
1177: objects in different redshift bins.  While no ideal population
1178: of identical objects
1179: exists, elliptical galaxies have spectra that are similar, on average,
1180: over the redshift range $z=0.04-0.20$, since they are no longer forming stars.
1181: 
1182: We select ellipticals for this test
1183: using their position in the color-magnitude diagram,
1184: with an additional cut on the H$\alpha$ equivalent width of 2\AA\ to
1185: exclude any objects with
1186: on-going star formation.  We average 300 to 1000 spectra in the
1187: restframe in 160 bins of 0.001 in redshift from $z=0.04-0.20$.  To determine
1188: the spectrophotometry residuals we must fit out any
1189: evolution with redshift, which can arise from a combination of true
1190: passive evolution, slight changes in sample selection, and aperture
1191: effects.  This is done by fitting a fourth-order polynomial to flux as
1192: function of redshift for each {\it rest-frame} wavelength.  We divide the
1193: rest-frame spectra by these fits and interpolate back to the observed
1194: frame.  The median of the residual spectra in the observed frame 
1195: provides a measure of the spectrophotometry error, i.e., the mean
1196: factor by which the flux-calibrated spectrum provided by the
1197: spectroscopic pipeline is high or low compared to a perfectly
1198: calibrated spectrum.  Since the evolutionary fits are themselves
1199: affected by the spectrophotometry errors, we apply the estimated
1200: correction to the averaged spectra and iterate the process,
1201: which converges rapidly.
1202: 
1203: Figure~\ref{fig:specphoto} shows the spectrophotometry residuals
1204: inferred from each of the 160 composite spectra, and the
1205: median of these residuals.  There are sharp features associated with 
1206: calcium and sodium absorption, probably originating in the 
1207: Galactic interstellar medium, and with night sky emission lines.
1208: The most worrisome features are the wiggles below 4500 \AA,
1209: with amplitude of $\sim 3\%$,
1210: centered on Ca H and K, H$\delta$, and H$\gamma$.  
1211: The coincidence of these wiggles with known spectral features
1212: suggests that these residuals
1213: are caused by a systematic mismatch between the
1214: spectrophotometric standard stars and the model F-stars used in the
1215: calibration pipeline.  
1216: 
1217: One obvious question is the scale at which we can measure
1218: spectrophotometry errors with this technique.  This scale is set by
1219: our ability to discriminate evolution effects from the
1220: spectrophotometry residuals, which in turn is related to the wavelength shift
1221: between our high- and low-redshift bins.  We have tested the technique
1222: empirically by
1223: adding sine and cosine modulations with different periods to the observed 
1224: frame and the seeing how well we recover them.  Residuals seem
1225: to be well measured on scales less than 500\AA, i.e., 
1226: Figure~\ref{fig:specphoto} should reveal any systematic errors
1227: in SDSS photometry with periods shorter than this.
1228: On larger scales, we must rely on the F star spectral models,
1229: on tests against white dwarf model spectra
1230: (see figure 4 of Abazajian \etal\ 2004),
1231: and on checks of synthesized magnitudes against the photometry.
1232: Collectively, these tests imply that the
1233: flux-calibrated SDSS spectra can be used for spectrophotometry
1234: at the few percent level.
1235: 
1236: \begin{figure}
1237: \plotone{f5s.eps}
1238: \caption{
1239: Test of spectrophotometric accuracy, performed by dividing the
1240: rest-frame spectra of elliptical galaxies observed over the
1241: redshift range $0.04 \leq z \leq 0.2$ (see text).  
1242: Points show the residual inferred from 160 redshift-bin spectra (each an
1243: average of 300-1000 individual galaxies) spaced by $\Delta z=0.01$,
1244: and the central line shows the median residual.
1245: \label{fig:specphoto}}\end{figure}  
1246: 
1247: \section{New Features of DR5}
1248: \label{sec:features}
1249: 
1250: \subsection{Photometric Redshifts for Galaxies}
1251: \label{sec:photoz}
1252: 
1253: DR5 includes two estimates of photometric redshifts for galaxies,
1254: calculated with two independent techniques.\footnote{See
1255: {\tt http://skyserver.elte.hu/PhotoZ/} and
1256: {\tt http://yummy.uchicago.edu/SDSS/} for details.}
1257: The first uses the template fitting
1258: algorithm described by Csabai et al. (2003),
1259: which compares the expected colors of 
1260: a galaxy (derived from template spectral energy distributions) 
1261: with those observed for an individual galaxy. 
1262: A common approach
1263: for template fitting is to take a small number of spectral templates T 
1264: (e.g., E, Sbc, Scd, and Irr galaxies) and choose the best fit by 
1265: optimizing the likelihood of the fit as a function of redshift, type, 
1266: and luminosity, $p(z, T, L)$. We use a variant of this method that 
1267: incorporates a
1268: continuous distribution of spectral templates, enabling the error 
1269: function in redshift and type to be well defined.
1270: Since a representative set of photometrically calibrated spectra in the 
1271: full wavelength range of the filters is not easy to obtain, we have 
1272: started from the empirical templates of Coleman, Wu, \& Weedman (1980),
1273: extended them with spectral synthesis models, and adjusted 
1274: them to fit the colors of galaxies in the training set
1275: (Budavari et al. 2000).
1276: The results are listed in the CAS table {\tt Photoz}, which includes
1277: the estimate of the redshift, spectral type, rest-frame colors,
1278: rest-frame absolute magnitudes, errors on all of these quantities,
1279: and a quality flag.  All photometric objects have an entry in 
1280: the {\tt PhotoZ} table, regardless of whether they are photometrically
1281: classified as galaxies or stars, so it is essential to consult
1282: the quality flag and error characterizations when using the
1283: photometric redshifts.
1284: 
1285: The second photometric redshift estimate
1286: uses a neural network method that is very
1287: similar in implementation to that of Collister \& Lahav (2004).
1288: The training set consists of 140,000 single pass SDSS photometry
1289: measurements with spectroscopic redshifts from various sources:
1290: the SDSS (110,000 redshifts), CNOC2 (Yee \etal\ 2000; 9000 redshifts)
1291: CFRS (Lilly \etal\ 1995; 1000 redshifts),
1292: DEEP and DEEP2 (Weiner \etal\ 2005; 1700 redshifts),
1293: TKRS/GOODS (Wirth \etal\ 2004; 300 redshifts),
1294: and the 2SLAQ LRG survey (Cannon \etal\ 2006; 27,000 redshifts).
1295: The SDSS portion of the training set consists of a representative
1296: sampling of the SDSS Main, LRG, and southern survey spectroscopic data;
1297: the other surveys are used to augment the training set at 
1298: magnitudes fainter than probed by the SDSS spectroscopic samples.
1299: Note that the training set multiply counts independent, repeat SDSS photometric 
1300: measurements of the same objects, in particular on SDSS Stripe 82. 
1301: Photometric redshift errors are computed using the Nearest Neighbor 
1302: Error method (NNE), which assigns to each object an error based
1303: on the photometric redshift error distribution of objects with 
1304: similar magnitude and color in the training set
1305: (for which the true redshifts are known), and this approach is
1306: found to accurately predict the errors (H. Oyaizu \etal, in preparation).
1307: The trained network is tested on a larger validation set consisting of 
1308: 1,700,000 objects with SDSS photometry (counting independent repeat
1309: measurements) and for which spectroscopic redshifts are available.
1310: The input catalogs for these photometric redshift measurements
1311: were derived from the SDSS photo pipeline outputs, but with a few 
1312: additional cuts employed to improve the star-galaxy separation,
1313: using the PSF probability and the lensing smear polarizability 
1314: (Sheldon \etal\ 2004).  The photometric sample was cut at a 
1315: galaxy probability greater than 0.8, which is very stringent, and a
1316: smear polarizability less than 0.8, and further cuts on magnitude were 
1317: also made; hence not all DR5 objects are included.
1318: The {\tt Photoz2} table lists a photometric redshift, an error, and 
1319: a quality flag.  For objects with all five SDSS magnitudes
1320: measured, the flag is set to 0 if $r \leq 20$ or 2 if $r > 20$;
1321: photometric redshifts for flag $=2$ objects are subject to larger
1322: uncertainties.  Objects not satisfying the above conditions have
1323: flag set to 1 or 3 and their photometric redshifts should not be used.
1324: There are 12.6 million objects in the DR5 data set with a
1325: {\tt Photoz2} flag of 0 and another 59.0 million with a flag of 2.
1326: In the validation set, 68\% of flag $=0$ galaxies have photometric redshift
1327: within 0.026 of the measured spectroscopic redshift (in the range
1328: $0.001 \leq z \leq 1.5$).  The rms dispersion between photometric and 
1329: spectroscopic redshifts is higher, $\sigma=0.039$, a consequence of the 
1330: non-Gaussian tails of the error distribution.
1331: 
1332: \begin{figure}
1333: \epsscale{0.4}
1334: \plotone{f6s.eps}
1335: \caption{
1336: Comparison of photometric redshift estimates {\tt PhotoZ} and
1337: {\tt PhotoZ2} to SDSS spectroscopic redshifts, and to each other.
1338: \label{fig:photozcomp}}\end{figure}  
1339: 
1340: Figure~\ref{fig:photozcomp} plots the two photometric redshift
1341: estimates against spectroscopic redshifts, and against each other,
1342: for 20,000 objects selected from the DR5 database.  These are
1343: objects with SDSS spectroscopic redshifts, spectroscopically 
1344: classified as galaxies, {\tt PhotoZ} quality 
1345: flag of 4 or 5, and {\tt PhotoZ2} flag of 0 or 2. 
1346: Both estimates show a tight correlation with spectroscopic redshift
1347: for the great majority of sources, while {\tt PhotoZ} shows a 
1348: somewhat larger fraction of outliers with overestimated 
1349: photometric redshifts.
1350: 
1351: \subsection{Regions and Sectors}
1352: \label{sec:sector}
1353: 
1354: Each survey observation, imaging or spectroscopic, covers a 
1355: certain region of the sky.  Doing statistical calculations with
1356: the SDSS data usually requires performing computations over
1357: these regions and the intersections among them,
1358: e.g., to normalize luminosity functions or calculate
1359: completeness corrections.
1360: Typical questions are: how much area do these regions cover,
1361: how much do they overlap, and which regions contain a
1362: certain point or area of the sky?
1363: The DR5 CAS includes tables that precisely describe each region
1364: and built-in tools for finding
1365: the connections and overlaps between one kind of region and another.
1366: Each {\tt Region} in the CAS is represented
1367: as a union of spherical polygons, and its area
1368: is analytically calculated and stored.
1369: 
1370: The SDSS has many different types of regions; they include the stripes,
1371: camera columns, segments, chunks, and spectroscopic tiles that
1372: are the basis of the SDSS observing and target selection strategy.
1373: The survey stripes overlap at the edges, with the overlap increasing
1374: towards the survey poles, so they are clipped into disjoint
1375: ``staves'' centered on each stripe that uniquely cover the survey
1376: area (like the staves of a barrel).  The union of the staves
1377: within the survey boundaries defines the survey's ``primary''
1378: photometric area.  There are ``holes'' inside the stripes and
1379: staves, consisting of fields that were declared to be of
1380: inferior quality (e.g., because of degraded seeing or 
1381: contamination by the saturated pixels of a bright star and
1382: its wings).  The portions of these holes that lie within
1383: the primary survey area are called {\tt TiHoles} to emphasize
1384: their role in the tiling process, as explained below.
1385: 
1386: As a simple example of the region tables, let us calculate
1387: the photometric survey area.  Imaging data are imported to the database
1388: in ``chunks,'' and the total area of these chunks can be obtained
1389: from the SQL (Structured Query Language) query\footnote{See
1390: {\tt http://cas.sdss.org/dr5/en/help/docs/sql\_help.asp}.
1391: The text follows our standard capitalization conventions;
1392: for example, the various types of entries in the {\tt Region}
1393: table ({\tt CHUNK, TILE}, etc.) are
1394: listed in all capital letters.  However, queries
1395: are not case-sensitive.}
1396: 
1397: \smallskip
1398: $\phantom{xxxxx}$ {\tt select sum(area) from Region where type=`CHUNK'},
1399: 
1400: \smallskip\noindent 
1401: yielding 9560 deg$^2$.  However, this counts overlapping
1402: areas more than once.  To obtain the unique survey imaging footprint,
1403: we select only the ``primary'' region, the intersection of the
1404: chunks with the staves,
1405: 
1406: \smallskip
1407: $\phantom{xxxxx}$ {\tt select sum(area) from Region where type=`PRIMARY'},
1408: 
1409: \smallskip\noindent
1410: yielding 7897 deg$^2$.  The total area
1411: and unique footprint area should be adjusted downwards by the
1412: area of the holes, obtained from the queries
1413: 
1414: \smallskip
1415: $\phantom{xxxxx}$ {\tt select sum(area) from Region where type=`HOLE'}
1416: 
1417: \smallskip\noindent
1418: for the chunks and 
1419: 
1420: \smallskip
1421: $\phantom{xxxxx}$ {\tt select sum(area) from Region where type=`TIHOLE'}
1422: 
1423: \smallskip\noindent
1424: for the primary area.  These queries yield 26 and 23 square
1425: degrees, respectively, making the final precise numbers for the
1426: photometric survey area 9534 deg$^2$ in total and 7875 unique deg$^2$
1427: within the main survey boundaries.
1428: (The 8000 deg$^2$ figure quoted elsewhere includes a small amount
1429: of imaging outside of the ellipse that defines the main survey boundary.)
1430: 
1431: For analyses of spectroscopic samples, the issues are more complex.
1432: The SDSS spectroscopic survey aims to sample quasars and galaxies
1433: uniformly over the sky, with additional spectra for other samples
1434: (not necessarily uniform) of science targets, calibration objects,
1435: and sky.  In practice, after an area has been observed by the
1436: photometric survey, a series of targeting pipelines creates lists
1437: of targets that satisfy the selection criteria.  A ``tiling''
1438: program (Blanton \etal\ 2003) runs over a subset of the observed
1439: area and assigns targets to circular ``tiles'' of diameter
1440: $2.98^\circ$; it also determines which targets are assigned fiber
1441: holes on which spectroscopic plugplate, imposing physical 
1442: constraints such as the $55''$ minimum spacing between fibers.
1443: A given run of the tiling program operates on the union of a set
1444: of ``rectangular'' (in spherical coordinates) {\tt TilingGeometry} areas.
1445: 
1446: For calculations of galaxy or quasar clustering,
1447: one needs to compute the completeness of the
1448: spectroscopic sample as a function of sky position.
1449: The natural scale on which to do this is that of a
1450: {\tt SECTOR}, a region that is covered by a unique set of 
1451: {\tt Tile} overlaps (e.g., by a particular spectroscopic plate,
1452: or by two or more plates that overlap).
1453: These are regions over which the completeness should be nearly
1454: uniform (see, e.g., Figure~1 of Percival \etal\ [2007] and earlier
1455: discussions by Tegmark \etal\ [2004] and Blanton \etal\ [2005]).
1456: The {\tt Target} table lists (in the column {\tt target.regionID})
1457: the {\tt SECTOR} for every object selected
1458: by the spectroscopic target selection algorithms, regardless
1459: of whether or not that object has been spectroscopically observed.
1460: To find the {\tt SECTOR} for an object in the main table of 
1461: spectroscopically observed objects, {\tt SpecObj},
1462: one must first identify the corresponding entry
1463: in the {\tt Target} table.  For example, the following query
1464: 
1465: \smallskip\noindent
1466: $\phantom{xxxxx}$ {\tt select top 10 s.specObjID, t.regionID} \\
1467: $\phantom{xxxxx}$ {\tt from SpecObj s join Target t} \\
1468: $\phantom{xxxxxxx}$ {\tt on s.targetID = t.targetID} \\
1469: 
1470: \smallskip\noindent
1471: returns the spectroscopic ID numbers and the {\tt SECTOR} numbers of
1472: the first ten objects encountered in the {\tt SpecObj} table.
1473: The database function {\tt fRegionsContainingPointEQ}
1474: can be used to find the {\tt SECTOR} that covers a specified point
1475: on the sky.
1476: 
1477: The following practical example illustrates several other
1478: features of these tables.
1479: The SDSS quasar target selection algorithm underwent significant
1480: changes in the early phases of the survey, reaching its final
1481: form (Richards \etal\ 2002) with {\tt targetVersion} 3.1.0,
1482: following DR1.  A calculation of the quasar luminosity function
1483: should therefore be restricted to regions targeted with 
1484: this or subsequent versions of the target selection code,
1485: and it should be normalized using the corresponding area,
1486: which the following query shows to be 4013 deg$^2$:
1487: 
1488: \smallskip\noindent
1489: $\phantom{xxxxx}$ {\tt select sum(area)} \\
1490: $\phantom{xxxxx}$ {\tt from Region} \\
1491: $\phantom{xxxxx}$ {\tt where regionID in (} \\
1492: $\phantom{xxxxxxxxxxx}$ {\tt select b.boxID} \\
1493: $\phantom{xxxxxxxxxxx}$ {\tt from Region2Box b join TilingGeometry g} \\
1494: $\phantom{xxxxxxxxxxxxxxxxx}$ {\tt on b.id = g.tilingGeometryID} \\
1495: $\phantom{xxxxxxxxxxx}$ {\tt where b.boxType = `SECTOR'} \\
1496: $\phantom{xxxxxxxxxxxxxxxxx}$ {\tt and b.regionType = `TIPRIMARY'} \\
1497: $\phantom{xxxxxxxxxxx}$ {\tt group by b.boxID} \\
1498: $\phantom{xxxxxxxxxxx}$ {\tt having min(g.targetVersion) >= 'v3\_1\_0' } \\
1499: $\phantom{xxxxx}$ {\tt )} \\
1500: 
1501: \smallskip\noindent
1502: This query uses the {\tt Region2Box} table, which maps between various
1503: types of {\tt Regions} and the {\tt TilingGeometries} in which information
1504: about the target selection is stored.  
1505: The {\tt where} clause selects, from the table of all {\tt Regions},
1506: those which are {\tt SECTOR}s in the primary tiled area and were
1507: targeted with a final version of the quasar target selection 
1508: algorithm.\footnote{This 
1509: query is included as one of the sample queries in the DR5
1510: documentation, under ``Uniform Quasar Sample,'' together with
1511: a longer query that shows how to extract all quasars and
1512: quasar candidates from the corresponding sky area.}
1513: 
1514: In principle, these tables provide all the information needed
1515: for complex clustering calculations --- e.g., determining
1516: local completeness corrections, generating appropriate
1517: catalogs of randomly distributed points, and identifying
1518: targeted objects that were not observed because of the
1519: minimum fiber spacing constraint.  The queries required for
1520: such calculations are rather lengthy, and will be 
1521: presented and documented elsewhere.
1522: 
1523: \subsection{Match Tables}
1524: \label{sec:match}
1525: 
1526: About 50 million photometric objects in the CAS lie in regions
1527: that have been observed more than once, because of stripe overlap
1528: or repeat scans.
1529: These repeat observations can be used to detect variable and
1530: moving objects.  The {\tt MatchHead} and {\tt Match} tables of
1531: the DR5 CAS provide convenient tools to examine the multiple
1532: observations of a single object, identified by positional matches
1533: with a $1''$ tolerance, and collectively referred to as a {\it bundle}.
1534: The {\tt MatchHead} table has the unique ID of the first object
1535: in the bundle (defined by observation date), 
1536: the mean and variance of the coordinates of all
1537: matched detections, the number of matched detections, and the
1538: number of times the object was ``missed'' in other observations
1539: of the same sky area.  
1540: Misses can occur because the object is variable, because it is
1541: moving, because inferior seeing moves it below the detection threshold,
1542: or because the original detection was spurious.
1543: The {\tt Match} table lists all objects in each bundle.
1544: 
1545: As an example, the following query lists information about the 
1546: multiple detections of an object at (ra,dec)=(194,0):
1547: 
1548: \smallskip
1549: $\phantom{xxxxx}$ {\tt select MH.*} \\
1550: $\phantom{xxxxxxxxxxx}$ {\tt from MatchHead MH} \\
1551: $\phantom{xxxxxxxxxxx}$ {\tt join fGetNearbyObjEq(194,0,0.3) N on 
1552:                              MH.objID = N.objID} \\
1553: \smallskip
1554: 
1555: \noindent The {\tt fGetNearbyObjEq} function returns a table (assigned
1556: the name {\tt N})
1557: of all objects found within 0.3 arc-minutes of the desired coordinates.
1558: The {\tt select} command returns all entries in the {\tt matchHead}
1559: table (assigned the name {\tt MH}) which, as a result of the {\tt join}
1560: command, have an object ID that matches one returned by the 
1561: neighborhood search.  In this case, there is just one such match,
1562: hence a single bundle.  One can get information on all the objects
1563: in the bundle with the query
1564: 
1565: \smallskip
1566: $\phantom{xxxxx}$ {\tt select M.*} \\
1567: $\phantom{xxxxxxxxxxx}$ {\tt from Match M} \\
1568: $\phantom{xxxxxxxxxxx}$ {\tt join MatchHead MH on M.matchHead = MH.objID} \\
1569: $\phantom{xxxxxxxxxxx}$ {\tt join fGetNearbyObjEq(194,0,0.3) N on 
1570:                              MH.objID = N.objID} \\
1571: \smallskip
1572: 
1573: \noindent where the new {\tt join} command selects out those
1574: {\tt Match} tables whose {\tt matchHead} agrees with that
1575: returned by the earlier query.
1576: 
1577: The DR5 CAS has 50,627,023
1578: bundles described by {\tt MatchHead} and
1579: 109,441,410 objects in the {\tt Match} table.
1580: When an object is undetected in a repeat observation of
1581: the same area of sky, a surrogate object is placed
1582: in the {\tt Match} table but marked as a ``miss,'' with an additional flag
1583: to indicate if the miss could be caused by masking of the
1584: region in the second observation (e.g., because of a 
1585: satellite trail or cosmic ray hit) or because it lies near
1586: the edge of the overlap region.
1587: A bundle may therefore consist of a single detection and one
1588: or more surrogates (and the object in the {\tt MatchHead} may
1589: be a surrogate).  
1590: There are 9.8 million surrogates in the {\tt Match} table.  
1591: The presence of surrogate objects 
1592: may simplify algorithmic searches for moving or variable objects.
1593: 
1594: Because the multiple imaging scans of the southern equatorial stripe
1595: are not yet in the CAS, the {\tt Match} tables cannot be used
1596: to search for moving or variable objects in these data.
1597: However, this capability will be present in future data releases.
1598: 
1599: \section{Conclusions}
1600: \label{sec:conclusions}
1601: 
1602: The Fifth Data Release of the Sloan Digital Sky Survey provides access
1603: to 8000 deg$^2$ of five-band imaging data and
1604: over one million spectra.  These data
1605: represent a roughly 20\% increment over
1606: the previous data release (DR4, Adelman-McCarthy \etal\ 2006).  
1607: Both the catalog data and the source imaging data are available
1608: via the Internet.
1609: All the data products have been consistently processed
1610: by the same set of pipelines across several data releases.
1611: The previous data releases remain online and unchanged to
1612: support ongoing science studies.
1613: DR5 includes several qualitatively new features: multiple imaging
1614: scans of the southern equatorial stripe, special imaging scans of
1615: M31 and the Perseus cluster, database access to
1616: QSO catalogs and galaxy photometric redshifts, and database
1617: tools for precisely defining the survey geometry and for
1618: linking repeat imaging observations of matched objects.
1619: More than a thousand scientific publications have been based
1620: on the SDSS data to date, spanning an enormous range of subjects.
1621: Future data releases will increase the survey area, and they
1622: will provide
1623: qualitatively new kinds of data on the stellar kinematics
1624: and populations of the Milky Way and on Type Ia supernovae
1625: and other transient or variable phenomena, further extending
1626: this scientific impact.
1627: 
1628: \bigskip
1629: 
1630: We dedicate this paper to our colleague Jim Gray, who disappeared
1631: in January, 2007, while sailing near San Francisco.
1632: Jim dedicated an enormous amount of his time, his energy, and his
1633: remarkable talents to the SDSS over the course of many years.
1634: He played a critical role in the development of the SDSS database,
1635: including important contributions to the writing of this paper.
1636: 
1637: Funding for the SDSS and SDSS-II has been provided by the Alfred P. Sloan 
1638: Foundation, the Participating Institutions, the National Science Foundation, 
1639: the U.S. Department of Energy, the National Aeronautics and Space 
1640: Administration, the Japanese Monbukagakusho, the Max Planck Society, 
1641: and the Higher Education Funding Council for England. The SDSS Web Site 
1642: is http://www.sdss.org/.
1643: 
1644: The SDSS is managed by the Astrophysical Research Consortium for the 
1645: Participating Institutions. The Participating Institutions are the 
1646: American Museum of Natural History, Astrophysical Institute Potsdam, 
1647: University of Basel, University of Cambridge, Case Western Reserve University, 
1648: University of Chicago, Drexel University, Fermilab, the Institute for 
1649: Advanced Study, the Japan Participation Group, Johns Hopkins University, 
1650: the Joint Institute for Nuclear Astrophysics, the Kavli Institute for 
1651: Particle Astrophysics and Cosmology, the Korean Scientist Group, 
1652: the Chinese Academy of Sciences (LAMOST), Los Alamos National Laboratory, 
1653: the Max-Planck-Institute for Astronomy (MPIA), the Max-Planck-Institute 
1654: for Astrophysics (MPA), New Mexico State University, Ohio State University, 
1655: University of Pittsburgh, University of Portsmouth, Princeton University, 
1656: the United States Naval Observatory, and the University of Washington. 
1657: 
1658: \begin{thebibliography}{dummy}
1659: 
1660: \bibitem[]{} Abazajian, K. \etal\ 2003, AJ, 126, 2018 (DR1)
1661: 
1662: \bibitem[]{} Abazajian, K. \etal\ 2004, AJ, 128, 502 (DR2) 
1663: 
1664: \bibitem[]{} Abazajian, K. \etal\ 2005, AJ, 129, 1755 (DR3)
1665: 
1666: \bibitem[]{} Adelman-McCarthy, J. K. \etal\ 2006, ApJS, 162, 38 (DR4)
1667: 
1668: %\bibitem[Allam et al.(2004)]{2004AJ....127.1883A} Allam, S.~S., Tucker,
1669: %D.~L., Smith, J.~A., Lee, B.~C., Annis, J., Lin, H., Karachentsev, I.~D.,
1670: %\& Laubscher, B.~E.\ 2004, AJ, 127, 1883
1671: 
1672: \bibitem[]{} Anderson, S. \etal\ 2003, AJ, 126, 2209
1673: 
1674: %\bibitem[]{} Bahcall, N. \etal\ 2003, ApJS, 148, 243
1675: 
1676: \bibitem[]{} Baldry, I.K. \etal\ 2005, MNRAS, 358, 441
1677: 
1678: %\bibitem[]{} Becker, R.H., White, R.L., \& Helfand, D.J. 1995, ApJ,
1679: %  450, 559
1680: 
1681: %\bibitem[]{} Blanton, E.L., Gregg, M.D., Helfand, D.J., Becker, R.H.,
1682: %  \& Leighly, K.M. 2001, AJ, 121, 2915
1683: 
1684: \bibitem[]{} Blanton, M.R., Lin, H., Lupton, R.H., Maley, F.M., Young,
1685: N., Zehavi, I., \& Loveday, J. 2003, AJ, 125, 2276
1686: 
1687: %\bibitem[]{} Blanton, M.R. \etal\ 2005a, AJ, 129, 2562
1688: 
1689: \bibitem[]{} Blanton, M.R. \etal\ 2005, AJ, 129, 2562
1690: 
1691: %\bibitem[]{} Brunzendorf, J. \& Meusinger, H. 1999, A\&AS, 139, 141
1692: 
1693: \bibitem[]{} Budavari, T. \etal\ 2000, AJ, 120, 1588
1694: 
1695: \bibitem[Cannon et al.(2006)]{2slaqlrg} Cannon, R., et al. 2006, 
1696: \mnras, 372, 425
1697: 
1698: \bibitem[]{} Coleman, G. D., Wu, C.-C., \& Weedman, D. W. 1980, ApJS, 43, 393
1699: 
1700: \bibitem[]{} Collinge, M. \etal\ 2005, AJ, 129, 2542
1701: 
1702: \bibitem[]{} Collister, A. A. \& Lahav, O. 2004, PASP, 116, 345
1703: 
1704: \bibitem[]{} Cool, R. J. \etal\ 2006, AJ, 131, 73Z
1705: 
1706: \bibitem[]{} Csabai, I. \etal\ 2003, AJ, 125, 580
1707: 
1708: \bibitem[]{} Eisenstein, D.J. \etal\ 2001, AJ, 122, 2267
1709: 
1710: %\bibitem[]{} Eisenstein, D.J. \etal\ 2003, ApJ, 585, 694
1711: 
1712: \bibitem[]{} Eisenstein, D.~J., et al.\ 2006, \apjs, 167, 40
1713: 
1714: \bibitem[]{} Finkbeiner, D.P. \etal\ 2004, AJ, 128, 2577
1715: 
1716: %\bibitem[]{} Frieman, J. \etal\ 2003, AAS, 205, 120.01
1717: 
1718: \bibitem[]{} Fukugita, M., Ichikawa, T., Gunn, J.E., Doi, M.,
1719: Shimasaku, K., \& Schneider, D.P. 1996, AJ, 111, 1748
1720: 
1721: %\bibitem[]{} Gladders, M.D., \& Yee, H.K.C. 2000, AJ, 120, 2148
1722: 
1723: %\bibitem[]{} Gray, J., Szalay, A.S. Fekete, G., O'Mullane,
1724: %  W. Nieto-Santisteban, M.A., Thakar, A.R., Heber, G., \& Rots,
1725: %  A.H. 2004, ``There Goes the Neighborhood: Relational Algebra for
1726: %  Spatial Data Search", Microsoft Technical Report, MSR-TR-2004-32
1727: 
1728: \bibitem[]{} Gunn, J.E. \etal\ 1998, AJ, 116, 3040
1729: 
1730: \bibitem[]{} Gunn, J.E. \etal\ 2006, AJ, 131, 2332
1731: 
1732: %\bibitem[]{} Hall, P.B. \etal\ 2004, AJ, 128, 534
1733: 
1734: %\bibitem[]{} Helmi, A. \etal\ 2003, AJ, 586, 195
1735: 
1736: \bibitem[]{} Hogg, D.W., Finkbeiner, D.P., Schlegel, D.J., \& Gunn, J.E. 2001,
1737:    AJ, 122, 2129 
1738: 
1739: \bibitem[]{} Ivezi\'c, \v{Z}. \etal\ 2003, MmSAI, 74, 978
1740: 
1741: %\bibitem[]{} Ivezi\'c, \v Z., Juri\'{c}, M., Lupton, R.H., Tabachnick, S.,
1742: %  Quinn, T., \& the SDSS Collaboration 2004a, SDSS Moving Object
1743: %  Catalog V1.0, NASA Planetary Data System, 9, 1
1744: %
1745: \bibitem[]{} Ivezi\'c, \v Z. \etal\ 2004, Astronomische Nachrichten,
1746:   325, 583 
1747: 
1748: \bibitem[]{} Ivezi\'c, \v Z. \etal\ 2007, AJ, submitted, astro-ph/0703157
1749: 
1750: \bibitem[]{} Jiang, L. \etal\ 2006, AJ, 131, 2788
1751: 
1752: %\bibitem[]{} Kleinman, S.J. \etal\ 2004, ApJ, 607, 426
1753: 
1754: %\bibitem[]{} Lee, B.C. \etal\ 2004, AJ, 127, 1811
1755: 
1756: %\bibitem[]{} Loh, Y.S., \& Strauss, M.A. 2005, MNRAS, submitted
1757: 
1758: \bibitem[Lilly et al.(1995)]{cfrs} Lilly, S.J., et al. 1995,
1759: \apj, 455, 50
1760: 
1761: \bibitem[]{} Lupton, R.H. 2005, AJ, submitted
1762: 
1763: \bibitem[]{} Lupton, R.H., Gunn, J.E., \& Szalay, A.S. 1999, AJ, 118, 1406
1764: 
1765: \bibitem[]{} Lupton, R.H., Gunn, J.E., Ivezi\'c, \v{Z}., Knapp, G.R.,
1766: Kent, S., \& Yasuda, N. 2001, in {\it Astronomical Data Analysis
1767: Software and Systems X}, edited by F. R. Harnden Jr., F. A. Primini,
1768: and H. E. Payne, ASP Conference Proceedings, 238, 269
1769: 
1770: \bibitem[]{} Mandelbaum, R. \etal\ 2005, MNRAS, 361, 1287
1771: 
1772: %\bibitem[]{} Miller, C. \etal\ 2005, AJ, 130, 968
1773: 
1774: %\bibitem[Monet et al.(2003)]{monet03}
1775: %   Monet, D. G. \etal\ 2003, \aj, 125, 984
1776: 
1777: %\bibitem[]{} Munn, J.A. \etal\ 2004, AJ, 127, 3043
1778: 
1779: %\bibitem[]{} Newberg, H.J. \& SDSS Collaboration 2003, AAS, 203, 112.11
1780: 
1781: %\bibitem[Oyaizu et al.(2006a)]{photoz2} Oyaizu, H. et al. 2006a, 
1782: %in preparation
1783: 
1784: %\bibitem[Oyaizu et al.(2006b)]{nne} Oyaizu, H. et al. 2006b, 
1785: %in preparation
1786: 
1787: \bibitem[]{} Oke, J.B. \& Gunn, J.E. 1983, ApJ, 266, 713
1788: 
1789: %\bibitem[]{} Padmanabhan, N. \etal\ 2005, MNRAS, 359, 237
1790: 
1791: \bibitem[]{} Percival, W. J. \etal\ 2007, ApJ, 657, 51
1792: 
1793: \bibitem[]{} Petrosian, V. 1976, ApJ, 209, L1
1794: 
1795: \bibitem[]{} Pier, J.R., Munn, J.A., Hindsley, R.B., Hennessy, G.S.,
1796: Kent, S.M., Lupton, R.H., \& Ivezi\'c, \v{Z}. 2003, AJ, 125, 1559
1797: 
1798: \bibitem[]{} Richards, G.T. \etal\ 2002, AJ, 123, 2945
1799: 
1800: %\bibitem[]{} Schlegel, D.J., Finkbeiner, D.P., \& Davis, M. 1998,
1801: %  ApJ, 500, 525 (SFD)
1802: 
1803: \bibitem[]{} Schneider, D.P. \etal\ 2005, AJ, 130, 367
1804: 
1805: \bibitem[]{} Schneider, D.P. \etal\ 2007, AJ, submitted
1806: 
1807: \bibitem[]{} Scranton, R. \etal\ 2005, ApJ, submitted, astro-ph/0508564
1808: 
1809: \bibitem[Sheldon et al.(2004)]{sheldon04} Sheldon, E.S., et al. 2004,
1810: \aj, 127, 2544
1811: 
1812: \bibitem[]{} Smith, J.A. \etal\ 2002, AJ, 123, 2121
1813: 
1814: %\bibitem[]{} Smol\v ci\'c, V. \etal\ 2004, ApJ, 615, L141
1815: 
1816: \bibitem[]{} Stoughton, C. \etal\ 2002, AJ, 123, 485 
1817: 
1818: \bibitem[]{} Strauss, M.A. \etal\ 2002, AJ, 124, 1810
1819: 
1820: \bibitem[]{} Tegmark, M. \etal\ 2004, ApJ, 606, 702
1821: 
1822: \bibitem[]{} Tucker, D. \etal\ 2006, Astronomische Nachrichten, 327, 821
1823: 
1824: \bibitem[]{} Vanden Berk, D.E. \etal\ 2005, AJ, 129, 2047
1825: 
1826: \bibitem[Weiner et al.(2005)]{deep} Weiner, B.J., et al. 2005,
1827: \apj, 620, 595
1828: 
1829: \bibitem[]{} Wilhite, B.C. \etal\ 2005, ApJ, 633, 638
1830: 
1831: \bibitem[Wirth et al.(2004)]{tkrs} Wirth, G.D., et al. 2004,
1832: \aj, 127, 3121
1833: 
1834: \bibitem[Yee et al.(2000)]{cnoc2} Yee, H.K.C., et al. 2000,
1835: \apjs, 129, 475
1836: 
1837: \bibitem[]{} York, D.G. \etal\ 2000, AJ, 120, 1579
1838: 
1839: \bibitem[]{} Zehavi, I.~et al.\ 2002, \apj, 571, 172
1840: 
1841: \bibitem[]{} Zucker, D. \etal\ 2004a, ApJ, 612, L117
1842: 
1843: \bibitem[]{} Zucker, D. \etal\ 2004b, ApJ, 612, L121
1844: 
1845: \end{thebibliography}
1846: 
1847: \end{document}
1848: