! Started logfile: J1056+7011_S_2002_01_31_yyk_uvs.log on Tue Jun 26 22:40:08 2007
obs J1056+7011_S_2002_01_31_yyk_uva.fits
! Reading UV FITS file: J1056+7011_S_2002_01_31_yyk_uva.fits
! AN table 1: 167 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.626613 visibilities/baseline/integration-bin.
! Found source: J1056+7011
! 
! 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.22947e+09        8e+06          1        8e+06
!  02        2  2.25947e+09        8e+06          1        8e+06
!  03        3  2.34947e+09        8e+06          1        8e+06
!  04        4  2.36947e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1224 lines of history.
! 
! Reading 18836 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 J1056+7011_S_2002_01_31_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.308412 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.5 mas, bmaj=6.239 mas, bpa=-38.83 degrees
! Estimated noise=1047.97 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.227072 Jy
! Component: 100  -  total flux cleaned = 0.268872 Jy
! Total flux subtracted in 100 components = 0.268872 Jy
! Clean residual min=-0.007922 max=0.016493 Jy/beam
! Clean residual mean=0.000031 rms=0.002339 Jy/beam
! Combined flux in latest and established models = 0.268872 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 0.268872 Jy
! 
! Correcting IF 1.
!  A total of 385 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 536 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 393 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 385 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.139462Jy  sigma=0.001271
! Fit after  self-cal, rms=0.139285Jy  sigma=0.001269
! Inverting map and beam 
! Estimated beam: bmin=2.5 mas, bmaj=6.239 mas, bpa=-38.83 degrees
! Estimated noise=1048.83 mJy/beam.
! Added new window around map position (4, 5.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0227821 Jy
! Component: 100  -  total flux cleaned = 0.0369639 Jy
! Total flux subtracted in 100 components = 0.0369639 Jy
! Clean residual min=-0.006278 max=0.007887 Jy/beam
! Clean residual mean=0.000023 rms=0.001787 Jy/beam
! Combined flux in latest and established models = 0.305836 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 19 components and 0.305836 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.135825Jy  sigma=0.001236
! Fit after  self-cal, rms=0.135779Jy  sigma=0.001235
! Inverting map 
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.38 mas, bmaj=7.798 mas, bpa=-37.02 degrees
! Estimated noise=548.36 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 (-1.5, -7).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00780589 Jy
! Component: 100  -  total flux cleaned = 0.00873096 Jy
! Component: 150  -  total flux cleaned = 0.00813335 Jy
! Component: 200  -  total flux cleaned = 0.00724327 Jy
! Total flux subtracted in 200 components = 0.00724327 Jy
! Clean residual min=-0.005088 max=0.003933 Jy/beam
! Clean residual mean=0.000015 rms=0.001175 Jy/beam
! Combined flux in latest and established models = 0.313079 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 56 components and 0.313079 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.134793Jy  sigma=0.001226
! Fit after  self-cal, rms=0.134783Jy  sigma=0.001226
! 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.38 x 7.798 at -37.02 degrees (North through East)
! Clean map  min=-0.0059047  max=0.26193 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.997814
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.89     FD        1.12     HN        1.00*    KP        0.98     
!   LA        1.00     MK        0.96     NL        0.98     OV        0.98     
!   PT        1.05     SC        1.07     
! 
! 
! Correcting IF 2.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00154
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.01     HN        1.00*    KP        1.00*    
!   LA        0.97     MK        1.05     NL        1.06     OV        0.96     
!   PT        0.99     SC        1.01     
! 
! 
! Correcting IF 3.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.975044
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.94     HN        1.00*    KP        1.05     
!   LA        0.98     MK        1.00     NL        1.13     OV        0.99     
!   PT        1.14     SC        1.01     
! 
! 
! Correcting IF 4.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.03563
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        0.87     HN        1.00*    KP        1.08     
!   LA        0.82     MK        0.98     NL        1.09     OV        0.92     
!   PT        0.99     SC        0.96     
! 
! 
! Fit before self-cal, rms=0.134783Jy  sigma=0.001226
! Fit after  self-cal, rms=0.130723Jy  sigma=0.001200
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.130723Jy  sigma=0.001200
! Fit after  self-cal, rms=0.130713Jy  sigma=0.001200
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.417 mas, bmaj=7.794 mas, bpa=-36.57 degrees
! Estimated noise=550.429 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.000318665 Jy
! Component: 100  -  total flux cleaned = -0.000225167 Jy
! Component: 150  -  total flux cleaned = -0.000229061 Jy
! Component: 200  -  total flux cleaned = -0.00022704 Jy
! Total flux subtracted in 200 components = -0.00022704 Jy
! Clean residual min=-0.002868 max=0.002651 Jy/beam
! Clean residual mean=0.000005 rms=0.000714 Jy/beam
! Combined flux in latest and established models = 0.312852 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 77 components and 0.312852 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.130613Jy  sigma=0.001199
! Fit after  self-cal, rms=0.130608Jy  sigma=0.001199
! 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.130608Jy  sigma=0.001199
! Fit after  self-cal, rms=0.129352Jy  sigma=0.001189
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.000427987 Jy
! Component: 100  -  total flux cleaned = 0.000482246 Jy
! Component: 150  -  total flux cleaned = 0.000530469 Jy
! Component: 200  -  total flux cleaned = 0.000619034 Jy
! Total flux subtracted in 200 components = 0.000619034 Jy
! Clean residual min=-0.002587 max=0.002569 Jy/beam
! Clean residual mean=0.000005 rms=0.000705 Jy/beam
! Combined flux in latest and established models = 0.313471 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 98 components and 0.313471 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.129310Jy  sigma=0.001189
! Fit after  self-cal, rms=0.129086Jy  sigma=0.001187
! 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.417 x 7.794 at -36.57 degrees (North through East)
! Clean map  min=-0.0032387  max=0.26371 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.129086Jy  sigma=0.001187
! Fit after  self-cal, rms=0.128324Jy  sigma=0.001178
! 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.128324Jy  sigma=0.001178
! Fit after  self-cal, rms=0.128268Jy  sigma=0.001178
! Inverting map and beam 
! Estimated beam: bmin=3.406 mas, bmaj=7.757 mas, bpa=-36.36 degrees
! Estimated noise=549.029 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000223798 Jy
! Component: 100  -  total flux cleaned = 0.000457708 Jy
! Component: 150  -  total flux cleaned = 0.000504848 Jy
! Component: 200  -  total flux cleaned = 0.000502289 Jy
! Total flux subtracted in 200 components = 0.000502289 Jy
! Clean residual min=-0.002160 max=0.002263 Jy/beam
! Clean residual mean=0.000016 rms=0.000623 Jy/beam
! Combined flux in latest and established models = 0.313973 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 114 components and 0.313973 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128225Jy  sigma=0.001178
! Fit after  self-cal, rms=0.128206Jy  sigma=0.001178
! 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.128206Jy  sigma=0.001178
! Fit after  self-cal, rms=0.128308Jy  sigma=0.001175
! 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.128308Jy  sigma=0.001175
! Fit after  self-cal, rms=0.128306Jy  sigma=0.001175
! Inverting map and beam 
! Estimated beam: bmin=3.403 mas, bmaj=7.754 mas, bpa=-36.29 degrees
! Estimated noise=549.463 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 8.0757e-05 Jy
! Component: 100  -  total flux cleaned = 0.000270969 Jy
! Component: 150  -  total flux cleaned = 0.000347408 Jy
! Component: 200  -  total flux cleaned = 0.000346887 Jy
! Total flux subtracted in 200 components = 0.000346887 Jy
! Clean residual min=-0.002140 max=0.002212 Jy/beam
! Clean residual mean=0.000016 rms=0.000610 Jy/beam
! Combined flux in latest and established models = 0.31432 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 123 components and 0.31432 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128279Jy  sigma=0.001175
! Fit after  self-cal, rms=0.128278Jy  sigma=0.001174
! 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=8.799 mas, bmaj=11.49 mas, bpa=-36.88 degrees
! Estimated noise=679.681 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.00015708 Jy
! Component: 100  -  total flux cleaned = -0.000100213 Jy
! Component: 150  -  total flux cleaned = -9.80264e-05 Jy
! Component: 200  -  total flux cleaned = -6.5577e-05 Jy
! Total flux subtracted in 200 components = -6.5577e-05 Jy
! Clean residual min=-0.002198 max=0.002337 Jy/beam
! Clean residual mean=0.000029 rms=0.000721 Jy/beam
! Combined flux in latest and established models = 0.314254 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 139 components and 0.314254 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128275Jy  sigma=0.001174
! Fit after  self-cal, rms=0.128276Jy  sigma=0.001174
! 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.507 mas, bmaj=6.23 mas, bpa=-38.62 degrees
! Estimated noise=1046.87 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.226797 Jy
! Component: 100  -  total flux cleaned = 0.268286 Jy
! Component: 150  -  total flux cleaned = 0.286782 Jy
! Component: 200  -  total flux cleaned = 0.298132 Jy
! Total flux subtracted in 200 components = 0.298132 Jy
! Clean residual min=-0.004439 max=0.005146 Jy/beam
! Clean residual mean=0.000014 rms=0.001259 Jy/beam
! Combined flux in latest and established models = 0.298132 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 29 model components to the UV plane model.
! The established model now contains 29 components and 0.298132 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.403 mas, bmaj=7.754 mas, bpa=-36.29 degrees
! Estimated noise=549.463 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.0103805 Jy
! Component: 100  -  total flux cleaned = 0.0146371 Jy
! Component: 150  -  total flux cleaned = 0.0157758 Jy
! Component: 200  -  total flux cleaned = 0.0164229 Jy
! Total flux subtracted in 200 components = 0.0164229 Jy
! Clean residual min=-0.002260 max=0.002392 Jy/beam
! Clean residual mean=0.000020 rms=0.000657 Jy/beam
! Combined flux in latest and established models = 0.314555 Jy
! Adding 47 model components to the UV plane model.
! The established model now contains 69 components and 0.314555 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=8.799 mas, bmaj=11.49 mas, bpa=-36.88 degrees
! Estimated noise=679.681 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.000870323 Jy
! Component: 100  -  total flux cleaned = 0.000677889 Jy
! Component: 150  -  total flux cleaned = 0.000525126 Jy
! Component: 200  -  total flux cleaned = 0.000401249 Jy
! Total flux subtracted in 200 components = 0.000401249 Jy
! Clean residual min=-0.002355 max=0.002535 Jy/beam
! Clean residual mean=0.000030 rms=0.000742 Jy/beam
! Combined flux in latest and established models = 0.314956 Jy
! Adding 38 model components to the UV plane model.
! The established model now contains 98 components and 0.314956 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.403 mas, bmaj=7.754 mas, bpa=-36.29 degrees
! Estimated noise=549.463 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000139807 Jy
! Component: 100  -  total flux cleaned = -0.000145165 Jy
! Component: 150  -  total flux cleaned = -4.46937e-05 Jy
! Component: 200  -  total flux cleaned = -1.40753e-06 Jy
! Total flux subtracted in 200 components = -1.40753e-06 Jy
! Clean residual min=-0.002125 max=0.002364 Jy/beam
! Clean residual mean=0.000017 rms=0.000622 Jy/beam
! Combined flux in latest and established models = 0.314955 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 120 components and 0.314955 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128323Jy  sigma=0.001175
! Fit after  self-cal, rms=0.128322Jy  sigma=0.001175
wmodel J1056+7011_S_2002_01_31_yyk\_map.mod
! Writing 120 model components to file: J1056+7011_S_2002_01_31_yyk_map.mod
wobs J1056+7011_S_2002_01_31_yyk\_uvs.fits
! Writing UV FITS file: J1056+7011_S_2002_01_31_yyk_uvs.fits
wwins J1056+7011_S_2002_01_31_yyk\_map.win
! wwins: Wrote 3 windows to J1056+7011_S_2002_01_31_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.000603766 Jy
! Component: 100  -  total flux cleaned = 0.000719772 Jy
! Component: 150  -  total flux cleaned = 0.000681587 Jy
! Component: 200  -  total flux cleaned = 0.000787061 Jy
! Component: 250  -  total flux cleaned = 0.000854393 Jy
! Component: 300  -  total flux cleaned = 0.00082054 Jy
! Component: 350  -  total flux cleaned = 0.000627918 Jy
! Component: 400  -  total flux cleaned = 0.000627968 Jy
! Component: 450  -  total flux cleaned = 0.000627898 Jy
! Component: 500  -  total flux cleaned = 0.000627817 Jy
! Component: 550  -  total flux cleaned = 0.000627984 Jy
! Component: 600  -  total flux cleaned = 0.000685626 Jy
! Component: 650  -  total flux cleaned = 0.000685377 Jy
! Component: 700  -  total flux cleaned = 0.000768932 Jy
! Component: 750  -  total flux cleaned = 0.000741741 Jy
! Component: 800  -  total flux cleaned = 0.000795731 Jy
! Component: 850  -  total flux cleaned = 0.000769165 Jy
! Component: 900  -  total flux cleaned = 0.000820917 Jy
! Component: 950  -  total flux cleaned = 0.000692158 Jy
! Component: 1000  -  total flux cleaned = 0.000616352 Jy
! Component: 1050  -  total flux cleaned = 0.000541595 Jy
! Component: 1100  -  total flux cleaned = 0.000516748 Jy
! Component: 1150  -  total flux cleaned = 0.000516503 Jy
! Component: 1200  -  total flux cleaned = 0.000492107 Jy
! Component: 1250  -  total flux cleaned = 0.000444544 Jy
! Component: 1300  -  total flux cleaned = 0.000397825 Jy
! Component: 1350  -  total flux cleaned = 0.000467538 Jy
! Component: 1400  -  total flux cleaned = 0.00042145 Jy
! Component: 1450  -  total flux cleaned = 0.000285032 Jy
! Component: 1500  -  total flux cleaned = 0.000352774 Jy
! Component: 1550  -  total flux cleaned = 0.000308021 Jy
! Component: 1600  -  total flux cleaned = 0.000330035 Jy
! Component: 1650  -  total flux cleaned = 0.000286062 Jy
! Component: 1700  -  total flux cleaned = 0.000394452 Jy
! Component: 1750  -  total flux cleaned = 0.000351351 Jy
! Component: 1800  -  total flux cleaned = 0.000351176 Jy
! Component: 1850  -  total flux cleaned = 0.000372406 Jy
! Component: 1900  -  total flux cleaned = 0.000414154 Jy
! Component: 1950  -  total flux cleaned = 0.000393198 Jy
! Component: 2000  -  total flux cleaned = 0.000392939 Jy
! Total flux subtracted in 2048 components = 0.00033131 Jy
! Clean residual min=-0.001234 max=0.001361 Jy/beam
! Clean residual mean=0.000005 rms=0.000428 Jy/beam
! Combined flux in latest and established models = 0.315286 Jy
keep
! Adding 132 model components to the UV plane model.
! The established model now contains 252 components and 0.315286 Jy
![Exited script file: muppet]
wmap "J1056+7011_S_2002_01_31_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.403 x 7.754 at -36.29 degrees (North through East)
! Clean map  min=-0.0025597  max=0.26634 Jy/beam
! Writing clean map to FITS file: J1056+7011_S_2002_01_31_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.266343 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00042664 
device "J1056+7011_S_2002_01_31_yyk\_map.eps/VPS"
! Attempting to open device: 'J1056+7011_S_2002_01_31_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.480554 0.480554 0.961108 1.92222 3.84443 7.68886 15.3777 30.7555 61.5109
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.266 
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.403 x 7.754 at -36.29 degrees (North through East)
! Clean map  min=-0.0025597  max=0.26634 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1056+7011_S_2002_01_31_yyk\_map.gif/gif"
! Attempting to open device: 'J1056+7011_S_2002_01_31_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1056+7011_S_2002_01_31_yyk_uvs.log closed on Tue Jun 26 22:40:17 2007