
Phase 3 pipeline tools:

p3search -pending :
  * examine the raw.exposures tables and select exposures matching the given criteria
  * add entries which are allowed (mosaic) to the p3.pending table

p3search -update :
  * select completed entries in the p1.pending table
  * move to the p1.done table
  * add new entry to the p2.pending tables
