! Started logfile: J1524+1521_S_1996_01_02_yyk_uvs.log on Sun Jan  7 18:45:49 2007
obs J1524+1521_S_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1524+1521_S_1996_01_02_yyk_uva.fits
! AN table 1: 125 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.940089 visibilities/baseline/integration-bin.
! Found source: J1524+1521
! 
! 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 21152 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 J1524+1521_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.461901 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.698 mas, bmaj=6.88 mas, bpa=-7.828 degrees
! Estimated noise=1292.39 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.187947 Jy
! Component: 100  -  total flux cleaned = 0.219239 Jy
! Total flux subtracted in 100 components = 0.219239 Jy
! Clean residual min=-0.014726 max=0.019292 Jy/beam
! Clean residual mean=0.000050 rms=0.004322 Jy/beam
! Combined flux in latest and established models = 0.219239 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.219239 Jy
! 
! Correcting IF 1.
!  A total of 51 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 51 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 51 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 51 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.406929Jy  sigma=0.001804
! Fit after  self-cal, rms=0.406441Jy  sigma=0.001802
! Inverting map and beam 
! Estimated beam: bmin=2.698 mas, bmaj=6.88 mas, bpa=-7.828 degrees
! Estimated noise=1293.27 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.35 mas, bmaj=8.09 mas, bpa=-8.775 degrees
! Estimated noise=963.383 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.0118053 Jy
! Component: 100  -  total flux cleaned = 0.013251 Jy
! Component: 150  -  total flux cleaned = 0.0134533 Jy
! Component: 200  -  total flux cleaned = 0.0136361 Jy
! Total flux subtracted in 200 components = 0.0136361 Jy
! Clean residual min=-0.012015 max=0.015570 Jy/beam
! Clean residual mean=0.000005 rms=0.003395 Jy/beam
! Combined flux in latest and established models = 0.232875 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 18 components and 0.232875 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.406141Jy  sigma=0.001800
! Fit after  self-cal, rms=0.406137Jy  sigma=0.001800
! 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.35 x 8.09 at -8.775 degrees (North through East)
! Clean map  min=-0.011382  max=0.21849 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.0284
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.90     FD        1.10     HN        1.46     KP        0.84     
!   LA        1.04     MK        0.91     NL        0.76     OV        1.02     
!   PT        0.96     SC        0.74     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.972435
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.25     HN        1.23     KP        0.83     
!   LA        1.17     MK        0.92     NL        0.86     OV        0.99     
!   PT        0.95     SC        1.10     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.960525
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.15     HN        1.85     KP        0.85     
!   LA        0.88     MK        0.78     NL        0.86     OV        0.92     
!   PT        1.09     SC        1.07     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.896178
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.17     HN        2.32     KP        0.96     
!   LA        0.91     MK        0.96     NL        0.98     OV        0.96     
!   PT        1.03     SC        0.89     
! 
! 
! Fit before self-cal, rms=0.406137Jy  sigma=0.001800
! Fit after  self-cal, rms=0.436204Jy  sigma=0.001788
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.436204Jy  sigma=0.001788
! Fit after  self-cal, rms=0.436356Jy  sigma=0.001788
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.269 mas, bmaj=7.888 mas, bpa=-7.991 degrees
! Estimated noise=860.79 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.0166894 Jy
! Component: 100  -  total flux cleaned = -0.0222719 Jy
! Component: 150  -  total flux cleaned = -0.0234692 Jy
! Component: 200  -  total flux cleaned = -0.0239541 Jy
! Total flux subtracted in 200 components = -0.0239541 Jy
! Clean residual min=-0.006537 max=0.008384 Jy/beam
! Clean residual mean=0.000037 rms=0.001936 Jy/beam
! Combined flux in latest and established models = 0.208921 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 29 components and 0.208921 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.435827Jy  sigma=0.001784
! Fit after  self-cal, rms=0.435820Jy  sigma=0.001784
! 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.435820Jy  sigma=0.001784
! Fit after  self-cal, rms=0.435199Jy  sigma=0.001779
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 (3, -30).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00897798 Jy
! Component: 100  -  total flux cleaned = 0.0115742 Jy
! Component: 150  -  total flux cleaned = 0.0141041 Jy
! Component: 200  -  total flux cleaned = 0.0158325 Jy
! Total flux subtracted in 200 components = 0.0158325 Jy
! Clean residual min=-0.005475 max=0.006805 Jy/beam
! Clean residual mean=0.000021 rms=0.001662 Jy/beam
! Combined flux in latest and established models = 0.224754 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 58 components and 0.224754 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.434955Jy  sigma=0.001777
! Fit after  self-cal, rms=0.434542Jy  sigma=0.001774
! 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.269 x 7.888 at -7.991 degrees (North through East)
! Clean map  min=-0.0051988  max=0.20409 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.434542Jy  sigma=0.001774
! Fit after  self-cal, rms=1.032056Jy  sigma=0.001762
! 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=1.032056Jy  sigma=0.001762
! Fit after  self-cal, rms=1.031993Jy  sigma=0.001760
! Inverting map and beam 
! Estimated beam: bmin=3.287 mas, bmaj=7.858 mas, bpa=-6.883 degrees
! Estimated noise=840.522 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000375609 Jy
! Component: 100  -  total flux cleaned = 0.0012782 Jy
! Component: 150  -  total flux cleaned = 0.00180099 Jy
! Component: 200  -  total flux cleaned = 0.00225632 Jy
! Total flux subtracted in 200 components = 0.00225632 Jy
! Clean residual min=-0.004549 max=0.004032 Jy/beam
! Clean residual mean=0.000007 rms=0.001224 Jy/beam
! Combined flux in latest and established models = 0.22701 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 38 model components to the UV plane model.
! The established model now contains 93 components and 0.22701 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.031999Jy  sigma=0.001760
! Fit after  self-cal, rms=1.031820Jy  sigma=0.001759
! 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=1.031820Jy  sigma=0.001759
! Fit after  self-cal, rms=1.508068Jy  sigma=0.001757
! 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=1.508068Jy  sigma=0.001757
! Fit after  self-cal, rms=1.507956Jy  sigma=0.001757
! Inverting map and beam 
! Estimated beam: bmin=3.277 mas, bmaj=7.859 mas, bpa=-6.95 degrees
! Estimated noise=848.153 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00235946 Jy
! Component: 100  -  total flux cleaned = 0.00327832 Jy
! Component: 150  -  total flux cleaned = 0.00357713 Jy
! Component: 200  -  total flux cleaned = 0.00379766 Jy
! Total flux subtracted in 200 components = 0.00379766 Jy
! Clean residual min=-0.004507 max=0.003804 Jy/beam
! Clean residual mean=0.000011 rms=0.001209 Jy/beam
! Combined flux in latest and established models = 0.230808 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 108 components and 0.230808 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.507956Jy  sigma=0.001756
! Fit after  self-cal, rms=1.507980Jy  sigma=0.001756
! 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.763 mas, bmaj=11.27 mas, bpa=-4.239 degrees
! Estimated noise=1078.53 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.00158636 Jy
! Component: 100  -  total flux cleaned = 0.00207506 Jy
! Component: 150  -  total flux cleaned = 0.00216529 Jy
! Component: 200  -  total flux cleaned = 0.0022178 Jy
! Total flux subtracted in 200 components = 0.0022178 Jy
! Clean residual min=-0.006221 max=0.004486 Jy/beam
! Clean residual mean=0.000013 rms=0.001608 Jy/beam
! Combined flux in latest and established models = 0.233025 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 124 components and 0.233025 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.507986Jy  sigma=0.001756
! Fit after  self-cal, rms=1.507965Jy  sigma=0.001756
! 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.67 mas, bmaj=6.823 mas, bpa=-5.596 degrees
! Estimated noise=1208.94 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.179347 Jy
! Component: 100  -  total flux cleaned = 0.203801 Jy
! Component: 150  -  total flux cleaned = 0.210472 Jy
! Component: 200  -  total flux cleaned = 0.215677 Jy
! Total flux subtracted in 200 components = 0.215677 Jy
! Clean residual min=-0.006376 max=0.006574 Jy/beam
! Clean residual mean=0.000043 rms=0.001862 Jy/beam
! Combined flux in latest and established models = 0.215677 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 23 model components to the UV plane model.
! The established model now contains 23 components and 0.215677 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.277 mas, bmaj=7.859 mas, bpa=-6.95 degrees
! Estimated noise=848.153 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.00573092 Jy
! Component: 100  -  total flux cleaned = 0.00812733 Jy
! Component: 150  -  total flux cleaned = 0.00992502 Jy
! Component: 200  -  total flux cleaned = 0.0111197 Jy
! Total flux subtracted in 200 components = 0.0111197 Jy
! Clean residual min=-0.004768 max=0.004137 Jy/beam
! Clean residual mean=0.000015 rms=0.001250 Jy/beam
! Combined flux in latest and established models = 0.226797 Jy
! Adding 37 model components to the UV plane model.
! The established model now contains 56 components and 0.226797 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.763 mas, bmaj=11.27 mas, bpa=-4.239 degrees
! Estimated noise=1078.53 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.00255853 Jy
! Component: 100  -  total flux cleaned = 0.00340067 Jy
! Component: 150  -  total flux cleaned = 0.0041278 Jy
! Component: 200  -  total flux cleaned = 0.00466644 Jy
! Total flux subtracted in 200 components = 0.00466644 Jy
! Clean residual min=-0.006407 max=0.004311 Jy/beam
! Clean residual mean=0.000018 rms=0.001619 Jy/beam
! Combined flux in latest and established models = 0.231464 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 75 components and 0.231464 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.277 mas, bmaj=7.859 mas, bpa=-6.95 degrees
! Estimated noise=848.153 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000626763 Jy
! Component: 100  -  total flux cleaned = -0.000699976 Jy
! Component: 150  -  total flux cleaned = -0.000638735 Jy
! Component: 200  -  total flux cleaned = -0.000699717 Jy
! Total flux subtracted in 200 components = -0.000699717 Jy
! Clean residual min=-0.004471 max=0.003836 Jy/beam
! Clean residual mean=0.000012 rms=0.001211 Jy/beam
! Combined flux in latest and established models = 0.230764 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 88 components and 0.230764 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.507943Jy  sigma=0.001756
! Fit after  self-cal, rms=1.507946Jy  sigma=0.001756
wmodel J1524+1521_S_1996_01_02_yyk\_map.mod
! Writing 88 model components to file: J1524+1521_S_1996_01_02_yyk_map.mod
wobs J1524+1521_S_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1524+1521_S_1996_01_02_yyk_uvs.fits
wwins J1524+1521_S_1996_01_02_yyk\_map.win
! wwins: Wrote 2 windows to J1524+1521_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.00171187 Jy
! Component: 100  -  total flux cleaned = -0.00199825 Jy
! Component: 150  -  total flux cleaned = -0.0020017 Jy
! Component: 200  -  total flux cleaned = -0.00174064 Jy
! Component: 250  -  total flux cleaned = -0.00148703 Jy
! Component: 300  -  total flux cleaned = -0.00130428 Jy
! Component: 350  -  total flux cleaned = -0.00106696 Jy
! Component: 400  -  total flux cleaned = -0.000778042 Jy
! Component: 450  -  total flux cleaned = -0.00066615 Jy
! Component: 500  -  total flux cleaned = -0.000556531 Jy
! Component: 550  -  total flux cleaned = -0.000449288 Jy
! Component: 600  -  total flux cleaned = -0.000450365 Jy
! Component: 650  -  total flux cleaned = -0.000451015 Jy
! Component: 700  -  total flux cleaned = -0.000400431 Jy
! Component: 750  -  total flux cleaned = -0.000200319 Jy
! Component: 800  -  total flux cleaned = -0.000102377 Jy
! Component: 850  -  total flux cleaned = -0.000102242 Jy
! Component: 900  -  total flux cleaned = 0.000184567 Jy
! Component: 950  -  total flux cleaned = 0.000607708 Jy
! Component: 1000  -  total flux cleaned = 0.000885097 Jy
! Component: 1050  -  total flux cleaned = 0.00129594 Jy
! Component: 1100  -  total flux cleaned = 0.00170007 Jy
! Component: 1150  -  total flux cleaned = 0.00192207 Jy
! Component: 1200  -  total flux cleaned = 0.00218434 Jy
! Component: 1250  -  total flux cleaned = 0.00248643 Jy
! Component: 1300  -  total flux cleaned = 0.00269927 Jy
! Component: 1350  -  total flux cleaned = 0.00278361 Jy
! Component: 1400  -  total flux cleaned = 0.00294992 Jy
! Component: 1450  -  total flux cleaned = 0.00294943 Jy
! Component: 1500  -  total flux cleaned = 0.00307195 Jy
! Component: 1550  -  total flux cleaned = 0.00307158 Jy
! Component: 1600  -  total flux cleaned = 0.00339074 Jy
! Component: 1650  -  total flux cleaned = 0.0033901 Jy
! Component: 1700  -  total flux cleaned = 0.00346853 Jy
! Component: 1750  -  total flux cleaned = 0.00374059 Jy
! Component: 1800  -  total flux cleaned = 0.00373993 Jy
! Component: 1850  -  total flux cleaned = 0.00389272 Jy
! Component: 1900  -  total flux cleaned = 0.00396832 Jy
! Component: 1950  -  total flux cleaned = 0.00408089 Jy
! Component: 2000  -  total flux cleaned = 0.00411798 Jy
! Total flux subtracted in 2048 components = 0.00437619 Jy
! Clean residual min=-0.002289 max=0.002313 Jy/beam
! Clean residual mean=0.000022 rms=0.000795 Jy/beam
! Combined flux in latest and established models = 0.23514 Jy
keep
! Adding 153 model components to the UV plane model.
! The established model now contains 241 components and 0.23514 Jy
![Exited script file: muppet]
wmap "J1524+1521_S_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.277 x 7.859 at -6.95 degrees (North through East)
! Clean map  min=-0.0052134  max=0.20665 Jy/beam
! Writing clean map to FITS file: J1524+1521_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.206647 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00079567 
device "J1524+1521_S_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1524+1521_S_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.15511 1.15511 2.31023 4.62045 9.2409 18.4818 36.9636 73.9272
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0023 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.206 
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.277 x 7.859 at -6.95 degrees (North through East)
! Clean map  min=-0.0052134  max=0.20665 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1524+1521_S_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1524+1521_S_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1524+1521_S_1996_01_02_yyk_uvs.log closed on Sun Jan  7 18:45:56 2007