! Started logfile: 0007+171_X.log on Thu Apr 17 13:41:22 2008
observe 0007+171_X.edt
! Reading UV FITS file: 0007+171_X.edt
! AN table 1: 175 integrations on 136 of 136 possible baselines.
! AN table 2: 42 integrations on 136 of 136 possible baselines.
! AN table 3: 68 integrations on 136 of 136 possible baselines.
! AN table 4: 12 integrations on 136 of 136 possible baselines.
! AN table 5: 166 integrations on 136 of 136 possible baselines.
! AN table 6: 16 integrations on 136 of 136 possible baselines.
! Apparent sampling: 0.0465277 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 0007+171
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1142 lines of history.
! 
! Reading 12124 visibilities.
![@gonzo7-0.1 0007+171_X]
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.1
integer clean_niter
clean_niter = 50
float clean_gain
clean_gain = 0.03
float dynam
dynam = 7.0
float win_mult
win_mult = 1.8
float solint
solint = 3.6/6.0
logical doflt
doflt = true
logical doamp
float new_peak
float flux_cutoff
mapsize field_size,field_cell
! Map grid = 1024x1024 pixels with 0.100x0.100 milli-arcsec cellsize.
select
! 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
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 2591 telescope corrections were flagged in sub-array 1.
!  A total of 684 telescope corrections were flagged in sub-array 2.
!  A total of 708 telescope corrections were flagged in sub-array 3.
!  A total of 154 telescope corrections were flagged in sub-array 4.
!  A total of 2602 telescope corrections were flagged in sub-array 5.
!  A total of 185 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 2.
!  A total of 2604 telescope corrections were flagged in sub-array 1.
!  A total of 684 telescope corrections were flagged in sub-array 2.
!  A total of 708 telescope corrections were flagged in sub-array 3.
!  A total of 154 telescope corrections were flagged in sub-array 4.
!  A total of 2602 telescope corrections were flagged in sub-array 5.
!  A total of 185 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 3.
!  A total of 2718 telescope corrections were flagged in sub-array 1.
!  A total of 684 telescope corrections were flagged in sub-array 2.
!  A total of 669 telescope corrections were flagged in sub-array 3.
!  A total of 154 telescope corrections were flagged in sub-array 4.
!  A total of 2810 telescope corrections were flagged in sub-array 5.
!  A total of 185 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 4.
!  A total of 2730 telescope corrections were flagged in sub-array 1.
!  A total of 696 telescope corrections were flagged in sub-array 2.
!  A total of 756 telescope corrections were flagged in sub-array 3.
!  A total of 154 telescope corrections were flagged in sub-array 4.
!  A total of 2810 telescope corrections were flagged in sub-array 5.
!  A total of 185 telescope corrections were flagged in sub-array 6.
! 
! Fit before self-cal, rms=0.759254Jy  sigma=0.012866
! Fit after  self-cal, rms=0.742817Jy  sigma=0.010864
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvweight 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.
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.5861 mas, bmaj=2.07 mas, bpa=4.451 degrees
! Estimated noise=1934.98 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.173428 Jy
! Total flux subtracted in 50 components = 0.173428 Jy
! Clean residual min=-0.019041 max=0.067783 Jy/beam
! Clean residual mean=-0.000270 rms=0.007514 Jy/beam
! Combined flux in latest and established models = 0.173428 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 10 components and 0.173428 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.204629Jy  sigma=0.002624
! Fit after  self-cal, rms=0.204426Jy  sigma=0.002622
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0757498 Jy
! Total flux subtracted in 50 components = 0.0757498 Jy
! Clean residual min=-0.014224 max=0.044568 Jy/beam
! Clean residual mean=-0.000352 rms=0.005197 Jy/beam
! Combined flux in latest and established models = 0.249178 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 13 components and 0.249178 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.164629Jy  sigma=0.002058
! Fit after  self-cal, rms=0.164482Jy  sigma=0.002056
! Inverting map 
! Added new window around map position (-0.8, -0.2).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0449676 Jy
! Total flux subtracted in 50 components = 0.0449676 Jy
! Clean residual min=-0.013248 max=0.025695 Jy/beam
! Clean residual mean=-0.000403 rms=0.004076 Jy/beam
! Combined flux in latest and established models = 0.294146 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 23 components and 0.294146 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.146479Jy  sigma=0.001826
! Fit after  self-cal, rms=0.146197Jy  sigma=0.001822
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Uniform Weighting CLEAN ***"
! *** Finished Uniform Weighting CLEAN *** 
print "****************************************"
! **************************************** 
uvweight 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
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7565 mas, bmaj=2.817 mas, bpa=4.519 degrees
! Estimated noise=557.931 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0466449 Jy
! Component: 100  -  total flux cleaned = 0.0663572 Jy
! Total flux subtracted in 100 components = 0.0663572 Jy
! Clean residual min=-0.023241 max=0.010331 Jy/beam
! Clean residual mean=-0.007886 rms=0.004942 Jy/beam
! Combined flux in latest and established models = 0.360503 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 38 components and 0.360503 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.130040Jy  sigma=0.001695
! Fit after  self-cal, rms=0.129921Jy  sigma=0.001694
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 132 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.04     KB        2.41     
!   KK        0.99     KP        1.00*    LA        1.31     MK        1.08     
!   NL        1.08     NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        0.93     TS        1.53     WF        0.91     WZ        1.00*    
!   ZC        0.74     
! 
!  A total of 30 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        0.73     HN        1.12     KB        1.00*    
!   KK        0.87     KP        0.96     LA        0.98     MK        1.00     
!   NL        1.43     NY        1.00*    OV        0.95     PT        0.97     
!   SC        1.51     TS        1.00*    WF        0.72     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        0.64     HN        1.00*    KB        1.00*    
!   KK        1.00*    KP        0.98     LA        1.00     MK        1.00*    
!   NL        1.35     NY        1.00*    OV        0.99     PT        0.98     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 204 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    HN        1.00*    KB        1.39     
!   KK        1.00*    KP        1.00*    LA        1.00*    MK        1.00*    
!   NL        1.00*    NY        2.53     OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        0.93     WF        1.00*    WZ        1.00*    
!   ZC        0.99     
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.00*    FD        0.99     HN        1.00*    KB        1.00*    
!   KK        1.00*    KP        0.90     LA        0.97     MK        1.00*    
!   NL        1.22     NY        1.00*    OV        1.02     PT        0.92     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
!   ZC        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 135 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.08     KB        3.03     
!   KK        0.93     KP        1.00*    LA        1.35     MK        1.11     
!   NL        1.13     NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        0.98     TS        1.39     WF        0.88     WZ        1.00*    
!   ZC        0.80     
! 
!  A total of 30 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        0.73     HN        0.94     KB        1.00*    
!   KK        0.79     KP        0.99     LA        0.99     MK        1.04     
!   NL        1.53     NY        1.00*    OV        0.94     PT        0.96     
!   SC        1.35     TS        1.00*    WF        1.02     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        0.62     HN        1.00*    KB        1.00*    
!   KK        1.00*    KP        0.99     LA        0.96     MK        1.00*    
!   NL        1.53     NY        1.00*    OV        0.94     PT        0.97     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 204 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    HN        1.00*    KB        1.07     
!   KK        1.00*    KP        1.00*    LA        1.00*    MK        1.00*    
!   NL        1.00*    NY        3.20     OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        1.18     WF        1.00*    WZ        1.00*    
!   ZC        1.14     
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.00*    FD        1.02     HN        1.00*    KB        1.00*    
!   KK        1.00*    KP        0.86     LA        0.93     MK        1.00*    
!   NL        1.25     NY        1.00*    OV        0.99     PT        0.97     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
!   ZC        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 72 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.11     KB        4.20     
!   KK        0.97     KP        1.00*    LA        1.30     MK        1.15     
!   NL        1.17     NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        0.93     TS        1.04     WF        0.83     WZ        1.00*    
!   ZC        1.07     
! 
!  A total of 30 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        0.73     HN        0.88     KB        1.00*    
!   KK        0.98     KP        0.96     LA        1.00     MK        0.98     
!   NL        1.35     NY        1.00*    OV        0.96     PT        0.96     
!   SC        1.09     TS        1.00*    WF        0.94     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        0.65     HN        1.00*    KB        1.00*    
!   KK        1.00*    KP        0.96     LA        1.00     MK        1.00*    
!   NL        1.44     NY        1.00*    OV        1.00     PT        0.97     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.00*    FD        1.01     HN        1.00*    KB        1.00*    
!   KK        1.00*    KP        0.77     LA        0.97     MK        1.00*    
!   NL        1.27     NY        1.00*    OV        1.06     PT        0.97     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
!   ZC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 72 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.11     KB        2.69     
!   KK        1.75     KP        1.00*    LA        1.30     MK        0.60     
!   NL        1.08     NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.01     TS        1.71     WF        0.89     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        0.76     HN        0.94     KB        1.00*    
!   KK        0.97     KP        0.95     LA        1.07     MK        0.95     
!   NL        1.35     NY        1.00*    OV        0.91     PT        1.00     
!   SC        1.44     TS        1.00*    WF        0.99     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        0.68     HN        1.00*    KB        1.00*    
!   KK        1.00*    KP        0.95     LA        1.02     MK        1.00*    
!   NL        1.51     NY        1.00*    OV        0.94     PT        0.96     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.00*    FD        1.00     HN        1.00*    KB        1.00*    
!   KK        1.00*    KP        0.81     LA        0.94     MK        1.00*    
!   NL        1.21     NY        1.00*    OV        1.06     PT        0.99     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
!   ZC        1.00*    
! 
! 
! Fit before self-cal, rms=0.129921Jy  sigma=0.001694
! Fit after  self-cal, rms=0.119285Jy  sigma=0.001141
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8497 mas, bmaj=2.765 mas, bpa=4.177 degrees
! Estimated noise=601.114 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (-3.2, 0.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00856236 Jy
! Component: 100  -  total flux cleaned = 0.0071716 Jy
! Total flux subtracted in 100 components = 0.0071716 Jy
! Clean residual min=-0.007267 max=0.009408 Jy/beam
! Clean residual mean=-0.000130 rms=0.001903 Jy/beam
! Combined flux in latest and established models = 0.367674 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 60 components and 0.367674 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.117302Jy  sigma=0.001116
! Fit after  self-cal, rms=0.117225Jy  sigma=0.001112
! Inverting map 
dynam = dynam - 1.0
doamp = true
solint = solint * (6.0/3.6)
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 doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00247801 Jy
! Component: 100  -  total flux cleaned = 0.00152854 Jy
! Total flux subtracted in 100 components = 0.00152854 Jy
! Clean residual min=-0.006337 max=0.007070 Jy/beam
! Clean residual mean=-0.000147 rms=0.001603 Jy/beam
! Combined flux in latest and established models = 0.369203 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 71 components and 0.369203 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.116631Jy  sigma=0.001106
! Fit after  self-cal, rms=0.114006Jy  sigma=0.001080
! Inverting map and beam 
! Estimated beam: bmin=0.8525 mas, bmaj=2.754 mas, bpa=3.878 degrees
! Estimated noise=604.108 mJy/beam.
doamp = false
solint = solint / (6.0/3.6)
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 doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00431384 Jy
! Component: 100  -  total flux cleaned = 0.00401287 Jy
! Total flux subtracted in 100 components = 0.00401287 Jy
! Clean residual min=-0.005678 max=0.005670 Jy/beam
! Clean residual mean=-0.000085 rms=0.001416 Jy/beam
! Combined flux in latest and established models = 0.373216 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 84 components and 0.373216 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.113642Jy  sigma=0.001075
! Fit after  self-cal, rms=0.113637Jy  sigma=0.001075
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 0007+171_X
! Writing UV FITS file: 0007+171_X.uvf
! Writing 84 model components to file: 0007+171_X.mod
! wwins: Wrote 3 windows to 0007+171_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8525 x 2.754 at 3.878 degrees (North through East)
! Clean map  min=-0.0086575  max=0.24625 Jy/beam
! Writing clean map to FITS file: 0007+171_X.fits
! Writing difmap environment to: 0007+171_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 0007+171_X]
device 0007+171_Xuv.ps/vps,1,2
! Attempting to open device: '0007+171_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 0007+171_Xim.ps/vps
! Attempting to open device: '0007+171_Xim.ps/vps'
uvweight 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.
loglevs -1,2048,2
! The new contour levels are:
!  -1 1 2 4 8 16 32 64 128 256 512 1024 2048
cmul = imstat(rms)*3
! Inverting map and beam 
! Estimated beam: bmin=0.8525 mas, bmaj=2.754 mas, bpa=3.878 degrees
! Estimated noise=604.108 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8525 x 2.754 at 3.878 degrees (North through East)
! Clean map  min=-0.0086575  max=0.24625 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.1]
quit
! Quitting program
! Log file 0007+171_X.log closed on Thu Apr 17 13:41:52 2008