! Started logfile: J0749+1057_S_2006_12_18_yyk_uvs.log on Wed Apr  9 20:19:36 2008
obs J0749+1057_S_2006_12_18_yyk_uve.fits
! Reading UV FITS file: J0749+1057_S_2006_12_18_yyk_uve.fits
! AN table 1: 17 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.722876 visibilities/baseline/integration-bin.
! Found source: J0749+1057
! 
! 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 2469 lines of history.
! 
! Reading 2212 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 J0749+1057_S_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.106132 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=3.315 mas, bmaj=8.318 mas, bpa=-10.43 degrees
! Estimated noise=1.6953 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.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0509392 Jy
! Component: 100  -  total flux cleaned = 0.0702798 Jy
! Total flux subtracted in 100 components = 0.0702798 Jy
! Clean residual min=-0.010069 max=0.013437 Jy/beam
! Clean residual mean=0.000089 rms=0.003088 Jy/beam
! Combined flux in latest and established models = 0.0702798 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 22 components and 0.0702798 Jy
! 
! Correcting IF 1.
!  A total of 59 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 38 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 65 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.080112Jy  sigma=1.283288
! Fit after  self-cal, rms=0.077262Jy  sigma=1.226659
! Inverting map and beam 
! Estimated beam: bmin=3.315 mas, bmaj=8.319 mas, bpa=-10.43 degrees
! Estimated noise=1.69571 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=5.184 mas, bmaj=11.29 mas, bpa=-11.39 degrees
! Estimated noise=0.954074 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.0230021 Jy
! Component: 100  -  total flux cleaned = 0.0316817 Jy
! Component: 150  -  total flux cleaned = 0.035711 Jy
! Component: 200  -  total flux cleaned = 0.0373246 Jy
! Total flux subtracted in 200 components = 0.0373246 Jy
! Clean residual min=-0.005971 max=0.011039 Jy/beam
! Clean residual mean=-0.000022 rms=0.001823 Jy/beam
! Combined flux in latest and established models = 0.107604 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 40 components and 0.107604 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.074128Jy  sigma=1.116379
! Fit after  self-cal, rms=0.074131Jy  sigma=1.114764
! Inverting map 
! Added new window around map position (-7, -8.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00981954 Jy
! Component: 100  -  total flux cleaned = 0.00853794 Jy
! Component: 150  -  total flux cleaned = 0.00724303 Jy
! Component: 200  -  total flux cleaned = 0.00594249 Jy
! Total flux subtracted in 200 components = 0.00594249 Jy
! Clean residual min=-0.004265 max=0.005979 Jy/beam
! Clean residual mean=-0.000068 rms=0.001318 Jy/beam
! Combined flux in latest and established models = 0.113547 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 64 components and 0.113547 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072872Jy  sigma=1.084845
! Fit after  self-cal, rms=0.071907Jy  sigma=1.077274
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.184 x 11.29 at -11.39 degrees (North through East)
! Clean map  min=-0.0038013  max=0.074067 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
!  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 2.
!  Amplitude normalization factor in sub-array 1: 1.03237
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.86     FD        0.88     HN        0.93     KP        0.94     
!   LA        1.09     MK        0.83     NL        1.06     OV        1.02     
!   PT        1.07     SC        1.00*    
! 
! 
! 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: 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.071907Jy  sigma=1.077274
! Fit after  self-cal, rms=0.071640Jy  sigma=1.073456
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.071640Jy  sigma=1.073456
! Fit after  self-cal, rms=0.071596Jy  sigma=1.072575
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.949 mas, bmaj=10.97 mas, bpa=-12.12 degrees
! Estimated noise=0.949204 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.00396141 Jy
! Component: 100  -  total flux cleaned = 0.00353281 Jy
! Component: 150  -  total flux cleaned = 0.00303454 Jy
! Component: 200  -  total flux cleaned = 0.00271466 Jy
! Total flux subtracted in 200 components = 0.00271466 Jy
! Clean residual min=-0.002874 max=0.003715 Jy/beam
! Clean residual mean=-0.000059 rms=0.001001 Jy/beam
! Combined flux in latest and established models = 0.116262 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 86 components and 0.116262 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071339Jy  sigma=1.066648
! Fit after  self-cal, rms=0.071210Jy  sigma=1.064703
! 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.071210Jy  sigma=1.064703
! Fit after  self-cal, rms=0.066287Jy  sigma=0.986287
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.00214794 Jy
! Component: 100  -  total flux cleaned = 0.0027172 Jy
! Component: 150  -  total flux cleaned = 0.00304173 Jy
! Component: 200  -  total flux cleaned = 0.00321308 Jy
! Total flux subtracted in 200 components = 0.00321308 Jy
! Clean residual min=-0.002736 max=0.003358 Jy/beam
! Clean residual mean=-0.000067 rms=0.000884 Jy/beam
! Combined flux in latest and established models = 0.119475 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 40 model components to the UV plane model.
! The established model now contains 123 components and 0.119475 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066133Jy  sigma=0.982772
! Fit after  self-cal, rms=0.065371Jy  sigma=0.976633
! 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: 4.949 x 10.97 at -12.12 degrees (North through East)
! Clean map  min=-0.0026662  max=0.075282 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
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.708 mas, bmaj=12.33 mas, bpa=-5.625 degrees
! Estimated noise=1.0507 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.000764397 Jy
! Component: 100  -  total flux cleaned = 0.000720217 Jy
! Component: 150  -  total flux cleaned = 0.000655334 Jy
! Component: 200  -  total flux cleaned = 0.000553457 Jy
! Total flux subtracted in 200 components = 0.000553457 Jy
! Clean residual min=-0.002900 max=0.003066 Jy/beam
! Clean residual mean=-0.000098 rms=0.000880 Jy/beam
! Combined flux in latest and established models = 0.120028 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 150 components and 0.120028 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065339Jy  sigma=0.975969
! Fit after  self-cal, rms=0.065158Jy  sigma=0.974973
! 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=3.258 mas, bmaj=8.279 mas, bpa=-10.98 degrees
! Estimated noise=1.6558 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0596895 Jy
! Component: 100  -  total flux cleaned = 0.0818568 Jy
! Component: 150  -  total flux cleaned = 0.0951475 Jy
! Component: 200  -  total flux cleaned = 0.104465 Jy
! Total flux subtracted in 200 components = 0.104465 Jy
! Clean residual min=-0.005644 max=0.005948 Jy/beam
! Clean residual mean=0.000009 rms=0.001677 Jy/beam
! Combined flux in latest and established models = 0.104465 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 38 model components to the UV plane model.
! The established model now contains 38 components and 0.104465 Jy
! Inverting map and beam 
! Estimated beam: bmin=4.949 mas, bmaj=10.97 mas, bpa=-12.12 degrees
! Estimated noise=0.949204 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.0102413 Jy
! Component: 100  -  total flux cleaned = 0.0142838 Jy
! Component: 150  -  total flux cleaned = 0.0152493 Jy
! Component: 200  -  total flux cleaned = 0.0153629 Jy
! Total flux subtracted in 200 components = 0.0153629 Jy
! Clean residual min=-0.003012 max=0.003717 Jy/beam
! Clean residual mean=-0.000062 rms=0.000921 Jy/beam
! Combined flux in latest and established models = 0.119828 Jy
! Adding 49 model components to the UV plane model.
! The established model now contains 83 components and 0.119828 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.708 mas, bmaj=12.33 mas, bpa=-5.625 degrees
! Estimated noise=1.0507 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.000144773 Jy
! Component: 100  -  total flux cleaned = 0.000211096 Jy
! Component: 150  -  total flux cleaned = 0.000213801 Jy
! Component: 200  -  total flux cleaned = 0.000258071 Jy
! Total flux subtracted in 200 components = 0.000258071 Jy
! Clean residual min=-0.002837 max=0.003311 Jy/beam
! Clean residual mean=-0.000096 rms=0.000888 Jy/beam
! Combined flux in latest and established models = 0.120086 Jy
! Adding 54 model components to the UV plane model.
! The established model now contains 131 components and 0.120086 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=4.949 mas, bmaj=10.97 mas, bpa=-12.12 degrees
! Estimated noise=0.949204 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000188625 Jy
! Component: 100  -  total flux cleaned = -0.000137343 Jy
! Component: 150  -  total flux cleaned = -9.03319e-05 Jy
! Component: 200  -  total flux cleaned = -0.00017634 Jy
! Total flux subtracted in 200 components = -0.00017634 Jy
! Clean residual min=-0.003061 max=0.003198 Jy/beam
! Clean residual mean=-0.000066 rms=0.000849 Jy/beam
! Combined flux in latest and established models = 0.11991 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 154 components and 0.11991 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065013Jy  sigma=0.974348
! Fit after  self-cal, rms=0.064929Jy  sigma=0.973696
wmodel J0749+1057_S_2006_12_18_yyk\_map.mod
! Writing 154 model components to file: J0749+1057_S_2006_12_18_yyk_map.mod
wobs J0749+1057_S_2006_12_18_yyk\_uvs.fits
! Writing UV FITS file: J0749+1057_S_2006_12_18_yyk_uvs.fits
wwins J0749+1057_S_2006_12_18_yyk\_map.win
! wwins: Wrote 2 windows to J0749+1057_S_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 = 2.29034e-05 Jy
! Component: 100  -  total flux cleaned = 0.00016836 Jy
! Component: 150  -  total flux cleaned = -5.92677e-05 Jy
! Component: 200  -  total flux cleaned = -0.000445527 Jy
! Component: 250  -  total flux cleaned = -0.000734739 Jy
! Component: 300  -  total flux cleaned = -0.00105503 Jy
! Component: 350  -  total flux cleaned = -0.00113278 Jy
! Component: 400  -  total flux cleaned = -0.00120871 Jy
! Component: 450  -  total flux cleaned = -0.0014273 Jy
! Component: 500  -  total flux cleaned = -0.00156947 Jy
! Component: 550  -  total flux cleaned = -0.00167363 Jy
! Component: 600  -  total flux cleaned = -0.00184345 Jy
! Component: 650  -  total flux cleaned = -0.00194309 Jy
! Component: 700  -  total flux cleaned = -0.00204044 Jy
! Component: 750  -  total flux cleaned = -0.0021989 Jy
! Component: 800  -  total flux cleaned = -0.0022605 Jy
! Component: 850  -  total flux cleaned = -0.00226051 Jy
! Component: 900  -  total flux cleaned = -0.00229144 Jy
! Component: 950  -  total flux cleaned = -0.00238012 Jy
! Component: 1000  -  total flux cleaned = -0.00235065 Jy
! Component: 1050  -  total flux cleaned = -0.00235019 Jy
! Component: 1100  -  total flux cleaned = -0.00223734 Jy
! Component: 1150  -  total flux cleaned = -0.00212667 Jy
! Component: 1200  -  total flux cleaned = -0.00207187 Jy
! Component: 1250  -  total flux cleaned = -0.00193626 Jy
! Component: 1300  -  total flux cleaned = -0.00182902 Jy
! Component: 1350  -  total flux cleaned = -0.00180243 Jy
! Component: 1400  -  total flux cleaned = -0.00172349 Jy
! Component: 1450  -  total flux cleaned = -0.0015418 Jy
! Component: 1500  -  total flux cleaned = -0.00151601 Jy
! Component: 1550  -  total flux cleaned = -0.00138862 Jy
! Component: 1600  -  total flux cleaned = -0.00123765 Jy
! Component: 1650  -  total flux cleaned = -0.00111352 Jy
! Component: 1700  -  total flux cleaned = -0.0011627 Jy
! Component: 1750  -  total flux cleaned = -0.00113799 Jy
! Component: 1800  -  total flux cleaned = -0.00113822 Jy
! Component: 1850  -  total flux cleaned = -0.0011385 Jy
! Component: 1900  -  total flux cleaned = -0.00111488 Jy
! Component: 1950  -  total flux cleaned = -0.00116242 Jy
! Component: 2000  -  total flux cleaned = -0.00113903 Jy
! Total flux subtracted in 2048 components = -0.00118543 Jy
! Clean residual min=-0.001383 max=0.001471 Jy/beam
! Clean residual mean=-0.000037 rms=0.000502 Jy/beam
! Combined flux in latest and established models = 0.118724 Jy
keep
! Adding 120 model components to the UV plane model.
! The established model now contains 274 components and 0.118724 Jy
![Exited script file: muppet]
wmap "J0749+1057_S_2006_12_18_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.949 x 10.97 at -12.12 degrees (North through East)
! Clean map  min=-0.0037062  max=0.075116 Jy/beam
! Writing clean map to FITS file: J0749+1057_S_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.0751164 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00049287 
device "J0749+1057_S_2006_12_18_yyk\_map.eps/VPS"
! Attempting to open device: 'J0749+1057_S_2006_12_18_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.96843 1.96843 3.93685 7.8737 15.7474 31.4948 62.9896
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.075 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.949 x 10.97 at -12.12 degrees (North through East)
! Clean map  min=-0.0037062  max=0.075116 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0749+1057_S_2006_12_18_yyk\_map.gif/gif"
! Attempting to open device: 'J0749+1057_S_2006_12_18_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0749+1057_S_2006_12_18_yyk_uvs.log closed on Wed Apr  9 20:19:40 2008