1. ----- find all filters star, if find on 3 frames, choose it
         make a list, get T*.coo
	 deep directory
j_find t*.fit
j_phot t*.fit
j_xyapad t*.ap              change *.ap-->*.cat
                           if find >=3 color, pick it
ls t*.cat >1.1
getapcat 1.1               -->getapcat.cat
                           at edge 20 pixel not do all_star
j_ad8xy *.fit              (produce,  T359a.coo T359a.eds) 
ls T*.eds >1.1
geteds 1.1                 (T*.eds -->eds.dat) 1237/7040
                           ln -s t*.fit T*.fit
2. ----- start at j_phot, do pip21 
	 deep directory
pip21_8 T*.fit

3. ----- get all_star catalog
	 deep directory
edit a order.dat  (coordination filter at 1st)
rm ?.cat
mv *.cat6 ../con
ls *.cat >1.1
getcat 1.1                    ! do all, use del3; -->getcat.cat
will use eds.dat & av.dat     ! whoto get av, look at ********
putedsav getcat.cat T359i_15.mag    !  put eds_mark & av.dat

4. ----- eye check frames
         deep directory
ls t*.fit >1.1         ! put mother_color 1st 
mo4 1.1 T*i_15.mag 1
limerr T*i_15.mag

5. ----- append j_phot results to cataloge
	 no directory
#*.mag1 is useless
takead T*i_15.mag >t517.coo

j_ad2xy t*?.fit >t*?.coo
j_phot *.fit
read T517i_15.mag t517a >no.a

readput T517i_15 1.1       ! --->T517i_15.mag2 (last results)

                          
*******----------
who to get av.dat

in con:             ! put con1 (from zhouxu)
in con/color:
                   ! need deep.cat6 , *.fit (low)

j_find *.fit  
j_phot *.fit            
pip6 deep * 5      ! j_gc2 * 5; j_xy6ad *; all7 deep *
tocon >../T517_con.color

in con:
edit t*_con.?      ! put  X mark
av batch           ! get av.dat
------
