! Started logfile: /scr/pima/rdv96_uvs/J0106-4034_S_uvs.log on Sat Dec 21 00:21:52 2013 obs /scr/pima/rdv96_uvs/J0106-4034_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J0106-4034_S_uva.fits ! AN table 1: 17 integrations on 6 of 6 possible baselines. ! AN table 2: 4 integrations on 15 of 15 possible baselines. ! AN table 3: 2 integrations on 21 of 21 possible baselines. ! AN table 4: 2 integrations on 21 of 21 possible baselines. ! AN table 5: 2 integrations on 28 of 28 possible baselines. ! AN table 6: 2 integrations on 15 of 15 possible baselines. ! Apparent sampling: 0.849398 visibilities/baseline/integration-bin. ! Found source: J0106-4034 ! ! There are 4 IFs, and a total of 4 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 2.23299e+09 8e+06 1 8e+06 ! 02 2 2.26299e+09 8e+06 1 8e+06 ! 03 3 2.35299e+09 8e+06 1 8e+06 ! 04 4 2.37299e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 1128 visibilities. select RR ! Selecting polarization: RR, channels: 1..4 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 print "field_size =",field_size ! field_size = 1024 print "field_cell =",field_cell ! field_cell = 0.4 print "taper_size =",taper_size ! taper_size = 20 ![@/home/lpetrov/bin/rdv_muppet /scr/pima/rdv96_uvs/J0106-4034_S] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 800000 float soltime2 soltime2 = 15 float soltime3 soltime3 = 1 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float old_peak float new_peak float flux_cutoff selfant "",false ! 1:FD self-cal status=correctable weight=1 ! 1:HH self-cal status=correctable weight=1 ! 1:SC self-cal status=correctable weight=1 ! 1:WF self-cal status=correctable weight=1 ! 2:FD self-cal status=correctable weight=1 ! 2:KP self-cal status=correctable weight=1 ! 2:LA self-cal status=correctable weight=1 ! 2:PT self-cal status=correctable weight=1 ! 2:SC self-cal status=correctable weight=1 ! 2:WF self-cal status=correctable weight=1 ! 3:FD self-cal status=correctable weight=1 ! 3:KP self-cal status=correctable weight=1 ! 3:LA self-cal status=correctable weight=1 ! 3:NL self-cal status=correctable weight=1 ! 3:PT self-cal status=correctable weight=1 ! 3:SC self-cal status=correctable weight=1 ! 3:WF self-cal status=correctable weight=1 ! 4:FD self-cal status=correctable weight=1 ! 4:KP self-cal status=correctable weight=1 ! 4:LA self-cal status=correctable weight=1 ! 4:NL self-cal status=correctable weight=1 ! 4:OV self-cal status=correctable weight=1 ! 4:PT self-cal status=correctable weight=1 ! 4:WF self-cal status=correctable weight=1 ! 5:FD self-cal status=correctable weight=1 ! 5:KP self-cal status=correctable weight=1 ! 5:LA self-cal status=correctable weight=1 ! 5:MK self-cal status=correctable weight=1 ! 5:NL self-cal status=correctable weight=1 ! 5:OV self-cal status=correctable weight=1 ! 5:PT self-cal status=correctable weight=1 ! 5:SC self-cal status=correctable weight=1 ! 6:FD self-cal status=correctable weight=1 ! 6:KP self-cal status=correctable weight=1 ! 6:LA self-cal status=correctable weight=1 ! 6:MK self-cal status=correctable weight=1 ! 6:OV self-cal status=correctable weight=1 ! 6:PT self-cal status=correctable weight=1 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.400x0.400 milli-arcsec cellsize. startmod ! Applying default point source starting model. ! Performing phase self-cal ! Adding 1 model components to the UV plane model. ! The established model now contains 1 components and 1 Jy ! ! Correcting IF 1. ! A total of 26 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 26 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 26 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 26 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.215444Jy sigma=8.216899 ! Fit after self-cal, rms=0.428115Jy sigma=2.245992 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. print "=== Flag out IVS stations" ! === Flag out IVS stations integer lun string cfg_file lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_flag_process.csh /tmp/ff.ff" ![@/tmp/ff.ff \] flag 1:HH ! Flagging baselines of antenna 1:HH in the currently selected channels. flag 1:WF ! Flagging baselines of antenna 1:WF in the currently selected channels. flag 2:WF ! Flagging baselines of antenna 2:WF in the currently selected channels. flag 3:WF ! Flagging baselines of antenna 3:WF in the currently selected channels. flag 4:WF ! Flagging baselines of antenna 4:WF in the currently selected channels. ![Exited script file: /tmp/ff.ff] uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.865 mas, bmaj=10.38 mas, bpa=-1.767 degrees ! Estimated noise=4.80791 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (0, 0). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.549939 Jy ! Component: 100 - total flux cleaned = 0.670696 Jy ! Total flux subtracted in 100 components = 0.670696 Jy ! Clean residual min=-0.025431 max=0.044295 Jy/beam ! Clean residual mean=-0.000041 rms=0.007302 Jy/beam ! Combined flux in latest and established models = 0.670696 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.670696 Jy ! ! Correcting IF 1. ! A total of 42 telescope corrections were flagged in sub-array 1. ! A total of 4 telescope corrections were flagged in sub-array 2. ! A total of 2 telescope corrections were flagged in sub-array 3. ! A total of 2 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 2. ! A total of 42 telescope corrections were flagged in sub-array 1. ! A total of 4 telescope corrections were flagged in sub-array 2. ! A total of 2 telescope corrections were flagged in sub-array 3. ! A total of 2 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 3. ! A total of 42 telescope corrections were flagged in sub-array 1. ! A total of 4 telescope corrections were flagged in sub-array 2. ! A total of 2 telescope corrections were flagged in sub-array 3. ! A total of 2 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 4. ! A total of 42 telescope corrections were flagged in sub-array 1. ! A total of 4 telescope corrections were flagged in sub-array 2. ! A total of 2 telescope corrections were flagged in sub-array 3. ! A total of 2 telescope corrections were flagged in sub-array 4. ! ! Fit before self-cal, rms=0.142839Jy sigma=1.088397 ! Fit after self-cal, rms=0.143392Jy sigma=1.093554 ! Inverting map and beam ! Estimated beam: bmin=2.864 mas, bmaj=10.32 mas, bpa=-1.662 degrees ! Estimated noise=4.85698 mJy/beam. ! Added new window around map position (-6.4, -1.2). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0430281 Jy ! Component: 100 - total flux cleaned = 0.0637907 Jy ! Total flux subtracted in 100 components = 0.0637907 Jy ! Clean residual min=-0.024341 max=0.032865 Jy/beam ! Clean residual mean=-0.000003 rms=0.006127 Jy/beam ! Combined flux in latest and established models = 0.734487 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 20 components and 0.734487 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.132694Jy sigma=0.989595 ! Fit after self-cal, rms=0.131853Jy sigma=0.979276 ! Inverting map print "=== Finished uniform weighting clean ===" ! === Finished uniform weighting clean === uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.875 mas, bmaj=14.13 mas, bpa=-1.565 degrees ! Estimated noise=3.49586 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0136597 Jy ! Component: 100 - total flux cleaned = 0.0145742 Jy ! Component: 150 - total flux cleaned = 0.014812 Jy ! Component: 200 - total flux cleaned = 0.0148098 Jy ! Total flux subtracted in 200 components = 0.0148098 Jy ! Clean residual min=-0.022644 max=0.017236 Jy/beam ! Clean residual mean=0.000089 rms=0.004812 Jy/beam ! Combined flux in latest and established models = 0.749297 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 29 components and 0.749297 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.130047Jy sigma=0.967016 ! Fit after self-cal, rms=0.130018Jy sigma=0.965743 ! Inverting map print "=== Finished natural weighting clean for VLBI sites ===" ! === Finished natural weighting clean for VLBI sites === gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! FD 0.00* HH 0.00* SC 0.00* WF 0.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 0.95 KP 1.06 LA 1.19 PT 1.07 ! SC 0.96 WF 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! FD 0.99 KP 1.00 LA 1.23 NL 1.17 ! PT 1.06 SC 0.96 WF 1.00* ! ! Telescope amplitude corrections in sub-array 4: ! FD 1.01 KP 1.00 LA 1.19 NL 1.04 ! OV 0.97 PT 1.06 WF 1.00* ! ! Telescope amplitude corrections in sub-array 5: ! FD 0.96 KP 1.02 LA 1.15 MK 0.95 ! NL 1.22 OV 1.00 PT 1.07 SC 0.95 ! ! Telescope amplitude corrections in sub-array 6: ! FD 0.98 KP 1.01 LA 1.21 MK 1.03 ! OV 0.98 PT 1.04 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 0.00* HH 0.00* SC 0.00* WF 0.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.07 KP 1.02 LA 1.10 PT 1.08 ! SC 1.04 WF 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.05 KP 0.98 LA 1.09 NL 1.31 ! PT 1.06 SC 1.06 WF 1.00* ! ! Telescope amplitude corrections in sub-array 4: ! FD 1.03 KP 1.09 LA 1.09 NL 1.10 ! OV 1.05 PT 1.01 WF 1.00* ! ! Telescope amplitude corrections in sub-array 5: ! FD 1.05 KP 1.00 LA 1.07 MK 1.06 ! NL 1.28 OV 1.00 PT 1.01 SC 1.08 ! ! Telescope amplitude corrections in sub-array 6: ! FD 1.08 KP 1.01 LA 1.04 MK 1.05 ! OV 1.01 PT 1.00 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 0.00* HH 0.00* SC 0.00* WF 0.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.09 KP 0.91 LA 0.99 PT 1.07 ! SC 0.93 WF 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.07 KP 0.92 LA 0.98 NL 1.22 ! PT 1.08 SC 0.97 WF 1.00* ! ! Telescope amplitude corrections in sub-array 4: ! FD 1.03 KP 0.88 LA 0.97 NL 1.17 ! OV 1.02 PT 1.09 WF 1.00* ! ! Telescope amplitude corrections in sub-array 5: ! FD 1.07 KP 0.86 LA 0.95 MK 1.03 ! NL 1.30 OV 1.01 PT 1.06 SC 0.96 ! ! Telescope amplitude corrections in sub-array 6: ! FD 1.05 KP 0.88 LA 0.97 MK 1.00 ! OV 0.99 PT 1.06 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 0.00* HH 0.00* SC 0.00* WF 0.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.09 KP 0.84 LA 0.83 PT 0.94 ! SC 0.95 WF 1.00* ! ! Telescope amplitude corrections in sub-array 3: ! FD 0.99 KP 0.82 LA 0.85 NL 1.11 ! PT 1.00 SC 0.96 WF 1.00* ! ! Telescope amplitude corrections in sub-array 4: ! FD 1.04 KP 0.81 LA 0.81 NL 1.03 ! OV 0.84 PT 0.95 WF 1.00* ! ! Telescope amplitude corrections in sub-array 5: ! FD 1.03 KP 0.81 LA 0.82 MK 1.11 ! NL 1.23 OV 0.86 PT 0.98 SC 1.00 ! ! Telescope amplitude corrections in sub-array 6: ! FD 1.05 KP 0.81 LA 0.84 MK 1.13 ! OV 0.85 PT 0.92 ! ! ! Fit before self-cal, rms=0.130018Jy sigma=0.965743 ! Fit after self-cal, rms=0.072602Jy sigma=0.477194 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.886 mas, bmaj=14.19 mas, bpa=-1.238 degrees ! Estimated noise=3.50769 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00385794 Jy ! Component: 100 - total flux cleaned = -0.00373653 Jy ! Component: 150 - total flux cleaned = -0.00373167 Jy ! Component: 200 - total flux cleaned = -0.00372731 Jy ! Total flux subtracted in 200 components = -0.00372731 Jy ! Clean residual min=-0.007282 max=0.006550 Jy/beam ! Clean residual mean=0.000039 rms=0.001657 Jy/beam ! Combined flux in latest and established models = 0.745569 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 38 components and 0.74557 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071956Jy sigma=0.473914 ! Fit after self-cal, rms=0.071964Jy sigma=0.473151 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 800000 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071964Jy sigma=0.473151 ! Fit after self-cal, rms=0.072037Jy sigma=0.472756 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.886 mas, bmaj=14.21 mas, bpa=-1.256 degrees ! Estimated noise=3.5026 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00251275 Jy ! Component: 100 - total flux cleaned = -0.00259912 Jy ! Component: 150 - total flux cleaned = -0.00259721 Jy ! Component: 200 - total flux cleaned = -0.00267799 Jy ! Total flux subtracted in 200 components = -0.00267799 Jy ! Clean residual min=-0.006844 max=0.006338 Jy/beam ! Clean residual mean=0.000039 rms=0.001593 Jy/beam ! Combined flux in latest and established models = 0.742892 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 46 components and 0.742892 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071582Jy sigma=0.470820 ! Fit after self-cal, rms=0.071474Jy sigma=0.470458 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000812905 Jy ! Component: 100 - total flux cleaned = -0.000730691 Jy ! Component: 150 - total flux cleaned = -0.000726686 Jy ! Component: 200 - total flux cleaned = -0.000728949 Jy ! Total flux subtracted in 200 components = -0.000728949 Jy ! Clean residual min=-0.006493 max=0.006228 Jy/beam ! Clean residual mean=0.000037 rms=0.001570 Jy/beam ! Combined flux in latest and established models = 0.742163 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 48 components and 0.742163 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071235Jy sigma=0.469400 ! Fit after self-cal, rms=0.071177Jy sigma=0.469268 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071177Jy sigma=0.469268 ! Fit after self-cal, rms=0.070569Jy sigma=0.463213 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.884 mas, bmaj=14.22 mas, bpa=-1.275 degrees ! Estimated noise=3.49752 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00168801 Jy ! Component: 100 - total flux cleaned = -0.00183811 Jy ! Component: 150 - total flux cleaned = -0.00183624 Jy ! Component: 200 - total flux cleaned = -0.00183853 Jy ! Total flux subtracted in 200 components = -0.00183853 Jy ! Clean residual min=-0.006068 max=0.005734 Jy/beam ! Clean residual mean=0.000069 rms=0.001484 Jy/beam ! Combined flux in latest and established models = 0.740324 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 50 components and 0.740324 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070296Jy sigma=0.462084 ! Fit after self-cal, rms=0.070251Jy sigma=0.461908 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000509851 Jy ! Component: 100 - total flux cleaned = -0.000511036 Jy ! Component: 150 - total flux cleaned = -0.000509949 Jy ! Component: 200 - total flux cleaned = -0.000561007 Jy ! Total flux subtracted in 200 components = -0.000561007 Jy ! Clean residual min=-0.005817 max=0.005666 Jy/beam ! Clean residual mean=0.000067 rms=0.001471 Jy/beam ! Combined flux in latest and established models = 0.739763 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 52 components and 0.739763 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070104Jy sigma=0.461319 ! Fit after self-cal, rms=0.070072Jy sigma=0.461257 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths. win_mult = win_mult * 1.2 selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070072Jy sigma=0.461257 ! Fit after self-cal, rms=0.070104Jy sigma=0.460940 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=10.26 mas, bmaj=37.61 mas, bpa=-2.572 degrees ! Estimated noise=3.91146 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00118258 Jy ! Component: 100 - total flux cleaned = -0.0012341 Jy ! Component: 150 - total flux cleaned = -0.00131979 Jy ! Component: 200 - total flux cleaned = -0.00139196 Jy ! Total flux subtracted in 200 components = -0.00139196 Jy ! Clean residual min=-0.005397 max=0.005373 Jy/beam ! Clean residual mean=0.000108 rms=0.001658 Jy/beam ! Combined flux in latest and established models = 0.738371 Jy selfcal ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 57 components and 0.738371 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070030Jy sigma=0.460658 ! Fit after self-cal, rms=0.069995Jy sigma=0.460464 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -4.67387e-05 Jy ! Component: 100 - total flux cleaned = -0.000135247 Jy ! Component: 150 - total flux cleaned = -0.000235228 Jy ! Component: 200 - total flux cleaned = -0.00028986 Jy ! Total flux subtracted in 200 components = -0.00028986 Jy ! Clean residual min=-0.005402 max=0.005330 Jy/beam ! Clean residual mean=0.000107 rms=0.001656 Jy/beam ! Combined flux in latest and established models = 0.738081 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 66 components and 0.738081 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.069961Jy sigma=0.460439 ! Fit after self-cal, rms=0.069947Jy sigma=0.460322 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "=== Finished amplitude self-cal for VLBA stations ===" ! === Finished amplitude self-cal for VLBA stations === unflag * ! Unflagging all baselines in the currently selected channels. uncalib false, false, true ! uncal: All telescope correction flags have been un-done. integer lun lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_selfant_process.csh /tmp/ff.ff" ![@/tmp/ff.ff] 1:FD ! Syntax error in line: ! 1:FD ! ^ ! Found constant: 1.000 ! Where a command or assignment expression was expected. ![Exited script file: /tmp/ff.ff] ![Exited script file: /home/lpetrov/bin/rdv_muppet] ! wmap "/scr/pima/rdv96_uvs/J0106-4034_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=2.789 mas, bmaj=6.22 mas, bpa=21.71 degrees ! Estimated noise=3.4226 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.789 x 6.22 at 21.71 degrees (North through East) ! Clean map min=-0.038901 max=0.63967 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J0106-4034_S_map.fits float peak_flux peak_flux = peak(flux,max) invert ! Inverting map float image_peak image_peak = int(10000*peak_flux)/10000 float image_rms image_rms = int(100000*imstat(rms))/100000 print "=========================================" ! ========================================= print "The image peak= ", image_peak, " rms= ", image_rms, " Jy" ! The image peak= 0.6396 rms= 0.00541 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J0106-4034_S_uvs.log closed on Sat Dec 21 00:21:54 2013