! Started logfile: J1415+1320_X_2006_12_18_yyk_uvs.log on Wed Apr  9 20:31:24 2008
obs J1415+1320_X_2006_12_18_yyk_uve.fits
! Reading UV FITS file: J1415+1320_X_2006_12_18_yyk_uve.fits
! AN table 1: 5 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.644444 visibilities/baseline/integration-bin.
! Found source: J1415+1320
! 
! 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  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2161 lines of history.
! 
! Reading 580 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 J1415+1320_X_2006_12_18_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.607495 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=0.6861 mas, bmaj=1.815 mas, bpa=1.3 degrees
! Estimated noise=2.13462 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.505662 Jy
! Component: 100  -  total flux cleaned = 0.615976 Jy
! Total flux subtracted in 100 components = 0.615976 Jy
! Clean residual min=-0.019387 max=0.032009 Jy/beam
! Clean residual mean=-0.000058 rms=0.005928 Jy/beam
! Combined flux in latest and established models = 0.615976 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.615976 Jy
! 
! Correcting IF 1.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.096997Jy  sigma=1.606869
! Fit after  self-cal, rms=0.096558Jy  sigma=1.598315
! Inverting map and beam 
! Estimated beam: bmin=0.6861 mas, bmaj=1.815 mas, bpa=1.3 degrees
! Estimated noise=2.13462 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=0.865 mas, bmaj=2.152 mas, bpa=1.73 degrees
! Estimated noise=1.68912 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.0498092 Jy
! Component: 100  -  total flux cleaned = 0.0668871 Jy
! Component: 150  -  total flux cleaned = 0.0719234 Jy
! Component: 200  -  total flux cleaned = 0.0727379 Jy
! Total flux subtracted in 200 components = 0.0727379 Jy
! Clean residual min=-0.013769 max=0.017036 Jy/beam
! Clean residual mean=-0.000027 rms=0.004442 Jy/beam
! Combined flux in latest and established models = 0.688714 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 21 components and 0.688714 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.079851Jy  sigma=1.272719
! Fit after  self-cal, rms=0.079727Jy  sigma=1.270216
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.865 x 2.152 at 1.73 degrees (North through East)
! Clean map  min=-0.013184  max=0.60601 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.997456
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00*    HN        1.02     KP        1.00     
!   LA        1.00     MK        1.02     NL        1.06     OV        0.98     
!   PT        0.96     SC        0.99     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.00883
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.00*    HN        1.03     KP        0.96     
!   LA        0.94     MK        0.97     NL        1.04     OV        0.99     
!   PT        1.03     SC        0.98     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.00905
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.00*    HN        0.94     KP        0.89     
!   LA        0.97     MK        1.03     NL        1.01     OV        1.02     
!   PT        1.05     SC        0.99     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.990399
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.00*    HN        0.95     KP        0.91     
!   LA        0.95     MK        1.03     NL        1.04     OV        1.00     
!   PT        1.12     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.079727Jy  sigma=1.270216
! Fit after  self-cal, rms=0.071062Jy  sigma=1.103602
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.071062Jy  sigma=1.103602
! Fit after  self-cal, rms=0.071068Jy  sigma=1.103581
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8668 mas, bmaj=2.161 mas, bpa=1.898 degrees
! Estimated noise=1.69044 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.000889369 Jy
! Component: 100  -  total flux cleaned = 0.000579591 Jy
! Component: 150  -  total flux cleaned = 0.000332914 Jy
! Component: 200  -  total flux cleaned = 0.000192362 Jy
! Total flux subtracted in 200 components = 0.000192362 Jy
! Clean residual min=-0.009929 max=0.014365 Jy/beam
! Clean residual mean=-0.000003 rms=0.003134 Jy/beam
! Combined flux in latest and established models = 0.688907 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 27 components and 0.688907 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070881Jy  sigma=1.099779
! Fit after  self-cal, rms=0.070868Jy  sigma=1.099509
! 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.070868Jy  sigma=1.099509
! Fit after  self-cal, rms=0.064594Jy  sigma=1.004453
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 (-9.6, 6.2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.016017 Jy
! Component: 100  -  total flux cleaned = 0.023468 Jy
! Component: 150  -  total flux cleaned = 0.0273543 Jy
! Component: 200  -  total flux cleaned = 0.0293395 Jy
! Total flux subtracted in 200 components = 0.0293395 Jy
! Clean residual min=-0.007209 max=0.007127 Jy/beam
! Clean residual mean=-0.000009 rms=0.001977 Jy/beam
! Combined flux in latest and established models = 0.718246 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 60 components and 0.718246 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062491Jy  sigma=0.946894
! Fit after  self-cal, rms=0.061609Jy  sigma=0.935577
! 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: 0.8668 x 2.161 at 1.898 degrees (North through East)
! Clean map  min=-0.0066729  max=0.6087 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.061609Jy  sigma=0.935577
! Fit after  self-cal, rms=0.061013Jy  sigma=0.917579
! 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.061013Jy  sigma=0.917579
! Fit after  self-cal, rms=0.060921Jy  sigma=0.916629
! Inverting map and beam 
! Estimated beam: bmin=0.8688 mas, bmaj=2.168 mas, bpa=1.988 degrees
! Estimated noise=1.68744 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00445638 Jy
! Component: 100  -  total flux cleaned = 0.00532312 Jy
! Component: 150  -  total flux cleaned = 0.00585159 Jy
! Component: 200  -  total flux cleaned = 0.00613474 Jy
! Total flux subtracted in 200 components = 0.00613474 Jy
! Clean residual min=-0.006166 max=0.005488 Jy/beam
! Clean residual mean=-0.000005 rms=0.001716 Jy/beam
! Combined flux in latest and established models = 0.724381 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 66 components and 0.724381 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060644Jy  sigma=0.908727
! Fit after  self-cal, rms=0.060594Jy  sigma=0.908009
! 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.060594Jy  sigma=0.908009
! Fit after  self-cal, rms=0.059272Jy  sigma=0.886385
! 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.059272Jy  sigma=0.886385
! Fit after  self-cal, rms=0.059272Jy  sigma=0.886374
! Inverting map and beam 
! Estimated beam: bmin=0.869 mas, bmaj=2.17 mas, bpa=2.001 degrees
! Estimated noise=1.68668 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000839098 Jy
! Component: 100  -  total flux cleaned = 0.00101041 Jy
! Component: 150  -  total flux cleaned = 0.00109189 Jy
! Component: 200  -  total flux cleaned = 0.00116743 Jy
! Total flux subtracted in 200 components = 0.00116743 Jy
! Clean residual min=-0.005948 max=0.005088 Jy/beam
! Clean residual mean=-0.000006 rms=0.001644 Jy/beam
! Combined flux in latest and established models = 0.725548 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 73 components and 0.725548 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059106Jy  sigma=0.882735
! Fit after  self-cal, rms=0.059086Jy  sigma=0.882500
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.08 mas, bmaj=3.27 mas, bpa=-5.302 degrees
! Estimated noise=2.1966 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.00230587 Jy
! Component: 100  -  total flux cleaned = 0.00296365 Jy
! Component: 150  -  total flux cleaned = 0.00313729 Jy
! Component: 200  -  total flux cleaned = 0.00313709 Jy
! Total flux subtracted in 200 components = 0.00313709 Jy
! Clean residual min=-0.007482 max=0.007088 Jy/beam
! Clean residual mean=-0.000017 rms=0.002250 Jy/beam
! Combined flux in latest and established models = 0.728686 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 88 components and 0.728686 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059107Jy  sigma=0.881749
! Fit after  self-cal, rms=0.059081Jy  sigma=0.881443
! 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=0.6884 mas, bmaj=1.821 mas, bpa=1.471 degrees
! Estimated noise=2.14289 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.507581 Jy
! Component: 100  -  total flux cleaned = 0.618195 Jy
! Component: 150  -  total flux cleaned = 0.660686 Jy
! Component: 200  -  total flux cleaned = 0.680888 Jy
! Total flux subtracted in 200 components = 0.680888 Jy
! Clean residual min=-0.011957 max=0.010758 Jy/beam
! Clean residual mean=-0.000009 rms=0.002722 Jy/beam
! Combined flux in latest and established models = 0.680888 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 11 model components to the UV plane model.
! The established model now contains 11 components and 0.680888 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.869 mas, bmaj=2.17 mas, bpa=2.001 degrees
! Estimated noise=1.68668 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.0167625 Jy
! Component: 100  -  total flux cleaned = 0.0273188 Jy
! Component: 150  -  total flux cleaned = 0.0344915 Jy
! Component: 200  -  total flux cleaned = 0.0389264 Jy
! Total flux subtracted in 200 components = 0.0389264 Jy
! Clean residual min=-0.007338 max=0.006220 Jy/beam
! Clean residual mean=-0.000006 rms=0.001837 Jy/beam
! Combined flux in latest and established models = 0.719814 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 31 components and 0.719814 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.08 mas, bmaj=3.27 mas, bpa=-5.302 degrees
! Estimated noise=2.1966 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.00572005 Jy
! Component: 100  -  total flux cleaned = 0.00717375 Jy
! Component: 150  -  total flux cleaned = 0.00757135 Jy
! Component: 200  -  total flux cleaned = 0.00792015 Jy
! Total flux subtracted in 200 components = 0.00792015 Jy
! Clean residual min=-0.007845 max=0.007202 Jy/beam
! Clean residual mean=-0.000015 rms=0.002317 Jy/beam
! Combined flux in latest and established models = 0.727734 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 45 components and 0.727734 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.869 mas, bmaj=2.17 mas, bpa=2.001 degrees
! Estimated noise=1.68668 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000180529 Jy
! Component: 100  -  total flux cleaned = -0.000310242 Jy
! Component: 150  -  total flux cleaned = -0.000522943 Jy
! Component: 200  -  total flux cleaned = -0.000519867 Jy
! Total flux subtracted in 200 components = -0.000519867 Jy
! Clean residual min=-0.006053 max=0.005491 Jy/beam
! Clean residual mean=-0.000005 rms=0.001650 Jy/beam
! Combined flux in latest and established models = 0.727214 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 60 components and 0.727214 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059438Jy  sigma=0.886490
! Fit after  self-cal, rms=0.059394Jy  sigma=0.885858
wmodel J1415+1320_X_2006_12_18_yyk\_map.mod
! Writing 60 model components to file: J1415+1320_X_2006_12_18_yyk_map.mod
wobs J1415+1320_X_2006_12_18_yyk\_uvs.fits
! Writing UV FITS file: J1415+1320_X_2006_12_18_yyk_uvs.fits
wwins J1415+1320_X_2006_12_18_yyk\_map.win
! wwins: Wrote 2 windows to J1415+1320_X_2006_12_18_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.00189078 Jy
! Component: 100  -  total flux cleaned = -0.00267964 Jy
! Component: 150  -  total flux cleaned = -0.00286477 Jy
! Component: 200  -  total flux cleaned = -0.0027787 Jy
! Component: 250  -  total flux cleaned = -0.0025353 Jy
! Component: 300  -  total flux cleaned = -0.00207514 Jy
! Component: 350  -  total flux cleaned = -0.00170296 Jy
! Component: 400  -  total flux cleaned = -0.000916896 Jy
! Component: 450  -  total flux cleaned = -0.000435479 Jy
! Component: 500  -  total flux cleaned = 2.74748e-05 Jy
! Component: 550  -  total flux cleaned = 0.000472321 Jy
! Component: 600  -  total flux cleaned = 0.000841857 Jy
! Component: 650  -  total flux cleaned = 0.00126158 Jy
! Component: 700  -  total flux cleaned = 0.0016108 Jy
! Component: 750  -  total flux cleaned = 0.00183692 Jy
! Component: 800  -  total flux cleaned = 0.00227605 Jy
! Component: 850  -  total flux cleaned = 0.00270122 Jy
! Component: 900  -  total flux cleaned = 0.0030125 Jy
! Component: 950  -  total flux cleaned = 0.00351831 Jy
! Component: 1000  -  total flux cleaned = 0.0039609 Jy
! Component: 1050  -  total flux cleaned = 0.00424921 Jy
! Component: 1100  -  total flux cleaned = 0.00457829 Jy
! Component: 1150  -  total flux cleaned = 0.00503607 Jy
! Component: 1200  -  total flux cleaned = 0.00539312 Jy
! Component: 1250  -  total flux cleaned = 0.00578588 Jy
! Component: 1300  -  total flux cleaned = 0.0060846 Jy
! Component: 1350  -  total flux cleaned = 0.0064195 Jy
! Component: 1400  -  total flux cleaned = 0.00666556 Jy
! Component: 1450  -  total flux cleaned = 0.0069073 Jy
! Component: 1500  -  total flux cleaned = 0.0072241 Jy
! Component: 1550  -  total flux cleaned = 0.00753575 Jy
! Component: 1600  -  total flux cleaned = 0.00784221 Jy
! Component: 1650  -  total flux cleaned = 0.00806875 Jy
! Component: 1700  -  total flux cleaned = 0.00829166 Jy
! Component: 1750  -  total flux cleaned = 0.00851093 Jy
! Component: 1800  -  total flux cleaned = 0.00858328 Jy
! Component: 1850  -  total flux cleaned = 0.00869067 Jy
! Component: 1900  -  total flux cleaned = 0.00886711 Jy
! Component: 1950  -  total flux cleaned = 0.00907473 Jy
! Component: 2000  -  total flux cleaned = 0.00921143 Jy
! Total flux subtracted in 2048 components = 0.00934641 Jy
! Clean residual min=-0.001869 max=0.001927 Jy/beam
! Clean residual mean=0.000002 rms=0.000606 Jy/beam
! Combined flux in latest and established models = 0.736561 Jy
keep
! Adding 127 model components to the UV plane model.
! The established model now contains 187 components and 0.73656 Jy
![Exited script file: muppet]
wmap "J1415+1320_X_2006_12_18_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.869 x 2.17 at 2.001 degrees (North through East)
! Clean map  min=-0.0037509  max=0.60727 Jy/beam
! Writing clean map to FITS file: J1415+1320_X_2006_12_18_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.607271 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000591383 
device "J1415+1320_X_2006_12_18_yyk\_map.eps/VPS"
! Attempting to open device: 'J1415+1320_X_2006_12_18_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.292151 0.292151 0.584302 1.1686 2.33721 4.67442 9.34883 18.6977 37.3953 74.7907
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.607 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.869 x 2.17 at 2.001 degrees (North through East)
! Clean map  min=-0.0037509  max=0.60727 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1415+1320_X_2006_12_18_yyk\_map.gif/gif"
! Attempting to open device: 'J1415+1320_X_2006_12_18_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1415+1320_X_2006_12_18_yyk_uvs.log closed on Wed Apr  9 20:31:27 2008