! Started logfile: J1215+1654_S_1996_01_02_yyk_uvs.log on Sun Jan  7 18:00:59 2007
obs J1215+1654_S_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1215+1654_S_1996_01_02_yyk_uva.fits
! AN table 1: 98 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.84059 visibilities/baseline/integration-bin.
! Found source: J1215+1654
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.22049e+09        4e+06          1        4e+06
!  02        2  2.23236e+09        4e+06          1        4e+06
!  03        3  2.29236e+09        4e+06          1        4e+06
!  04        4  2.32236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 623 lines of history.
! 
! Reading 14828 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 J1215+1654_S_1996_01_02_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.45091 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.752 mas, bmaj=7.506 mas, bpa=-12.31 degrees
! Estimated noise=1834.59 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.173044 Jy
! Component: 100  -  total flux cleaned = 0.217769 Jy
! Total flux subtracted in 100 components = 0.217769 Jy
! Clean residual min=-0.023156 max=0.024106 Jy/beam
! Clean residual mean=-0.000017 rms=0.006204 Jy/beam
! Combined flux in latest and established models = 0.217769 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.217769 Jy
! 
! Correcting IF 1.
!  A total of 92 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 95 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 95 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 100 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.398201Jy  sigma=0.001806
! Fit after  self-cal, rms=0.396413Jy  sigma=0.001796
! Inverting map and beam 
! Estimated beam: bmin=2.752 mas, bmaj=7.507 mas, bpa=-12.31 degrees
! Estimated noise=1834.85 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.427 mas, bmaj=9.329 mas, bpa=-17.49 degrees
! Estimated noise=1132.09 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.0137294 Jy
! Component: 100  -  total flux cleaned = 0.0112766 Jy
! Component: 150  -  total flux cleaned = 0.0102821 Jy
! Component: 200  -  total flux cleaned = 0.0100879 Jy
! Total flux subtracted in 200 components = 0.0100879 Jy
! Clean residual min=-0.014817 max=0.015657 Jy/beam
! Clean residual mean=-0.000037 rms=0.004006 Jy/beam
! Combined flux in latest and established models = 0.227857 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 27 components and 0.227857 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.395459Jy  sigma=0.001791
! Fit after  self-cal, rms=0.395458Jy  sigma=0.001791
! 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.427 x 9.329 at -17.49 degrees (North through East)
! Clean map  min=-0.01432  max=0.20626 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 0.944458
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.51     HN        1.65     KP        0.81     
!   LA        1.05     MK        0.99     NL        0.77     OV        1.02     
!   PT        1.07     SC        0.77     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.993497
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.33     HN        1.28     KP        0.80     
!   LA        1.20     MK        0.99     NL        0.75     OV        1.01     
!   PT        0.96     SC        0.77     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.730981
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.03     HN        5.39     KP        0.85     
!   LA        0.85     MK        0.83     NL        0.85     OV        0.92     
!   PT        1.11     SC        0.87     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.993645
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.92     FD        1.19     HN        1.41     KP        0.88     
!   LA        0.92     MK        0.97     NL        0.97     OV        0.92     
!   PT        1.10     SC        0.79     
! 
! 
! Fit before self-cal, rms=0.395458Jy  sigma=0.001791
! Fit after  self-cal, rms=0.522094Jy  sigma=0.001836
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.522094Jy  sigma=0.001836
! Fit after  self-cal, rms=0.522196Jy  sigma=0.001836
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.432 mas, bmaj=8.951 mas, bpa=-16.01 degrees
! Estimated noise=844.008 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.0477323 Jy
! Component: 100  -  total flux cleaned = -0.0598299 Jy
! Component: 150  -  total flux cleaned = -0.0648784 Jy
! Component: 200  -  total flux cleaned = -0.0660633 Jy
! Total flux subtracted in 200 components = -0.0660633 Jy
! Clean residual min=-0.006660 max=0.007982 Jy/beam
! Clean residual mean=0.000011 rms=0.001759 Jy/beam
! Combined flux in latest and established models = 0.161794 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 44 components and 0.161794 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.521564Jy  sigma=0.001795
! Fit after  self-cal, rms=0.521556Jy  sigma=0.001795
! 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.521556Jy  sigma=0.001795
! Fit after  self-cal, rms=0.520665Jy  sigma=0.001792
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 (-56, -19.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00745463 Jy
! Component: 100  -  total flux cleaned = 0.00791127 Jy
! Component: 150  -  total flux cleaned = 0.00761309 Jy
! Component: 200  -  total flux cleaned = 0.00720016 Jy
! Total flux subtracted in 200 components = 0.00720016 Jy
! Clean residual min=-0.005826 max=0.005302 Jy/beam
! Clean residual mean=0.000012 rms=0.001634 Jy/beam
! Combined flux in latest and established models = 0.168994 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 68 components and 0.168994 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.520519Jy  sigma=0.001790
! Fit after  self-cal, rms=0.520351Jy  sigma=0.001790
! 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.432 x 8.951 at -16.01 degrees (North through East)
! Clean map  min=-0.0054896  max=0.15522 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.520351Jy  sigma=0.001790
! Fit after  self-cal, rms=0.834352Jy  sigma=0.001755
! 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.834352Jy  sigma=0.001755
! Fit after  self-cal, rms=0.834319Jy  sigma=0.001755
! Inverting map and beam 
! Estimated beam: bmin=3.426 mas, bmaj=8.825 mas, bpa=-15.62 degrees
! Estimated noise=805.777 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00320713 Jy
! Component: 100  -  total flux cleaned = -0.00442072 Jy
! Component: 150  -  total flux cleaned = -0.00478189 Jy
! Component: 200  -  total flux cleaned = -0.00472491 Jy
! Total flux subtracted in 200 components = -0.0047249 Jy
! Clean residual min=-0.004320 max=0.005066 Jy/beam
! Clean residual mean=0.000006 rms=0.001140 Jy/beam
! Combined flux in latest and established models = 0.164269 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 86 components and 0.164269 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.834305Jy  sigma=0.001754
! Fit after  self-cal, rms=0.833978Jy  sigma=0.001754
! Inverting map 
! Added new window around map position (-25, -29).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00291725 Jy
! Component: 100  -  total flux cleaned = 0.00279437 Jy
! Component: 150  -  total flux cleaned = 0.00267374 Jy
! Component: 200  -  total flux cleaned = 0.00257664 Jy
! Total flux subtracted in 200 components = 0.00257664 Jy
! Clean residual min=-0.003880 max=0.003556 Jy/beam
! Clean residual mean=0.000009 rms=0.001005 Jy/beam
! Combined flux in latest and established models = 0.166846 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 111 components and 0.166846 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.833904Jy  sigma=0.001753
! Fit after  self-cal, rms=0.833784Jy  sigma=0.001753
! 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.833784Jy  sigma=0.001753
! Fit after  self-cal, rms=0.709390Jy  sigma=0.001752
! 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.709390Jy  sigma=0.001752
! Fit after  self-cal, rms=0.709355Jy  sigma=0.001752
! Inverting map and beam 
! Estimated beam: bmin=3.43 mas, bmaj=8.826 mas, bpa=-15.57 degrees
! Estimated noise=808.983 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000571147 Jy
! Component: 100  -  total flux cleaned = 0.000480773 Jy
! Component: 150  -  total flux cleaned = 0.000315686 Jy
! Component: 200  -  total flux cleaned = 0.000235928 Jy
! Total flux subtracted in 200 components = 0.000235928 Jy
! Clean residual min=-0.003826 max=0.003258 Jy/beam
! Clean residual mean=0.000014 rms=0.000977 Jy/beam
! Combined flux in latest and established models = 0.167082 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 132 components and 0.167082 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.709323Jy  sigma=0.001751
! Fit after  self-cal, rms=0.709297Jy  sigma=0.001751
! 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.04 mas, bmaj=11.21 mas, bpa=-5.161 degrees
! Estimated noise=998.985 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.000318335 Jy
! Component: 100  -  total flux cleaned = -9.962e-05 Jy
! Component: 150  -  total flux cleaned = 3.00024e-05 Jy
! Component: 200  -  total flux cleaned = 8.74634e-05 Jy
! Total flux subtracted in 200 components = 8.74634e-05 Jy
! Clean residual min=-0.004341 max=0.003356 Jy/beam
! Clean residual mean=0.000036 rms=0.001190 Jy/beam
! Combined flux in latest and established models = 0.167169 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 151 components and 0.167169 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.709282Jy  sigma=0.001751
! Fit after  self-cal, rms=0.709272Jy  sigma=0.001751
! 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.778 mas, bmaj=7.05 mas, bpa=-9.585 degrees
! Estimated noise=1363.55 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.13826 Jy
! Component: 100  -  total flux cleaned = 0.157781 Jy
! Component: 150  -  total flux cleaned = 0.163492 Jy
! Component: 200  -  total flux cleaned = 0.166563 Jy
! Total flux subtracted in 200 components = 0.166563 Jy
! Clean residual min=-0.009437 max=0.009518 Jy/beam
! Clean residual mean=-0.000004 rms=0.002310 Jy/beam
! Combined flux in latest and established models = 0.166563 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.166563 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.43 mas, bmaj=8.826 mas, bpa=-15.57 degrees
! Estimated noise=808.983 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.0012508 Jy
! Component: 100  -  total flux cleaned = 0.00186649 Jy
! Component: 150  -  total flux cleaned = 0.00203596 Jy
! Component: 200  -  total flux cleaned = 0.00218822 Jy
! Total flux subtracted in 200 components = 0.00218822 Jy
! Clean residual min=-0.004343 max=0.003891 Jy/beam
! Clean residual mean=0.000003 rms=0.001122 Jy/beam
! Combined flux in latest and established models = 0.168751 Jy
! Adding 36 model components to the UV plane model.
! The established model now contains 61 components and 0.168751 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.04 mas, bmaj=11.21 mas, bpa=-5.161 degrees
! Estimated noise=998.985 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.00113015 Jy
! Component: 100  -  total flux cleaned = -0.000848539 Jy
! Component: 150  -  total flux cleaned = -0.000627894 Jy
! Component: 200  -  total flux cleaned = -0.000827875 Jy
! Total flux subtracted in 200 components = -0.000827875 Jy
! Clean residual min=-0.004799 max=0.003798 Jy/beam
! Clean residual mean=0.000027 rms=0.001258 Jy/beam
! Combined flux in latest and established models = 0.167923 Jy
! Adding 45 model components to the UV plane model.
! The established model now contains 103 components and 0.167923 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.43 mas, bmaj=8.826 mas, bpa=-15.57 degrees
! Estimated noise=808.983 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -5.48021e-05 Jy
! Component: 100  -  total flux cleaned = -4.86011e-05 Jy
! Component: 150  -  total flux cleaned = -4.30334e-05 Jy
! Component: 200  -  total flux cleaned = -0.000134788 Jy
! Total flux subtracted in 200 components = -0.000134788 Jy
! Clean residual min=-0.003736 max=0.003277 Jy/beam
! Clean residual mean=0.000014 rms=0.000998 Jy/beam
! Combined flux in latest and established models = 0.167788 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 125 components and 0.167788 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.709244Jy  sigma=0.001752
! Fit after  self-cal, rms=0.709209Jy  sigma=0.001752
wmodel J1215+1654_S_1996_01_02_yyk\_map.mod
! Writing 125 model components to file: J1215+1654_S_1996_01_02_yyk_map.mod
wobs J1215+1654_S_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1215+1654_S_1996_01_02_yyk_uvs.fits
wwins J1215+1654_S_1996_01_02_yyk\_map.win
! wwins: Wrote 3 windows to J1215+1654_S_1996_01_02_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.00137399 Jy
! Component: 100  -  total flux cleaned = -0.00180153 Jy
! Component: 150  -  total flux cleaned = -0.00197235 Jy
! Component: 200  -  total flux cleaned = -0.0019211 Jy
! Component: 250  -  total flux cleaned = -0.00150528 Jy
! Component: 300  -  total flux cleaned = -0.00115398 Jy
! Component: 350  -  total flux cleaned = -0.000814511 Jy
! Component: 400  -  total flux cleaned = -0.000436569 Jy
! Component: 450  -  total flux cleaned = 2.47145e-05 Jy
! Component: 500  -  total flux cleaned = 0.000385269 Jy
! Component: 550  -  total flux cleaned = 0.00064939 Jy
! Component: 600  -  total flux cleaned = 0.000952464 Jy
! Component: 650  -  total flux cleaned = 0.00133489 Jy
! Component: 700  -  total flux cleaned = 0.00166933 Jy
! Component: 750  -  total flux cleaned = 0.00195766 Jy
! Component: 800  -  total flux cleaned = 0.002241 Jy
! Component: 850  -  total flux cleaned = 0.00255962 Jy
! Component: 900  -  total flux cleaned = 0.00271691 Jy
! Component: 950  -  total flux cleaned = 0.00294986 Jy
! Component: 1000  -  total flux cleaned = 0.00314162 Jy
! Component: 1050  -  total flux cleaned = 0.00348085 Jy
! Component: 1100  -  total flux cleaned = 0.0035183 Jy
! Component: 1150  -  total flux cleaned = 0.00377664 Jy
! Component: 1200  -  total flux cleaned = 0.00384907 Jy
! Component: 1250  -  total flux cleaned = 0.00399256 Jy
! Component: 1300  -  total flux cleaned = 0.00399236 Jy
! Component: 1350  -  total flux cleaned = 0.00395707 Jy
! Component: 1400  -  total flux cleaned = 0.00402685 Jy
! Component: 1450  -  total flux cleaned = 0.00406124 Jy
! Component: 1500  -  total flux cleaned = 0.00416342 Jy
! Component: 1550  -  total flux cleaned = 0.00412981 Jy
! Component: 1600  -  total flux cleaned = 0.00422967 Jy
! Component: 1650  -  total flux cleaned = 0.00413014 Jy
! Component: 1700  -  total flux cleaned = 0.00409734 Jy
! Component: 1750  -  total flux cleaned = 0.00400014 Jy
! Component: 1800  -  total flux cleaned = 0.00403234 Jy
! Component: 1850  -  total flux cleaned = 0.00387245 Jy
! Component: 1900  -  total flux cleaned = 0.00377792 Jy
! Component: 1950  -  total flux cleaned = 0.003841 Jy
! Component: 2000  -  total flux cleaned = 0.0037163 Jy
! Total flux subtracted in 2048 components = 0.0037164 Jy
! Clean residual min=-0.001721 max=0.001769 Jy/beam
! Clean residual mean=0.000006 rms=0.000649 Jy/beam
! Combined flux in latest and established models = 0.171505 Jy
keep
! Adding 135 model components to the UV plane model.
! The established model now contains 260 components and 0.171505 Jy
![Exited script file: muppet]
wmap "J1215+1654_S_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.43 x 8.826 at -15.57 degrees (North through East)
! Clean map  min=-0.0063579  max=0.15817 Jy/beam
! Writing clean map to FITS file: J1215+1654_S_1996_01_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.158165 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000644593 
device "J1215+1654_S_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1215+1654_S_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.22263 1.22263 2.44526 4.89052 9.78104 19.5621 39.1241 78.2483
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.158 
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.43 x 8.826 at -15.57 degrees (North through East)
! Clean map  min=-0.0063579  max=0.15817 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1215+1654_S_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1215+1654_S_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1215+1654_S_1996_01_02_yyk_uvs.log closed on Sun Jan  7 18:01:06 2007