! Started logfile: /d2/scr/pima/bp171aa_uvs/J0858+0804_C_uvs.log on Thu Nov 28 23:32:49 2013 obs /d2/scr/pima/bp171aa_uvs/J0858+0804_C_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp171aa_uvs/J0858+0804_C_uva.fits ! AN table 1: 10 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.977778 visibilities/baseline/integration-bin. ! Found source: J0858+0804 ! ! There are 8 IFs, and a total of 8 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 4.14397e+09 3.2e+07 1 3.2e+07 ! 02 2 4.17597e+09 3.2e+07 1 3.2e+07 ! 03 3 4.20797e+09 3.2e+07 1 3.2e+07 ! 04 4 4.23997e+09 3.2e+07 1 3.2e+07 ! 05 5 4.43197e+09 3.2e+07 1 3.2e+07 ! 06 6 4.52797e+09 3.2e+07 1 3.2e+07 ! 07 7 4.55997e+09 3.2e+07 1 3.2e+07 ! 08 8 4.59197e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 3520 visibilities. select RR ! Selecting polarization: RR, channels: 1..8 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 ! Reading IF 5 channels: 5..5 ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 print "field_size =",field_size ! field_size = 1024 print "field_cell =",field_cell ! field_cell = 0.3 print "taper_size =",taper_size ! taper_size = 40 ![@/home/lpetrov/bin/01_muppet /d2/scr/pima/bp171aa_uvs/J0858+0804_C] float lim_self lim_self = 120.0 float lim_val lim_va = 1.2 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 = 1024x1024 pixels with 0.300x0.300 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 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.002924Jy sigma=0.708583 ! Fit after self-cal, rms=0.975210Jy sigma=0.689014 ! 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.308 mas, bmaj=3.547 mas, bpa=-2.032 degrees ! Estimated noise=21.1433 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.0192262 Jy ! Component: 100 - total flux cleaned = 0.0239627 Jy ! Total flux subtracted in 100 components = 0.0239627 Jy ! Clean residual min=-0.002138 max=0.002665 Jy/beam ! Clean residual mean=-0.000001 rms=0.000565 Jy/beam ! Combined flux in latest and established models = 0.0239627 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.0239627 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.034247Jy sigma=0.024093 ! Fit after self-cal, rms=0.031379Jy sigma=0.022056 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00474017 Jy ! Component: 100 - total flux cleaned = 0.00668641 Jy ! Total flux subtracted in 100 components = 0.00668641 Jy ! Clean residual min=-0.001655 max=0.002003 Jy/beam ! Clean residual mean=0.000000 rms=0.000446 Jy/beam ! Combined flux in latest and established models = 0.0306491 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 17 components and 0.0306491 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030666Jy sigma=0.021555 ! Fit after self-cal, rms=0.030660Jy sigma=0.021550 ! 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.525 mas, bmaj=3.937 mas, bpa=-1.948 degrees ! Estimated noise=16.8695 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.00137971 Jy ! Component: 100 - total flux cleaned = 0.00215692 Jy ! Component: 150 - total flux cleaned = 0.00262318 Jy ! Component: 200 - total flux cleaned = 0.00274225 Jy ! Total flux subtracted in 200 components = 0.00274225 Jy ! Clean residual min=-0.001531 max=0.001735 Jy/beam ! Clean residual mean=0.000001 rms=0.000404 Jy/beam ! Combined flux in latest and established models = 0.0333914 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 25 components and 0.0333914 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030596Jy sigma=0.021506 ! Fit after self-cal, rms=0.030593Jy sigma=0.021503 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.525 x 3.937 at -1.948 degrees (North through East) ! Clean map min=-0.0014247 max=0.028977 Jy/beam if ( peak(flux,max)/imstat(rms) < lim_self ) selflim lim_val ! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2. ! Selfcal phase corrections will not be limited. gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.01 HN 0.87 KP 0.91 ! LA 1.03 MK 1.12 NL 0.89 OV 1.07 ! PT 0.93 SC 0.90 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.01 HN 0.96 KP 1.02 ! LA 1.04 MK 0.98 NL 0.98 OV 1.00 ! PT 0.87 SC 1.03 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.02 HN 0.93 KP 0.94 ! LA 1.14 MK 1.07 NL 0.93 OV 1.03 ! PT 0.96 SC 0.97 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.15 FD 0.98 HN 1.13 KP 1.09 ! LA 1.07 MK 1.04 NL 1.07 OV 0.96 ! PT 0.91 SC 0.84 ! ! ! Fit before self-cal, rms=0.030593Jy sigma=0.021503 ! Fit after self-cal, rms=0.030327Jy sigma=0.021444 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.525 mas, bmaj=3.939 mas, bpa=-1.582 degrees ! Estimated noise=16.8144 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 = -5.83634e-06 Jy ! Component: 100 - total flux cleaned = -2.77391e-05 Jy ! Component: 150 - total flux cleaned = -2.81208e-05 Jy ! Component: 200 - total flux cleaned = -2.00174e-05 Jy ! Total flux subtracted in 200 components = -2.00174e-05 Jy ! Clean residual min=-0.001425 max=0.001710 Jy/beam ! Clean residual mean=0.000001 rms=0.000377 Jy/beam ! Combined flux in latest and established models = 0.0333714 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 33 components and 0.0333714 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030321Jy sigma=0.021439 ! Fit after self-cal, rms=0.030333Jy sigma=0.021435 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030333Jy sigma=0.021435 ! Fit after self-cal, rms=0.030292Jy sigma=0.021435 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.525 mas, bmaj=3.934 mas, bpa=-1.449 degrees ! Estimated noise=16.7843 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -2.18756e-05 Jy ! Component: 100 - total flux cleaned = -1.46136e-05 Jy ! Component: 150 - total flux cleaned = -1.49721e-05 Jy ! Component: 200 - total flux cleaned = -2.13233e-05 Jy ! Total flux subtracted in 200 components = -2.13233e-05 Jy ! Clean residual min=-0.001419 max=0.001686 Jy/beam ! Clean residual mean=0.000001 rms=0.000376 Jy/beam ! Combined flux in latest and established models = 0.03335 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 35 components and 0.0333501 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030289Jy sigma=0.021432 ! Fit after self-cal, rms=0.030290Jy sigma=0.021432 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 (55.2, 7.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00115436 Jy ! Component: 100 - total flux cleaned = 0.00124969 Jy ! Component: 150 - total flux cleaned = 0.00125258 Jy ! Component: 200 - total flux cleaned = 0.00127556 Jy ! Total flux subtracted in 200 components = 0.00127556 Jy ! Clean residual min=-0.001354 max=0.001571 Jy/beam ! Clean residual mean=0.000001 rms=0.000351 Jy/beam ! Combined flux in latest and established models = 0.0346256 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 63 components and 0.0346256 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030211Jy sigma=0.021372 ! Fit after self-cal, rms=0.030202Jy sigma=0.021366 ! Inverting map ! Added new window around map position (-41.7, -3.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00127414 Jy ! Component: 100 - total flux cleaned = 0.00147772 Jy ! Component: 150 - total flux cleaned = 0.00147721 Jy ! Component: 200 - total flux cleaned = 0.00147682 Jy ! Total flux subtracted in 200 components = 0.00147682 Jy ! Clean residual min=-0.001302 max=0.001372 Jy/beam ! Clean residual mean=0.000002 rms=0.000331 Jy/beam ! Combined flux in latest and established models = 0.0361024 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 79 components and 0.0361024 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030131Jy sigma=0.021316 ! Fit after self-cal, rms=0.030126Jy sigma=0.021312 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030126Jy sigma=0.021312 ! Fit after self-cal, rms=0.030470Jy sigma=0.021285 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.528 mas, bmaj=3.928 mas, bpa=-1.418 degrees ! Estimated noise=16.9414 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000330555 Jy ! Component: 100 - total flux cleaned = 0.000331038 Jy ! Component: 150 - total flux cleaned = 0.000351384 Jy ! Component: 200 - total flux cleaned = 0.000387315 Jy ! Total flux subtracted in 200 components = 0.000387315 Jy ! Clean residual min=-0.001325 max=0.001340 Jy/beam ! Clean residual mean=0.000002 rms=0.000329 Jy/beam ! Combined flux in latest and established models = 0.0364897 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 91 components and 0.0364898 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030445Jy sigma=0.021267 ! Fit after self-cal, rms=0.030448Jy sigma=0.021265 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.93415e-05 Jy ! Component: 100 - total flux cleaned = 5.98503e-05 Jy ! Component: 150 - total flux cleaned = 7.61141e-05 Jy ! Component: 200 - total flux cleaned = 0.000106382 Jy ! Total flux subtracted in 200 components = 0.000106382 Jy ! Clean residual min=-0.001312 max=0.001345 Jy/beam ! Clean residual mean=0.000002 rms=0.000325 Jy/beam ! Combined flux in latest and established models = 0.0365961 Jy ! Performing phase self-cal ! Adding 37 model components to the UV plane model. ! The established model now contains 107 components and 0.0365961 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030434Jy sigma=0.021254 ! Fit after self-cal, rms=0.030433Jy sigma=0.021254 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030433Jy sigma=0.021254 ! Fit after self-cal, rms=0.030535Jy sigma=0.021253 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.573 mas, bmaj=5.796 mas, bpa=-0.09599 degrees ! Estimated noise=22.3216 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000210114 Jy ! Component: 100 - total flux cleaned = -0.000253607 Jy ! Component: 150 - total flux cleaned = -0.000271389 Jy ! Component: 200 - total flux cleaned = -0.000302681 Jy ! Total flux subtracted in 200 components = -0.000302681 Jy ! Clean residual min=-0.001437 max=0.001542 Jy/beam ! Clean residual mean=0.000003 rms=0.000387 Jy/beam ! Combined flux in latest and established models = 0.0362935 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 114 components and 0.0362935 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030536Jy sigma=0.021254 ! Fit after self-cal, rms=0.030534Jy sigma=0.021252 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 = -2.41601e-05 Jy ! Component: 100 - total flux cleaned = -5.08185e-05 Jy ! Component: 150 - total flux cleaned = -2.5984e-05 Jy ! Component: 200 - total flux cleaned = -3.67979e-05 Jy ! Total flux subtracted in 200 components = -3.67979e-05 Jy ! Clean residual min=-0.001408 max=0.001506 Jy/beam ! Clean residual mean=0.000004 rms=0.000380 Jy/beam ! Combined flux in latest and established models = 0.0362567 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 126 components and 0.0362567 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030542Jy sigma=0.021258 ! Fit after self-cal, rms=0.030541Jy sigma=0.021257 ! 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=1.527 mas, bmaj=3.927 mas, bpa=-1.466 degrees ! Estimated noise=16.9922 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.527 x 3.927 at -1.466 degrees (North through East) ! Clean map min=-0.001224 max=0.029012 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 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.313 mas, bmaj=3.538 mas, bpa=-1.587 degrees ! Estimated noise=21.3323 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.022616 Jy ! Component: 100 - total flux cleaned = 0.0280061 Jy ! Component: 150 - total flux cleaned = 0.0307655 Jy ! Component: 200 - total flux cleaned = 0.0324413 Jy ! Total flux subtracted in 200 components = 0.0324413 Jy ! Clean residual min=-0.001616 max=0.001782 Jy/beam ! Clean residual mean=0.000000 rms=0.000436 Jy/beam ! Combined flux in latest and established models = 0.0324413 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 22 model components to the UV plane model. ! The established model now contains 22 components and 0.0324413 Jy ! Inverting map and beam ! Estimated beam: bmin=1.527 mas, bmaj=3.927 mas, bpa=-1.466 degrees ! Estimated noise=16.9922 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) ! Added new window around map position (28.2, -47.1). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00188017 Jy ! Component: 100 - total flux cleaned = 0.00293974 Jy ! Component: 150 - total flux cleaned = 0.00342147 Jy ! Component: 200 - total flux cleaned = 0.00380174 Jy ! Total flux subtracted in 200 components = 0.00380174 Jy ! Clean residual min=-0.001424 max=0.001484 Jy/beam ! Clean residual mean=0.000002 rms=0.000353 Jy/beam ! Combined flux in latest and established models = 0.0362431 Jy ! Adding 32 model components to the UV plane model. ! The established model now contains 50 components and 0.0362431 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.573 mas, bmaj=5.796 mas, bpa=-0.09599 degrees ! Estimated noise=22.3216 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000572671 Jy ! Component: 100 - total flux cleaned = 0.000784165 Jy ! Component: 150 - total flux cleaned = 0.000833826 Jy ! Component: 200 - total flux cleaned = 0.000901676 Jy ! Total flux subtracted in 200 components = 0.000901676 Jy ! Clean residual min=-0.001297 max=0.001353 Jy/beam ! Clean residual mean=0.000003 rms=0.000385 Jy/beam ! Combined flux in latest and established models = 0.0371447 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.00010253 Jy ! Component: 100 - total flux cleaned = 0.000103037 Jy ! Component: 150 - total flux cleaned = 0.000156251 Jy ! Component: 200 - total flux cleaned = 0.000221548 Jy ! Total flux subtracted in 200 components = 0.000221548 Jy ! Clean residual min=-0.001259 max=0.001292 Jy/beam ! Clean residual mean=0.000003 rms=0.000370 Jy/beam ! Combined flux in latest and established models = 0.0373663 Jy ! Adding 46 model components to the UV plane model. ! The established model now contains 92 components and 0.0373663 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.527 mas, bmaj=3.927 mas, bpa=-1.466 degrees ! Estimated noise=16.9922 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000221726 Jy ! Component: 100 - total flux cleaned = 0.000280261 Jy ! Component: 150 - total flux cleaned = 0.000306234 Jy ! Component: 200 - total flux cleaned = 0.000402673 Jy ! Total flux subtracted in 200 components = 0.000402673 Jy ! Clean residual min=-0.001281 max=0.001389 Jy/beam ! Clean residual mean=0.000001 rms=0.000321 Jy/beam ! Combined flux in latest and established models = 0.037769 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 110 components and 0.037769 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.030542Jy sigma=0.021259 ! Fit after self-cal, rms=0.030536Jy sigma=0.021253 wmodel /d2/scr/pima/bp171aa_uvs/J0858+0804_C_map.mod ! Writing 110 model components to file: /d2/scr/pima/bp171aa_uvs/J0858+0804_C_map.mod wobs /d2/scr/pima/bp171aa_uvs/J0858+0804_C_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp171aa_uvs/J0858+0804_C_uvs.fits wwins /d2/scr/pima/bp171aa_uvs/J0858+0804_C_map.win ! wwins: Wrote 4 windows to /d2/scr/pima/bp171aa_uvs/J0858+0804_C_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = 6.8981e-05 Jy ! Component: 100 - total flux cleaned = 0.000134732 Jy ! Component: 150 - total flux cleaned = 0.000155839 Jy ! Component: 200 - total flux cleaned = 0.000155391 Jy ! Component: 250 - total flux cleaned = 7.85967e-05 Jy ! Component: 300 - total flux cleaned = 5.99912e-05 Jy ! Component: 350 - total flux cleaned = 6.01422e-05 Jy ! Component: 400 - total flux cleaned = 4.28551e-05 Jy ! Component: 450 - total flux cleaned = 2.56098e-05 Jy ! Component: 500 - total flux cleaned = -8.31089e-06 Jy ! Component: 550 - total flux cleaned = -4.10732e-05 Jy ! Component: 600 - total flux cleaned = -5.75434e-05 Jy ! Component: 650 - total flux cleaned = -0.000105129 Jy ! Component: 700 - total flux cleaned = -0.000167198 Jy ! Component: 750 - total flux cleaned = -0.000136737 Jy ! Component: 800 - total flux cleaned = -7.72126e-05 Jy ! Component: 850 - total flux cleaned = -0.000106305 Jy ! Component: 900 - total flux cleaned = -3.41858e-05 Jy ! Component: 950 - total flux cleaned = -3.38315e-05 Jy ! Component: 1000 - total flux cleaned = 3.602e-05 Jy ! Component: 1050 - total flux cleaned = 7.69809e-05 Jy ! Component: 1100 - total flux cleaned = 6.33188e-05 Jy ! Component: 1150 - total flux cleaned = 7.67087e-05 Jy ! Component: 1200 - total flux cleaned = 9.0041e-05 Jy ! Component: 1250 - total flux cleaned = 0.000167694 Jy ! Component: 1300 - total flux cleaned = 0.000154777 Jy ! Component: 1350 - total flux cleaned = 0.000167355 Jy ! Component: 1400 - total flux cleaned = 0.000167485 Jy ! Component: 1450 - total flux cleaned = 0.000167452 Jy ! Component: 1500 - total flux cleaned = 0.000240279 Jy ! Component: 1550 - total flux cleaned = 0.000264204 Jy ! Component: 1600 - total flux cleaned = 0.000252411 Jy ! Component: 1650 - total flux cleaned = 0.000275721 Jy ! Component: 1700 - total flux cleaned = 0.000275974 Jy ! Component: 1750 - total flux cleaned = 0.000344606 Jy ! Component: 1800 - total flux cleaned = 0.000355906 Jy ! Component: 1850 - total flux cleaned = 0.000411782 Jy ! Component: 1900 - total flux cleaned = 0.000389639 Jy ! Component: 1950 - total flux cleaned = 0.000466292 Jy ! Component: 2000 - total flux cleaned = 0.000466225 Jy ! Component: 2050 - total flux cleaned = 0.000498509 Jy ! Component: 2100 - total flux cleaned = 0.000562137 Jy ! Component: 2150 - total flux cleaned = 0.000562171 Jy ! Component: 2200 - total flux cleaned = 0.000572678 Jy ! Component: 2250 - total flux cleaned = 0.000645001 Jy ! Component: 2300 - total flux cleaned = 0.000634644 Jy ! Component: 2350 - total flux cleaned = 0.000644857 Jy ! Component: 2400 - total flux cleaned = 0.00066494 Jy ! Component: 2450 - total flux cleaned = 0.000654953 Jy ! Component: 2500 - total flux cleaned = 0.000674642 Jy ! Component: 2550 - total flux cleaned = 0.000655102 Jy ! Component: 2600 - total flux cleaned = 0.000693837 Jy ! Component: 2650 - total flux cleaned = 0.000684189 Jy ! Component: 2700 - total flux cleaned = 0.000684187 Jy ! Component: 2750 - total flux cleaned = 0.000646416 Jy ! Component: 2800 - total flux cleaned = 0.000693323 Jy ! Component: 2850 - total flux cleaned = 0.000693361 Jy ! Component: 2900 - total flux cleaned = 0.000720874 Jy ! Component: 2950 - total flux cleaned = 0.000702419 Jy ! Component: 3000 - total flux cleaned = 0.000729563 Jy ! Component: 3050 - total flux cleaned = 0.000702502 Jy ! Component: 3100 - total flux cleaned = 0.000747175 Jy ! Component: 3150 - total flux cleaned = 0.000729526 Jy ! Component: 3200 - total flux cleaned = 0.000764727 Jy ! Component: 3250 - total flux cleaned = 0.000773441 Jy ! Component: 3300 - total flux cleaned = 0.000799489 Jy ! Component: 3350 - total flux cleaned = 0.000799468 Jy ! Component: 3400 - total flux cleaned = 0.000833725 Jy ! Component: 3450 - total flux cleaned = 0.000850736 Jy ! Component: 3500 - total flux cleaned = 0.000876052 Jy ! Component: 3550 - total flux cleaned = 0.000934565 Jy ! Component: 3600 - total flux cleaned = 0.000951105 Jy ! Component: 3650 - total flux cleaned = 0.000975865 Jy ! Component: 3700 - total flux cleaned = 0.00104129 Jy ! Component: 3750 - total flux cleaned = 0.00105753 Jy ! Component: 3800 - total flux cleaned = 0.00107373 Jy ! Component: 3850 - total flux cleaned = 0.00115389 Jy ! Component: 3900 - total flux cleaned = 0.00120158 Jy ! Component: 3950 - total flux cleaned = 0.00123319 Jy ! Component: 4000 - total flux cleaned = 0.00122531 Jy ! Component: 4050 - total flux cleaned = 0.00128007 Jy ! Total flux subtracted in 4096 components = 0.00132659 Jy ! Clean residual min=-0.000404 max=0.000538 Jy/beam ! Clean residual mean=0.000001 rms=0.000137 Jy/beam ! Combined flux in latest and established models = 0.0390955 Jy keep ! Adding 291 model components to the UV plane model. ! The established model now contains 401 components and 0.0390956 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp171aa_uvs/J0858+0804_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.527 x 3.927 at -1.466 degrees (North through East) ! Clean map min=-0.00079225 max=0.029065 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp171aa_uvs/J0858+0804_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0290652 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00013541 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.39765 1.39765 2.7953 5.5906 11.1812 22.3624 44.7248 89.4496 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0004 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.029 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 214.646 quit ! Quitting program ! Log file /d2/scr/pima/bp171aa_uvs/J0858+0804_C_uvs.log closed on Thu Nov 28 23:32:55 2013