%\usepackage{geometry}

\documentclass[panstarrs]{panstarrs}%
\usepackage[onehalfspacing]{setspace}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}%
\setcounter{MaxMatrixCols}{30}
%TCIDATA{OutputFilter=latex2.dll}
%TCIDATA{Version=5.50.0.2953}
%TCIDATA{CSTFile=40 LaTeX article.cst}
%TCIDATA{Created=Sunday, May 14, 2006 18:51:53}
%TCIDATA{LastRevised=Monday, February 22, 2010 13:01:10}
%TCIDATA{<META NAME="GraphicsSave" CONTENT="32">}
%TCIDATA{<META NAME="SaveForMode" CONTENT="1">}
%TCIDATA{BibliographyScheme=Manual}
%TCIDATA{<META NAME="DocumentShell" CONTENT="Standard LaTeX\Blank - Standard LaTeX Article">}
%TCIDATA{Language=American English}
%BeginMSIPreambleData
\providecommand{\U}[1]{\protect\rule{.1in}{.1in}}
%EndMSIPreambleData
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{case}[theorem]{Case}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{conclusion}[theorem]{Conclusion}
\newtheorem{condition}[theorem]{Condition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{criterion}[theorem]{Criterion}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{notation}[theorem]{Notation}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{solution}[theorem]{Solution}
\newtheorem{summary}[theorem]{Summary}
\newenvironment{proof}[1][Proof]{\noindent\textbf{#1.} }{\ \rule{0.5em}{0.5em}}
\shorttitle{NEOCP Process}
\begin{document}

\title{NEOCP Process}
\author{Daniel Chang}
\maketitle

\pagenumbering{arabic}

\section{Overview}

This document describes the operation of the NEOCP Process. The MPC's NEO
Confirmation Page contains ephemerides for unconfirmed NEO's and related
objects.  This process includes retrieval of data from the NEOCP, finding
field intersections, and determining candidate tracklets. The NEOCP\ Process
consists of two phases, field intersection determination and candidate
tracklet matching.

\section{Methodology}

\subsection{NEOCP database}

NEOCP ephemerides data is parsed and stored in a local MySQL\ database named
\texttt{neocp. }At intervals of one hour, the NEOCP\ is continuously monitored
for new data. When new data is available, the ephemerides are retrieved for
each object appearing on the page. [insert database schema]

\subsection{Field intersection determination}

Field intersections are determined by two mode differentiated by the source of
data being either the GPC log file or MOPS fields in the database. Possible
field intersections are determined in a rapid manner using fieldProximity.
Intersections are determined using \texttt{find-field-intersections.pl. }

\subsubsection{GPC log processing}

The GPC log file is parsed using \texttt{parse-gpc-log.pl.} The gpc log data
is found in \texttt{gpc.txt.} For each object in the NEOCP\ database, the
field positions and the ephemerides are processed using fieldProximity to find
possible field intersections. Due to the design of fieldProximity, each
ephemeris must be processed independently. An exhaustive search is performed.
The following is an example of the command-line used.

\begin{quote}
\texttt{fieldProximity fieldsfile file.fields tracksfile file.ephem method 0
outfile results.txt}
\end{quote}

Fields are retrieved according their MJD values where the MJD is within the
NEOCP ephemerides time range.

\subsection{Candidate tracklets}

MOPS tracklets are matched with NEOCP ephemerides using the criteria of
velocity, in deg/day, and position angle. For each possible field
intersection, the tracklets within that field are compared to the ephemerides
that were previously determined to possibly intersect with the field.

\section{Summary}

The NEOCP Process is designed to use ephemerides data from the MPC's NEO
confirmation page to augment the MOPS recovery of NEOs and related objects. It
performs this task in two phases---finding field intersections and matching
candidate tracklets. Possible enhancements to the NEOCP\ process include
expiring GPC field data and NEOCP\ data.


\end{document}