! Started logfile: J1818+5017_X_1996_08_10_yyk_uvs.log on Mon Jan  8 07:42:35 2007
obs J1818+5017_X_1996_08_10_yyk_uva.fits
! Reading UV FITS file: J1818+5017_X_1996_08_10_yyk_uva.fits
! AN table 1: 146 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.667123 visibilities/baseline/integration-bin.
! Found source: J1818+5017
! 
! 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  8.15049e+09        8e+06          1        8e+06
!  02        2  8.23424e+09        8e+06          1        8e+06
!  03        3  8.41424e+09        8e+06          1        8e+06
!  04        4  8.55424e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 630 lines of history.
! 
! Reading 17532 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 J1818+5017_X_1996_08_10_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.250139 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=0.7278 mas, bmaj=1.979 mas, bpa=0.8831 degrees
! Estimated noise=1426.38 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.138709 Jy
! Component: 100  -  total flux cleaned = 0.178543 Jy
! Total flux subtracted in 100 components = 0.178543 Jy
! Clean residual min=-0.007689 max=0.010657 Jy/beam
! Clean residual mean=-0.000091 rms=0.002070 Jy/beam
! Combined flux in latest and established models = 0.178543 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.178543 Jy
! 
! Correcting IF 1.
!  A total of 264 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 264 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 264 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 264 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.185533Jy  sigma=0.001207
! Fit after  self-cal, rms=0.185430Jy  sigma=0.001206
! Inverting map and beam 
! Estimated beam: bmin=0.7278 mas, bmaj=1.979 mas, bpa=0.8831 degrees
! Estimated noise=1426.41 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=0.9842 mas, bmaj=2.131 mas, bpa=-2.752 degrees
! Estimated noise=803.284 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.0138393 Jy
! Component: 100  -  total flux cleaned = 0.0181647 Jy
! Component: 150  -  total flux cleaned = 0.0204187 Jy
! Component: 200  -  total flux cleaned = 0.0216537 Jy
! Total flux subtracted in 200 components = 0.0216537 Jy
! Clean residual min=-0.004727 max=0.004420 Jy/beam
! Clean residual mean=-0.000052 rms=0.001123 Jy/beam
! Combined flux in latest and established models = 0.200196 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 21 components and 0.200196 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.184832Jy  sigma=0.001202
! Fit after  self-cal, rms=0.184829Jy  sigma=0.001202
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9842 x 2.131 at -2.752 degrees (North through East)
! Clean map  min=-0.0042934  max=0.16141 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01155
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.98     HN        0.96     KP        1.00*    
!   LA        1.05     MK        0.92     NL        1.00     OV        0.95     
!   PT        0.99     SC        1.00     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00284
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.96     HN        0.92     KP        1.00*    
!   LA        0.98     MK        0.99     NL        1.02     OV        1.07     
!   PT        0.97     SC        1.07     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.994164
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        0.98     HN        0.97     KP        1.00*    
!   LA        1.02     MK        0.95     NL        0.98     OV        1.01     
!   PT        0.97     SC        1.13     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.992738
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.03     HN        1.01     KP        1.00*    
!   LA        1.00     MK        0.95     NL        1.01     OV        0.99     
!   PT        0.98     SC        1.06     
! 
! 
! Fit before self-cal, rms=0.184829Jy  sigma=0.001202
! Fit after  self-cal, rms=0.186071Jy  sigma=0.001201
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.186071Jy  sigma=0.001201
! Fit after  self-cal, rms=0.186072Jy  sigma=0.001201
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.98 mas, bmaj=2.133 mas, bpa=-3.566 degrees
! Estimated noise=801.284 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.000671548 Jy
! Component: 100  -  total flux cleaned = 0.000744511 Jy
! Component: 150  -  total flux cleaned = 0.000776993 Jy
! Component: 200  -  total flux cleaned = 0.000839916 Jy
! Total flux subtracted in 200 components = 0.000839916 Jy
! Clean residual min=-0.004027 max=0.004249 Jy/beam
! Clean residual mean=-0.000040 rms=0.001018 Jy/beam
! Combined flux in latest and established models = 0.201036 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 28 components and 0.201036 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.186060Jy  sigma=0.001201
! Fit after  self-cal, rms=0.186059Jy  sigma=0.001201
! 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.186059Jy  sigma=0.001201
! Fit after  self-cal, rms=0.184899Jy  sigma=0.001193
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)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00109308 Jy
! Component: 100  -  total flux cleaned = 0.00109447 Jy
! Component: 150  -  total flux cleaned = 0.00112362 Jy
! Component: 200  -  total flux cleaned = 0.00112203 Jy
! Total flux subtracted in 200 components = 0.00112203 Jy
! Clean residual min=-0.003906 max=0.004173 Jy/beam
! Clean residual mean=-0.000041 rms=0.001015 Jy/beam
! Combined flux in latest and established models = 0.202158 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 37 components and 0.202158 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.184887Jy  sigma=0.001193
! Fit after  self-cal, rms=0.184701Jy  sigma=0.001192
! 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: 0.98 x 2.133 at -3.566 degrees (North through East)
! Clean map  min=-0.0036456  max=0.16279 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.184701Jy  sigma=0.001192
! Fit after  self-cal, rms=0.182935Jy  sigma=0.001191
! 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.182935Jy  sigma=0.001191
! Fit after  self-cal, rms=0.182894Jy  sigma=0.001191
! Inverting map and beam 
! Estimated beam: bmin=0.959 mas, bmaj=2.126 mas, bpa=-2.728 degrees
! Estimated noise=794.222 mJy/beam.
! Added new window around map position (-3.2, -0.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00470587 Jy
! Component: 100  -  total flux cleaned = 0.00500992 Jy
! Component: 150  -  total flux cleaned = 0.00516876 Jy
! Component: 200  -  total flux cleaned = 0.00537982 Jy
! Total flux subtracted in 200 components = 0.00537982 Jy
! Clean residual min=-0.003157 max=0.002858 Jy/beam
! Clean residual mean=-0.000014 rms=0.000800 Jy/beam
! Combined flux in latest and established models = 0.207538 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 59 components and 0.207538 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.182787Jy  sigma=0.001191
! Fit after  self-cal, rms=0.182775Jy  sigma=0.001190
! 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.182775Jy  sigma=0.001190
! Fit after  self-cal, rms=0.183208Jy  sigma=0.001188
! 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.183208Jy  sigma=0.001188
! Fit after  self-cal, rms=0.183208Jy  sigma=0.001188
! Inverting map and beam 
! Estimated beam: bmin=0.9528 mas, bmaj=2.13 mas, bpa=-2.723 degrees
! Estimated noise=792.093 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000805305 Jy
! Component: 100  -  total flux cleaned = 0.000928582 Jy
! Component: 150  -  total flux cleaned = 0.00114597 Jy
! Component: 200  -  total flux cleaned = 0.00134196 Jy
! Total flux subtracted in 200 components = 0.00134196 Jy
! Clean residual min=-0.003121 max=0.002763 Jy/beam
! Clean residual mean=-0.000011 rms=0.000757 Jy/beam
! Combined flux in latest and established models = 0.20888 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 76 components and 0.20888 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.183183Jy  sigma=0.001188
! Fit after  self-cal, rms=0.183184Jy  sigma=0.001188
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.042 mas, bmaj=2.669 mas, bpa=-17.68 degrees
! Estimated noise=993.124 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.000692661 Jy
! Component: 100  -  total flux cleaned = 0.000720714 Jy
! Component: 150  -  total flux cleaned = 0.000805128 Jy
! Component: 200  -  total flux cleaned = 0.000851537 Jy
! Total flux subtracted in 200 components = 0.000851537 Jy
! Clean residual min=-0.002997 max=0.003357 Jy/beam
! Clean residual mean=-0.000020 rms=0.000927 Jy/beam
! Combined flux in latest and established models = 0.209732 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 86 components and 0.209732 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.183183Jy  sigma=0.001188
! Fit after  self-cal, rms=0.183184Jy  sigma=0.001188
! 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=0.71 mas, bmaj=1.979 mas, bpa=0.8352 degrees
! Estimated noise=1486.59 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.13897 Jy
! Component: 100  -  total flux cleaned = 0.179969 Jy
! Component: 150  -  total flux cleaned = 0.193827 Jy
! Component: 200  -  total flux cleaned = 0.200321 Jy
! Total flux subtracted in 200 components = 0.200321 Jy
! Clean residual min=-0.005912 max=0.005648 Jy/beam
! Clean residual mean=-0.000035 rms=0.001548 Jy/beam
! Combined flux in latest and established models = 0.200321 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 17 model components to the UV plane model.
! The established model now contains 17 components and 0.200321 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9528 mas, bmaj=2.13 mas, bpa=-2.723 degrees
! Estimated noise=792.093 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.00495319 Jy
! Component: 100  -  total flux cleaned = 0.00700857 Jy
! Component: 150  -  total flux cleaned = 0.00755563 Jy
! Component: 200  -  total flux cleaned = 0.00794672 Jy
! Total flux subtracted in 200 components = 0.00794672 Jy
! Clean residual min=-0.003214 max=0.002873 Jy/beam
! Clean residual mean=-0.000013 rms=0.000793 Jy/beam
! Combined flux in latest and established models = 0.208268 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 32 components and 0.208268 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.042 mas, bmaj=2.669 mas, bpa=-17.68 degrees
! Estimated noise=993.124 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.00130056 Jy
! Component: 100  -  total flux cleaned = 0.00143918 Jy
! Component: 150  -  total flux cleaned = 0.00158156 Jy
! Component: 200  -  total flux cleaned = 0.00161296 Jy
! Total flux subtracted in 200 components = 0.00161296 Jy
! Clean residual min=-0.003122 max=0.003357 Jy/beam
! Clean residual mean=-0.000018 rms=0.000941 Jy/beam
! Combined flux in latest and established models = 0.209881 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 44 components and 0.209881 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9528 mas, bmaj=2.13 mas, bpa=-2.723 degrees
! Estimated noise=792.093 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000105319 Jy
! Component: 100  -  total flux cleaned = -0.000160849 Jy
! Component: 150  -  total flux cleaned = -0.000262275 Jy
! Component: 200  -  total flux cleaned = -0.000265367 Jy
! Total flux subtracted in 200 components = -0.000265367 Jy
! Clean residual min=-0.003123 max=0.002795 Jy/beam
! Clean residual mean=-0.000007 rms=0.000753 Jy/beam
! Combined flux in latest and established models = 0.209616 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 57 components and 0.209616 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.183182Jy  sigma=0.001188
! Fit after  self-cal, rms=0.183184Jy  sigma=0.001188
wmodel J1818+5017_X_1996_08_10_yyk\_map.mod
! Writing 57 model components to file: J1818+5017_X_1996_08_10_yyk_map.mod
wobs J1818+5017_X_1996_08_10_yyk\_uvs.fits
! Writing UV FITS file: J1818+5017_X_1996_08_10_yyk_uvs.fits
wwins J1818+5017_X_1996_08_10_yyk\_map.win
! wwins: Wrote 2 windows to J1818+5017_X_1996_08_10_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.00119804 Jy
! Component: 100  -  total flux cleaned = -0.00189268 Jy
! Component: 150  -  total flux cleaned = -0.00225608 Jy
! Component: 200  -  total flux cleaned = -0.00221548 Jy
! Component: 250  -  total flux cleaned = -0.00217564 Jy
! Component: 300  -  total flux cleaned = -0.00201952 Jy
! Component: 350  -  total flux cleaned = -0.00187026 Jy
! Component: 400  -  total flux cleaned = -0.00183409 Jy
! Component: 450  -  total flux cleaned = -0.0016216 Jy
! Component: 500  -  total flux cleaned = -0.00151824 Jy
! Component: 550  -  total flux cleaned = -0.00145066 Jy
! Component: 600  -  total flux cleaned = -0.00128605 Jy
! Component: 650  -  total flux cleaned = -0.00115781 Jy
! Component: 700  -  total flux cleaned = -0.00103159 Jy
! Component: 750  -  total flux cleaned = -0.000907957 Jy
! Component: 800  -  total flux cleaned = -0.000756855 Jy
! Component: 850  -  total flux cleaned = -0.000638336 Jy
! Component: 900  -  total flux cleaned = -0.000580574 Jy
! Component: 950  -  total flux cleaned = -0.000494854 Jy
! Component: 1000  -  total flux cleaned = -0.000439488 Jy
! Component: 1050  -  total flux cleaned = -0.000439647 Jy
! Component: 1100  -  total flux cleaned = -0.000385586 Jy
! Component: 1150  -  total flux cleaned = -0.000359228 Jy
! Component: 1200  -  total flux cleaned = -0.000306809 Jy
! Component: 1250  -  total flux cleaned = -0.000306977 Jy
! Component: 1300  -  total flux cleaned = -0.000281396 Jy
! Component: 1350  -  total flux cleaned = -0.000231724 Jy
! Component: 1400  -  total flux cleaned = -0.000256494 Jy
! Component: 1450  -  total flux cleaned = -0.000304564 Jy
! Component: 1500  -  total flux cleaned = -0.000304527 Jy
! Component: 1550  -  total flux cleaned = -0.000328253 Jy
! Component: 1600  -  total flux cleaned = -0.000375258 Jy
! Component: 1650  -  total flux cleaned = -0.000351846 Jy
! Component: 1700  -  total flux cleaned = -0.000352043 Jy
! Component: 1750  -  total flux cleaned = -0.000374959 Jy
! Component: 1800  -  total flux cleaned = -0.000509519 Jy
! Component: 1850  -  total flux cleaned = -0.000509366 Jy
! Component: 1900  -  total flux cleaned = -0.000553202 Jy
! Component: 1950  -  total flux cleaned = -0.000553069 Jy
! Component: 2000  -  total flux cleaned = -0.000617395 Jy
! Total flux subtracted in 2048 components = -0.000596233 Jy
! Clean residual min=-0.001308 max=0.001242 Jy/beam
! Clean residual mean=0.000000 rms=0.000398 Jy/beam
! Combined flux in latest and established models = 0.20902 Jy
keep
! Adding 142 model components to the UV plane model.
! The established model now contains 199 components and 0.20902 Jy
![Exited script file: muppet]
wmap "J1818+5017_X_1996_08_10_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9528 x 2.13 at -2.723 degrees (North through East)
! Clean map  min=-0.0021872  max=0.15999 Jy/beam
! Writing clean map to FITS file: J1818+5017_X_1996_08_10_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.159991 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000395693 
device "J1818+5017_X_1996_08_10_yyk\_map.eps/VPS"
! Attempting to open device: 'J1818+5017_X_1996_08_10_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.741968 0.741968 1.48394 2.96787 5.93574 11.8715 23.743 47.486 94.9719
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.159 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9528 x 2.13 at -2.723 degrees (North through East)
! Clean map  min=-0.0021872  max=0.15999 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1818+5017_X_1996_08_10_yyk\_map.gif/gif"
! Attempting to open device: 'J1818+5017_X_1996_08_10_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1818+5017_X_1996_08_10_yyk_uvs.log closed on Mon Jan  8 07:42:43 2007