! Started logfile: J2158-1501_S_2001_04_09_pus_uvs.log on Mon Oct 8 12:20:35 2007 obs J2158-1501_S_2001_04_09_pus_uva.fits ! Reading UV FITS file: J2158-1501_S_2001_04_09_pus_uva.fits ! AN table 1: 132 integrations on 190 of 190 possible baselines. ! AN table 2: 93 integrations on 190 of 190 possible baselines. ! AN table 3: 140 integrations on 190 of 190 possible baselines. ! Apparent sampling: 0.0524441 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J2158-1501 ! ! 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.22997e+09 8e+06 1 8e+06 ! 02 2 2.25997e+09 8e+06 1 8e+06 ! 03 3 2.34997e+09 8e+06 1 8e+06 ! 04 4 2.36997e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 1953 lines of history. ! ! Reading 14548 visibilities. select I ! Polarization I is unavailable. ! 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 = 512 print "field_cell =",field_cell ! field_cell = 0.5 print "taper_size =",taper_size ! taper_size = 20 ![@muppet J2158-1501_S_2001_04_09_pus] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 120 float soltime2 soltime2 = 20 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float time_av time_av = 16 float old_peak float new_peak float flux_cutoff mapsize field_size, field_cell ! Map grid = 512x512 pixels with 0.500x0.500 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 2437 telescope corrections were flagged in sub-array 1. ! A total of 1488 telescope corrections were flagged in sub-array 2. ! A total of 2282 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 2. ! A total of 2437 telescope corrections were flagged in sub-array 1. ! A total of 1488 telescope corrections were flagged in sub-array 2. ! A total of 2272 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 3. ! A total of 2437 telescope corrections were flagged in sub-array 1. ! A total of 1488 telescope corrections were flagged in sub-array 2. ! A total of 2275 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 4. ! A total of 2437 telescope corrections were flagged in sub-array 1. ! A total of 1488 telescope corrections were flagged in sub-array 2. ! A total of 2272 telescope corrections were flagged in sub-array 3. ! ! Fit before self-cal, rms=1.388382Jy sigma=0.011061 ! Fit after self-cal, rms=0.787252Jy sigma=0.006574 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. 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=1.702 mas, bmaj=4.872 mas, bpa=27.82 degrees ! Estimated noise=1569.72 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 = 1.15669 Jy ! Component: 100 - total flux cleaned = 1.5296 Jy ! Total flux subtracted in 100 components = 1.5296 Jy ! Clean residual min=-0.064110 max=0.172518 Jy/beam ! Clean residual mean=0.000643 rms=0.021177 Jy/beam ! Combined flux in latest and established models = 1.5296 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 14 components and 1.5296 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.414142Jy sigma=0.003398 ! Fit after self-cal, rms=0.413986Jy sigma=0.003397 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.192168 Jy ! Component: 100 - total flux cleaned = 0.293355 Jy ! Total flux subtracted in 100 components = 0.293355 Jy ! Clean residual min=-0.044087 max=0.065565 Jy/beam ! Clean residual mean=0.000212 rms=0.011626 Jy/beam ! Combined flux in latest and established models = 1.82296 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 30 components and 1.82296 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.287754Jy sigma=0.002237 ! Fit after self-cal, rms=0.287652Jy sigma=0.002236 ! 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=2.436 mas, bmaj=6.906 mas, bpa=30.19 degrees ! Estimated noise=806.426 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.0769586 Jy ! Component: 100 - total flux cleaned = 0.112345 Jy ! Component: 150 - total flux cleaned = 0.12959 Jy ! Component: 200 - total flux cleaned = 0.136539 Jy ! Total flux subtracted in 200 components = 0.136539 Jy ! Clean residual min=-0.032730 max=0.036635 Jy/beam ! Clean residual mean=0.001386 rms=0.010600 Jy/beam ! Combined flux in latest and established models = 1.9595 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 46 components and 1.9595 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.271248Jy sigma=0.002068 ! Fit after self-cal, rms=0.271250Jy sigma=0.002067 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 33 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.00* GC 1.00* GG 1.00* ! HH 1.00* HN 1.00* KK 0.96 KP 1.02 ! LA 1.00* MA 1.00* MC 1.00* MK 0.94 ! NL 1.00* NY 1.00* OV 1.05 PT 1.05 ! SC 1.00* TS 0.92 WF 1.00* WZ 1.00* ! ! A total of 144 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.93 FD 0.94 GC 1.00* GG 1.00* ! HH 1.00* HN 1.00* KK 1.00* KP 0.95 ! LA 0.94 MA 1.00* MC 1.00* MK 1.01 ! NL 0.95 NY 1.00* OV 0.95 PT 0.92 ! SC 1.00* TS 1.00* WF 1.00* WZ 1.00* ! ! A total of 27 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.09 FD 1.01 GC 1.00* GG 1.00* ! HH 0.97 HN 0.93 KK 1.00* KP 1.12 ! LA 0.99 MA 1.00* MC 1.00* MK 1.00* ! NL 1.01 NY 1.00* OV 1.09 PT 1.00 ! SC 1.26 TS 1.00* WF 0.99 WZ 1.00* ! ! ! Correcting IF 2. ! A total of 33 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.00* GC 1.00* GG 1.00* ! HH 1.00* HN 1.00* KK 0.93 KP 1.01 ! LA 1.00* MA 1.00* MC 1.00* MK 0.94 ! NL 1.00* NY 1.00* OV 1.02 PT 1.08 ! SC 1.00* TS 0.98 WF 1.00* WZ 1.00* ! ! A total of 144 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.94 FD 0.94 GC 1.00* GG 1.00* ! HH 1.00* HN 1.00* KK 1.00* KP 1.01 ! LA 0.96 MA 1.00* MC 1.00* MK 1.03 ! NL 0.96 NY 1.00* OV 0.93 PT 0.95 ! SC 1.00* TS 1.00* WF 1.00* WZ 1.00* ! ! A total of 27 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.08 FD 1.01 GC 1.00* GG 1.00* ! HH 0.99 HN 0.94 KK 1.00* KP 1.17 ! LA 1.03 MA 1.00* MC 1.00* MK 1.00* ! NL 1.00 NY 1.00* OV 1.04 PT 1.04 ! SC 0.94 TS 1.00* WF 0.98 WZ 1.00* ! ! ! Correcting IF 3. ! A total of 33 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.11 FD 1.00* GC 1.00* GG 1.00* ! HH 1.00* HN 1.00* KK 0.96 KP 1.14 ! LA 1.00* MA 1.00* MC 1.00* MK 0.93 ! NL 1.00* NY 1.00* OV 1.03 PT 1.07 ! SC 1.00* TS 0.99 WF 1.00* WZ 1.00* ! ! A total of 144 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.98 FD 0.95 GC 1.00* GG 1.00* ! HH 1.00* HN 1.00* KK 1.00* KP 0.95 ! LA 0.93 MA 1.00* MC 1.00* MK 0.99 ! NL 0.96 NY 1.00* OV 0.94 PT 1.00 ! SC 1.00* TS 1.00* WF 1.00* WZ 1.00* ! ! A total of 24 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.14 FD 1.01 GC 1.00* GG 1.00* ! HH 0.94 HN 0.96 KK 1.00* KP 1.09 ! LA 0.98 MA 1.00* MC 1.00* MK 1.00* ! NL 1.00 NY 1.00* OV 1.04 PT 0.97 ! SC 1.07 TS 1.00* WF 1.01 WZ 1.00* ! ! ! Correcting IF 4. ! A total of 33 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.00* GC 1.00* GG 1.00* ! HH 1.00* HN 1.00* KK 0.92 KP 1.09 ! LA 1.00* MA 1.00* MC 1.00* MK 0.90 ! NL 1.00* NY 1.00* OV 1.02 PT 1.14 ! SC 1.00* TS 0.98 WF 1.00* WZ 1.00* ! ! A total of 144 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.94 FD 0.95 GC 1.00* GG 1.00* ! HH 1.00* HN 1.00* KK 1.00* KP 0.94 ! LA 0.97 MA 1.00* MC 1.00* MK 0.97 ! NL 0.97 NY 1.00* OV 0.92 PT 1.23 ! SC 1.00* TS 1.00* WF 1.00* WZ 1.00* ! ! A total of 27 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.08 FD 1.03 GC 1.00* GG 1.00* ! HH 0.98 HN 0.99 KK 1.00* KP 1.05 ! LA 1.02 MA 1.00* MC 1.00* MK 1.00* ! NL 1.00 NY 1.00* OV 1.04 PT 0.79 ! SC 1.12 TS 1.00* WF 0.98 WZ 1.00* ! ! ! Fit before self-cal, rms=0.271250Jy sigma=0.002067 ! Fit after self-cal, rms=0.224302Jy sigma=0.001480 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.374 mas, bmaj=6.707 mas, bpa=30 degrees ! Estimated noise=842.207 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 (-2, -9). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0123029 Jy ! Component: 100 - total flux cleaned = 0.012908 Jy ! Component: 150 - total flux cleaned = 0.0137047 Jy ! Component: 200 - total flux cleaned = 0.0146345 Jy ! Total flux subtracted in 200 components = 0.0146345 Jy ! Clean residual min=-0.007448 max=0.008196 Jy/beam ! Clean residual mean=-0.000044 rms=0.001947 Jy/beam ! Combined flux in latest and established models = 1.97413 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 59 components and 1.97413 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.223223Jy sigma=0.001471 ! Fit after self-cal, rms=0.223259Jy sigma=0.001470 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 120 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.223259Jy sigma=0.001470 ! Fit after self-cal, rms=0.222915Jy sigma=0.001469 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.367 mas, bmaj=6.701 mas, bpa=30.06 degrees ! Estimated noise=842.487 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00556726 Jy ! Component: 100 - total flux cleaned = 0.00662047 Jy ! Component: 150 - total flux cleaned = 0.00715887 Jy ! Component: 200 - total flux cleaned = 0.0073175 Jy ! Total flux subtracted in 200 components = 0.0073175 Jy ! Clean residual min=-0.006793 max=0.007371 Jy/beam ! Clean residual mean=-0.000094 rms=0.001729 Jy/beam ! Combined flux in latest and established models = 1.98145 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 69 components and 1.98145 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.222514Jy sigma=0.001466 ! Fit after self-cal, rms=0.222497Jy sigma=0.001466 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) ! Added new window around map position (-11.5, -27). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00582088 Jy ! Component: 100 - total flux cleaned = 0.00616818 Jy ! Component: 150 - total flux cleaned = 0.00646802 Jy ! Component: 200 - total flux cleaned = 0.00646737 Jy ! Total flux subtracted in 200 components = 0.00646737 Jy ! Clean residual min=-0.006745 max=0.005761 Jy/beam ! Clean residual mean=-0.000195 rms=0.001583 Jy/beam ! Combined flux in latest and established models = 1.98791 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 80 components and 1.98791 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.222202Jy sigma=0.001463 ! Fit after self-cal, rms=0.222198Jy sigma=0.001463 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.222198Jy sigma=0.001463 ! Fit after self-cal, rms=0.222110Jy sigma=0.001463 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.363 mas, bmaj=6.698 mas, bpa=30.09 degrees ! Estimated noise=843.009 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00431192 Jy ! Component: 100 - total flux cleaned = 0.00472625 Jy ! Component: 150 - total flux cleaned = 0.00510378 Jy ! Component: 200 - total flux cleaned = 0.00509766 Jy ! Total flux subtracted in 200 components = 0.00509766 Jy ! Clean residual min=-0.006446 max=0.005283 Jy/beam ! Clean residual mean=-0.000233 rms=0.001490 Jy/beam ! Combined flux in latest and established models = 1.99301 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 87 components and 1.99301 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.221917Jy sigma=0.001462 ! Fit after self-cal, rms=0.221913Jy sigma=0.001461 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.000437609 Jy ! Component: 100 - total flux cleaned = 0.000552193 Jy ! Component: 150 - total flux cleaned = 0.000549718 Jy ! Component: 200 - total flux cleaned = 0.000652346 Jy ! Total flux subtracted in 200 components = 0.000652346 Jy ! Clean residual min=-0.006351 max=0.005031 Jy/beam ! Clean residual mean=-0.000243 rms=0.001453 Jy/beam ! Combined flux in latest and established models = 1.99366 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 93 components and 1.99366 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.221801Jy sigma=0.001461 ! Fit after self-cal, rms=0.221804Jy sigma=0.001461 ! 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 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.221804Jy sigma=0.001461 ! Fit after self-cal, rms=0.221906Jy sigma=0.001460 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.279 mas, bmaj=14.33 mas, bpa=-5.382 degrees ! Estimated noise=971.34 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00292331 Jy ! Component: 100 - total flux cleaned = 0.00344565 Jy ! Component: 150 - total flux cleaned = 0.00356627 Jy ! Component: 200 - total flux cleaned = 0.00351665 Jy ! Total flux subtracted in 200 components = 0.00351665 Jy ! Clean residual min=-0.005243 max=0.004832 Jy/beam ! Clean residual mean=-0.000492 rms=0.001415 Jy/beam ! Combined flux in latest and established models = 1.99718 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 113 components and 1.99718 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.221821Jy sigma=0.001460 ! Fit after self-cal, rms=0.221815Jy sigma=0.001460 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.000110914 Jy ! Component: 100 - total flux cleaned = 1.47872e-05 Jy ! Component: 150 - total flux cleaned = -0.00011902 Jy ! Component: 200 - total flux cleaned = -0.000117775 Jy ! Total flux subtracted in 200 components = -0.000117775 Jy ! Clean residual min=-0.005160 max=0.004765 Jy/beam ! Clean residual mean=-0.000489 rms=0.001399 Jy/beam ! Combined flux in latest and established models = 1.99706 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 121 components and 1.99706 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.221787Jy sigma=0.001460 ! Fit after self-cal, rms=0.221787Jy sigma=0.001460 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Estimated beam: bmin=2.36 mas, bmaj=6.696 mas, bpa=30.11 degrees ! Estimated noise=843.803 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.36 x 6.696 at 30.11 degrees (North through East) ! Clean map min=-0.014129 max=1.6053 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam 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) selfcal true, true end if ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.221787Jy sigma=0.001460 ! Fit after self-cal, rms=0.181318Jy sigma=0.001123 ! Inverting map and beam ! Estimated beam: bmin=2.361 mas, bmaj=6.706 mas, bpa=30.15 degrees ! Estimated noise=844.053 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000578103 Jy ! Component: 100 - total flux cleaned = -0.000476613 Jy ! Component: 150 - total flux cleaned = -0.000389932 Jy ! Component: 200 - total flux cleaned = -0.000313 Jy ! Total flux subtracted in 200 components = -0.000313 Jy ! Clean residual min=-0.003900 max=0.003559 Jy/beam ! Clean residual mean=-0.000018 rms=0.000977 Jy/beam ! Combined flux in latest and established models = 1.99675 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 134 components and 1.99675 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.181224Jy sigma=0.001123 ! Fit after self-cal, rms=0.181217Jy sigma=0.001122 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000332961 Jy ! Component: 100 - total flux cleaned = 0.000401004 Jy ! Component: 150 - total flux cleaned = 0.000464553 Jy ! Component: 200 - total flux cleaned = 0.000639593 Jy ! Total flux subtracted in 200 components = 0.000639593 Jy ! Clean residual min=-0.003748 max=0.003478 Jy/beam ! Clean residual mean=-0.000027 rms=0.000952 Jy/beam ! Combined flux in latest and established models = 1.99739 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 140 components and 1.99739 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.181168Jy sigma=0.001122 ! Fit after self-cal, rms=0.181164Jy sigma=0.001122 ! Inverting map ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.181164Jy sigma=0.001122 ! Fit after self-cal, rms=0.181170Jy sigma=0.001122 print "************** CLEARING MODEL AND STARTING OVER **********" ! ************** CLEARING MODEL AND STARTING OVER ********** clrmod true ! clrmod: Cleared the established and tentative models. 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. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.701 mas, bmaj=4.858 mas, bpa=27.89 degrees ! Estimated noise=1614.33 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.15587 Jy ! Component: 100 - total flux cleaned = 1.5331 Jy ! Component: 150 - total flux cleaned = 1.72772 Jy ! Component: 200 - total flux cleaned = 1.82973 Jy ! Total flux subtracted in 200 components = 1.82973 Jy ! Clean residual min=-0.019035 max=0.048668 Jy/beam ! Clean residual mean=0.000211 rms=0.006055 Jy/beam ! Combined flux in latest and established models = 1.82973 Jy 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. flux_cutoff = imstat(rms) * dynam ! Adding 23 model components to the UV plane model. ! The established model now contains 23 components and 1.82973 Jy ! Inverting map and beam ! Estimated beam: bmin=2.36 mas, bmaj=6.707 mas, bpa=30.16 degrees ! Estimated noise=844.13 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0770635 Jy ! Component: 100 - total flux cleaned = 0.113227 Jy ! Component: 150 - total flux cleaned = 0.13347 Jy ! Component: 200 - total flux cleaned = 0.14606 Jy ! Total flux subtracted in 200 components = 0.14606 Jy ! Clean residual min=-0.005743 max=0.009622 Jy/beam ! Clean residual mean=0.000317 rms=0.001720 Jy/beam ! Combined flux in latest and established models = 1.97579 Jy ! Adding 40 model components to the UV plane model. ! The established model now contains 54 components and 1.97579 Jy ! Inverting map ! Added new window around map position (2, 6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00989577 Jy ! Component: 100 - total flux cleaned = 0.0139219 Jy ! Component: 150 - total flux cleaned = 0.0163047 Jy ! Component: 200 - total flux cleaned = 0.0177215 Jy ! Total flux subtracted in 200 components = 0.0177215 Jy ! Clean residual min=-0.004842 max=0.004464 Jy/beam ! Clean residual mean=0.000054 rms=0.001194 Jy/beam ! Combined flux in latest and established models = 1.99351 Jy ! Adding 20 model components to the UV plane model. ! The established model now contains 71 components and 1.99351 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.28 mas, bmaj=14.32 mas, bpa=-5.304 degrees ! Estimated noise=971.369 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00367284 Jy ! Component: 100 - total flux cleaned = 0.00469935 Jy ! Component: 150 - total flux cleaned = 0.00495541 Jy ! Component: 200 - total flux cleaned = 0.00510928 Jy ! Total flux subtracted in 200 components = 0.00510928 Jy ! Clean residual min=-0.002951 max=0.003179 Jy/beam ! Clean residual mean=-0.000038 rms=0.000974 Jy/beam ! Combined flux in latest and established models = 1.99862 Jy flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00013996 Jy ! Component: 100 - total flux cleaned = 0.00033509 Jy ! Component: 150 - total flux cleaned = 0.000395369 Jy ! Component: 200 - total flux cleaned = 0.00039452 Jy ! Total flux subtracted in 200 components = 0.00039452 Jy ! Clean residual min=-0.002854 max=0.003083 Jy/beam ! Clean residual mean=-0.000046 rms=0.000934 Jy/beam ! Combined flux in latest and established models = 1.99901 Jy ! Adding 45 model components to the UV plane model. ! The established model now contains 114 components and 1.99901 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=2.36 mas, bmaj=6.707 mas, bpa=30.16 degrees ! Estimated noise=844.13 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00122398 Jy ! Component: 100 - total flux cleaned = -0.00152868 Jy ! Component: 150 - total flux cleaned = -0.0016624 Jy ! Component: 200 - total flux cleaned = -0.00165956 Jy ! Total flux subtracted in 200 components = -0.00165956 Jy ! Clean residual min=-0.003916 max=0.003680 Jy/beam ! Clean residual mean=-0.000002 rms=0.001007 Jy/beam ! Combined flux in latest and established models = 1.99735 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 124 components and 1.99735 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.181575Jy sigma=0.001124 ! Fit after self-cal, rms=0.181507Jy sigma=0.001124 wmodel J2158-1501_S_2001_04_09_pus_map.mod ! Writing 124 model components to file: J2158-1501_S_2001_04_09_pus_map.mod wobs J2158-1501_S_2001_04_09_pus_uvs.fits ! Writing UV FITS file: J2158-1501_S_2001_04_09_pus_uvs.fits wwins J2158-1501_S_2001_04_09_pus_map.win ! wwins: Wrote 4 windows to J2158-1501_S_2001_04_09_pus_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = 0.000437198 Jy ! Component: 100 - total flux cleaned = 0.000559592 Jy ! Component: 150 - total flux cleaned = 0.000559478 Jy ! Component: 200 - total flux cleaned = 0.000500016 Jy ! Component: 250 - total flux cleaned = 0.000443252 Jy ! Component: 300 - total flux cleaned = 0.000499162 Jy ! Component: 350 - total flux cleaned = 0.000661491 Jy ! Component: 400 - total flux cleaned = 0.000661625 Jy ! Component: 450 - total flux cleaned = 0.000817376 Jy ! Component: 500 - total flux cleaned = 0.000971089 Jy ! Component: 550 - total flux cleaned = 0.00117111 Jy ! Component: 600 - total flux cleaned = 0.00126917 Jy ! Component: 650 - total flux cleaned = 0.00141454 Jy ! Component: 700 - total flux cleaned = 0.00155666 Jy ! Component: 750 - total flux cleaned = 0.00164932 Jy ! Component: 800 - total flux cleaned = 0.00169531 Jy ! Component: 850 - total flux cleaned = 0.00183127 Jy ! Component: 900 - total flux cleaned = 0.00205409 Jy ! Component: 950 - total flux cleaned = 0.00205436 Jy ! Component: 1000 - total flux cleaned = 0.00218462 Jy ! Component: 1050 - total flux cleaned = 0.00226998 Jy ! Component: 1100 - total flux cleaned = 0.00227013 Jy ! Component: 1150 - total flux cleaned = 0.00239505 Jy ! Component: 1200 - total flux cleaned = 0.00235385 Jy ! Component: 1250 - total flux cleaned = 0.00247596 Jy ! Component: 1300 - total flux cleaned = 0.00247609 Jy ! Component: 1350 - total flux cleaned = 0.00251607 Jy ! Component: 1400 - total flux cleaned = 0.00259469 Jy ! Component: 1450 - total flux cleaned = 0.00275064 Jy ! Component: 1500 - total flux cleaned = 0.00275056 Jy ! Component: 1550 - total flux cleaned = 0.00286506 Jy ! Component: 1600 - total flux cleaned = 0.00290232 Jy ! Component: 1650 - total flux cleaned = 0.00293973 Jy ! Component: 1700 - total flux cleaned = 0.00305044 Jy ! Component: 1750 - total flux cleaned = 0.00301371 Jy ! Component: 1800 - total flux cleaned = 0.00305027 Jy ! Component: 1850 - total flux cleaned = 0.0031588 Jy ! Component: 1900 - total flux cleaned = 0.00323022 Jy ! Component: 1950 - total flux cleaned = 0.0032656 Jy ! Component: 2000 - total flux cleaned = 0.00326555 Jy ! Total flux subtracted in 2048 components = 0.00326566 Jy ! Clean residual min=-0.002278 max=0.001972 Jy/beam ! Clean residual mean=-0.000024 rms=0.000644 Jy/beam ! Combined flux in latest and established models = 2.00062 Jy keep ! Adding 124 model components to the UV plane model. ! The established model now contains 245 components and 2.00062 Jy ![Exited script file: muppet] wmap "J2158-1501_S_2001_04_09_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.36 x 6.707 at 30.16 degrees (North through East) ! Clean map min=-0.00751 max=1.6187 Jy/beam ! Writing clean map to FITS file: J2158-1501_S_2001_04_09_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 1.61865 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000647949 device "J2158-1501_S_2001_04_09_pus\_map.eps/VPS" ! Attempting to open device: 'J2158-1501_S_2001_04_09_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.120091 0.120091 0.240181 0.480362 0.960725 1.92145 3.8429 7.6858 15.3716 30.7432 61.4864 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0019 print "peak=",int(1000*peak_flux)/1000 ! peak= 1.618 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.36 x 6.707 at 30.16 degrees (North through East) ! Clean map min=-0.00751 max=1.6187 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J2158-1501_S_2001_04_09_pus\_map.gif/vgif" ! Attempting to open device: 'J2158-1501_S_2001_04_09_pus_map.gif/vgif' mapplot cln quit ! Quitting program ! Log file J2158-1501_S_2001_04_09_pus_uvs.log closed on Mon Oct 8 12:20:48 2007