! Started logfile: J1120+1420_S_1996_03_13_yyk_uvs.log on Sun Jan  7 17:43:52 2007
obs J1120+1420_S_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J1120+1420_S_1996_03_13_yyk_uva.fits
! AN table 1: 121 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.744904 visibilities/baseline/integration-bin.
! Found source: J1120+1420
! 
! 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.22049e+09        4e+06          1        4e+06
!  02        2  2.23236e+09        4e+06          1        4e+06
!  03        3  2.29236e+09        4e+06          1        4e+06
!  04        4  2.32236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 656 lines of history.
! 
! Reading 16224 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
![@muppet J1120+1420_S_1996_03_13_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
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.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.681152 Jy 
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.728 mas, bmaj=6.803 mas, bpa=0.07793 degrees
! Estimated noise=1435.33 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.26149 Jy
! Component: 100  -  total flux cleaned = 0.392514 Jy
! Total flux subtracted in 100 components = 0.392514 Jy
! Clean residual min=-0.072433 max=0.148051 Jy/beam
! Clean residual mean=0.000657 rms=0.025563 Jy/beam
! Combined flux in latest and established models = 0.392514 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 45 model components to the UV plane model.
! The established model now contains 45 components and 0.392514 Jy
! 
! Correcting IF 1.
!  A total of 183 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 183 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 183 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 183 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.574727Jy  sigma=0.003107
! Fit after  self-cal, rms=0.572988Jy  sigma=0.003095
! Inverting map and beam 
! Estimated beam: bmin=2.728 mas, bmaj=6.803 mas, bpa=0.07791 degrees
! Estimated noise=1435.37 mJy/beam.
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.599 mas, bmaj=8.208 mas, bpa=-1.859 degrees
! Estimated noise=1014.88 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.147767 Jy
! Component: 100  -  total flux cleaned = 0.230586 Jy
! Component: 150  -  total flux cleaned = 0.277999 Jy
! Component: 200  -  total flux cleaned = 0.290865 Jy
! Total flux subtracted in 200 components = 0.290865 Jy
! Clean residual min=-0.089608 max=0.178477 Jy/beam
! Clean residual mean=0.001848 rms=0.032017 Jy/beam
! Combined flux in latest and established models = 0.68338 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 64 components and 0.68338 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.545698Jy  sigma=0.002935
! Fit after  self-cal, rms=0.543647Jy  sigma=0.002928
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.599 x 8.208 at -1.859 degrees (North through East)
! Clean map  min=-0.089211  max=0.25888 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 0.784041
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.22     FD        0.95     HN        2.49     KP        0.88     
!   LA        0.58     MK        1.96     NL        1.05     OV        1.80     
!   PT        0.81     SC        1.01     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.705409
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.19     FD        1.00     HN        2.68     KP        0.93     
!   LA        0.66     MK        2.42     NL        1.21     OV        1.58     
!   PT        0.82     SC        1.69     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.670161
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.71     FD        0.98     HN        2.83     KP        0.82     
!   LA        0.50     MK        2.07     NL        1.21     OV        1.93     
!   PT        1.05     SC        1.82     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.604389
!  Telescope amplitude corrections in sub-array 1:
!   BR        2.38     FD        1.06     HN        2.60     KP        0.82     
!   LA        0.54     MK        2.81     NL        1.32     OV        2.41     
!   PT        0.96     SC        1.64     
! 
! 
! Fit before self-cal, rms=0.543647Jy  sigma=0.002928
! Fit after  self-cal, rms=0.540551Jy  sigma=0.004108
selfcal false, false, phase_soltime
! Performing phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.540551Jy  sigma=0.004108
! Fit after  self-cal, rms=0.546443Jy  sigma=0.004087
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=6.051 mas, bmaj=11.45 mas, bpa=5.212 degrees
! Estimated noise=533.901 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.257565 Jy
! Component: 100  -  total flux cleaned = -0.328819 Jy
! Component: 150  -  total flux cleaned = -0.354658 Jy
! Component: 200  -  total flux cleaned = -0.361512 Jy
! Total flux subtracted in 200 components = -0.361512 Jy
! Clean residual min=-0.047528 max=0.079312 Jy/beam
! Clean residual mean=0.001117 rms=0.017034 Jy/beam
! Combined flux in latest and established models = 0.321867 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 42 model components to the UV plane model.
! The established model now contains 89 components and 0.321867 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.511514Jy  sigma=0.002723
! Fit after  self-cal, rms=0.507965Jy  sigma=0.002702
! Inverting map 
print "************** FINISHED AMPLITUDE GSCALE SELF-CAL **************"
! ************** FINISHED AMPLITUDE GSCALE SELF-CAL ************** 
! 
phase_soltime=phase_soltime2
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.507965Jy  sigma=0.002702
! Fit after  self-cal, rms=0.505613Jy  sigma=0.002685
dynam = dynam - 0.5
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 false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (-64, 35.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0641712 Jy
! Component: 100  -  total flux cleaned = 0.0748721 Jy
! Component: 150  -  total flux cleaned = 0.0804477 Jy
! Component: 200  -  total flux cleaned = 0.085211 Jy
! Total flux subtracted in 200 components = 0.085211 Jy
! Clean residual min=-0.052974 max=0.064479 Jy/beam
! Clean residual mean=0.000607 rms=0.014110 Jy/beam
! Combined flux in latest and established models = 0.407078 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 49 model components to the UV plane model.
! The established model now contains 137 components and 0.407078 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.496510Jy  sigma=0.002512
! Fit after  self-cal, rms=0.495486Jy  sigma=0.002463
! Inverting map 
print "*** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime ***"
! *** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime *** 
! 
dynam = dynam - 0.25
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 6.051 x 11.45 at 5.212 degrees (North through East)
! Clean map  min=-0.036481  max=0.17066 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true, amp_soltime1
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true, amp_soltime2
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  print "************** FINISHED AMPLITUDE SELF-CAL **************"
  end if
! Performing amp+phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.495486Jy  sigma=0.002463
! Fit after  self-cal, rms=3.478499Jy  sigma=0.002259
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.478499Jy  sigma=0.002259
! Fit after  self-cal, rms=3.478141Jy  sigma=0.002259
! Inverting map and beam 
! Estimated beam: bmin=7.444 mas, bmaj=10.61 mas, bpa=14.43 degrees
! Estimated noise=457.025 mJy/beam.
! Added new window around map position (61, -31.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.022375 Jy
! Component: 100  -  total flux cleaned = 0.0233258 Jy
! Component: 150  -  total flux cleaned = 0.0276096 Jy
! Component: 200  -  total flux cleaned = 0.0275928 Jy
! Total flux subtracted in 200 components = 0.0275928 Jy
! Clean residual min=-0.024174 max=0.028372 Jy/beam
! Clean residual mean=0.000196 rms=0.007199 Jy/beam
! Combined flux in latest and established models = 0.434671 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 51 model components to the UV plane model.
! The established model now contains 185 components and 0.434671 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.477627Jy  sigma=0.002171
! Fit after  self-cal, rms=3.477478Jy  sigma=0.002162
! Inverting map 
! Performing amp+phase self-cal over 1 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.477478Jy  sigma=0.002162
! Fit after  self-cal, rms=3.226241Jy  sigma=0.002141
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.226241Jy  sigma=0.002141
! Fit after  self-cal, rms=3.226527Jy  sigma=0.002141
! Inverting map and beam 
! Estimated beam: bmin=7.862 mas, bmaj=10.49 mas, bpa=24.87 degrees
! Estimated noise=430.728 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00428085 Jy
! Component: 100  -  total flux cleaned = 0.00359511 Jy
! Component: 150  -  total flux cleaned = 0.00405466 Jy
! Component: 200  -  total flux cleaned = 0.00619561 Jy
! Total flux subtracted in 200 components = 0.00619561 Jy
! Clean residual min=-0.021312 max=0.024373 Jy/beam
! Clean residual mean=0.000283 rms=0.006138 Jy/beam
! Combined flux in latest and established models = 0.440867 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 41 model components to the UV plane model.
! The established model now contains 219 components and 0.440867 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.226244Jy  sigma=0.002105
! Fit after  self-cal, rms=3.226265Jy  sigma=0.002103
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=10.04 mas, bmaj=13.3 mas, bpa=48.79 degrees
! Estimated noise=450.473 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00759668 Jy
! Component: 100  -  total flux cleaned = 0.0120219 Jy
! Component: 150  -  total flux cleaned = 0.0129816 Jy
! Component: 200  -  total flux cleaned = 0.014429 Jy
! Total flux subtracted in 200 components = 0.014429 Jy
! Clean residual min=-0.022680 max=0.022560 Jy/beam
! Clean residual mean=0.000287 rms=0.006337 Jy/beam
! Combined flux in latest and established models = 0.455296 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 233 components and 0.455296 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.226270Jy  sigma=0.002092
! Fit after  self-cal, rms=3.226273Jy  sigma=0.002091
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum 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.315 mas, bmaj=8.009 mas, bpa=3.183 degrees
! Estimated noise=995.651 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.171975 Jy
! Component: 100  -  total flux cleaned = 0.257179 Jy
! Component: 150  -  total flux cleaned = 0.294831 Jy
! Component: 200  -  total flux cleaned = 0.315826 Jy
! Total flux subtracted in 200 components = 0.315826 Jy
! Clean residual min=-0.031408 max=0.048428 Jy/beam
! Clean residual mean=0.000279 rms=0.010923 Jy/beam
! Combined flux in latest and established models = 0.315827 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 54 model components to the UV plane model.
! The established model now contains 54 components and 0.315827 Jy
! Inverting map and beam 
! Estimated beam: bmin=7.862 mas, bmaj=10.49 mas, bpa=24.87 degrees
! Estimated noise=430.728 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0495318 Jy
! Component: 100  -  total flux cleaned = 0.0692604 Jy
! Component: 150  -  total flux cleaned = 0.0839776 Jy
! Component: 200  -  total flux cleaned = 0.0944353 Jy
! Total flux subtracted in 200 components = 0.0944353 Jy
! Clean residual min=-0.023774 max=0.024467 Jy/beam
! Clean residual mean=0.000402 rms=0.007487 Jy/beam
! Combined flux in latest and established models = 0.410262 Jy
! Adding 29 model components to the UV plane model.
! The established model now contains 77 components and 0.410262 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=10.04 mas, bmaj=13.3 mas, bpa=48.79 degrees
! Estimated noise=450.473 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0206282 Jy
! Component: 100  -  total flux cleaned = 0.0288241 Jy
! Component: 150  -  total flux cleaned = 0.0313444 Jy
! Component: 200  -  total flux cleaned = 0.0344585 Jy
! Total flux subtracted in 200 components = 0.0344585 Jy
! Clean residual min=-0.023140 max=0.021755 Jy/beam
! Clean residual mean=0.000350 rms=0.006706 Jy/beam
! Combined flux in latest and established models = 0.44472 Jy
! Adding 29 model components to the UV plane model.
! The established model now contains 96 components and 0.44472 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=7.862 mas, bmaj=10.49 mas, bpa=24.87 degrees
! Estimated noise=430.728 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00329979 Jy
! Component: 100  -  total flux cleaned = -0.00443751 Jy
! Component: 150  -  total flux cleaned = -0.0064911 Jy
! Component: 200  -  total flux cleaned = -0.00679014 Jy
! Total flux subtracted in 200 components = -0.00679014 Jy
! Clean residual min=-0.019810 max=0.020429 Jy/beam
! Clean residual mean=0.000317 rms=0.005936 Jy/beam
! Combined flux in latest and established models = 0.43793 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 130 components and 0.43793 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.226700Jy  sigma=0.002111
! Fit after  self-cal, rms=3.225202Jy  sigma=0.002102
wmodel J1120+1420_S_1996_03_13_yyk\_map.mod
! Writing 130 model components to file: J1120+1420_S_1996_03_13_yyk_map.mod
wobs J1120+1420_S_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J1120+1420_S_1996_03_13_yyk_uvs.fits
wwins J1120+1420_S_1996_03_13_yyk\_map.win
! wwins: Wrote 3 windows to J1120+1420_S_1996_03_13_yyk_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.00052026 Jy
! Component: 100  -  total flux cleaned = 0.000432425 Jy
! Component: 150  -  total flux cleaned = 0.00463427 Jy
! Component: 200  -  total flux cleaned = 0.00860641 Jy
! Component: 250  -  total flux cleaned = 0.012112 Jy
! Component: 300  -  total flux cleaned = 0.01648 Jy
! Component: 350  -  total flux cleaned = 0.0201711 Jy
! Component: 400  -  total flux cleaned = 0.0227725 Jy
! Component: 450  -  total flux cleaned = 0.0259613 Jy
! Component: 500  -  total flux cleaned = 0.0285919 Jy
! Component: 550  -  total flux cleaned = 0.0309225 Jy
! Component: 600  -  total flux cleaned = 0.0329762 Jy
! Component: 650  -  total flux cleaned = 0.0353649 Jy
! Component: 700  -  total flux cleaned = 0.0374838 Jy
! Component: 750  -  total flux cleaned = 0.0395367 Jy
! Component: 800  -  total flux cleaned = 0.0413474 Jy
! Component: 850  -  total flux cleaned = 0.0427592 Jy
! Component: 900  -  total flux cleaned = 0.0448227 Jy
! Component: 950  -  total flux cleaned = 0.0461656 Jy
! Component: 1000  -  total flux cleaned = 0.0469882 Jy
! Component: 1050  -  total flux cleaned = 0.0477935 Jy
! Component: 1100  -  total flux cleaned = 0.0482676 Jy
! Component: 1150  -  total flux cleaned = 0.048733 Jy
! Component: 1200  -  total flux cleaned = 0.0491918 Jy
! Component: 1250  -  total flux cleaned = 0.0497885 Jy
! Component: 1300  -  total flux cleaned = 0.049936 Jy
! Component: 1350  -  total flux cleaned = 0.0500828 Jy
! Component: 1400  -  total flux cleaned = 0.0500819 Jy
! Component: 1450  -  total flux cleaned = 0.0498035 Jy
! Component: 1500  -  total flux cleaned = 0.0495298 Jy
! Component: 1550  -  total flux cleaned = 0.0491245 Jy
! Component: 1600  -  total flux cleaned = 0.0491244 Jy
! Component: 1650  -  total flux cleaned = 0.0485971 Jy
! Component: 1700  -  total flux cleaned = 0.0482086 Jy
! Component: 1750  -  total flux cleaned = 0.0479527 Jy
! Component: 1800  -  total flux cleaned = 0.0475729 Jy
! Component: 1850  -  total flux cleaned = 0.0471981 Jy
! Component: 1900  -  total flux cleaned = 0.0468282 Jy
! Component: 1950  -  total flux cleaned = 0.0464625 Jy
! Component: 2000  -  total flux cleaned = 0.046221 Jy
! Total flux subtracted in 2048 components = 0.0455068 Jy
! Clean residual min=-0.007139 max=0.008531 Jy/beam
! Clean residual mean=-0.000021 rms=0.002747 Jy/beam
! Combined flux in latest and established models = 0.483437 Jy
keep
! Adding 123 model components to the UV plane model.
! The established model now contains 252 components and 0.483437 Jy
![Exited script file: muppet]
wmap "J1120+1420_S_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 7.862 x 10.49 at 24.87 degrees (North through East)
! Clean map  min=-0.021891  max=0.16268 Jy/beam
! Writing clean map to FITS file: J1120+1420_S_1996_03_13_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.162679 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00269688 
device "J1120+1420_S_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J1120+1420_S_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -4.97338 4.97338 9.94675 19.8935 39.787 79.574
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.008 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.162 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 7.862 x 10.49 at 24.87 degrees (North through East)
! Clean map  min=-0.021891  max=0.16268 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1120+1420_S_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J1120+1420_S_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1120+1420_S_1996_03_13_yyk_uvs.log closed on Sun Jan  7 17:43:59 2007