! Started logfile: J0956+2515_S_2011_08_02_pus_uvs.log on Thu Apr 19 13:14:41 2012 obs J0956+2515_S_2011_08_02_pus_uva.fits ! Reading UV FITS file: J0956+2515_S_2011_08_02_pus_uva.fits ! AN table 1: 91 integrations on 78 of 78 possible baselines. ! AN table 2: 41 integrations on 78 of 78 possible baselines. ! AN table 3: 166 integrations on 78 of 78 possible baselines. ! AN table 4: 11 integrations on 78 of 78 possible baselines. ! Apparent sampling: 0.0982491 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0956+2515 ! ! 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 2651 lines of history. ! ! Reading 9472 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 J0956+2515_S_2011_08_02_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 1007 telescope corrections were flagged in sub-array 1. ! A total of 298 telescope corrections were flagged in sub-array 2. ! A total of 1563 telescope corrections were flagged in sub-array 3. ! A total of 143 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 2. ! A total of 1007 telescope corrections were flagged in sub-array 1. ! A total of 298 telescope corrections were flagged in sub-array 2. ! A total of 1563 telescope corrections were flagged in sub-array 3. ! A total of 143 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 3. ! A total of 1007 telescope corrections were flagged in sub-array 1. ! A total of 298 telescope corrections were flagged in sub-array 2. ! A total of 1563 telescope corrections were flagged in sub-array 3. ! A total of 143 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 4. ! A total of 1007 telescope corrections were flagged in sub-array 1. ! A total of 298 telescope corrections were flagged in sub-array 2. ! A total of 1563 telescope corrections were flagged in sub-array 3. ! A total of 143 telescope corrections were flagged in sub-array 4. ! ! Fit before self-cal, rms=0.634142Jy sigma=0.007681 ! Fit after self-cal, rms=0.431908Jy sigma=0.005099 ! 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=4.042 mas, bmaj=7.62 mas, bpa=-36.88 degrees ! Estimated noise=1123.68 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.463163 Jy ! Component: 100 - total flux cleaned = 0.576863 Jy ! Total flux subtracted in 100 components = 0.576863 Jy ! Clean residual min=-0.020394 max=0.045575 Jy/beam ! Clean residual mean=0.000170 rms=0.005970 Jy/beam ! Combined flux in latest and established models = 0.576863 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.576863 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.170884Jy sigma=0.001913 ! Fit after self-cal, rms=0.170918Jy sigma=0.001913 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0469943 Jy ! Component: 100 - total flux cleaned = 0.0710393 Jy ! Total flux subtracted in 100 components = 0.0710393 Jy ! Clean residual min=-0.019391 max=0.015677 Jy/beam ! Clean residual mean=0.000066 rms=0.004545 Jy/beam ! Combined flux in latest and established models = 0.647903 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 15 components and 0.647903 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.154866Jy sigma=0.001743 ! Fit after self-cal, rms=0.154895Jy sigma=0.001743 ! 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=4.308 mas, bmaj=10.03 mas, bpa=-34.08 degrees ! Estimated noise=641.029 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.0148904 Jy ! Component: 100 - total flux cleaned = 0.0173085 Jy ! Component: 150 - total flux cleaned = 0.0171299 Jy ! Component: 200 - total flux cleaned = 0.0169622 Jy ! Total flux subtracted in 200 components = 0.0169622 Jy ! Clean residual min=-0.017958 max=0.025567 Jy/beam ! Clean residual mean=0.000104 rms=0.006779 Jy/beam ! Combined flux in latest and established models = 0.664865 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 24 components and 0.664865 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.153175Jy sigma=0.001731 ! Fit after self-cal, rms=0.153181Jy sigma=0.001731 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.98 LA 1.02 MK 0.85 ! NL 0.95 OV 0.94 PT 1.01 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.96 FD 1.13 FT 1.00* HH 1.00* ! HN 1.00 KP 0.98 LA 1.04 MK 1.00* ! NL 0.92 OV 0.96 PT 1.00 TS 1.00* ! WZ 1.00* ! ! A total of 105 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.97 FD 1.13 FT 1.00* HH 1.00* ! HN 1.00* KP 0.96 LA 1.03 MK 0.87 ! NL 1.00* OV 0.91 PT 1.01 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 4: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* OV 0.00* PT 0.00* TS 0.00* ! WZ 0.00* ! ! ! Correcting IF 2. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 1.04 LA 0.94 MK 0.97 ! NL 1.02 OV 1.05 PT 1.00 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.10 FD 1.25 FT 1.00* HH 1.00* ! HN 1.10 KP 1.05 LA 0.95 MK 1.00* ! NL 1.03 OV 1.03 PT 1.03 TS 1.00* ! WZ 1.00* ! ! A total of 105 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.04 FD 1.25 FT 1.00* HH 1.00* ! HN 1.00* KP 1.01 LA 0.96 MK 0.97 ! NL 1.00* OV 1.02 PT 1.02 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 4: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* OV 0.00* PT 0.00* TS 0.00* ! WZ 0.00* ! ! ! Correcting IF 3. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 1.02 LA 0.89 MK 1.02 ! NL 1.03 OV 1.04 PT 0.99 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.04 FD 1.23 FT 1.00* HH 1.00* ! HN 1.05 KP 1.02 LA 0.94 MK 1.00* ! NL 1.05 OV 0.99 PT 1.02 TS 1.00* ! WZ 1.00* ! ! A total of 105 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.03 FD 1.25 FT 1.00* HH 1.00* ! HN 1.00* KP 0.99 LA 0.93 MK 1.03 ! NL 1.00* OV 0.96 PT 1.01 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 4: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* OV 0.00* PT 0.00* TS 0.00* ! WZ 0.00* ! ! ! Correcting IF 4. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 1.00* FT 1.00* HH 1.00* ! HN 1.00* KP 0.94 LA 0.75 MK 1.07 ! NL 0.90 OV 0.90 PT 0.92 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.93 FD 1.22 FT 1.00* HH 1.00* ! HN 0.97 KP 0.94 LA 0.77 MK 1.00* ! NL 0.93 OV 0.86 PT 0.94 TS 1.00* ! WZ 1.00* ! ! A total of 105 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.99 FD 1.26 FT 1.00* HH 1.00* ! HN 1.00* KP 0.92 LA 0.77 MK 1.11 ! NL 1.00* OV 0.84 PT 0.93 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 4: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* OV 0.00* PT 0.00* TS 0.00* ! WZ 0.00* ! ! ! Fit before self-cal, rms=0.153181Jy sigma=0.001731 ! Fit after self-cal, rms=0.119989Jy sigma=0.001330 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.498 mas, bmaj=10.1 mas, bpa=-35.21 degrees ! Estimated noise=656.883 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.00021655 Jy ! Component: 100 - total flux cleaned = -0.000385298 Jy ! Component: 150 - total flux cleaned = -0.000533574 Jy ! Component: 200 - total flux cleaned = -0.000671086 Jy ! Total flux subtracted in 200 components = -0.000671086 Jy ! Clean residual min=-0.004397 max=0.005997 Jy/beam ! Clean residual mean=-0.000020 rms=0.001329 Jy/beam ! Combined flux in latest and established models = 0.664194 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 37 components and 0.664194 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.119882Jy sigma=0.001329 ! Fit after self-cal, rms=0.119917Jy sigma=0.001327 ! 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.119917Jy sigma=0.001327 ! Fit after self-cal, rms=0.119348Jy sigma=0.001318 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.5 mas, bmaj=10.09 mas, bpa=-35.2 degrees ! Estimated noise=657.746 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000659405 Jy ! Component: 100 - total flux cleaned = 0.000713192 Jy ! Component: 150 - total flux cleaned = 0.000665513 Jy ! Component: 200 - total flux cleaned = 0.000665669 Jy ! Total flux subtracted in 200 components = 0.000665669 Jy ! Clean residual min=-0.003730 max=0.005126 Jy/beam ! Clean residual mean=-0.000001 rms=0.001151 Jy/beam ! Combined flux in latest and established models = 0.664859 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 42 components and 0.664859 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.119309Jy sigma=0.001318 ! Fit after self-cal, rms=0.119312Jy sigma=0.001318 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 (-10, 1.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00232601 Jy ! Component: 100 - total flux cleaned = 0.0026976 Jy ! Component: 150 - total flux cleaned = 0.00242586 Jy ! Component: 200 - total flux cleaned = 0.00227249 Jy ! Total flux subtracted in 200 components = 0.00227249 Jy ! Clean residual min=-0.003686 max=0.003219 Jy/beam ! Clean residual mean=-0.000017 rms=0.001021 Jy/beam ! Combined flux in latest and established models = 0.667132 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 66 components and 0.667132 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.119063Jy sigma=0.001315 ! Fit after self-cal, rms=0.119042Jy sigma=0.001315 ! 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.119042Jy sigma=0.001315 ! Fit after self-cal, rms=0.117926Jy sigma=0.001300 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.499 mas, bmaj=10.07 mas, bpa=-35.21 degrees ! Estimated noise=657.217 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0012528 Jy ! Component: 100 - total flux cleaned = 0.00124684 Jy ! Component: 150 - total flux cleaned = 0.00124703 Jy ! Component: 200 - total flux cleaned = 0.00124779 Jy ! Total flux subtracted in 200 components = 0.00124779 Jy ! Clean residual min=-0.002260 max=0.003152 Jy/beam ! Clean residual mean=0.000055 rms=0.000786 Jy/beam ! Combined flux in latest and established models = 0.66838 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 87 components and 0.66838 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.117848Jy sigma=0.001299 ! Fit after self-cal, rms=0.117855Jy sigma=0.001299 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.000402961 Jy ! Component: 100 - total flux cleaned = 0.000404396 Jy ! Component: 150 - total flux cleaned = 0.000449798 Jy ! Component: 200 - total flux cleaned = 0.000448317 Jy ! Total flux subtracted in 200 components = 0.000448317 Jy ! Clean residual min=-0.002216 max=0.003068 Jy/beam ! Clean residual mean=0.000053 rms=0.000768 Jy/beam ! Combined flux in latest and established models = 0.668828 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 90 components and 0.668828 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.117814Jy sigma=0.001299 ! Fit after self-cal, rms=0.117813Jy sigma=0.001299 ! 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.117813Jy sigma=0.001299 ! Fit after self-cal, rms=0.117910Jy sigma=0.001299 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=11.33 mas, bmaj=12.26 mas, bpa=-8.227 degrees ! Estimated noise=737.32 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000549858 Jy ! Component: 100 - total flux cleaned = 0.000646971 Jy ! Component: 150 - total flux cleaned = 0.000697008 Jy ! Component: 200 - total flux cleaned = 0.000719271 Jy ! Total flux subtracted in 200 components = 0.000719271 Jy ! Clean residual min=-0.001999 max=0.002884 Jy/beam ! Clean residual mean=0.000086 rms=0.000758 Jy/beam ! Combined flux in latest and established models = 0.669547 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 108 components and 0.669547 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.117892Jy sigma=0.001299 ! Fit after self-cal, rms=0.117889Jy sigma=0.001299 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.000165599 Jy ! Component: 100 - total flux cleaned = 0.000256515 Jy ! Component: 150 - total flux cleaned = 0.000295595 Jy ! Component: 200 - total flux cleaned = 0.000314066 Jy ! Total flux subtracted in 200 components = 0.000314066 Jy ! Clean residual min=-0.001908 max=0.002795 Jy/beam ! Clean residual mean=0.000083 rms=0.000751 Jy/beam ! Combined flux in latest and established models = 0.669862 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 112 components and 0.669862 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.117880Jy sigma=0.001299 ! Fit after self-cal, rms=0.117880Jy sigma=0.001299 ! 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=4.5 mas, bmaj=10.07 mas, bpa=-35.22 degrees ! Estimated noise=657.446 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.5 x 10.07 at -35.22 degrees (North through East) ! Clean map min=-0.0035279 max=0.59412 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.117880Jy sigma=0.001299 ! Fit after self-cal, rms=0.105780Jy sigma=0.001125 ! Inverting map and beam ! Estimated beam: bmin=4.505 mas, bmaj=10.07 mas, bpa=-35.24 degrees ! Estimated noise=657.444 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 7.23554e-05 Jy ! Component: 100 - total flux cleaned = 7.28646e-05 Jy ! Component: 150 - total flux cleaned = 7.29848e-05 Jy ! Component: 200 - total flux cleaned = 7.33812e-05 Jy ! Total flux subtracted in 200 components = 7.33812e-05 Jy ! Clean residual min=-0.002307 max=0.002740 Jy/beam ! Clean residual mean=0.000047 rms=0.000711 Jy/beam ! Combined flux in latest and established models = 0.669935 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 125 components and 0.669935 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.105748Jy sigma=0.001125 ! Fit after self-cal, rms=0.105746Jy sigma=0.001125 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000154449 Jy ! Component: 100 - total flux cleaned = 0.000154456 Jy ! Component: 150 - total flux cleaned = 0.000154516 Jy ! Component: 200 - total flux cleaned = 0.000126478 Jy ! Total flux subtracted in 200 components = 0.000126478 Jy ! Clean residual min=-0.002293 max=0.002673 Jy/beam ! Clean residual mean=0.000047 rms=0.000706 Jy/beam ! Combined flux in latest and established models = 0.670062 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 130 components and 0.670061 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.105727Jy sigma=0.001125 ! Fit after self-cal, rms=0.105727Jy sigma=0.001125 ! 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.105727Jy sigma=0.001125 ! Fit after self-cal, rms=0.105794Jy sigma=0.001125 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=4.023 mas, bmaj=7.619 mas, bpa=-37.43 degrees ! Estimated noise=1131.08 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.461393 Jy ! Component: 100 - total flux cleaned = 0.574487 Jy ! Component: 150 - total flux cleaned = 0.620459 Jy ! Component: 200 - total flux cleaned = 0.640549 Jy ! Total flux subtracted in 200 components = 0.640549 Jy ! Clean residual min=-0.005217 max=0.010519 Jy/beam ! Clean residual mean=0.000073 rms=0.001744 Jy/beam ! Combined flux in latest and established models = 0.640549 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 17 model components to the UV plane model. ! The established model now contains 17 components and 0.640549 Jy ! Inverting map and beam ! Estimated beam: bmin=4.507 mas, bmaj=10.08 mas, bpa=-35.25 degrees ! Estimated noise=657.701 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.0150968 Jy ! Component: 100 - total flux cleaned = 0.0228137 Jy ! Component: 150 - total flux cleaned = 0.0273574 Jy ! Component: 200 - total flux cleaned = 0.0288525 Jy ! Total flux subtracted in 200 components = 0.0288525 Jy ! Clean residual min=-0.002722 max=0.002936 Jy/beam ! Clean residual mean=0.000053 rms=0.000847 Jy/beam ! Combined flux in latest and established models = 0.669401 Jy ! Adding 33 model components to the UV plane model. ! The established model now contains 44 components and 0.669401 Jy ! Inverting map uvw 0,2 ! Uniform weighting is not currently selected. ! Amplitude error weighting is not currently selected. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.286 mas, bmaj=9.949 mas, bpa=-36.07 degrees ! Estimated noise=708.172 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.06266e-05 Jy ! Component: 100 - total flux cleaned = 0.000161605 Jy ! Component: 150 - total flux cleaned = 0.000248505 Jy ! Component: 200 - total flux cleaned = 0.000251666 Jy ! Total flux subtracted in 200 components = 0.000251666 Jy ! Clean residual min=-0.002782 max=0.003036 Jy/beam ! Clean residual mean=0.000035 rms=0.000849 Jy/beam ! Combined flux in latest and established models = 0.669653 Jy clean ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -7.29288e-05 Jy ! Component: 100 - total flux cleaned = -7.20851e-05 Jy ! Component: 150 - total flux cleaned = -7.30096e-05 Jy ! Component: 200 - total flux cleaned = -0.000134541 Jy ! Total flux subtracted in 200 components = -0.000134541 Jy ! Clean residual min=-0.002762 max=0.002958 Jy/beam ! Clean residual mean=0.000035 rms=0.000817 Jy/beam ! Combined flux in latest and established models = 0.669518 Jy selfcal ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 72 components and 0.669518 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.105887Jy sigma=0.001126 ! Fit after self-cal, rms=0.105875Jy sigma=0.001126 wmodel J0956+2515_S_2011_08_02_pus_map.mod ! Writing 72 model components to file: J0956+2515_S_2011_08_02_pus_map.mod wobs J0956+2515_S_2011_08_02_pus_uvs.fits ! Writing UV FITS file: J0956+2515_S_2011_08_02_pus_uvs.fits wwins J0956+2515_S_2011_08_02_pus_map.win ! wwins: Wrote 2 windows to J0956+2515_S_2011_08_02_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.000337657 Jy ! Component: 100 - total flux cleaned = 0.000149001 Jy ! Component: 150 - total flux cleaned = 0.000281875 Jy ! Component: 200 - total flux cleaned = 0.000409407 Jy ! Component: 250 - total flux cleaned = 0.000532175 Jy ! Component: 300 - total flux cleaned = 0.000532664 Jy ! Component: 350 - total flux cleaned = 0.000494338 Jy ! Component: 400 - total flux cleaned = 0.000456915 Jy ! Component: 450 - total flux cleaned = 0.000456749 Jy ! Component: 500 - total flux cleaned = 0.00045722 Jy ! Component: 550 - total flux cleaned = 0.000387961 Jy ! Component: 600 - total flux cleaned = 0.000353584 Jy ! Component: 650 - total flux cleaned = 0.000220563 Jy ! Component: 700 - total flux cleaned = 0.000155353 Jy ! Component: 750 - total flux cleaned = 0.000123133 Jy ! Component: 800 - total flux cleaned = 2.79687e-05 Jy ! Component: 850 - total flux cleaned = -2.95367e-06 Jy ! Component: 900 - total flux cleaned = -9.44123e-05 Jy ! Component: 950 - total flux cleaned = -9.41104e-05 Jy ! Component: 1000 - total flux cleaned = -0.000153135 Jy ! Component: 1050 - total flux cleaned = -0.000152957 Jy ! Component: 1100 - total flux cleaned = -0.000210037 Jy ! Component: 1150 - total flux cleaned = -0.000153323 Jy ! Component: 1200 - total flux cleaned = -0.000125104 Jy ! Component: 1250 - total flux cleaned = -9.75392e-05 Jy ! Component: 1300 - total flux cleaned = -9.69766e-05 Jy ! Component: 1350 - total flux cleaned = -4.30514e-05 Jy ! Component: 1400 - total flux cleaned = 3.59686e-05 Jy ! Component: 1450 - total flux cleaned = -4.31603e-05 Jy ! Component: 1500 - total flux cleaned = -4.251e-05 Jy ! Component: 1550 - total flux cleaned = -1.64681e-05 Jy ! Component: 1600 - total flux cleaned = 5.95717e-05 Jy ! Component: 1650 - total flux cleaned = 3.48106e-05 Jy ! Component: 1700 - total flux cleaned = 0.000109313 Jy ! Component: 1750 - total flux cleaned = 0.000157828 Jy ! Component: 1800 - total flux cleaned = 0.000109594 Jy ! Component: 1850 - total flux cleaned = 0.000133639 Jy ! Component: 1900 - total flux cleaned = 0.000227945 Jy ! Component: 1950 - total flux cleaned = 0.000157328 Jy ! Component: 2000 - total flux cleaned = 0.000180456 Jy ! Total flux subtracted in 2048 components = 0.000180525 Jy ! Clean residual min=-0.001370 max=0.001387 Jy/beam ! Clean residual mean=0.000009 rms=0.000511 Jy/beam ! Combined flux in latest and established models = 0.669699 Jy keep ! Adding 141 model components to the UV plane model. ! The established model now contains 213 components and 0.669699 Jy ![Exited script file: muppet] wmap "J0956+2515_S_2011_08_02_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.286 x 9.949 at -36.07 degrees (North through East) ! Clean map min=-0.0026504 max=0.59111 Jy/beam ! Writing clean map to FITS file: J0956+2515_S_2011_08_02_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.591108 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000507104 device "J0956+2515_S_2011_08_02_pus\_map.eps/VPS" ! Attempting to open device: 'J0956+2515_S_2011_08_02_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.257366 0.257366 0.514732 1.02946 2.05893 4.11786 8.23572 16.4714 32.9429 65.8858 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0015 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.591 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.286 x 9.949 at -36.07 degrees (North through East) ! Clean map min=-0.0026504 max=0.59111 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0956+2515_S_2011_08_02_pus\_map.gif/vgif" ! Attempting to open device: 'J0956+2515_S_2011_08_02_pus_map.gif/vgif' mapplot cln