! Started logfile: J0621+7605_S_2006_02_16_yyk_uvs.log on Wed Jul  5 11:32:33 2006
obs J0621+7605_S_2006_02_16_yyk_uva.fits
! Reading UV FITS file: J0621+7605_S_2006_02_16_yyk_uva.fits
! AN table 1: 882 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.978483 visibilities/baseline/integration-bin.
! Found source: J0621+7605
! 
! 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 2421 lines of history.
! 
! Reading 155344 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 J0621+7605_S_2006_02_16_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.160467 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.456 mas, bmaj=10.16 mas, bpa=11.07 degrees
! Estimated noise=1.38073 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.5, 0.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.11063 Jy
! Component: 100  -  total flux cleaned = 0.150531 Jy
! Total flux subtracted in 100 components = 0.150531 Jy
! Clean residual min=-0.010359 max=0.016390 Jy/beam
! Clean residual mean=0.000051 rms=0.003420 Jy/beam
! Combined flux in latest and established models = 0.150531 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.150531 Jy
! 
! Correcting IF 1.
!  A total of 10 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 10 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 10 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 10 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.073610Jy  sigma=1.323123
! Fit after  self-cal, rms=0.072465Jy  sigma=1.309044
! Inverting map and beam 
! Estimated beam: bmin=2.458 mas, bmaj=10.17 mas, bpa=11.1 degrees
! Estimated noise=1.38675 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.157 mas, bmaj=10.53 mas, bpa=10.59 degrees
! Estimated noise=0.675184 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 (-3.5, -1).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0316917 Jy
! Component: 100  -  total flux cleaned = 0.0454352 Jy
! Component: 150  -  total flux cleaned = 0.0523778 Jy
! Component: 200  -  total flux cleaned = 0.0552076 Jy
! Total flux subtracted in 200 components = 0.0552076 Jy
! Clean residual min=-0.004900 max=0.008812 Jy/beam
! Clean residual mean=-0.000035 rms=0.001592 Jy/beam
! Combined flux in latest and established models = 0.205738 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 49 model components to the UV plane model.
! The established model now contains 53 components and 0.205738 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062634Jy  sigma=1.096278
! Fit after  self-cal, rms=0.062359Jy  sigma=1.090460
! 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.157 x 10.53 at 10.59 degrees (North through East)
! Clean map  min=-0.0047296  max=0.12958 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.
!  Amplitude normalization factor in sub-array 1: 1.02968
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.92     FD        0.92     HN        0.92     KP        0.90     
!   LA        1.15     MK        0.88     NL        1.01     OV        0.93     
!   PT        1.03     SC        1.05     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.999637
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.93     HN        0.97     KP        0.95     
!   LA        1.13     MK        0.99     NL        1.16     OV        0.97     
!   PT        0.98     SC        0.94     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.062359Jy  sigma=1.090460
! Fit after  self-cal, rms=0.061280Jy  sigma=1.068384
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.061280Jy  sigma=1.068384
! Fit after  self-cal, rms=0.061287Jy  sigma=1.068356
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.123 mas, bmaj=10.38 mas, bpa=10.68 degrees
! Estimated noise=0.67339 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.0049878 Jy
! Component: 100  -  total flux cleaned = 0.00778267 Jy
! Component: 150  -  total flux cleaned = 0.00867694 Jy
! Component: 200  -  total flux cleaned = 0.00905118 Jy
! Total flux subtracted in 200 components = 0.00905118 Jy
! Clean residual min=-0.003604 max=0.004394 Jy/beam
! Clean residual mean=0.000029 rms=0.001046 Jy/beam
! Combined flux in latest and established models = 0.214789 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 46 model components to the UV plane model.
! The established model now contains 93 components and 0.214789 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060781Jy  sigma=1.060679
! Fit after  self-cal, rms=0.060772Jy  sigma=1.060319
! 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.060772Jy  sigma=1.060319
! Fit after  self-cal, rms=0.057366Jy  sigma=0.994345
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.00137793 Jy
! Component: 100  -  total flux cleaned = 0.0015511 Jy
! Component: 150  -  total flux cleaned = 0.00181116 Jy
! Component: 200  -  total flux cleaned = 0.00208147 Jy
! Total flux subtracted in 200 components = 0.00208147 Jy
! Clean residual min=-0.003423 max=0.003596 Jy/beam
! Clean residual mean=0.000028 rms=0.000976 Jy/beam
! Combined flux in latest and established models = 0.216871 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 35 model components to the UV plane model.
! The established model now contains 114 components and 0.216871 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057190Jy  sigma=0.992238
! Fit after  self-cal, rms=0.057050Jy  sigma=0.989439
! 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.123 x 10.38 at 10.68 degrees (North through East)
! Clean map  min=-0.0033017  max=0.12902 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.057050Jy  sigma=0.989439
! Fit after  self-cal, rms=0.056231Jy  sigma=0.975009
! 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.056231Jy  sigma=0.975009
! Fit after  self-cal, rms=0.056218Jy  sigma=0.974699
! Inverting map and beam 
! Estimated beam: bmin=3.089 mas, bmaj=10.34 mas, bpa=10.75 degrees
! Estimated noise=0.673943 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00249955 Jy
! Component: 100  -  total flux cleaned = 0.00386521 Jy
! Component: 150  -  total flux cleaned = 0.00447459 Jy
! Component: 200  -  total flux cleaned = 0.00472902 Jy
! Total flux subtracted in 200 components = 0.00472902 Jy
! Clean residual min=-0.003025 max=0.002892 Jy/beam
! Clean residual mean=0.000011 rms=0.000804 Jy/beam
! Combined flux in latest and established models = 0.2216 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 148 components and 0.2216 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056055Jy  sigma=0.972632
! Fit after  self-cal, rms=0.056053Jy  sigma=0.972499
! 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.056053Jy  sigma=0.972499
! Fit after  self-cal, rms=0.056378Jy  sigma=0.961338
! 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.056378Jy  sigma=0.961338
! Fit after  self-cal, rms=0.056382Jy  sigma=0.961287
! Inverting map and beam 
! Estimated beam: bmin=3.06 mas, bmaj=10.36 mas, bpa=10.9 degrees
! Estimated noise=0.676618 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00208102 Jy
! Component: 100  -  total flux cleaned = 0.00328244 Jy
! Component: 150  -  total flux cleaned = 0.00386424 Jy
! Component: 200  -  total flux cleaned = 0.00404291 Jy
! Total flux subtracted in 200 components = 0.00404291 Jy
! Clean residual min=-0.002974 max=0.002792 Jy/beam
! Clean residual mean=0.000019 rms=0.000792 Jy/beam
! Combined flux in latest and established models = 0.225643 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 167 components and 0.225643 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056249Jy  sigma=0.959870
! Fit after  self-cal, rms=0.056249Jy  sigma=0.959827
! 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=7.274 mas, bmaj=11.11 mas, bpa=15.14 degrees
! Estimated noise=0.870631 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.000149791 Jy
! Component: 100  -  total flux cleaned = 0.000103528 Jy
! Component: 150  -  total flux cleaned = 0.000134755 Jy
! Component: 200  -  total flux cleaned = 0.000191485 Jy
! Total flux subtracted in 200 components = 0.000191485 Jy
! Clean residual min=-0.002991 max=0.003158 Jy/beam
! Clean residual mean=0.000036 rms=0.000985 Jy/beam
! Combined flux in latest and established models = 0.225834 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 194 components and 0.225834 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056246Jy  sigma=0.959859
! Fit after  self-cal, rms=0.056246Jy  sigma=0.959802
! 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.43 mas, bmaj=10.1 mas, bpa=11.18 degrees
! Estimated noise=1.36193 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.111372 Jy
! Component: 100  -  total flux cleaned = 0.153108 Jy
! Component: 150  -  total flux cleaned = 0.174834 Jy
! Component: 200  -  total flux cleaned = 0.188237 Jy
! Total flux subtracted in 200 components = 0.188237 Jy
! Clean residual min=-0.005549 max=0.007257 Jy/beam
! Clean residual mean=0.000032 rms=0.001683 Jy/beam
! Combined flux in latest and established models = 0.188237 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 26 model components to the UV plane model.
! The established model now contains 26 components and 0.188237 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.06 mas, bmaj=10.36 mas, bpa=10.9 degrees
! Estimated noise=0.676618 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.0146926 Jy
! Component: 100  -  total flux cleaned = 0.0220732 Jy
! Component: 150  -  total flux cleaned = 0.0270117 Jy
! Component: 200  -  total flux cleaned = 0.0306141 Jy
! Total flux subtracted in 200 components = 0.0306141 Jy
! Clean residual min=-0.003307 max=0.004253 Jy/beam
! Clean residual mean=0.000023 rms=0.000940 Jy/beam
! Combined flux in latest and established models = 0.218851 Jy
! Adding 58 model components to the UV plane model.
! The established model now contains 80 components and 0.218851 Jy
! Inverting map 
! Added new window around map position (6.5, 5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00283121 Jy
! Component: 100  -  total flux cleaned = 0.00436724 Jy
! Component: 150  -  total flux cleaned = 0.00534245 Jy
! Component: 200  -  total flux cleaned = 0.00602015 Jy
! Total flux subtracted in 200 components = 0.00602015 Jy
! Clean residual min=-0.002591 max=0.002346 Jy/beam
! Clean residual mean=0.000018 rms=0.000714 Jy/beam
! Combined flux in latest and established models = 0.224871 Jy
! Adding 50 model components to the UV plane model.
! The established model now contains 130 components and 0.224871 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=7.274 mas, bmaj=11.11 mas, bpa=15.14 degrees
! Estimated noise=0.870631 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.0012853 Jy
! Component: 100  -  total flux cleaned = 0.00174325 Jy
! Component: 150  -  total flux cleaned = 0.0020007 Jy
! Component: 200  -  total flux cleaned = 0.00205271 Jy
! Total flux subtracted in 200 components = 0.00205271 Jy
! Clean residual min=-0.002551 max=0.002580 Jy/beam
! Clean residual mean=0.000033 rms=0.000883 Jy/beam
! Combined flux in latest and established models = 0.226924 Jy
! Adding 51 model components to the UV plane model.
! The established model now contains 172 components and 0.226924 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.06 mas, bmaj=10.36 mas, bpa=10.9 degrees
! Estimated noise=0.676618 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000574779 Jy
! Component: 100  -  total flux cleaned = 0.000626312 Jy
! Component: 150  -  total flux cleaned = 0.00046951 Jy
! Component: 200  -  total flux cleaned = 0.000295891 Jy
! Total flux subtracted in 200 components = 0.000295891 Jy
! Clean residual min=-0.002024 max=0.001980 Jy/beam
! Clean residual mean=0.000018 rms=0.000624 Jy/beam
! Combined flux in latest and established models = 0.22722 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 197 components and 0.22722 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055936Jy  sigma=0.954203
! Fit after  self-cal, rms=0.055911Jy  sigma=0.953905
wmodel J0621+7605_S_2006_02_16_yyk\_map.mod
! Writing 197 model components to file: J0621+7605_S_2006_02_16_yyk_map.mod
wobs J0621+7605_S_2006_02_16_yyk\_uvs.fits
! Writing UV FITS file: J0621+7605_S_2006_02_16_yyk_uvs.fits
wwins J0621+7605_S_2006_02_16_yyk\_map.win
! wwins: Wrote 3 windows to J0621+7605_S_2006_02_16_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.000205431 Jy
! Component: 100  -  total flux cleaned = -9.75638e-05 Jy
! Component: 150  -  total flux cleaned = 7.09488e-05 Jy
! Component: 200  -  total flux cleaned = 0.000201323 Jy
! Component: 250  -  total flux cleaned = 0.000232823 Jy
! Component: 300  -  total flux cleaned = 0.000233588 Jy
! Component: 350  -  total flux cleaned = 0.000262912 Jy
! Component: 400  -  total flux cleaned = 0.000318156 Jy
! Component: 450  -  total flux cleaned = 0.000264165 Jy
! Component: 500  -  total flux cleaned = 0.000342544 Jy
! Component: 550  -  total flux cleaned = 0.00031658 Jy
! Component: 600  -  total flux cleaned = 0.000292053 Jy
! Component: 650  -  total flux cleaned = 0.000291794 Jy
! Component: 700  -  total flux cleaned = 0.000291639 Jy
! Component: 750  -  total flux cleaned = 0.000382981 Jy
! Component: 800  -  total flux cleaned = 0.000405372 Jy
! Component: 850  -  total flux cleaned = 0.000514365 Jy
! Component: 900  -  total flux cleaned = 0.000579038 Jy
! Component: 950  -  total flux cleaned = 0.000663879 Jy
! Component: 1000  -  total flux cleaned = 0.000746442 Jy
! Component: 1050  -  total flux cleaned = 0.000787214 Jy
! Component: 1100  -  total flux cleaned = 0.000867317 Jy
! Component: 1150  -  total flux cleaned = 0.000906457 Jy
! Component: 1200  -  total flux cleaned = 0.00096471 Jy
! Component: 1250  -  total flux cleaned = 0.00104107 Jy
! Component: 1300  -  total flux cleaned = 0.00109722 Jy
! Component: 1350  -  total flux cleaned = 0.00109759 Jy
! Component: 1400  -  total flux cleaned = 0.00117059 Jy
! Component: 1450  -  total flux cleaned = 0.00118846 Jy
! Component: 1500  -  total flux cleaned = 0.00127676 Jy
! Component: 1550  -  total flux cleaned = 0.00127671 Jy
! Component: 1600  -  total flux cleaned = 0.00134571 Jy
! Component: 1650  -  total flux cleaned = 0.00136271 Jy
! Component: 1700  -  total flux cleaned = 0.00137961 Jy
! Component: 1750  -  total flux cleaned = 0.0013962 Jy
! Component: 1800  -  total flux cleaned = 0.00142915 Jy
! Component: 1850  -  total flux cleaned = 0.00144525 Jy
! Component: 1900  -  total flux cleaned = 0.00146124 Jy
! Component: 1950  -  total flux cleaned = 0.00142938 Jy
! Component: 2000  -  total flux cleaned = 0.00142955 Jy
! Total flux subtracted in 2048 components = 0.00146087 Jy
! Clean residual min=-0.001007 max=0.000861 Jy/beam
! Clean residual mean=0.000006 rms=0.000324 Jy/beam
! Combined flux in latest and established models = 0.228681 Jy
keep
! Adding 145 model components to the UV plane model.
! The established model now contains 342 components and 0.22868 Jy
![Exited script file: muppet]
wmap "J0621+7605_S_2006_02_16_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.06 x 10.36 at 10.9 degrees (North through East)
! Clean map  min=-0.0023178  max=0.12865 Jy/beam
! Writing clean map to FITS file: J0621+7605_S_2006_02_16_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.128653 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000325347 
device "J0621+7605_S_2006_02_16_yyk\_map.eps/VPS"
! Attempting to open device: 'J0621+7605_S_2006_02_16_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.758663 0.758663 1.51733 3.03465 6.0693 12.1386 24.2772 48.5544 97.1088
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0009 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.128 
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.06 x 10.36 at 10.9 degrees (North through East)
! Clean map  min=-0.0023178  max=0.12865 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0621+7605_S_2006_02_16_yyk\_map.gif/gif"
! Attempting to open device: 'J0621+7605_S_2006_02_16_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0621+7605_S_2006_02_16_yyk_uvs.log closed on Wed Jul  5 11:32:59 2006