Index: trunk/Ohana/src/opihi/cmd.astro/Makefile
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/Makefile	(revision 39168)
+++ trunk/Ohana/src/opihi/cmd.astro/Makefile	(revision 39169)
@@ -34,4 +34,6 @@
 $(SRC)/fitplx.$(ARCH).o	   \
 $(SRC)/fitpm.$(ARCH).o	   \
+$(SRC)/fitpm_irls.$(ARCH).o  \
+$(SRC)/fitplx_irls.$(ARCH).o  \
 $(SRC)/fixwrap.$(ARCH).o	   \
 $(SRC)/fixcols.$(ARCH).o	   \
Index: trunk/Ohana/src/opihi/cmd.astro/init.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/init.c	(revision 39168)
+++ trunk/Ohana/src/opihi/cmd.astro/init.c	(revision 39169)
@@ -19,4 +19,6 @@
 int fitplx                  PROTO((int, char **));
 int fitpm                   PROTO((int, char **));
+int fitpm_irls              PROTO((int, char **));
+int fitplx_irls             PROTO((int, char **));
 int fixwrap                 PROTO((int, char **));
 int fiximage                PROTO((int, char **));
@@ -84,4 +86,6 @@
   {1, "fitplx",      fitplx,       "fit proper motion and parallax"},
   {1, "fitpm",       fitpm,        "fit proper motion only"},
+  {1, "fitpm_irls",  fitpm_irls,   "fit proper motion only using irls method"},
+  {1, "fitplx_irls", fitplx_irls,  "fit proper motion and parallax using irls method"},
   {1, "fixwrap",     fixwrap,      "fix megacam over-wrapped pixels"},
   {1, "fiximage",    fiximage,     "fix pixels in an image by interpolation"},
