! Started logfile: J0750+1231_S_2003_09_17_pus_uvs.log on Mon May 21 23:47:48 2007
obs J0750+1231_S_2003_09_17_pus_uva.fits
! Reading UV FITS file: J0750+1231_S_2003_09_17_pus_uva.fits
! AN table 1: 222 integrations on 120 of 120 possible baselines.
! AN table 2: 78 integrations on 120 of 120 possible baselines.
! AN table 3: 39 integrations on 120 of 120 possible baselines.
! AN table 4: 34 integrations on 120 of 120 possible baselines.
! AN table 5: 203 integrations on 120 of 120 possible baselines.
! Apparent sampling: 0.12542 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0750+1231
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! 
! 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 1732 lines of history.
! 
! Reading 34676 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
print "field_size =",field_size
! field_size = 1024 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",taper_size
! taper_size = 20 
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 1024x1024 pixels with 0.500x0.500 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 2547 telescope corrections were flagged in sub-array 1.
!  A total of 1006 telescope corrections were flagged in sub-array 2.
!  A total of 340 telescope corrections were flagged in sub-array 3.
!  A total of 496 telescope corrections were flagged in sub-array 4.
!  A total of 2280 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 2547 telescope corrections were flagged in sub-array 1.
!  A total of 1006 telescope corrections were flagged in sub-array 2.
!  A total of 340 telescope corrections were flagged in sub-array 3.
!  A total of 496 telescope corrections were flagged in sub-array 4.
!  A total of 2280 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 2547 telescope corrections were flagged in sub-array 1.
!  A total of 1006 telescope corrections were flagged in sub-array 2.
!  A total of 340 telescope corrections were flagged in sub-array 3.
!  A total of 496 telescope corrections were flagged in sub-array 4.
!  A total of 2280 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 2547 telescope corrections were flagged in sub-array 1.
!  A total of 1006 telescope corrections were flagged in sub-array 2.
!  A total of 340 telescope corrections were flagged in sub-array 3.
!  A total of 496 telescope corrections were flagged in sub-array 4.
!  A total of 2280 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=0.902189Jy  sigma=0.004914
! Fit after  self-cal, rms=0.580749Jy  sigma=0.003102
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
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=1.92 mas, bmaj=4.727 mas, bpa=-2.402 degrees
! Estimated noise=1109.28 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.430741 Jy
! Component: 100  -  total flux cleaned = 0.615437 Jy
! Total flux subtracted in 100 components = 0.615437 Jy
! Clean residual min=-0.028738 max=0.137889 Jy/beam
! Clean residual mean=0.000079 rms=0.008099 Jy/beam
! Combined flux in latest and established models = 0.615437 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.615437 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.422513Jy  sigma=0.002265
! Fit after  self-cal, rms=0.417810Jy  sigma=0.002247
! Inverting map 
! Added new window around map position (2.5, -1.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.138789 Jy
! Component: 100  -  total flux cleaned = 0.215122 Jy
! Total flux subtracted in 100 components = 0.215122 Jy
! Clean residual min=-0.018736 max=0.059100 Jy/beam
! Clean residual mean=0.000029 rms=0.004898 Jy/beam
! Combined flux in latest and established models = 0.830559 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 19 components and 0.830559 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.349209Jy  sigma=0.001667
! Fit after  self-cal, rms=0.344506Jy  sigma=0.001641
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0617099 Jy
! Component: 100  -  total flux cleaned = 0.101145 Jy
! Total flux subtracted in 100 components = 0.101145 Jy
! Clean residual min=-0.014469 max=0.030208 Jy/beam
! Clean residual mean=0.000005 rms=0.003627 Jy/beam
! Combined flux in latest and established models = 0.931704 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 35 components and 0.931704 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.327895Jy  sigma=0.001481
! Fit after  self-cal, rms=0.327025Jy  sigma=0.001475
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0338072 Jy
! Component: 100  -  total flux cleaned = 0.0573421 Jy
! Total flux subtracted in 100 components = 0.0573421 Jy
! Clean residual min=-0.012651 max=0.019984 Jy/beam
! Clean residual mean=-0.000009 rms=0.003163 Jy/beam
! Combined flux in latest and established models = 0.989046 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 50 components and 0.989046 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322302Jy  sigma=0.001426
! Fit after  self-cal, rms=0.322020Jy  sigma=0.001424
! Inverting map 
! Added new window around map position (5, -2.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0227992 Jy
! Component: 100  -  total flux cleaned = 0.0381144 Jy
! Total flux subtracted in 100 components = 0.0381144 Jy
! Clean residual min=-0.012682 max=0.016380 Jy/beam
! Clean residual mean=-0.000019 rms=0.002943 Jy/beam
! Combined flux in latest and established models = 1.02716 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 61 components and 1.02716 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.320398Jy  sigma=0.001407
! Fit after  self-cal, rms=0.320166Jy  sigma=0.001406
! Inverting map 
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! 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=2.563 mas, bmaj=5.62 mas, bpa=-6.049 degrees
! Estimated noise=670.071 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (69, -14).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0241849 Jy
! Component: 100  -  total flux cleaned = 0.0403299 Jy
! Component: 150  -  total flux cleaned = 0.0526694 Jy
! Component: 200  -  total flux cleaned = 0.0623263 Jy
! Total flux subtracted in 200 components = 0.0623263 Jy
! Clean residual min=-0.009832 max=0.015699 Jy/beam
! Clean residual mean=0.001037 rms=0.003331 Jy/beam
! Combined flux in latest and established models = 1.08949 Jy
! Performing phase self-cal
! Adding 53 model components to the UV plane model.
! The established model now contains 111 components and 1.08949 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.317849Jy  sigma=0.001387
! Fit after  self-cal, rms=0.317574Jy  sigma=0.001385
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 249 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.01     GC        0.99     HN        0.90     KP        0.98     
!   LA        0.97     MK        1.04     NL        1.01     NY        1.04     
!   ON        1.15     OV        0.89     PT        0.97     SC        1.00     
!   TS        1.03     KK        1.02     WZ        1.00     WF        1.00     
! 
!  A total of 138 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.00*    GC        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    NY        1.10     
!   ON        0.93     OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        0.98     KK        1.00*    WZ        0.98     WF        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.95     GC        1.06     HN        1.35     KP        1.10     
!   LA        0.90     MK        1.04     NL        0.83     NY        1.00*    
!   ON        1.00*    OV        0.69     PT        0.89     SC        1.04     
!   TS        1.28     KK        0.96     WZ        1.00*    WF        0.91     
! 
!  A total of 48 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.99     GC        1.00*    HN        0.93     KP        1.05     
!   LA        1.02     MK        1.00*    NL        1.02     NY        1.02     
!   ON        1.00     OV        1.00*    PT        1.00     SC        1.00     
!   TS        1.00*    KK        1.00*    WZ        1.02     WF        0.97     
! 
! 
! Correcting IF 2.
!  A total of 249 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.02     GC        0.95     HN        1.03     KP        1.05     
!   LA        0.97     MK        1.05     NL        1.06     NY        1.07     
!   ON        0.93     OV        0.93     PT        0.97     SC        1.09     
!   TS        1.05     KK        1.08     WZ        1.12     WF        0.99     
! 
!  A total of 138 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.00*    GC        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    NY        0.98     
!   ON        0.94     OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        1.03     KK        1.00*    WZ        1.01     WF        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.97     GC        0.98     HN        1.08     KP        1.00     
!   LA        0.91     MK        0.99     NL        0.87     NY        1.00*    
!   ON        1.00*    OV        0.79     PT        0.87     SC        1.09     
!   TS        1.21     KK        0.96     WZ        1.00*    WF        1.03     
! 
!  A total of 48 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.99     GC        1.00*    HN        1.00     KP        1.14     
!   LA        1.02     MK        1.00*    NL        1.06     NY        1.05     
!   ON        1.02     OV        1.00*    PT        0.98     SC        1.08     
!   TS        1.00*    KK        1.00*    WZ        1.01     WF        0.96     
! 
! 
! Correcting IF 3.
!  A total of 249 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.99     GC        1.04     HN        1.03     KP        1.03     
!   LA        0.95     MK        1.03     NL        0.99     NY        1.00     
!   ON        1.32     OV        0.96     PT        1.02     SC        1.10     
!   TS        0.99     KK        1.08     WZ        1.00     WF        1.00     
! 
!  A total of 138 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.00*    GC        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    NY        1.09     
!   ON        1.01     OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        0.77     KK        1.00*    WZ        1.03     WF        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.92     GC        0.99     HN        1.13     KP        0.98     
!   LA        0.88     MK        0.93     NL        0.85     NY        1.00*    
!   ON        1.00*    OV        1.02     PT        0.94     SC        1.05     
!   TS        1.14     KK        1.00     WZ        1.00*    WF        1.04     
! 
!  A total of 48 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.99     GC        1.00*    HN        1.02     KP        1.14     
!   LA        0.97     MK        1.00*    NL        0.99     NY        0.99     
!   ON        1.06     OV        1.00*    PT        1.04     SC        1.09     
!   TS        1.00*    KK        1.00*    WZ        0.99     WF        0.99     
! 
! 
! Correcting IF 4.
!  A total of 249 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.02     GC        1.07     HN        0.85     KP        1.05     
!   LA        0.99     MK        0.96     NL        1.03     NY        1.02     
!   ON        1.24     OV        0.94     PT        0.96     SC        1.02     
!   TS        0.98     KK        1.14     WZ        1.05     WF        0.99     
! 
!  A total of 138 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.00*    GC        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    NY        0.94     
!   ON        0.90     OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        0.88     KK        1.00*    WZ        1.14     WF        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.95     GC        1.04     HN        2.06     KP        1.01     
!   LA        0.91     MK        0.85     NL        0.86     NY        1.00*    
!   ON        1.00*    OV        1.08     PT        0.89     SC        0.97     
!   TS        1.21     KK        1.03     WZ        1.00*    WF        1.08     
! 
!  A total of 48 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.99     GC        1.00*    HN        0.93     KP        1.13     
!   LA        1.03     MK        1.00*    NL        1.02     NY        1.00     
!   ON        0.93     OV        1.00*    PT        0.98     SC        0.98     
!   TS        1.00*    KK        1.00*    WZ        1.06     WF        0.99     
! 
! 
! Fit before self-cal, rms=0.317574Jy  sigma=0.001385
! Fit after  self-cal, rms=0.314199Jy  sigma=0.001318
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.587 mas, bmaj=5.741 mas, bpa=-6.597 degrees
! Estimated noise=676.099 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (20, -5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0166057 Jy
! Component: 100  -  total flux cleaned = 0.0265308 Jy
! Component: 150  -  total flux cleaned = 0.033517 Jy
! Component: 200  -  total flux cleaned = 0.0375117 Jy
! Total flux subtracted in 200 components = 0.0375117 Jy
! Clean residual min=-0.005389 max=0.012143 Jy/beam
! Clean residual mean=0.000616 rms=0.001842 Jy/beam
! Combined flux in latest and established models = 1.127 Jy
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 148 components and 1.127 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.313182Jy  sigma=0.001309
! Fit after  self-cal, rms=0.313546Jy  sigma=0.001307
! Inverting map 
! Added new window around map position (64.5, -28).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0124015 Jy
! Component: 100  -  total flux cleaned = 0.0190056 Jy
! Component: 150  -  total flux cleaned = 0.023252 Jy
! Component: 200  -  total flux cleaned = 0.0259302 Jy
! Total flux subtracted in 200 components = 0.0259302 Jy
! Clean residual min=-0.005111 max=0.007545 Jy/beam
! Clean residual mean=0.000466 rms=0.001569 Jy/beam
! Combined flux in latest and established models = 1.15293 Jy
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 179 components and 1.15293 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.313037Jy  sigma=0.001302
! Fit after  self-cal, rms=0.312997Jy  sigma=0.001302
! Inverting map 
selfcal true, true, soltime1
! Performing amp+phase self-cal over 120 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312997Jy  sigma=0.001302
! Fit after  self-cal, rms=0.312605Jy  sigma=0.001290
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.579 mas, bmaj=5.73 mas, bpa=-6.418 degrees
! Estimated noise=675.044 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00480945 Jy
! Component: 100  -  total flux cleaned = 0.00751311 Jy
! Component: 150  -  total flux cleaned = 0.00959292 Jy
! Component: 200  -  total flux cleaned = 0.0114235 Jy
! Total flux subtracted in 200 components = 0.0114235 Jy
! Clean residual min=-0.004461 max=0.006666 Jy/beam
! Clean residual mean=0.000397 rms=0.001323 Jy/beam
! Combined flux in latest and established models = 1.16435 Jy
selfcal
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 196 components and 1.16435 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312484Jy  sigma=0.001289
! Fit after  self-cal, rms=0.312483Jy  sigma=0.001288
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
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (33.5, -8.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0059132 Jy
! Component: 100  -  total flux cleaned = 0.00791145 Jy
! Component: 150  -  total flux cleaned = 0.00935519 Jy
! Component: 200  -  total flux cleaned = 0.0101825 Jy
! Total flux subtracted in 200 components = 0.0101825 Jy
! Clean residual min=-0.004279 max=0.005132 Jy/beam
! Clean residual mean=0.000328 rms=0.001213 Jy/beam
! Combined flux in latest and established models = 1.17454 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 220 components and 1.17454 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312342Jy  sigma=0.001287
! Fit after  self-cal, rms=0.312331Jy  sigma=0.001287
! Inverting map 
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312331Jy  sigma=0.001287
! Fit after  self-cal, rms=0.312297Jy  sigma=0.001287
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.578 mas, bmaj=5.72 mas, bpa=-6.288 degrees
! Estimated noise=674.488 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00315101 Jy
! Component: 100  -  total flux cleaned = 0.0048096 Jy
! Component: 150  -  total flux cleaned = 0.00599533 Jy
! Component: 200  -  total flux cleaned = 0.00682584 Jy
! Total flux subtracted in 200 components = 0.00682584 Jy
! Clean residual min=-0.004103 max=0.004986 Jy/beam
! Clean residual mean=0.000263 rms=0.001169 Jy/beam
! Combined flux in latest and established models = 1.18136 Jy
selfcal
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 237 components and 1.18136 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312234Jy  sigma=0.001286
! Fit after  self-cal, rms=0.312251Jy  sigma=0.001286
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
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00125539 Jy
! Component: 100  -  total flux cleaned = 0.00195964 Jy
! Component: 150  -  total flux cleaned = 0.0024715 Jy
! Component: 200  -  total flux cleaned = 0.00295409 Jy
! Total flux subtracted in 200 components = 0.00295409 Jy
! Clean residual min=-0.004195 max=0.004904 Jy/beam
! Clean residual mean=0.000243 rms=0.001161 Jy/beam
! Combined flux in latest and established models = 1.18432 Jy
! Performing phase self-cal
! Adding 44 model components to the UV plane model.
! The established model now contains 247 components and 1.18432 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312215Jy  sigma=0.001286
! Fit after  self-cal, rms=0.312209Jy  sigma=0.001286
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.2
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312209Jy  sigma=0.001286
! Fit after  self-cal, rms=0.312476Jy  sigma=0.001286
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.802 mas, bmaj=10.49 mas, bpa=-8.856 degrees
! Estimated noise=872.03 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00496232 Jy
! Component: 100  -  total flux cleaned = 0.00731717 Jy
! Component: 150  -  total flux cleaned = 0.00884373 Jy
! Component: 200  -  total flux cleaned = 0.0102861 Jy
! Total flux subtracted in 200 components = 0.0102861 Jy
! Clean residual min=-0.005568 max=0.006858 Jy/beam
! Clean residual mean=0.000434 rms=0.001802 Jy/beam
! Combined flux in latest and established models = 1.1946 Jy
selfcal
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 265 components and 1.1946 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312449Jy  sigma=0.001286
! Fit after  self-cal, rms=0.312439Jy  sigma=0.001286
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
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00107381 Jy
! Component: 100  -  total flux cleaned = 0.00225313 Jy
! Component: 150  -  total flux cleaned = 0.00291281 Jy
! Component: 200  -  total flux cleaned = 0.0031882 Jy
! Total flux subtracted in 200 components = 0.0031882 Jy
! Clean residual min=-0.005792 max=0.006620 Jy/beam
! Clean residual mean=0.000385 rms=0.001796 Jy/beam
! Combined flux in latest and established models = 1.19779 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 274 components and 1.19779 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312436Jy  sigma=0.001286
! Fit after  self-cal, rms=0.312427Jy  sigma=0.001286
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Estimated beam: bmin=2.577 mas, bmaj=5.717 mas, bpa=-6.236 degrees
! Estimated noise=674.293 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.577 x 5.717 at -6.236 degrees (North through East)
! Clean map  min=-0.0039179  max=0.59075 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true
  clean clean_niter,clean_gain
  selfcal
  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
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true
  end if
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312427Jy  sigma=0.001286
! Fit after  self-cal, rms=0.432291Jy  sigma=0.001171
! Inverting map and beam 
! Estimated beam: bmin=2.575 mas, bmaj=5.719 mas, bpa=-6.271 degrees
! Estimated noise=672.216 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -4.69066e-06 Jy
! Component: 100  -  total flux cleaned = 6.74485e-05 Jy
! Component: 150  -  total flux cleaned = 0.000137214 Jy
! Component: 200  -  total flux cleaned = 0.000196809 Jy
! Total flux subtracted in 200 components = 0.000196809 Jy
! Clean residual min=-0.004047 max=0.004461 Jy/beam
! Clean residual mean=0.000135 rms=0.001069 Jy/beam
! Combined flux in latest and established models = 1.19799 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 290 components and 1.19799 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.432258Jy  sigma=0.001171
! Fit after  self-cal, rms=0.432272Jy  sigma=0.001171
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 8.85045e-05 Jy
! Component: 100  -  total flux cleaned = 0.000150625 Jy
! Component: 150  -  total flux cleaned = 0.000210118 Jy
! Component: 200  -  total flux cleaned = 0.000211828 Jy
! Total flux subtracted in 200 components = 0.000211828 Jy
! Clean residual min=-0.004017 max=0.004403 Jy/beam
! Clean residual mean=0.000133 rms=0.001064 Jy/beam
! Combined flux in latest and established models = 1.1982 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 301 components and 1.1982 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.432249Jy  sigma=0.001171
! Fit after  self-cal, rms=0.432246Jy  sigma=0.001171
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.432246Jy  sigma=0.001171
! Fit after  self-cal, rms=0.565027Jy  sigma=0.001171
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative 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=1.934 mas, bmaj=4.77 mas, bpa=-2.419 degrees
! Estimated noise=1134.07 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.438318 Jy
! Component: 100  -  total flux cleaned = 0.644011 Jy
! Component: 150  -  total flux cleaned = 0.763379 Jy
! Component: 200  -  total flux cleaned = 0.838912 Jy
! Total flux subtracted in 200 components = 0.838912 Jy
! Clean residual min=-0.010773 max=0.039501 Jy/beam
! Clean residual mean=0.000050 rms=0.003379 Jy/beam
! Combined flux in latest and established models = 0.838912 Jy
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.838912 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.573 mas, bmaj=5.715 mas, bpa=-6.229 degrees
! Estimated noise=671.296 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.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0857695 Jy
! Component: 100  -  total flux cleaned = 0.132417 Jy
! Component: 150  -  total flux cleaned = 0.162593 Jy
! Component: 200  -  total flux cleaned = 0.186964 Jy
! Total flux subtracted in 200 components = 0.186964 Jy
! Clean residual min=-0.007183 max=0.015908 Jy/beam
! Clean residual mean=0.001267 rms=0.003237 Jy/beam
! Combined flux in latest and established models = 1.02588 Jy
! Adding 73 model components to the UV plane model.
! The established model now contains 79 components and 1.02588 Jy
! Inverting map 
! Added new window around map position (-2.5, 1).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0205098 Jy
! Component: 100  -  total flux cleaned = 0.0378732 Jy
! Component: 150  -  total flux cleaned = 0.0528617 Jy
! Component: 200  -  total flux cleaned = 0.0659006 Jy
! Total flux subtracted in 200 components = 0.0659006 Jy
! Clean residual min=-0.005355 max=0.009089 Jy/beam
! Clean residual mean=0.000830 rms=0.002169 Jy/beam
! Combined flux in latest and established models = 1.09178 Jy
! Adding 90 model components to the UV plane model.
! The established model now contains 151 components and 1.09178 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.789 mas, bmaj=10.48 mas, bpa=-8.744 degrees
! Estimated noise=871.497 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0250216 Jy
! Component: 100  -  total flux cleaned = 0.0434633 Jy
! Component: 150  -  total flux cleaned = 0.0575407 Jy
! Component: 200  -  total flux cleaned = 0.0684925 Jy
! Total flux subtracted in 200 components = 0.0684925 Jy
! Clean residual min=-0.005760 max=0.010498 Jy/beam
! Clean residual mean=0.000962 rms=0.002522 Jy/beam
! Combined flux in latest and established models = 1.16027 Jy
flux_cutoff = imstat(rms) * dynam
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.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00868054 Jy
! Component: 100  -  total flux cleaned = 0.0156632 Jy
! Component: 150  -  total flux cleaned = 0.0213256 Jy
! Component: 200  -  total flux cleaned = 0.0259337 Jy
! Total flux subtracted in 200 components = 0.0259337 Jy
! Clean residual min=-0.005070 max=0.008234 Jy/beam
! Clean residual mean=0.000535 rms=0.001857 Jy/beam
! Combined flux in latest and established models = 1.1862 Jy
! Adding 173 model components to the UV plane model.
! The established model now contains 300 components and 1.1862 Jy
! Inverting map 
! Added new window around map position (47, -11).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00788704 Jy
! Component: 100  -  total flux cleaned = 0.0124515 Jy
! Component: 150  -  total flux cleaned = 0.0158512 Jy
! Component: 200  -  total flux cleaned = 0.0185526 Jy
! Total flux subtracted in 200 components = 0.0185526 Jy
! Clean residual min=-0.004355 max=0.005011 Jy/beam
! Clean residual mean=0.000236 rms=0.001298 Jy/beam
! Combined flux in latest and established models = 1.20476 Jy
! Adding 54 model components to the UV plane model.
! The established model now contains 353 components and 1.20476 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.573 mas, bmaj=5.715 mas, bpa=-6.229 degrees
! Estimated noise=671.296 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00157407 Jy
! Component: 100  -  total flux cleaned = 0.00208791 Jy
! Component: 150  -  total flux cleaned = 0.00254313 Jy
! Component: 200  -  total flux cleaned = 0.00274955 Jy
! Total flux subtracted in 200 components = 0.00274955 Jy
! Clean residual min=-0.003517 max=0.003751 Jy/beam
! Clean residual mean=0.000075 rms=0.000915 Jy/beam
! Combined flux in latest and established models = 1.2075 Jy
selfcal
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 378 components and 1.20751 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.564991Jy  sigma=0.001170
! Fit after  self-cal, rms=0.565034Jy  sigma=0.001169
wmodel J0750+1231_S_2003_09_17_pus_map.mod
! Writing 378 model components to file: J0750+1231_S_2003_09_17_pus_map.mod
wobs J0750+1231_S_2003_09_17_pus_uvs.fits
! Writing UV FITS file: J0750+1231_S_2003_09_17_pus_uvs.fits
wwins J0750+1231_S_2003_09_17_pus_map.win
! wwins: Wrote 9 windows to J0750+1231_S_2003_09_17_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=4096  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000863989 Jy
! Component: 100  -  total flux cleaned = 0.00131901 Jy
! Component: 150  -  total flux cleaned = 0.00157041 Jy
! Component: 200  -  total flux cleaned = 0.00175433 Jy
! Component: 250  -  total flux cleaned = 0.001992 Jy
! Component: 300  -  total flux cleaned = 0.00210858 Jy
! Component: 350  -  total flux cleaned = 0.00239029 Jy
! Component: 400  -  total flux cleaned = 0.00266454 Jy
! Component: 450  -  total flux cleaned = 0.00304052 Jy
! Component: 500  -  total flux cleaned = 0.00335645 Jy
! Component: 550  -  total flux cleaned = 0.0036155 Jy
! Component: 600  -  total flux cleaned = 0.00392221 Jy
! Component: 650  -  total flux cleaned = 0.00432514 Jy
! Component: 700  -  total flux cleaned = 0.00472184 Jy
! Component: 750  -  total flux cleaned = 0.00506407 Jy
! Component: 800  -  total flux cleaned = 0.00530552 Jy
! Component: 850  -  total flux cleaned = 0.00559176 Jy
! Component: 900  -  total flux cleaned = 0.00587497 Jy
! Component: 950  -  total flux cleaned = 0.00615456 Jy
! Component: 1000  -  total flux cleaned = 0.00629289 Jy
! Component: 1050  -  total flux cleaned = 0.00643016 Jy
! Component: 1100  -  total flux cleaned = 0.00665704 Jy
! Component: 1150  -  total flux cleaned = 0.00688169 Jy
! Component: 1200  -  total flux cleaned = 0.00710331 Jy
! Component: 1250  -  total flux cleaned = 0.00714767 Jy
! Component: 1300  -  total flux cleaned = 0.00732282 Jy
! Component: 1350  -  total flux cleaned = 0.00745292 Jy
! Component: 1400  -  total flux cleaned = 0.0075814 Jy
! Component: 1450  -  total flux cleaned = 0.00779436 Jy
! Component: 1500  -  total flux cleaned = 0.00792081 Jy
! Component: 1550  -  total flux cleaned = 0.00800414 Jy
! Component: 1600  -  total flux cleaned = 0.00821217 Jy
! Component: 1650  -  total flux cleaned = 0.00833584 Jy
! Component: 1700  -  total flux cleaned = 0.00854071 Jy
! Component: 1750  -  total flux cleaned = 0.00874326 Jy
! Component: 1800  -  total flux cleaned = 0.00874341 Jy
! Component: 1850  -  total flux cleaned = 0.00894384 Jy
! Component: 1900  -  total flux cleaned = 0.00894406 Jy
! Component: 1950  -  total flux cleaned = 0.00918115 Jy
! Component: 2000  -  total flux cleaned = 0.00918119 Jy
! Component: 2050  -  total flux cleaned = 0.00933725 Jy
! Component: 2100  -  total flux cleaned = 0.00937627 Jy
! Component: 2150  -  total flux cleaned = 0.00949202 Jy
! Component: 2200  -  total flux cleaned = 0.00953027 Jy
! Component: 2250  -  total flux cleaned = 0.00968276 Jy
! Component: 2300  -  total flux cleaned = 0.0096828 Jy
! Component: 2350  -  total flux cleaned = 0.00975815 Jy
! Component: 2400  -  total flux cleaned = 0.00987 Jy
! Component: 2450  -  total flux cleaned = 0.0099071 Jy
! Component: 2500  -  total flux cleaned = 0.00998098 Jy
! Component: 2550  -  total flux cleaned = 0.0100544 Jy
! Component: 2600  -  total flux cleaned = 0.0100544 Jy
! Component: 2650  -  total flux cleaned = 0.0101996 Jy
! Component: 2700  -  total flux cleaned = 0.0101996 Jy
! Component: 2750  -  total flux cleaned = 0.0102355 Jy
! Component: 2800  -  total flux cleaned = 0.0103428 Jy
! Component: 2850  -  total flux cleaned = 0.0104138 Jy
! Component: 2900  -  total flux cleaned = 0.0104138 Jy
! Component: 2950  -  total flux cleaned = 0.0105545 Jy
! Component: 3000  -  total flux cleaned = 0.0105896 Jy
! Component: 3050  -  total flux cleaned = 0.0106595 Jy
! Component: 3100  -  total flux cleaned = 0.0106595 Jy
! Component: 3150  -  total flux cleaned = 0.0107977 Jy
! Component: 3200  -  total flux cleaned = 0.0108322 Jy
! Component: 3250  -  total flux cleaned = 0.0109348 Jy
! Component: 3300  -  total flux cleaned = 0.0109347 Jy
! Component: 3350  -  total flux cleaned = 0.0109687 Jy
! Component: 3400  -  total flux cleaned = 0.0109684 Jy
! Component: 3450  -  total flux cleaned = 0.0110021 Jy
! Component: 3500  -  total flux cleaned = 0.0110358 Jy
! Component: 3550  -  total flux cleaned = 0.0110358 Jy
! Component: 3600  -  total flux cleaned = 0.0111356 Jy
! Component: 3650  -  total flux cleaned = 0.0111357 Jy
! Component: 3700  -  total flux cleaned = 0.0111028 Jy
! Component: 3750  -  total flux cleaned = 0.0112012 Jy
! Component: 3800  -  total flux cleaned = 0.0112012 Jy
! Component: 3850  -  total flux cleaned = 0.0112014 Jy
! Component: 3900  -  total flux cleaned = 0.0112661 Jy
! Component: 3950  -  total flux cleaned = 0.0112338 Jy
! Component: 4000  -  total flux cleaned = 0.0112339 Jy
! Component: 4050  -  total flux cleaned = 0.0112661 Jy
! Total flux subtracted in 4096 components = 0.0112659 Jy
! Clean residual min=-0.001790 max=0.001696 Jy/beam
! Clean residual mean=0.000024 rms=0.000585 Jy/beam
! Combined flux in latest and established models = 1.21877 Jy
keep
! Adding 339 model components to the UV plane model.
! The established model now contains 715 components and 1.21877 Jy
wmap "J0750+1231_S_2003_09_17_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.573 x 5.715 at -6.229 degrees (North through East)
! Clean map  min=-0.0031709  max=0.58761 Jy/beam
! Writing clean map to FITS file: J0750+1231_S_2003_09_17_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.587606 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000581339 
device "J0750+1231_S_2003_09_17_pus\_map.eps/VPS"
! Attempting to open device: 'J0750+1231_S_2003_09_17_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.2968 0.2968 0.593601 1.1872 2.3744 4.74881 9.49761 18.9952 37.9905 75.9809
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.587 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.573 x 5.715 at -6.229 degrees (North through East)
! Clean map  min=-0.0031709  max=0.58761 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0750+1231_S_2003_09_17_pus\_map.gif/vgif"
! Attempting to open device: 'J0750+1231_S_2003_09_17_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0750+1231_S_2003_09_17_pus_uvs.log closed on Mon May 21 23:53:20 2007