! Started logfile: J1230+2518_S_1996_05_15_yyk_uvs.log on Sun Jan  7 18:05:28 2007
obs J1230+2518_S_1996_05_15_yyk_uva.fits
! Reading UV FITS file: J1230+2518_S_1996_05_15_yyk_uva.fits
! AN table 1: 144 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.871914 visibilities/baseline/integration-bin.
! Found source: J1230+2518
! 
! 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        8e+06          1        8e+06
!  02        2  2.23424e+09        8e+06          1        8e+06
!  03        3  2.29424e+09        8e+06          1        8e+06
!  04        4  2.32424e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 617 lines of history.
! 
! Reading 22600 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 J1230+2518_S_1996_05_15_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.316378 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.735 mas, bmaj=6.76 mas, bpa=-8.725 degrees
! Estimated noise=1264.48 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.150429 Jy
! Component: 100  -  total flux cleaned = 0.187582 Jy
! Total flux subtracted in 100 components = 0.187582 Jy
! Clean residual min=-0.011063 max=0.023045 Jy/beam
! Clean residual mean=0.000045 rms=0.003413 Jy/beam
! Combined flux in latest and established models = 0.187582 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 16 components and 0.187582 Jy
! 
! Correcting IF 1.
!  A total of 103 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 103 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 103 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 103 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.257262Jy  sigma=0.001301
! Fit after  self-cal, rms=0.256411Jy  sigma=0.001297
! Inverting map and beam 
! Estimated beam: bmin=2.735 mas, bmaj=6.76 mas, bpa=-8.726 degrees
! Estimated noise=1264.55 mJy/beam.
! Added new window around map position (-5.5, -3.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0272964 Jy
! Component: 100  -  total flux cleaned = 0.0406797 Jy
! Total flux subtracted in 100 components = 0.0406797 Jy
! Clean residual min=-0.007024 max=0.007720 Jy/beam
! Clean residual mean=0.000029 rms=0.002131 Jy/beam
! Combined flux in latest and established models = 0.228262 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 43 components and 0.228262 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253925Jy  sigma=0.001282
! Fit after  self-cal, rms=0.253705Jy  sigma=0.001281
! Inverting map 
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.352 mas, bmaj=7.611 mas, bpa=-10.27 degrees
! Estimated noise=838.215 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.0115342 Jy
! Component: 100  -  total flux cleaned = 0.0169627 Jy
! Component: 150  -  total flux cleaned = 0.0202387 Jy
! Component: 200  -  total flux cleaned = 0.0220461 Jy
! Total flux subtracted in 200 components = 0.0220461 Jy
! Clean residual min=-0.005307 max=0.006452 Jy/beam
! Clean residual mean=0.000070 rms=0.001610 Jy/beam
! Combined flux in latest and established models = 0.250308 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 70 components and 0.250308 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253269Jy  sigma=0.001279
! Fit after  self-cal, rms=0.253228Jy  sigma=0.001278
! 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.352 x 7.611 at -10.27 degrees (North through East)
! Clean map  min=-0.0050604  max=0.17098 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.02276
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.09     HN        0.98     KP        0.97     
!   LA        0.93     MK        1.00     NL        0.91     OV        1.10     
!   PT        0.94     SC        0.86     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.96661
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.13     HN        1.09     KP        0.98     
!   LA        1.08     MK        1.06     NL        1.02     OV        1.04     
!   PT        0.90     SC        1.03     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.990704
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.08     HN        1.10     KP        1.01     
!   LA        0.87     MK        1.05     NL        1.06     OV        0.96     
!   PT        0.95     SC        1.04     
! 
! 
! Fit before self-cal, rms=0.253228Jy  sigma=0.001278
! Fit after  self-cal, rms=0.251217Jy  sigma=0.001276
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.251217Jy  sigma=0.001276
! Fit after  self-cal, rms=0.251216Jy  sigma=0.001276
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.398 mas, bmaj=7.618 mas, bpa=-9.49 degrees
! Estimated noise=840.936 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.000363975 Jy
! Component: 100  -  total flux cleaned = -0.000630816 Jy
! Component: 150  -  total flux cleaned = -0.00080632 Jy
! Component: 200  -  total flux cleaned = -0.000959072 Jy
! Total flux subtracted in 200 components = -0.000959072 Jy
! Clean residual min=-0.003788 max=0.003519 Jy/beam
! Clean residual mean=0.000033 rms=0.001090 Jy/beam
! Combined flux in latest and established models = 0.249349 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 88 components and 0.249349 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.251176Jy  sigma=0.001275
! Fit after  self-cal, rms=0.251169Jy  sigma=0.001275
! 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.251169Jy  sigma=0.001275
! Fit after  self-cal, rms=0.250673Jy  sigma=0.001272
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.000179368 Jy
! Component: 100  -  total flux cleaned = 0.000229287 Jy
! Component: 150  -  total flux cleaned = 0.000186696 Jy
! Component: 200  -  total flux cleaned = 0.000188213 Jy
! Total flux subtracted in 200 components = 0.000188213 Jy
! Clean residual min=-0.003827 max=0.003443 Jy/beam
! Clean residual mean=0.000032 rms=0.001071 Jy/beam
! Combined flux in latest and established models = 0.249537 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 101 components and 0.249537 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.250656Jy  sigma=0.001272
! Fit after  self-cal, rms=0.250601Jy  sigma=0.001272
! 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.398 x 7.618 at -9.49 degrees (North through East)
! Clean map  min=-0.0036066  max=0.1725 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.250601Jy  sigma=0.001272
! Fit after  self-cal, rms=0.251949Jy  sigma=0.001271
! 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.251949Jy  sigma=0.001271
! Fit after  self-cal, rms=0.251944Jy  sigma=0.001271
! Inverting map and beam 
! Estimated beam: bmin=3.421 mas, bmaj=7.683 mas, bpa=-9.142 degrees
! Estimated noise=850.727 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00247235 Jy
! Component: 100  -  total flux cleaned = 0.00254456 Jy
! Component: 150  -  total flux cleaned = 0.00264208 Jy
! Component: 200  -  total flux cleaned = 0.00272397 Jy
! Total flux subtracted in 200 components = 0.00272397 Jy
! Clean residual min=-0.003706 max=0.003436 Jy/beam
! Clean residual mean=0.000027 rms=0.001039 Jy/beam
! Combined flux in latest and established models = 0.252261 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 110 components and 0.252261 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.251896Jy  sigma=0.001271
! Fit after  self-cal, rms=0.251896Jy  sigma=0.001271
! 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.251896Jy  sigma=0.001271
! Fit after  self-cal, rms=0.253829Jy  sigma=0.001271
! 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.253829Jy  sigma=0.001271
! Fit after  self-cal, rms=0.253834Jy  sigma=0.001271
! Inverting map and beam 
! Estimated beam: bmin=3.403 mas, bmaj=7.698 mas, bpa=-8.972 degrees
! Estimated noise=853.332 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00118533 Jy
! Component: 100  -  total flux cleaned = 0.00127818 Jy
! Component: 150  -  total flux cleaned = 0.00131948 Jy
! Component: 200  -  total flux cleaned = 0.0013512 Jy
! Total flux subtracted in 200 components = 0.0013512 Jy
! Clean residual min=-0.003929 max=0.003626 Jy/beam
! Clean residual mean=0.000036 rms=0.001086 Jy/beam
! Combined flux in latest and established models = 0.253612 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 127 components and 0.253612 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253814Jy  sigma=0.001270
! Fit after  self-cal, rms=0.253814Jy  sigma=0.001270
! 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.521 mas, bmaj=10.18 mas, bpa=-5.083 degrees
! Estimated noise=1066.64 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.00073807 Jy
! Component: 100  -  total flux cleaned = -0.000920698 Jy
! Component: 150  -  total flux cleaned = -0.00103253 Jy
! Component: 200  -  total flux cleaned = -0.00106296 Jy
! Total flux subtracted in 200 components = -0.00106296 Jy
! Clean residual min=-0.004010 max=0.004175 Jy/beam
! Clean residual mean=0.000079 rms=0.001536 Jy/beam
! Combined flux in latest and established models = 0.252549 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 134 components and 0.252549 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253815Jy  sigma=0.001270
! Fit after  self-cal, rms=0.253814Jy  sigma=0.001270
! 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.757 mas, bmaj=6.798 mas, bpa=-8.186 degrees
! Estimated noise=1286.75 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.154476 Jy
! Component: 100  -  total flux cleaned = 0.199504 Jy
! Component: 150  -  total flux cleaned = 0.22242 Jy
! Component: 200  -  total flux cleaned = 0.23547 Jy
! Total flux subtracted in 200 components = 0.23547 Jy
! Clean residual min=-0.005862 max=0.005972 Jy/beam
! Clean residual mean=0.000021 rms=0.001645 Jy/beam
! Combined flux in latest and established models = 0.23547 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 32 model components to the UV plane model.
! The established model now contains 32 components and 0.23547 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.403 mas, bmaj=7.698 mas, bpa=-8.972 degrees
! Estimated noise=853.332 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.00925013 Jy
! Component: 100  -  total flux cleaned = 0.0141778 Jy
! Component: 150  -  total flux cleaned = 0.0162305 Jy
! Component: 200  -  total flux cleaned = 0.0168924 Jy
! Total flux subtracted in 200 components = 0.0168924 Jy
! Clean residual min=-0.003892 max=0.003706 Jy/beam
! Clean residual mean=0.000038 rms=0.001131 Jy/beam
! Combined flux in latest and established models = 0.252363 Jy
! Adding 43 model components to the UV plane model.
! The established model now contains 70 components and 0.252363 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.521 mas, bmaj=10.18 mas, bpa=-5.083 degrees
! Estimated noise=1066.64 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.000463301 Jy
! Component: 100  -  total flux cleaned = 0.000458856 Jy
! Component: 150  -  total flux cleaned = 0.000388773 Jy
! Component: 200  -  total flux cleaned = 0.00033347 Jy
! Total flux subtracted in 200 components = 0.00033347 Jy
! Clean residual min=-0.004025 max=0.004179 Jy/beam
! Clean residual mean=0.000078 rms=0.001560 Jy/beam
! Combined flux in latest and established models = 0.252696 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 89 components and 0.252696 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.403 mas, bmaj=7.698 mas, bpa=-8.972 degrees
! Estimated noise=853.332 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000744885 Jy
! Component: 100  -  total flux cleaned = 0.000947265 Jy
! Component: 150  -  total flux cleaned = 0.00103759 Jy
! Component: 200  -  total flux cleaned = 0.00107981 Jy
! Total flux subtracted in 200 components = 0.00107981 Jy
! Clean residual min=-0.003836 max=0.003878 Jy/beam
! Clean residual mean=0.000036 rms=0.001093 Jy/beam
! Combined flux in latest and established models = 0.253776 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 103 components and 0.253776 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253830Jy  sigma=0.001271
! Fit after  self-cal, rms=0.253830Jy  sigma=0.001271
wmodel J1230+2518_S_1996_05_15_yyk\_map.mod
! Writing 103 model components to file: J1230+2518_S_1996_05_15_yyk_map.mod
wobs J1230+2518_S_1996_05_15_yyk\_uvs.fits
! Writing UV FITS file: J1230+2518_S_1996_05_15_yyk_uvs.fits
wwins J1230+2518_S_1996_05_15_yyk\_map.win
! wwins: Wrote 2 windows to J1230+2518_S_1996_05_15_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.000128572 Jy
! Component: 100  -  total flux cleaned = 0.00031921 Jy
! Component: 150  -  total flux cleaned = 0.000263815 Jy
! Component: 200  -  total flux cleaned = 3.97451e-05 Jy
! Component: 250  -  total flux cleaned = -0.00017318 Jy
! Component: 300  -  total flux cleaned = -0.00012124 Jy
! Component: 350  -  total flux cleaned = -0.000172012 Jy
! Component: 400  -  total flux cleaned = -0.000221405 Jy
! Component: 450  -  total flux cleaned = -0.000409495 Jy
! Component: 500  -  total flux cleaned = -0.000454702 Jy
! Component: 550  -  total flux cleaned = -0.000499047 Jy
! Component: 600  -  total flux cleaned = -0.000586453 Jy
! Component: 650  -  total flux cleaned = -0.000672614 Jy
! Component: 700  -  total flux cleaned = -0.000798558 Jy
! Component: 750  -  total flux cleaned = -0.000880656 Jy
! Component: 800  -  total flux cleaned = -0.00108157 Jy
! Component: 850  -  total flux cleaned = -0.00131831 Jy
! Component: 900  -  total flux cleaned = -0.00139544 Jy
! Component: 950  -  total flux cleaned = -0.0016624 Jy
! Component: 1000  -  total flux cleaned = -0.00185017 Jy
! Component: 1050  -  total flux cleaned = -0.00207161 Jy
! Component: 1100  -  total flux cleaned = -0.00210815 Jy
! Component: 1150  -  total flux cleaned = -0.00214425 Jy
! Component: 1200  -  total flux cleaned = -0.00232152 Jy
! Component: 1250  -  total flux cleaned = -0.0024615 Jy
! Component: 1300  -  total flux cleaned = -0.00259987 Jy
! Component: 1350  -  total flux cleaned = -0.00273571 Jy
! Component: 1400  -  total flux cleaned = -0.00273558 Jy
! Component: 1450  -  total flux cleaned = -0.00266988 Jy
! Component: 1500  -  total flux cleaned = -0.00270293 Jy
! Component: 1550  -  total flux cleaned = -0.00260637 Jy
! Component: 1600  -  total flux cleaned = -0.00260705 Jy
! Component: 1650  -  total flux cleaned = -0.00263916 Jy
! Component: 1700  -  total flux cleaned = -0.00260779 Jy
! Component: 1750  -  total flux cleaned = -0.00251575 Jy
! Component: 1800  -  total flux cleaned = -0.002516 Jy
! Component: 1850  -  total flux cleaned = -0.0026067 Jy
! Component: 1900  -  total flux cleaned = -0.00275578 Jy
! Component: 1950  -  total flux cleaned = -0.00269659 Jy
! Component: 2000  -  total flux cleaned = -0.00281405 Jy
! Total flux subtracted in 2048 components = -0.00290122 Jy
! Clean residual min=-0.001829 max=0.001481 Jy/beam
! Clean residual mean=0.000011 rms=0.000605 Jy/beam
! Combined flux in latest and established models = 0.250875 Jy
keep
! Adding 148 model components to the UV plane model.
! The established model now contains 251 components and 0.250874 Jy
![Exited script file: muppet]
wmap "J1230+2518_S_1996_05_15_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.403 x 7.698 at -8.972 degrees (North through East)
! Clean map  min=-0.0032152  max=0.17572 Jy/beam
! Writing clean map to FITS file: J1230+2518_S_1996_05_15_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.175716 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000600929 
device "J1230+2518_S_1996_05_15_yyk\_map.eps/VPS"
! Attempting to open device: 'J1230+2518_S_1996_05_15_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.02597 1.02597 2.05194 4.10387 8.20774 16.4155 32.831 65.6619
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.175 
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.403 x 7.698 at -8.972 degrees (North through East)
! Clean map  min=-0.0032152  max=0.17572 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1230+2518_S_1996_05_15_yyk\_map.gif/gif"
! Attempting to open device: 'J1230+2518_S_1996_05_15_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1230+2518_S_1996_05_15_yyk_uvs.log closed on Sun Jan  7 18:05:36 2007