! Started logfile: J1824+5651_S_2006_02_14_yyk_uvs.log on Wed Jul  5 13:25:56 2006
obs J1824+5651_S_2006_02_14_yyk_uva.fits
! Reading UV FITS file: J1824+5651_S_2006_02_14_yyk_uva.fits
! AN table 1: 206 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.661812 visibilities/baseline/integration-bin.
! Found source: J1824+5651
! 
! 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 2692 lines of history.
! 
! Reading 24540 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 J1824+5651_S_2006_02_14_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.
uvav time_av, true
! Averaging into 30 second bins.
! 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
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.753133 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.463 mas, bmaj=8.987 mas, bpa=16.5 degrees
! Estimated noise=2.53214 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.621364 Jy
! Component: 100  -  total flux cleaned = 0.720702 Jy
! Total flux subtracted in 100 components = 0.720702 Jy
! Clean residual min=-0.031948 max=0.031959 Jy/beam
! Clean residual mean=-0.000008 rms=0.008496 Jy/beam
! Combined flux in latest and established models = 0.720703 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 12 components and 0.720703 Jy
! 
! Correcting IF 1.
!  A total of 9 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 9 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.178085Jy  sigma=2.705079
! Fit after  self-cal, rms=0.184579Jy  sigma=2.439924
! Inverting map and beam 
! Estimated beam: bmin=2.463 mas, bmaj=8.987 mas, bpa=16.5 degrees
! Estimated noise=2.53214 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.114 mas, bmaj=8.588 mas, bpa=15.09 degrees
! Estimated noise=1.52611 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.0413627 Jy
! Component: 100  -  total flux cleaned = 0.063107 Jy
! Component: 150  -  total flux cleaned = 0.0775902 Jy
! Component: 200  -  total flux cleaned = 0.0874962 Jy
! Total flux subtracted in 200 components = 0.0874962 Jy
! Clean residual min=-0.021296 max=0.034005 Jy/beam
! Clean residual mean=-0.000179 rms=0.007595 Jy/beam
! Combined flux in latest and established models = 0.808199 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 35 components and 0.808199 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.177137Jy  sigma=2.243765
! Fit after  self-cal, rms=0.176171Jy  sigma=2.239334
! 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.114 x 8.588 at 15.09 degrees (North through East)
! Clean map  min=-0.02122  max=0.70318 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: 1.02162
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.92     FD        0.94     HN        0.95     KP        0.99     
!   LA        1.25     MK        0.89     NL        0.93     OV        0.97     
!   PT        1.00*    SC        0.95     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.996248
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.97     HN        0.98     KP        0.97     
!   LA        1.19     MK        1.02     NL        0.95     OV        0.98     
!   PT        1.00*    SC        0.98     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.971966
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.26     FD        0.97     HN        0.98     KP        0.96     
!   LA        0.95     MK        1.10     NL        1.02     OV        1.00     
!   PT        1.00*    SC        1.05     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.02117
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.95     HN        1.13     KP        0.89     
!   LA        0.91     MK        1.08     NL        0.94     OV        0.86     
!   PT        1.00*    SC        1.08     
! 
! 
! Fit before self-cal, rms=0.176171Jy  sigma=2.239334
! Fit after  self-cal, rms=0.156307Jy  sigma=1.662427
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.156307Jy  sigma=1.662427
! Fit after  self-cal, rms=0.156167Jy  sigma=1.661269
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.161 mas, bmaj=8.673 mas, bpa=14.92 degrees
! Estimated noise=1.52743 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.00475018 Jy
! Component: 100  -  total flux cleaned = 0.00533754 Jy
! Component: 150  -  total flux cleaned = 0.00533169 Jy
! Component: 200  -  total flux cleaned = 0.00525679 Jy
! Total flux subtracted in 200 components = 0.00525679 Jy
! Clean residual min=-0.015047 max=0.016839 Jy/beam
! Clean residual mean=-0.000073 rms=0.004295 Jy/beam
! Combined flux in latest and established models = 0.813456 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 49 components and 0.813455 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.155927Jy  sigma=1.656746
! Fit after  self-cal, rms=0.155702Jy  sigma=1.656383
! 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.155702Jy  sigma=1.656383
! Fit after  self-cal, rms=0.150433Jy  sigma=1.444183
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 (-8, -23).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0162697 Jy
! Component: 100  -  total flux cleaned = 0.0246376 Jy
! Component: 150  -  total flux cleaned = 0.0295774 Jy
! Component: 200  -  total flux cleaned = 0.0336963 Jy
! Total flux subtracted in 200 components = 0.0336963 Jy
! Clean residual min=-0.008997 max=0.006448 Jy/beam
! Clean residual mean=-0.000035 rms=0.002023 Jy/beam
! Combined flux in latest and established models = 0.847152 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 42 model components to the UV plane model.
! The established model now contains 88 components and 0.847152 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.148789Jy  sigma=1.389869
! Fit after  self-cal, rms=0.149657Jy  sigma=1.368771
! 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: 3.161 x 8.673 at 14.92 degrees (North through East)
! Clean map  min=-0.0085445  max=0.71234 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.149657Jy  sigma=1.368771
! Fit after  self-cal, rms=0.142842Jy  sigma=1.237295
! 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.142842Jy  sigma=1.237295
! Fit after  self-cal, rms=0.143788Jy  sigma=1.232053
! Inverting map and beam 
! Estimated beam: bmin=3.171 mas, bmaj=8.652 mas, bpa=14.75 degrees
! Estimated noise=1.51882 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00529286 Jy
! Component: 100  -  total flux cleaned = 0.00667945 Jy
! Component: 150  -  total flux cleaned = 0.00838805 Jy
! Component: 200  -  total flux cleaned = 0.0100447 Jy
! Total flux subtracted in 200 components = 0.0100447 Jy
! Clean residual min=-0.010996 max=0.006376 Jy/beam
! Clean residual mean=-0.000040 rms=0.002051 Jy/beam
! Combined flux in latest and established models = 0.857197 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 122 components and 0.857196 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.143536Jy  sigma=1.210518
! Fit after  self-cal, rms=0.144315Jy  sigma=1.208333
! 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=0.144315Jy  sigma=1.208333
! Fit after  self-cal, rms=0.140894Jy  sigma=1.125400
! 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.140894Jy  sigma=1.125400
! Fit after  self-cal, rms=0.141227Jy  sigma=1.124881
! Inverting map and beam 
! Estimated beam: bmin=3.173 mas, bmaj=8.655 mas, bpa=14.7 degrees
! Estimated noise=1.52017 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00260545 Jy
! Component: 100  -  total flux cleaned = 0.00483294 Jy
! Component: 150  -  total flux cleaned = 0.00683703 Jy
! Component: 200  -  total flux cleaned = 0.00856333 Jy
! Total flux subtracted in 200 components = 0.00856333 Jy
! Clean residual min=-0.007793 max=0.005322 Jy/beam
! Clean residual mean=-0.000044 rms=0.001589 Jy/beam
! Combined flux in latest and established models = 0.86576 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 150 components and 0.86576 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.140991Jy  sigma=1.118205
! Fit after  self-cal, rms=0.141363Jy  sigma=1.117632
! 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=6.423 mas, bmaj=9.333 mas, bpa=12.18 degrees
! Estimated noise=1.95265 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.00444752 Jy
! Component: 100  -  total flux cleaned = 0.00680403 Jy
! Component: 150  -  total flux cleaned = 0.00874628 Jy
! Component: 200  -  total flux cleaned = 0.0101985 Jy
! Total flux subtracted in 200 components = 0.0101985 Jy
! Clean residual min=-0.006815 max=0.006420 Jy/beam
! Clean residual mean=-0.000092 rms=0.001925 Jy/beam
! Combined flux in latest and established models = 0.875958 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 161 components and 0.875958 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.141289Jy  sigma=1.115719
! Fit after  self-cal, rms=0.141565Jy  sigma=1.115232
! 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=2.504 mas, bmaj=8.993 mas, bpa=16.46 degrees
! Estimated noise=2.50537 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.615329 Jy
! Component: 100  -  total flux cleaned = 0.715044 Jy
! Component: 150  -  total flux cleaned = 0.751319 Jy
! Component: 200  -  total flux cleaned = 0.772618 Jy
! Total flux subtracted in 200 components = 0.772618 Jy
! Clean residual min=-0.013414 max=0.013460 Jy/beam
! Clean residual mean=0.000018 rms=0.003558 Jy/beam
! Combined flux in latest and established models = 0.772618 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 23 model components to the UV plane model.
! The established model now contains 23 components and 0.772618 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.173 mas, bmaj=8.655 mas, bpa=14.7 degrees
! Estimated noise=1.52017 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.0217184 Jy
! Component: 100  -  total flux cleaned = 0.0358414 Jy
! Component: 150  -  total flux cleaned = 0.0446449 Jy
! Component: 200  -  total flux cleaned = 0.0520351 Jy
! Total flux subtracted in 200 components = 0.0520351 Jy
! Clean residual min=-0.011197 max=0.006377 Jy/beam
! Clean residual mean=-0.000022 rms=0.002332 Jy/beam
! Combined flux in latest and established models = 0.824653 Jy
! Adding 37 model components to the UV plane model.
! The established model now contains 58 components and 0.824653 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=6.423 mas, bmaj=9.333 mas, bpa=12.18 degrees
! Estimated noise=1.95265 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.0122 Jy
! Component: 100  -  total flux cleaned = 0.0207568 Jy
! Component: 150  -  total flux cleaned = 0.0273336 Jy
! Component: 200  -  total flux cleaned = 0.03257 Jy
! Total flux subtracted in 200 components = 0.03257 Jy
! Clean residual min=-0.007843 max=0.007068 Jy/beam
! Clean residual mean=-0.000070 rms=0.002293 Jy/beam
! Combined flux in latest and established models = 0.857223 Jy
! Adding 69 model components to the UV plane model.
! The established model now contains 119 components and 0.857223 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.173 mas, bmaj=8.655 mas, bpa=14.7 degrees
! Estimated noise=1.52017 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00256446 Jy
! Component: 100  -  total flux cleaned = 0.00498427 Jy
! Component: 150  -  total flux cleaned = 0.00727197 Jy
! Component: 200  -  total flux cleaned = 0.00852879 Jy
! Total flux subtracted in 200 components = 0.00852879 Jy
! Clean residual min=-0.008171 max=0.005670 Jy/beam
! Clean residual mean=-0.000033 rms=0.001615 Jy/beam
! Combined flux in latest and established models = 0.865752 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 139 components and 0.865752 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.141530Jy  sigma=1.117891
! Fit after  self-cal, rms=0.141840Jy  sigma=1.117236
wmodel J1824+5651_S_2006_02_14_yyk\_map.mod
! Writing 139 model components to file: J1824+5651_S_2006_02_14_yyk_map.mod
wobs J1824+5651_S_2006_02_14_yyk\_uvs.fits
! Writing UV FITS file: J1824+5651_S_2006_02_14_yyk_uvs.fits
wwins J1824+5651_S_2006_02_14_yyk\_map.win
! wwins: Wrote 2 windows to J1824+5651_S_2006_02_14_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.00312029 Jy
! Component: 100  -  total flux cleaned = -0.00380173 Jy
! Component: 150  -  total flux cleaned = -0.00448981 Jy
! Component: 200  -  total flux cleaned = -0.00519582 Jy
! Component: 250  -  total flux cleaned = -0.00591471 Jy
! Component: 300  -  total flux cleaned = -0.00632032 Jy
! Component: 350  -  total flux cleaned = -0.00625766 Jy
! Component: 400  -  total flux cleaned = -0.00619772 Jy
! Component: 450  -  total flux cleaned = -0.00613897 Jy
! Component: 500  -  total flux cleaned = -0.00602777 Jy
! Component: 550  -  total flux cleaned = -0.00602767 Jy
! Component: 600  -  total flux cleaned = -0.00581592 Jy
! Component: 650  -  total flux cleaned = -0.00576383 Jy
! Component: 700  -  total flux cleaned = -0.00566327 Jy
! Component: 750  -  total flux cleaned = -0.00551895 Jy
! Component: 800  -  total flux cleaned = -0.00551921 Jy
! Component: 850  -  total flux cleaned = -0.00538099 Jy
! Component: 900  -  total flux cleaned = -0.0053811 Jy
! Component: 950  -  total flux cleaned = -0.00529446 Jy
! Component: 1000  -  total flux cleaned = -0.0053375 Jy
! Component: 1050  -  total flux cleaned = -0.0054616 Jy
! Component: 1100  -  total flux cleaned = -0.0056246 Jy
! Component: 1150  -  total flux cleaned = -0.00574362 Jy
! Component: 1200  -  total flux cleaned = -0.00597664 Jy
! Component: 1250  -  total flux cleaned = -0.00597576 Jy
! Component: 1300  -  total flux cleaned = -0.0061253 Jy
! Component: 1350  -  total flux cleaned = -0.00619888 Jy
! Component: 1400  -  total flux cleaned = -0.00630714 Jy
! Component: 1450  -  total flux cleaned = -0.00644868 Jy
! Component: 1500  -  total flux cleaned = -0.00669253 Jy
! Component: 1550  -  total flux cleaned = -0.00676061 Jy
! Component: 1600  -  total flux cleaned = -0.00692958 Jy
! Component: 1650  -  total flux cleaned = -0.00703023 Jy
! Component: 1700  -  total flux cleaned = -0.00732586 Jy
! Component: 1750  -  total flux cleaned = -0.00739026 Jy
! Component: 1800  -  total flux cleaned = -0.00751791 Jy
! Component: 1850  -  total flux cleaned = -0.00764424 Jy
! Component: 1900  -  total flux cleaned = -0.00776872 Jy
! Component: 1950  -  total flux cleaned = -0.00798333 Jy
! Component: 2000  -  total flux cleaned = -0.00816522 Jy
! Total flux subtracted in 2048 components = -0.00837424 Jy
! Clean residual min=-0.001841 max=0.002197 Jy/beam
! Clean residual mean=-0.000018 rms=0.000600 Jy/beam
! Combined flux in latest and established models = 0.857377 Jy
keep
! Adding 125 model components to the UV plane model.
! The established model now contains 264 components and 0.857378 Jy
![Exited script file: muppet]
wmap "J1824+5651_S_2006_02_14_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.173 x 8.655 at 14.7 degrees (North through East)
! Clean map  min=-0.0055952  max=0.71283 Jy/beam
! Writing clean map to FITS file: J1824+5651_S_2006_02_14_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.712835 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000605462 
device "J1824+5651_S_2006_02_14_yyk\_map.eps/VPS"
! Attempting to open device: 'J1824+5651_S_2006_02_14_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.254812 0.254812 0.509623 1.01925 2.03849 4.07699 8.15397 16.3079 32.6159 65.2318
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.712 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.173 x 8.655 at 14.7 degrees (North through East)
! Clean map  min=-0.0055952  max=0.71283 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1824+5651_S_2006_02_14_yyk\_map.gif/gif"
! Attempting to open device: 'J1824+5651_S_2006_02_14_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1824+5651_S_2006_02_14_yyk_uvs.log closed on Wed Jul  5 13:26:45 2006