! Started logfile: J2236-1433_S_1997_05_07_yyk_uvs.log on Sun Jan  7 20:12:29 2007
obs J2236-1433_S_1997_05_07_yyk_uva.fits
! Reading UV FITS file: J2236-1433_S_1997_05_07_yyk_uva.fits
! AN table 1: 140 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.95873 visibilities/baseline/integration-bin.
! Found source: J2236-1433
! 
! 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.22447e+09        8e+06          1        8e+06
!  02        2  2.23447e+09        8e+06          1        8e+06
!  03        3  2.29447e+09        8e+06          1        8e+06
!  04        4  2.32447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 614 lines of history.
! 
! Reading 24160 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 J2236-1433_S_1997_05_07_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.449035 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.754 mas, bmaj=7.005 mas, bpa=-4.449 degrees
! Estimated noise=2194.87 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.255723 Jy
! Component: 100  -  total flux cleaned = 0.319391 Jy
! Total flux subtracted in 100 components = 0.319391 Jy
! Clean residual min=-0.023733 max=0.035564 Jy/beam
! Clean residual mean=0.000715 rms=0.007089 Jy/beam
! Combined flux in latest and established models = 0.319391 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.319391 Jy
! 
! Correcting IF 1.
!  A total of 164 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 37 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 37 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 37 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.315213Jy  sigma=0.001257
! Fit after  self-cal, rms=0.313755Jy  sigma=0.001252
! Inverting map and beam 
! Estimated beam: bmin=2.754 mas, bmaj=7.005 mas, bpa=-4.449 degrees
! Estimated noise=2194.89 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.481 mas, bmaj=8.827 mas, bpa=-5.428 degrees
! Estimated noise=1059.87 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 (4.5, -1).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0640201 Jy
! Component: 100  -  total flux cleaned = 0.0932778 Jy
! Component: 150  -  total flux cleaned = 0.109351 Jy
! Component: 200  -  total flux cleaned = 0.116559 Jy
! Total flux subtracted in 200 components = 0.116559 Jy
! Clean residual min=-0.010314 max=0.019767 Jy/beam
! Clean residual mean=0.000599 rms=0.004096 Jy/beam
! Combined flux in latest and established models = 0.43595 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 73 model components to the UV plane model.
! The established model now contains 82 components and 0.43595 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.304603Jy  sigma=0.001207
! Fit after  self-cal, rms=0.303968Jy  sigma=0.001204
! 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.481 x 8.827 at -5.428 degrees (North through East)
! Clean map  min=-0.0094895  max=0.28946 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.03461
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.04     HN        1.02     KP        0.89     
!   LA        0.96     MK        0.98     NL        1.00*    OV        1.10     
!   PT        0.92     SC        0.82     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.980202
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.14     HN        1.11     KP        0.99     
!   LA        1.06     MK        1.03     NL        1.00     OV        1.05     
!   PT        0.90     SC        0.92     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.04094
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.92     FD        1.05     HN        1.01     KP        0.91     
!   LA        0.79     MK        0.89     NL        0.94     OV        0.97     
!   PT        1.03     SC        1.09     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.99434
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.13     HN        1.07     KP        0.96     
!   LA        0.86     MK        0.99     NL        1.06     OV        1.08     
!   PT        0.90     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.303968Jy  sigma=0.001204
! Fit after  self-cal, rms=0.296954Jy  sigma=0.001194
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.296954Jy  sigma=0.001194
! Fit after  self-cal, rms=0.296955Jy  sigma=0.001194
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.478 mas, bmaj=8.667 mas, bpa=-4.908 degrees
! Estimated noise=1062.1 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.0104595 Jy
! Component: 100  -  total flux cleaned = 0.0109334 Jy
! Component: 150  -  total flux cleaned = 0.0109269 Jy
! Component: 200  -  total flux cleaned = 0.0112734 Jy
! Total flux subtracted in 200 components = 0.0112734 Jy
! Clean residual min=-0.006510 max=0.006639 Jy/beam
! Clean residual mean=0.000223 rms=0.002003 Jy/beam
! Combined flux in latest and established models = 0.447224 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 106 components and 0.447224 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.296539Jy  sigma=0.001192
! Fit after  self-cal, rms=0.296496Jy  sigma=0.001192
! 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.296496Jy  sigma=0.001192
! Fit after  self-cal, rms=0.295595Jy  sigma=0.001188
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.00255435 Jy
! Component: 100  -  total flux cleaned = 0.00255558 Jy
! Component: 150  -  total flux cleaned = 0.0024224 Jy
! Component: 200  -  total flux cleaned = 0.0024172 Jy
! Total flux subtracted in 200 components = 0.0024172 Jy
! Clean residual min=-0.006090 max=0.006505 Jy/beam
! Clean residual mean=0.000210 rms=0.001920 Jy/beam
! Combined flux in latest and established models = 0.449641 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 116 components and 0.449641 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.295448Jy  sigma=0.001187
! Fit after  self-cal, rms=0.295322Jy  sigma=0.001187
! 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.478 x 8.667 at -4.908 degrees (North through East)
! Clean map  min=-0.0057241  max=0.28843 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.295322Jy  sigma=0.001187
! Fit after  self-cal, rms=0.289989Jy  sigma=0.001184
! 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.289989Jy  sigma=0.001184
! Fit after  self-cal, rms=0.289967Jy  sigma=0.001184
! Inverting map and beam 
! Estimated beam: bmin=3.446 mas, bmaj=8.69 mas, bpa=-4.899 degrees
! Estimated noise=1051.62 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00108378 Jy
! Component: 100  -  total flux cleaned = 0.00109307 Jy
! Component: 150  -  total flux cleaned = 0.000871838 Jy
! Component: 200  -  total flux cleaned = 0.000674228 Jy
! Total flux subtracted in 200 components = 0.000674228 Jy
! Clean residual min=-0.005556 max=0.006232 Jy/beam
! Clean residual mean=0.000199 rms=0.001715 Jy/beam
! Combined flux in latest and established models = 0.450315 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 133 components and 0.450315 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289873Jy  sigma=0.001183
! Fit after  self-cal, rms=0.289856Jy  sigma=0.001183
! 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.289856Jy  sigma=0.001183
! Fit after  self-cal, rms=0.289759Jy  sigma=0.001182
! 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.289759Jy  sigma=0.001182
! Fit after  self-cal, rms=0.289758Jy  sigma=0.001182
! Inverting map and beam 
! Estimated beam: bmin=3.444 mas, bmaj=8.675 mas, bpa=-4.71 degrees
! Estimated noise=1051.46 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00104534 Jy
! Component: 100  -  total flux cleaned = 0.000954171 Jy
! Component: 150  -  total flux cleaned = 0.000958628 Jy
! Component: 200  -  total flux cleaned = 0.000961005 Jy
! Total flux subtracted in 200 components = 0.000961005 Jy
! Clean residual min=-0.005516 max=0.006083 Jy/beam
! Clean residual mean=0.000202 rms=0.001683 Jy/beam
! Combined flux in latest and established models = 0.451276 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 142 components and 0.451276 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289706Jy  sigma=0.001181
! Fit after  self-cal, rms=0.289699Jy  sigma=0.001181
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.113 mas, bmaj=15.52 mas, bpa=2.18 degrees
! Estimated noise=1314.06 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.000555166 Jy
! Component: 100  -  total flux cleaned = 0.0004565 Jy
! Component: 150  -  total flux cleaned = 0.000458069 Jy
! Component: 200  -  total flux cleaned = 0.000457239 Jy
! Total flux subtracted in 200 components = 0.000457239 Jy
! Clean residual min=-0.005799 max=0.009703 Jy/beam
! Clean residual mean=0.000374 rms=0.002542 Jy/beam
! Combined flux in latest and established models = 0.451733 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 153 components and 0.451733 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289692Jy  sigma=0.001181
! Fit after  self-cal, rms=0.289687Jy  sigma=0.001181
! 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.736 mas, bmaj=6.952 mas, bpa=-4.266 degrees
! Estimated noise=2181.95 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.258927 Jy
! Component: 100  -  total flux cleaned = 0.33235 Jy
! Component: 150  -  total flux cleaned = 0.373125 Jy
! Component: 200  -  total flux cleaned = 0.399472 Jy
! Total flux subtracted in 200 components = 0.399472 Jy
! Clean residual min=-0.013569 max=0.012705 Jy/beam
! Clean residual mean=0.000260 rms=0.003766 Jy/beam
! Combined flux in latest and established models = 0.399472 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 44 model components to the UV plane model.
! The established model now contains 44 components and 0.399472 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.444 mas, bmaj=8.675 mas, bpa=-4.71 degrees
! Estimated noise=1051.46 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.0255439 Jy
! Component: 100  -  total flux cleaned = 0.0378089 Jy
! Component: 150  -  total flux cleaned = 0.0429325 Jy
! Component: 200  -  total flux cleaned = 0.0440646 Jy
! Total flux subtracted in 200 components = 0.0440646 Jy
! Clean residual min=-0.006154 max=0.006670 Jy/beam
! Clean residual mean=0.000245 rms=0.001879 Jy/beam
! Combined flux in latest and established models = 0.443536 Jy
! Adding 47 model components to the UV plane model.
! The established model now contains 85 components and 0.443536 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.113 mas, bmaj=15.52 mas, bpa=2.18 degrees
! Estimated noise=1314.06 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.00575303 Jy
! Component: 100  -  total flux cleaned = 0.00628329 Jy
! Component: 150  -  total flux cleaned = 0.00638605 Jy
! Component: 200  -  total flux cleaned = 0.00657618 Jy
! Total flux subtracted in 200 components = 0.00657618 Jy
! Clean residual min=-0.005999 max=0.009961 Jy/beam
! Clean residual mean=0.000398 rms=0.002688 Jy/beam
! Combined flux in latest and established models = 0.450113 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 100 components and 0.450113 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.444 mas, bmaj=8.675 mas, bpa=-4.71 degrees
! Estimated noise=1051.46 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000801208 Jy
! Component: 100  -  total flux cleaned = -0.000791946 Jy
! Component: 150  -  total flux cleaned = -0.000573299 Jy
! Component: 200  -  total flux cleaned = -0.000570988 Jy
! Total flux subtracted in 200 components = -0.000570988 Jy
! Clean residual min=-0.005893 max=0.006271 Jy/beam
! Clean residual mean=0.000210 rms=0.001726 Jy/beam
! Combined flux in latest and established models = 0.449542 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 120 components and 0.449542 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289742Jy  sigma=0.001181
! Fit after  self-cal, rms=0.289716Jy  sigma=0.001181
wmodel J2236-1433_S_1997_05_07_yyk\_map.mod
! Writing 120 model components to file: J2236-1433_S_1997_05_07_yyk_map.mod
wobs J2236-1433_S_1997_05_07_yyk\_uvs.fits
! Writing UV FITS file: J2236-1433_S_1997_05_07_yyk_uvs.fits
wwins J2236-1433_S_1997_05_07_yyk\_map.win
! wwins: Wrote 2 windows to J2236-1433_S_1997_05_07_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.000897625 Jy
! Component: 100  -  total flux cleaned = 0.00146544 Jy
! Component: 150  -  total flux cleaned = 0.0021591 Jy
! Component: 200  -  total flux cleaned = 0.00281322 Jy
! Component: 250  -  total flux cleaned = 0.0036624 Jy
! Component: 300  -  total flux cleaned = 0.004467 Jy
! Component: 350  -  total flux cleaned = 0.00517102 Jy
! Component: 400  -  total flux cleaned = 0.00571386 Jy
! Component: 450  -  total flux cleaned = 0.00610566 Jy
! Component: 500  -  total flux cleaned = 0.00654539 Jy
! Component: 550  -  total flux cleaned = 0.00715615 Jy
! Component: 600  -  total flux cleaned = 0.0076914 Jy
! Component: 650  -  total flux cleaned = 0.00838495 Jy
! Component: 700  -  total flux cleaned = 0.00900433 Jy
! Component: 750  -  total flux cleaned = 0.00966487 Jy
! Component: 800  -  total flux cleaned = 0.0104156 Jy
! Component: 850  -  total flux cleaned = 0.010939 Jy
! Component: 900  -  total flux cleaned = 0.0115528 Jy
! Component: 950  -  total flux cleaned = 0.0118537 Jy
! Component: 1000  -  total flux cleaned = 0.0122472 Jy
! Component: 1050  -  total flux cleaned = 0.0125843 Jy
! Component: 1100  -  total flux cleaned = 0.0130085 Jy
! Component: 1150  -  total flux cleaned = 0.0132851 Jy
! Component: 1200  -  total flux cleaned = 0.0137387 Jy
! Component: 1250  -  total flux cleaned = 0.0142269 Jy
! Component: 1300  -  total flux cleaned = 0.014489 Jy
! Component: 1350  -  total flux cleaned = 0.0148325 Jy
! Component: 1400  -  total flux cleaned = 0.0151279 Jy
! Component: 1450  -  total flux cleaned = 0.0155435 Jy
! Component: 1500  -  total flux cleaned = 0.015912 Jy
! Component: 1550  -  total flux cleaned = 0.0162342 Jy
! Component: 1600  -  total flux cleaned = 0.0165907 Jy
! Component: 1650  -  total flux cleaned = 0.0169418 Jy
! Component: 1700  -  total flux cleaned = 0.0170953 Jy
! Component: 1750  -  total flux cleaned = 0.0173227 Jy
! Component: 1800  -  total flux cleaned = 0.0175465 Jy
! Component: 1850  -  total flux cleaned = 0.0178034 Jy
! Component: 1900  -  total flux cleaned = 0.0179122 Jy
! Component: 1950  -  total flux cleaned = 0.018127 Jy
! Component: 2000  -  total flux cleaned = 0.0182333 Jy
! Total flux subtracted in 2048 components = 0.0184772 Jy
! Clean residual min=-0.002897 max=0.002611 Jy/beam
! Clean residual mean=0.000070 rms=0.000707 Jy/beam
! Combined flux in latest and established models = 0.468019 Jy
keep
! Adding 136 model components to the UV plane model.
! The established model now contains 256 components and 0.468019 Jy
![Exited script file: muppet]
wmap "J2236-1433_S_1997_05_07_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.444 x 8.675 at -4.71 degrees (North through East)
! Clean map  min=-0.0036775  max=0.29132 Jy/beam
! Writing clean map to FITS file: J2236-1433_S_1997_05_07_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.29132 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000707128 
device "J2236-1433_S_1997_05_07_yyk\_map.eps/VPS"
! Attempting to open device: 'J2236-1433_S_1997_05_07_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.728196 0.728196 1.45639 2.91279 5.82557 11.6511 23.3023 46.6046 93.2091
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0021 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.291 
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.444 x 8.675 at -4.71 degrees (North through East)
! Clean map  min=-0.0036775  max=0.29132 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2236-1433_S_1997_05_07_yyk\_map.gif/gif"
! Attempting to open device: 'J2236-1433_S_1997_05_07_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2236-1433_S_1997_05_07_yyk_uvs.log closed on Sun Jan  7 20:12:37 2007