NAME:
	rdphot
 PURPOSE: (one line)
	Reads photometry from a basphotc log file.
 DESCRIPTION:
	All photometry for the given object serial number is read from the file
	and returned to the caller.
 CATEGORY:
  File I/O
 CALLING SEQUENCE:
	rdphot,filename,obj,name,xpos,ypos,mag,err
 INPUTS:
	filename - string containing the photometry log file to read from.
	obj      - object serial number to extract from the file.
 OPTIONAL INPUT PARAMETERS:
 KEYWORD PARAMETERS:
 OUTPUTS:
	name     - Original image file name for each point.
	xpos     - vector containing the x position for each point.
	ypos     - vector containing the y position for each point.
	mag      - instrumental magnitudes
	err      - uncertainties on the magnitudes
 COMMON BLOCKS:
 SIDE EFFECTS:
 RESTRICTIONS:
 PROCEDURE:
 MODIFICATION HISTORY:
	Revised for new version of basphotc
	  8/31/92 - Marc W. Buie, Lowell Observatory.