! Started logfile: J0958+4725_S_2009_04_21_pus_uvs.log on Mon Jan 24 18:28:08 2011 obs J0958+4725_S_2009_04_21_pus_uva.fits ! Reading UV FITS file: J0958+4725_S_2009_04_21_pus_uva.fits ! AN table 1: 24 integrations on 120 of 120 possible baselines. ! AN table 2: 25 integrations on 120 of 120 possible baselines. ! AN table 3: 14 integrations on 120 of 120 possible baselines. ! AN table 4: 135 integrations on 120 of 120 possible baselines. ! Apparent sampling: 0.167635 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0958+4725 ! ! 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.23697e+09 8e+06 1 8e+06 ! 02 2 2.26697e+09 8e+06 1 8e+06 ! 03 3 2.35697e+09 8e+06 1 8e+06 ! 04 4 2.37697e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 1864 lines of history. ! ! Reading 15932 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 J0958+4725_S_2009_04_21_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 266 telescope corrections were flagged in sub-array 1. ! A total of 277 telescope corrections were flagged in sub-array 2. ! A total of 162 telescope corrections were flagged in sub-array 3. ! A total of 1496 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 2. ! A total of 266 telescope corrections were flagged in sub-array 1. ! A total of 277 telescope corrections were flagged in sub-array 2. ! A total of 162 telescope corrections were flagged in sub-array 3. ! A total of 1496 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 3. ! A total of 266 telescope corrections were flagged in sub-array 1. ! A total of 277 telescope corrections were flagged in sub-array 2. ! A total of 162 telescope corrections were flagged in sub-array 3. ! A total of 1496 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 4. ! A total of 266 telescope corrections were flagged in sub-array 1. ! A total of 277 telescope corrections were flagged in sub-array 2. ! A total of 162 telescope corrections were flagged in sub-array 3. ! A total of 1496 telescope corrections were flagged in sub-array 4. ! ! Fit before self-cal, rms=0.456347Jy sigma=0.003766 ! Fit after self-cal, rms=0.394364Jy sigma=0.003329 ! 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.747 mas, bmaj=2.617 mas, bpa=4.099 degrees ! Estimated noise=1029.79 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.923099 Jy ! Component: 100 - total flux cleaned = 1.13698 Jy ! Total flux subtracted in 100 components = 1.13698 Jy ! Clean residual min=-0.032604 max=0.084441 Jy/beam ! Clean residual mean=0.000051 rms=0.008408 Jy/beam ! Combined flux in latest and established models = 1.13698 Jy ! Performing phase self-cal ! Adding 4 model components to the UV plane model. ! The established model now contains 4 components and 1.13698 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.328425Jy sigma=0.002873 ! Fit after self-cal, rms=0.328340Jy sigma=0.002873 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0938365 Jy ! Component: 100 - total flux cleaned = 0.143646 Jy ! Total flux subtracted in 100 components = 0.143646 Jy ! Clean residual min=-0.034426 max=0.031572 Jy/beam ! Clean residual mean=-0.000161 rms=0.007495 Jy/beam ! Combined flux in latest and established models = 1.28063 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 8 components and 1.28063 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.293540Jy sigma=0.002630 ! Fit after self-cal, rms=0.293467Jy sigma=0.002630 ! 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=1.993 mas, bmaj=2.98 mas, bpa=1.294 degrees ! Estimated noise=691.333 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.0396132 Jy ! Component: 100 - total flux cleaned = 0.061894 Jy ! Component: 150 - total flux cleaned = 0.0750648 Jy ! Component: 200 - total flux cleaned = 0.0829448 Jy ! Total flux subtracted in 200 components = 0.0829448 Jy ! Clean residual min=-0.038051 max=0.023700 Jy/beam ! Clean residual mean=-0.005106 rms=0.006541 Jy/beam ! Combined flux in latest and established models = 1.36357 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 14 components and 1.36357 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.287269Jy sigma=0.002598 ! Fit after self-cal, rms=0.287230Jy sigma=0.002598 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.01 HN 1.37 KB 1.00* ! KK 1.00* KP 0.95 LA 1.05 MK 1.00* ! NL 1.00 NY 1.30 OV 0.99 PT 1.05 ! SC 1.00* TS 1.00* WZ 0.89 ZC 1.18 ! ! A total of 12 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.04 FD 1.00* HN 0.99 KB 2.98 ! KK 1.00* KP 1.00* LA 1.00* MK 1.00* ! NL 1.02 NY 0.96 OV 1.00* PT 1.00* ! SC 1.09 TS 1.11 WZ 0.86 ZC 1.40 ! ! A total of 9 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.00* FD 1.00* HN 1.18 KB 1.00* ! KK 1.00* KP 1.00* LA 1.00* MK 1.00* ! NL 1.01 NY 1.07 OV 1.00* PT 1.00* ! SC 1.02 TS 1.00* WZ 0.94 ZC 1.26 ! ! A total of 45 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.94 FD 1.00 HN 1.08 KB 0.92 ! KK 1.06 KP 0.88 LA 1.04 MK 0.97 ! NL 0.98 NY 0.97 OV 0.93 PT 0.99 ! SC 1.06 TS 1.01 WZ 0.97 ZC 1.21 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.02 HN 1.19 KB 1.00* ! KK 1.00* KP 1.03 LA 1.01 MK 1.00* ! NL 1.00 NY 1.28 OV 1.08 PT 1.03 ! SC 1.00* TS 1.00* WZ 0.84 ZC 1.02 ! ! A total of 12 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.04 FD 1.00* HN 1.00 KB 3.12 ! KK 1.00* KP 1.00* LA 1.00* MK 1.00* ! NL 1.03 NY 0.99 OV 1.00* PT 1.00* ! SC 1.11 TS 1.07 WZ 0.78 ZC 1.20 ! ! A total of 9 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.00* FD 1.00* HN 1.08 KB 1.00* ! KK 1.00* KP 1.00* LA 1.00* MK 1.00* ! NL 1.01 NY 0.93 OV 1.00* PT 1.00* ! SC 1.12 TS 1.00* WZ 0.92 ZC 1.09 ! ! A total of 45 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.97 FD 0.99 HN 1.04 KB 0.98 ! KK 0.99 KP 0.98 LA 0.98 MK 0.98 ! NL 0.97 NY 0.94 OV 0.97 PT 0.97 ! SC 1.09 TS 0.97 WZ 0.91 ZC 1.07 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.02 HN 1.36 KB 1.00* ! KK 1.00* KP 1.04 LA 1.02 MK 1.00* ! NL 1.01 NY 1.30 OV 1.05 PT 1.06 ! SC 1.00* TS 1.00* WZ 0.76 ZC 0.88 ! ! A total of 12 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.12 FD 1.00* HN 1.01 KB 3.42 ! KK 1.00* KP 1.00* LA 1.00* MK 1.00* ! NL 1.05 NY 0.95 OV 1.00* PT 1.00* ! SC 1.02 TS 1.09 WZ 0.74 ZC 1.04 ! ! A total of 9 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.00* FD 1.00* HN 1.36 KB 1.00* ! KK 1.00* KP 1.00* LA 1.00* MK 1.00* ! NL 0.98 NY 0.92 OV 1.00* PT 1.00* ! SC 1.03 TS 1.00* WZ 0.83 ZC 0.93 ! ! A total of 45 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 1.00 FD 0.97 HN 1.08 KB 1.01 ! KK 1.01 KP 0.98 LA 0.99 MK 0.98 ! NL 0.97 NY 0.92 OV 0.98 PT 1.03 ! SC 1.00 TS 1.03 WZ 0.84 ZC 0.94 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.02 HN 1.22 KB 1.00* ! KK 1.00* KP 1.03 LA 1.03 MK 1.00* ! NL 1.00 NY 1.28 OV 0.89 PT 0.94 ! SC 1.00* TS 1.00* WZ 0.72 ZC 0.87 ! ! A total of 12 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.09 FD 1.00* HN 0.98 KB 3.23 ! KK 1.00* KP 1.00* LA 1.00* MK 1.00* ! NL 1.00 NY 0.94 OV 1.00* PT 1.00* ! SC 1.05 TS 1.11 WZ 0.70 ZC 1.06 ! ! A total of 9 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.00* FD 1.00* HN 1.23 KB 1.00* ! KK 1.00* KP 1.00* LA 1.00* MK 1.00* ! NL 1.02 NY 0.94 OV 1.00* PT 1.00* ! SC 1.01 TS 1.00* WZ 0.80 ZC 0.95 ! ! A total of 45 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.92 FD 0.97 HN 1.07 KB 1.03 ! KK 0.99 KP 0.99 LA 0.99 MK 0.98 ! NL 0.98 NY 0.90 OV 0.82 PT 0.89 ! SC 1.03 TS 1.01 WZ 0.82 ZC 0.94 ! ! ! Fit before self-cal, rms=0.287230Jy sigma=0.002598 ! Fit after self-cal, rms=0.212617Jy sigma=0.001543 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.021 mas, bmaj=2.959 mas, bpa=2.246 degrees ! Estimated noise=693.664 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.0072859 Jy ! Component: 100 - total flux cleaned = -0.00732614 Jy ! Component: 150 - total flux cleaned = -0.00769092 Jy ! Component: 200 - total flux cleaned = -0.00768183 Jy ! Total flux subtracted in 200 components = -0.00768183 Jy ! Clean residual min=-0.007597 max=0.010778 Jy/beam ! Clean residual mean=0.000597 rms=0.002133 Jy/beam ! Combined flux in latest and established models = 1.35589 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 25 components and 1.35589 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.210992Jy sigma=0.001518 ! Fit after self-cal, rms=0.211056Jy sigma=0.001517 ! Inverting map ! Added new window around map position (6, 12). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00496918 Jy ! Component: 100 - total flux cleaned = 0.00592285 Jy ! Component: 150 - total flux cleaned = 0.00689378 Jy ! Component: 200 - total flux cleaned = 0.007217 Jy ! Total flux subtracted in 200 components = 0.007217 Jy ! Clean residual min=-0.007458 max=0.009897 Jy/beam ! Clean residual mean=0.000467 rms=0.002062 Jy/beam ! Combined flux in latest and established models = 1.36311 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 39 components and 1.36311 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.210503Jy sigma=0.001512 ! Fit after self-cal, rms=0.210446Jy sigma=0.001511 ! 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.210446Jy sigma=0.001511 ! Fit after self-cal, rms=0.201613Jy sigma=0.001406 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.026 mas, bmaj=2.973 mas, bpa=1.845 degrees ! Estimated noise=694.723 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00711941 Jy ! Component: 100 - total flux cleaned = -0.00950439 Jy ! Component: 150 - total flux cleaned = -0.0100362 Jy ! Component: 200 - total flux cleaned = -0.0104989 Jy ! Total flux subtracted in 200 components = -0.0104989 Jy ! Clean residual min=-0.004983 max=0.006022 Jy/beam ! Clean residual mean=0.000013 rms=0.001402 Jy/beam ! Combined flux in latest and established models = 1.35261 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 45 components and 1.35261 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.201263Jy sigma=0.001403 ! Fit after self-cal, rms=0.201299Jy sigma=0.001403 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.000858021 Jy ! Component: 100 - total flux cleaned = -0.000949842 Jy ! Component: 150 - total flux cleaned = -0.000950313 Jy ! Component: 200 - total flux cleaned = -0.0010191 Jy ! Total flux subtracted in 200 components = -0.0010191 Jy ! Clean residual min=-0.004918 max=0.005984 Jy/beam ! Clean residual mean=0.000031 rms=0.001394 Jy/beam ! Combined flux in latest and established models = 1.35159 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 53 components and 1.35159 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.201219Jy sigma=0.001403 ! Fit after self-cal, rms=0.201219Jy sigma=0.001403 ! 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.201219Jy sigma=0.001403 ! Fit after self-cal, rms=0.197557Jy sigma=0.001373 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.028 mas, bmaj=2.979 mas, bpa=1.813 degrees ! Estimated noise=694.418 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00445118 Jy ! Component: 100 - total flux cleaned = -0.00600754 Jy ! Component: 150 - total flux cleaned = -0.00658251 Jy ! Component: 200 - total flux cleaned = -0.00691446 Jy ! Total flux subtracted in 200 components = -0.00691446 Jy ! Clean residual min=-0.003830 max=0.004558 Jy/beam ! Clean residual mean=0.000089 rms=0.001018 Jy/beam ! Combined flux in latest and established models = 1.34468 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 59 components and 1.34468 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.197405Jy sigma=0.001371 ! Fit after self-cal, rms=0.197427Jy sigma=0.001371 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 (19.5, -60.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00415076 Jy ! Component: 100 - total flux cleaned = 0.00437107 Jy ! Component: 150 - total flux cleaned = 0.00460281 Jy ! Component: 200 - total flux cleaned = 0.00452758 Jy ! Total flux subtracted in 200 components = 0.00452758 Jy ! Clean residual min=-0.003524 max=0.003913 Jy/beam ! Clean residual mean=0.000003 rms=0.000984 Jy/beam ! Combined flux in latest and established models = 1.3492 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 77 components and 1.3492 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.197299Jy sigma=0.001371 ! Fit after self-cal, rms=0.197296Jy sigma=0.001370 ! 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.197296Jy sigma=0.001370 ! Fit after self-cal, rms=0.197249Jy sigma=0.001370 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.615 mas, bmaj=9.536 mas, bpa=24.21 degrees ! Estimated noise=1127.72 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00246079 Jy ! Component: 100 - total flux cleaned = -0.00216883 Jy ! Component: 150 - total flux cleaned = -0.00197891 Jy ! Component: 200 - total flux cleaned = -0.00187289 Jy ! Total flux subtracted in 200 components = -0.00187289 Jy ! Clean residual min=-0.005000 max=0.005956 Jy/beam ! Clean residual mean=0.000298 rms=0.001882 Jy/beam ! Combined flux in latest and established models = 1.34733 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 88 components and 1.34733 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.197232Jy sigma=0.001370 ! Fit after self-cal, rms=0.197229Jy sigma=0.001370 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 = -5.98592e-06 Jy ! Component: 100 - total flux cleaned = 0.000159506 Jy ! Component: 150 - total flux cleaned = 0.000255975 Jy ! Component: 200 - total flux cleaned = 0.000299121 Jy ! Total flux subtracted in 200 components = 0.000299121 Jy ! Clean residual min=-0.004957 max=0.005881 Jy/beam ! Clean residual mean=0.000288 rms=0.001866 Jy/beam ! Combined flux in latest and established models = 1.34763 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 89 components and 1.34763 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.197276Jy sigma=0.001370 ! Fit after self-cal, rms=0.197277Jy sigma=0.001370 ! 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.029 mas, bmaj=2.982 mas, bpa=1.791 degrees ! Estimated noise=693.896 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.029 x 2.982 at 1.791 degrees (North through East) ! Clean map min=-0.0032757 max=1.2148 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.197277Jy sigma=0.001370 ! Fit after self-cal, rms=0.184796Jy sigma=0.001241 ! Inverting map and beam ! Estimated beam: bmin=2.029 mas, bmaj=2.984 mas, bpa=1.76 degrees ! Estimated noise=693.726 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0023458 Jy ! Component: 100 - total flux cleaned = -0.00320725 Jy ! Component: 150 - total flux cleaned = -0.00371108 Jy ! Component: 200 - total flux cleaned = -0.00423861 Jy ! Total flux subtracted in 200 components = -0.00423861 Jy ! Clean residual min=-0.003028 max=0.003892 Jy/beam ! Clean residual mean=0.000173 rms=0.000889 Jy/beam ! Combined flux in latest and established models = 1.34339 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 96 components and 1.34339 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.184688Jy sigma=0.001240 ! Fit after self-cal, rms=0.184673Jy sigma=0.001240 ! Inverting map ! Added new window around map position (-29, 38.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00144386 Jy ! Component: 100 - total flux cleaned = 0.00144588 Jy ! Component: 150 - total flux cleaned = 0.00122234 Jy ! Component: 200 - total flux cleaned = 0.00101693 Jy ! Total flux subtracted in 200 components = 0.00101693 Jy ! Clean residual min=-0.003054 max=0.003742 Jy/beam ! Clean residual mean=0.000153 rms=0.000872 Jy/beam ! Combined flux in latest and established models = 1.34441 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 104 components and 1.34441 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.184566Jy sigma=0.001239 ! Fit after self-cal, rms=0.184562Jy sigma=0.001239 ! Inverting map ! Added new window around map position (-59, -19.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00322908 Jy ! Component: 100 - total flux cleaned = 0.00363228 Jy ! Component: 150 - total flux cleaned = 0.00348781 Jy ! Component: 200 - total flux cleaned = 0.00329163 Jy ! Total flux subtracted in 200 components = 0.00329163 Jy ! Clean residual min=-0.002956 max=0.003577 Jy/beam ! Clean residual mean=0.000100 rms=0.000859 Jy/beam ! Combined flux in latest and established models = 1.3477 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 113 components and 1.3477 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.184463Jy sigma=0.001238 ! Fit after self-cal, rms=0.184459Jy sigma=0.001238 ! 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.184459Jy sigma=0.001238 ! Fit after self-cal, rms=0.184389Jy sigma=0.001238 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.777 mas, bmaj=2.61 mas, bpa=4.469 degrees ! Estimated noise=1040.95 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.931782 Jy ! Component: 100 - total flux cleaned = 1.14054 Jy ! Component: 150 - total flux cleaned = 1.22029 Jy ! Component: 200 - total flux cleaned = 1.26168 Jy ! Total flux subtracted in 200 components = 1.26168 Jy ! Clean residual min=-0.006368 max=0.019740 Jy/beam ! Clean residual mean=0.000113 rms=0.001838 Jy/beam ! Combined flux in latest and established models = 1.26168 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 9 model components to the UV plane model. ! The established model now contains 9 components and 1.26168 Jy ! Inverting map and beam ! Estimated beam: bmin=2.029 mas, bmaj=2.986 mas, bpa=1.735 degrees ! Estimated noise=693.289 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.0307111 Jy ! Component: 100 - total flux cleaned = 0.047499 Jy ! Component: 150 - total flux cleaned = 0.0571422 Jy ! Component: 200 - total flux cleaned = 0.0638845 Jy ! Total flux subtracted in 200 components = 0.0638845 Jy ! Clean residual min=-0.003195 max=0.005093 Jy/beam ! Clean residual mean=0.000487 rms=0.000957 Jy/beam ! Combined flux in latest and established models = 1.32556 Jy ! Adding 24 model components to the UV plane model. ! The established model now contains 26 components and 1.32556 Jy ! Inverting map ! Added new window around map position (5.5, -5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00584837 Jy ! Component: 100 - total flux cleaned = 0.0103561 Jy ! Component: 150 - total flux cleaned = 0.0132031 Jy ! Component: 200 - total flux cleaned = 0.0159293 Jy ! Total flux subtracted in 200 components = 0.0159293 Jy ! Clean residual min=-0.003190 max=0.003584 Jy/beam ! Clean residual mean=0.000201 rms=0.000876 Jy/beam ! Combined flux in latest and established models = 1.34149 Jy ! Adding 29 model components to the UV plane model. ! The established model now contains 43 components and 1.34149 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.611 mas, bmaj=9.536 mas, bpa=24.15 degrees ! Estimated noise=1125.69 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00407312 Jy ! Component: 100 - total flux cleaned = 0.00560317 Jy ! Component: 150 - total flux cleaned = 0.00601589 Jy ! Component: 200 - total flux cleaned = 0.00624137 Jy ! Total flux subtracted in 200 components = 0.00624137 Jy ! Clean residual min=-0.003913 max=0.004294 Jy/beam ! Clean residual mean=0.000384 rms=0.001291 Jy/beam ! Combined flux in latest and established models = 1.34773 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.000143686 Jy ! Component: 100 - total flux cleaned = 0.000354283 Jy ! Component: 150 - total flux cleaned = 0.000430418 Jy ! Component: 200 - total flux cleaned = 0.000499602 Jy ! Total flux subtracted in 200 components = 0.000499602 Jy ! Clean residual min=-0.004037 max=0.004224 Jy/beam ! Clean residual mean=0.000347 rms=0.001290 Jy/beam ! Combined flux in latest and established models = 1.34823 Jy ! Adding 25 model components to the UV plane model. ! The established model now contains 65 components and 1.34823 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=2.029 mas, bmaj=2.986 mas, bpa=1.735 degrees ! Estimated noise=693.289 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000110761 Jy ! Component: 100 - total flux cleaned = 0.000313198 Jy ! Component: 150 - total flux cleaned = 0.000309986 Jy ! Component: 200 - total flux cleaned = 0.00022497 Jy ! Total flux subtracted in 200 components = 0.00022497 Jy ! Clean residual min=-0.003369 max=0.003434 Jy/beam ! Clean residual mean=0.000084 rms=0.000850 Jy/beam ! Combined flux in latest and established models = 1.34846 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 83 components and 1.34846 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.184326Jy sigma=0.001238 ! Fit after self-cal, rms=0.184301Jy sigma=0.001238 wmodel J0958+4725_S_2009_04_21_pus_map.mod ! Writing 83 model components to file: J0958+4725_S_2009_04_21_pus_map.mod wobs J0958+4725_S_2009_04_21_pus_uvs.fits ! Writing UV FITS file: J0958+4725_S_2009_04_21_pus_uvs.fits wwins J0958+4725_S_2009_04_21_pus_map.win ! wwins: Wrote 6 windows to J0958+4725_S_2009_04_21_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.00113597 Jy ! Component: 100 - total flux cleaned = 0.0018487 Jy ! Component: 150 - total flux cleaned = 0.00252979 Jy ! Component: 200 - total flux cleaned = 0.00296895 Jy ! Component: 250 - total flux cleaned = 0.00323676 Jy ! Component: 300 - total flux cleaned = 0.00339453 Jy ! Component: 350 - total flux cleaned = 0.00365103 Jy ! Component: 400 - total flux cleaned = 0.00390174 Jy ! Component: 450 - total flux cleaned = 0.00409859 Jy ! Component: 500 - total flux cleaned = 0.00419554 Jy ! Component: 550 - total flux cleaned = 0.00429153 Jy ! Component: 600 - total flux cleaned = 0.00438618 Jy ! Component: 650 - total flux cleaned = 0.00433942 Jy ! Component: 700 - total flux cleaned = 0.00443192 Jy ! Component: 750 - total flux cleaned = 0.0044318 Jy ! Component: 800 - total flux cleaned = 0.00452235 Jy ! Component: 850 - total flux cleaned = 0.0044325 Jy ! Component: 900 - total flux cleaned = 0.004433 Jy ! Component: 950 - total flux cleaned = 0.00452172 Jy ! Component: 1000 - total flux cleaned = 0.0044778 Jy ! Component: 1050 - total flux cleaned = 0.00452136 Jy ! Component: 1100 - total flux cleaned = 0.00452135 Jy ! Component: 1150 - total flux cleaned = 0.00452112 Jy ! Component: 1200 - total flux cleaned = 0.00447841 Jy ! Component: 1250 - total flux cleaned = 0.00443617 Jy ! Component: 1300 - total flux cleaned = 0.00443599 Jy ! Component: 1350 - total flux cleaned = 0.00439443 Jy ! Component: 1400 - total flux cleaned = 0.00439441 Jy ! Component: 1450 - total flux cleaned = 0.00439425 Jy ! Component: 1500 - total flux cleaned = 0.00435322 Jy ! Component: 1550 - total flux cleaned = 0.00435319 Jy ! Component: 1600 - total flux cleaned = 0.00431288 Jy ! Component: 1650 - total flux cleaned = 0.00439301 Jy ! Component: 1700 - total flux cleaned = 0.00439287 Jy ! Component: 1750 - total flux cleaned = 0.00431326 Jy ! Component: 1800 - total flux cleaned = 0.00431338 Jy ! Component: 1850 - total flux cleaned = 0.00439199 Jy ! Component: 1900 - total flux cleaned = 0.00435307 Jy ! Component: 1950 - total flux cleaned = 0.00439189 Jy ! Component: 2000 - total flux cleaned = 0.00443038 Jy ! Total flux subtracted in 2048 components = 0.00435361 Jy ! Clean residual min=-0.002510 max=0.002348 Jy/beam ! Clean residual mean=0.000010 rms=0.000710 Jy/beam ! Combined flux in latest and established models = 1.35281 Jy keep ! Adding 165 model components to the UV plane model. ! The established model now contains 248 components and 1.35281 Jy ![Exited script file: muppet] wmap "J0958+4725_S_2009_04_21_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.029 x 2.986 at 1.735 degrees (North through East) ! Clean map min=-0.0032517 max=1.216 Jy/beam ! Writing clean map to FITS file: J0958+4725_S_2009_04_21_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 1.216 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00070954 device "J0958+4725_S_2009_04_21_pus\_map.eps/VPS" ! Attempting to open device: 'J0958+4725_S_2009_04_21_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.17505 0.17505 0.350101 0.700201 1.4004 2.8008 5.60161 11.2032 22.4064 44.8129 89.6258 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0021 print "peak=",int(1000*peak_flux)/1000 ! peak= 1.216 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.029 x 2.986 at 1.735 degrees (North through East) ! Clean map min=-0.0032517 max=1.216 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0958+4725_S_2009_04_21_pus\_map.gif/vgif" ! Attempting to open device: 'J0958+4725_S_2009_04_21_pus_map.gif/vgif' mapplot cln