! Started logfile: J0151+2517_S_2005_07_09_yyk_uvs.log on Fri Jan 20 09:45:53 2006
obs J0151+2517_S_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J0151+2517_S_2005_07_09_yyk_uve.fits
! AN table 1: 12 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.77963 visibilities/baseline/integration-bin.
! Found source: J0151+2517
! 
! 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 1601 lines of history.
! 
! Reading 1684 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 J0151+2517_S_2005_07_09_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.190024 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.549 mas, bmaj=6.479 mas, bpa=-2.764 degrees
! Estimated noise=1.16491 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.149871 Jy
! Component: 100  -  total flux cleaned = 0.177136 Jy
! Total flux subtracted in 100 components = 0.177136 Jy
! Clean residual min=-0.006239 max=0.007267 Jy/beam
! Clean residual mean=-0.000033 rms=0.001648 Jy/beam
! Combined flux in latest and established models = 0.177135 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 12 components and 0.177135 Jy
! 
! Correcting IF 1.
!  A total of 19 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 19 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 19 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 19 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.064298Jy  sigma=1.113834
! Fit after  self-cal, rms=0.064201Jy  sigma=1.109355
! Inverting map and beam 
! Estimated beam: bmin=2.549 mas, bmaj=6.479 mas, bpa=-2.764 degrees
! Estimated noise=1.16491 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.079 mas, bmaj=7.21 mas, bpa=-3.371 degrees
! Estimated noise=0.824649 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.0110457 Jy
! Component: 100  -  total flux cleaned = 0.0157538 Jy
! Component: 150  -  total flux cleaned = 0.0168101 Jy
! Component: 200  -  total flux cleaned = 0.017335 Jy
! Total flux subtracted in 200 components = 0.017335 Jy
! Clean residual min=-0.003500 max=0.003761 Jy/beam
! Clean residual mean=-0.000050 rms=0.001064 Jy/beam
! Combined flux in latest and established models = 0.19447 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 33 components and 0.19447 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062448Jy  sigma=1.076492
! Fit after  self-cal, rms=0.062445Jy  sigma=1.076430
! 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.079 x 7.21 at -3.371 degrees (North through East)
! Clean map  min=-0.0032781  max=0.17536 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.00602
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.11     HN        1.00     KP        0.97     
!   LA        1.08     MK        0.90     NL        0.92     OV        0.94     
!   PT        1.08     SC        0.94     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.982075
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.04     HN        1.06     KP        0.98     
!   LA        1.06     MK        0.99     NL        0.96     OV        1.02     
!   PT        1.07     SC        0.98     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.971458
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.96     HN        1.05     KP        1.01     
!   LA        0.94     MK        1.10     NL        1.00     OV        1.02     
!   PT        1.08     SC        1.11     
! 
! 
! 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.062445Jy  sigma=1.076430
! Fit after  self-cal, rms=0.061340Jy  sigma=1.053598
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.061340Jy  sigma=1.053598
! Fit after  self-cal, rms=0.061339Jy  sigma=1.053569
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.075 mas, bmaj=7.216 mas, bpa=-3.412 degrees
! Estimated noise=0.820947 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 = -3.03562e-05 Jy
! Component: 100  -  total flux cleaned = 7.05964e-05 Jy
! Component: 150  -  total flux cleaned = 0.000206046 Jy
! Component: 200  -  total flux cleaned = 0.000283953 Jy
! Total flux subtracted in 200 components = 0.000283953 Jy
! Clean residual min=-0.003254 max=0.003059 Jy/beam
! Clean residual mean=-0.000020 rms=0.000875 Jy/beam
! Combined flux in latest and established models = 0.194754 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 36 components and 0.194754 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061286Jy  sigma=1.052091
! Fit after  self-cal, rms=0.061286Jy  sigma=1.052066
! 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.061286Jy  sigma=1.052066
! Fit after  self-cal, rms=0.059334Jy  sigma=1.018443
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.000475363 Jy
! Component: 100  -  total flux cleaned = 0.000601192 Jy
! Component: 150  -  total flux cleaned = 0.000654847 Jy
! Component: 200  -  total flux cleaned = 0.000704327 Jy
! Total flux subtracted in 200 components = 0.000704327 Jy
! Clean residual min=-0.003273 max=0.002876 Jy/beam
! Clean residual mean=-0.000020 rms=0.000870 Jy/beam
! Combined flux in latest and established models = 0.195459 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 42 components and 0.195459 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059287Jy  sigma=1.017884
! Fit after  self-cal, rms=0.059099Jy  sigma=1.015165
! 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.075 x 7.216 at -3.412 degrees (North through East)
! Clean map  min=-0.0031739  max=0.17506 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.059099Jy  sigma=1.015165
! Fit after  self-cal, rms=0.059425Jy  sigma=1.001249
! 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.059425Jy  sigma=1.001249
! Fit after  self-cal, rms=0.059415Jy  sigma=1.000927
! Inverting map and beam 
! Estimated beam: bmin=3.046 mas, bmaj=7.146 mas, bpa=-3.335 degrees
! Estimated noise=0.83416 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00359481 Jy
! Component: 100  -  total flux cleaned = 0.0047721 Jy
! Component: 150  -  total flux cleaned = 0.00498516 Jy
! Component: 200  -  total flux cleaned = 0.00509456 Jy
! Total flux subtracted in 200 components = 0.00509456 Jy
! Clean residual min=-0.003436 max=0.003061 Jy/beam
! Clean residual mean=-0.000020 rms=0.000868 Jy/beam
! Combined flux in latest and established models = 0.200553 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 53 components and 0.200553 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059137Jy  sigma=0.997188
! Fit after  self-cal, rms=0.059142Jy  sigma=0.997129
! 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.059142Jy  sigma=0.997129
! Fit after  self-cal, rms=0.058574Jy  sigma=0.976009
! 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.058574Jy  sigma=0.976009
! Fit after  self-cal, rms=0.058577Jy  sigma=0.975945
! Inverting map and beam 
! Estimated beam: bmin=3.045 mas, bmaj=7.179 mas, bpa=-3.58 degrees
! Estimated noise=0.83927 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00145282 Jy
! Component: 100  -  total flux cleaned = 0.00171681 Jy
! Component: 150  -  total flux cleaned = 0.0017819 Jy
! Component: 200  -  total flux cleaned = 0.00180175 Jy
! Total flux subtracted in 200 components = 0.00180175 Jy
! Clean residual min=-0.003443 max=0.003019 Jy/beam
! Clean residual mean=-0.000017 rms=0.000852 Jy/beam
! Combined flux in latest and established models = 0.202355 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 65 components and 0.202355 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058522Jy  sigma=0.975232
! Fit after  self-cal, rms=0.058524Jy  sigma=0.975223
! 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.238 mas, bmaj=9.804 mas, bpa=-0.3604 degrees
! Estimated noise=1.10535 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.000288431 Jy
! Component: 100  -  total flux cleaned = 0.000298624 Jy
! Component: 150  -  total flux cleaned = 0.000306841 Jy
! Component: 200  -  total flux cleaned = 0.000297541 Jy
! Total flux subtracted in 200 components = 0.000297541 Jy
! Clean residual min=-0.003327 max=0.002881 Jy/beam
! Clean residual mean=-0.000037 rms=0.001043 Jy/beam
! Combined flux in latest and established models = 0.202653 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 74 components and 0.202653 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058516Jy  sigma=0.975302
! Fit after  self-cal, rms=0.058511Jy  sigma=0.975208
! 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.539 mas, bmaj=6.476 mas, bpa=-2.935 degrees
! Estimated noise=1.1814 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.152604 Jy
! Component: 100  -  total flux cleaned = 0.180585 Jy
! Component: 150  -  total flux cleaned = 0.191935 Jy
! Component: 200  -  total flux cleaned = 0.197861 Jy
! Total flux subtracted in 200 components = 0.197861 Jy
! Clean residual min=-0.004540 max=0.004574 Jy/beam
! Clean residual mean=-0.000014 rms=0.001206 Jy/beam
! Combined flux in latest and established models = 0.197861 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.197861 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.045 mas, bmaj=7.179 mas, bpa=-3.58 degrees
! Estimated noise=0.83927 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.00230708 Jy
! Component: 100  -  total flux cleaned = 0.00326151 Jy
! Component: 150  -  total flux cleaned = 0.00380159 Jy
! Component: 200  -  total flux cleaned = 0.00406091 Jy
! Total flux subtracted in 200 components = 0.00406091 Jy
! Clean residual min=-0.003699 max=0.003157 Jy/beam
! Clean residual mean=-0.000017 rms=0.000871 Jy/beam
! Combined flux in latest and established models = 0.201922 Jy
! Adding 19 model components to the UV plane model.
! The established model now contains 34 components and 0.201922 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.238 mas, bmaj=9.804 mas, bpa=-0.3604 degrees
! Estimated noise=1.10535 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.000934126 Jy
! Component: 100  -  total flux cleaned = 0.00094661 Jy
! Component: 150  -  total flux cleaned = 0.000956025 Jy
! Component: 200  -  total flux cleaned = 0.000965241 Jy
! Total flux subtracted in 200 components = 0.000965241 Jy
! Clean residual min=-0.003345 max=0.002886 Jy/beam
! Clean residual mean=-0.000037 rms=0.001039 Jy/beam
! Combined flux in latest and established models = 0.202887 Jy
! Adding 9 model components to the UV plane model.
! The established model now contains 42 components and 0.202887 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.045 mas, bmaj=7.179 mas, bpa=-3.58 degrees
! Estimated noise=0.83927 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000143224 Jy
! Component: 100  -  total flux cleaned = -0.000103014 Jy
! Component: 150  -  total flux cleaned = -6.64252e-05 Jy
! Component: 200  -  total flux cleaned = -6.60527e-05 Jy
! Total flux subtracted in 200 components = -6.60527e-05 Jy
! Clean residual min=-0.003662 max=0.003100 Jy/beam
! Clean residual mean=-0.000017 rms=0.000862 Jy/beam
! Combined flux in latest and established models = 0.202821 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 49 components and 0.202821 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058551Jy  sigma=0.976131
! Fit after  self-cal, rms=0.058550Jy  sigma=0.976094
wmodel J0151+2517_S_2005_07_09_yyk\_map.mod
! Writing 49 model components to file: J0151+2517_S_2005_07_09_yyk_map.mod
wobs J0151+2517_S_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J0151+2517_S_2005_07_09_yyk_uvs.fits
wwins J0151+2517_S_2005_07_09_yyk\_map.win
! wwins: Wrote 1 windows to J0151+2517_S_2005_07_09_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.00120248 Jy
! Component: 100  -  total flux cleaned = -0.00186189 Jy
! Component: 150  -  total flux cleaned = -0.00207087 Jy
! Component: 200  -  total flux cleaned = -0.00231724 Jy
! Component: 250  -  total flux cleaned = -0.00245788 Jy
! Component: 300  -  total flux cleaned = -0.00264103 Jy
! Component: 350  -  total flux cleaned = -0.00286162 Jy
! Component: 400  -  total flux cleaned = -0.00303226 Jy
! Component: 450  -  total flux cleaned = -0.00324063 Jy
! Component: 500  -  total flux cleaned = -0.00348408 Jy
! Component: 550  -  total flux cleaned = -0.00372064 Jy
! Component: 600  -  total flux cleaned = -0.00395122 Jy
! Component: 650  -  total flux cleaned = -0.00406433 Jy
! Component: 700  -  total flux cleaned = -0.00432096 Jy
! Component: 750  -  total flux cleaned = -0.00439248 Jy
! Component: 800  -  total flux cleaned = -0.0045687 Jy
! Component: 850  -  total flux cleaned = -0.00463858 Jy
! Component: 900  -  total flux cleaned = -0.00487685 Jy
! Component: 950  -  total flux cleaned = -0.0050434 Jy
! Component: 1000  -  total flux cleaned = -0.0052068 Jy
! Component: 1050  -  total flux cleaned = -0.00533488 Jy
! Component: 1100  -  total flux cleaned = -0.00539845 Jy
! Component: 1150  -  total flux cleaned = -0.00561792 Jy
! Component: 1200  -  total flux cleaned = -0.00583354 Jy
! Component: 1250  -  total flux cleaned = -0.00598561 Jy
! Component: 1300  -  total flux cleaned = -0.00613521 Jy
! Component: 1350  -  total flux cleaned = -0.00616473 Jy
! Component: 1400  -  total flux cleaned = -0.00642734 Jy
! Component: 1450  -  total flux cleaned = -0.00654204 Jy
! Component: 1500  -  total flux cleaned = -0.00665566 Jy
! Component: 1550  -  total flux cleaned = -0.00665629 Jy
! Component: 1600  -  total flux cleaned = -0.00690563 Jy
! Component: 1650  -  total flux cleaned = -0.00696039 Jy
! Component: 1700  -  total flux cleaned = -0.00709448 Jy
! Component: 1750  -  total flux cleaned = -0.00706756 Jy
! Component: 1800  -  total flux cleaned = -0.0071724 Jy
! Component: 1850  -  total flux cleaned = -0.00725017 Jy
! Component: 1900  -  total flux cleaned = -0.00730161 Jy
! Component: 1950  -  total flux cleaned = -0.00745368 Jy
! Component: 2000  -  total flux cleaned = -0.00750371 Jy
! Total flux subtracted in 2048 components = -0.00757775 Jy
! Clean residual min=-0.001413 max=0.001473 Jy/beam
! Clean residual mean=-0.000011 rms=0.000514 Jy/beam
! Combined flux in latest and established models = 0.195243 Jy
keep
! Adding 129 model components to the UV plane model.
! The established model now contains 178 components and 0.195243 Jy
![Exited script file: muppet]
wmap "J0151+2517_S_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.045 x 7.179 at -3.58 degrees (North through East)
! Clean map  min=-0.0028272  max=0.17938 Jy/beam
! Writing clean map to FITS file: J0151+2517_S_2005_07_09_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.179375 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000513613 
device "J0151+2517_S_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J0151+2517_S_2005_07_09_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.859004 0.859004 1.71801 3.43601 6.87203 13.7441 27.4881 54.9762
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0015 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.179 
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.045 x 7.179 at -3.58 degrees (North through East)
! Clean map  min=-0.0028272  max=0.17938 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0151+2517_S_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J0151+2517_S_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0151+2517_S_2005_07_09_yyk_uvs.log closed on Fri Jan 20 09:45:57 2006