Index: trunk/psastro/src/psastroConvert.c
===================================================================
--- trunk/psastro/src/psastroConvert.c	(revision 23303)
+++ trunk/psastro/src/psastroConvert.c	(revision 26259)
@@ -127,4 +127,5 @@
 
     psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.RAWSTARS", PS_DATA_ARRAY, "astrometry objects", rawStars);
+
     psLogMsg ("psastro", 4, "loaded %ld sources, using %ld of %ld good sources (inst mag: %f to %f)\n", sources->n, rawStars->n, inStars->n, mMin, mMax);
     psLogMsg ("psastro", 4, "skip reasons: mode: %d, faint: %d, bright: %d, inf: %d\n", nModeSkip, nFaintSkip, nBrightSkip, nInfSkip);
@@ -153,11 +154,15 @@
 
         psF32 *PAR = model->params->data.F32;
+	psF32 *dPAR = model->dparams->data.F32;
 
         pmAstromObj *obj = pmAstromObjAlloc ();
 
         // is the source magnitude calibrated in any sense?
-        obj->pix->x = PAR[PM_PAR_XPOS];
-        obj->pix->y = PAR[PM_PAR_YPOS];
+        obj->pix->x    = PAR[PM_PAR_XPOS];
+        obj->pix->y    = PAR[PM_PAR_YPOS];
+        obj->pix->xErr = dPAR[PM_PAR_XPOS];
+        obj->pix->yErr = dPAR[PM_PAR_YPOS];
         obj->Mag = source->psfMag;
+        obj->dMag = source->errMag;
 
         // XXX do we have the information giving the readout and cell offset?
