! Started logfile: .//J0557+7704_C_a_dfm.log on Tue Jun 5 09:34:32 2018 float field_size field_size = 1024 float field_cell field_cell = 0.3000 float taper_size taper_size = 40.0 float freq freq = 4.12800 obs .//J0557+7704_C_a_uvm.fits ! Reading UV FITS file: .//J0557+7704_C_a_uvm.fits ! AN table 1: 90 integrations on 45 of 45 possible baselines. ! AN table 2: 90 integrations on 28 of 28 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0557+7704 ! ! There are 8 IFs, and a total of 8 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 4.128e+09 3.2e+07 1 3.2e+07 ! 02 2 4.16e+09 3.2e+07 1 3.2e+07 ! 03 3 4.192e+09 3.2e+07 1 3.2e+07 ! 04 4 4.224e+09 3.2e+07 1 3.2e+07 ! 05 5 4.416e+09 3.2e+07 1 3.2e+07 ! 06 6 4.512e+09 3.2e+07 1 3.2e+07 ! 07 7 4.544e+09 3.2e+07 1 3.2e+07 ! 08 8 4.576e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 94 lines of history. ! ! Reading 52560 visibilities. select rr, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 ! Restricting channel ranges to the available 8 channels. ! Selecting polarization: RR, channels: 1..8 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 ! Reading IF 5 channels: 5..5 ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 print "field_size =", field_size ! field_size = 1024 print "field_cell =", field_cell ! field_cell = 0.3 print "taper_size =", taper_size ! taper_size = 40 ![@/opt64/bin/pima_mupet_01.dfm J0557+7704_C] float lim_self lim_self = 120.0 float lim_val lim_va = 1.2 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 print "===============================================================" ! =============================================================== ! print "=== Difmap script: pima_mupet_01.dvm version of 2016.05.19 === " ! === Difmap script: pima_mupet_01.dvm version of 2016.05.19 === ! mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.300x0.300 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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=1.000513Jy sigma=24.881569 ! Fit after self-cal, rms=0.973318Jy sigma=24.222715 ! 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.14 mas, bmaj=4.803 mas, bpa=-49.47 degrees ! Estimated noise=0.319862 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.0198929 Jy ! Component: 100 - total flux cleaned = 0.0245181 Jy ! Total flux subtracted in 100 components = 0.0245181 Jy ! Clean residual min=-0.001116 max=0.001725 Jy/beam ! Clean residual mean=0.000002 rms=0.000293 Jy/beam ! Combined flux in latest and established models = 0.0245181 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.0245181 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.028605Jy sigma=0.669890 ! Fit after self-cal, rms=0.027228Jy sigma=0.634940 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00302062 Jy ! Component: 100 - total flux cleaned = 0.00450724 Jy ! Total flux subtracted in 100 components = 0.00450724 Jy ! Clean residual min=-0.001182 max=0.001242 Jy/beam ! Clean residual mean=0.000001 rms=0.000281 Jy/beam ! Combined flux in latest and established models = 0.0290253 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 16 components and 0.0290253 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026774Jy sigma=0.624844 ! Fit after self-cal, rms=0.026768Jy sigma=0.624531 ! 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=1.626 mas, bmaj=5.137 mas, bpa=-51.07 degrees ! Estimated noise=0.127117 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) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00151072 Jy ! Component: 100 - total flux cleaned = 0.00245442 Jy ! Component: 150 - total flux cleaned = 0.00313305 Jy ! Component: 200 - total flux cleaned = 0.00363716 Jy ! Total flux subtracted in 200 components = 0.00363716 Jy ! Clean residual min=-0.000657 max=0.000759 Jy/beam ! Clean residual mean=0.000001 rms=0.000165 Jy/beam ! Combined flux in latest and established models = 0.0326625 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 43 components and 0.0326625 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026656Jy sigma=0.622318 ! Fit after self-cal, rms=0.026651Jy sigma=0.622203 ! Inverting map print "============== Finished natural weighting clean ==============" ! ============== Finished natural weighting clean ============== ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.626 x 5.137 at -51.07 degrees (North through East) ! Clean map min=-0.00068053 max=0.028066 Jy/beam gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 0.95 HN 1.01 KP 0.98 ! LA 1.07 MK 0.90 NL 1.05 OV 1.03 ! PT 0.97 SC 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 FD 0.85 HN 0.92 KP 0.95 ! LA 0.98 MK 0.99 NL 1.05 OV 0.93 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 0.96 HN 0.93 KP 0.97 ! LA 1.02 MK 1.00 NL 1.12 OV 1.08 ! PT 0.95 SC 0.93 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 FD 0.87 HN 0.91 KP 0.91 ! LA 0.94 MK 0.95 NL 1.06 OV 0.97 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.10 FD 0.98 HN 0.98 KP 0.99 ! LA 1.04 MK 0.93 NL 1.05 OV 1.06 ! PT 0.96 SC 0.99 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 FD 0.90 HN 0.95 KP 0.94 ! LA 0.97 MK 0.96 NL 0.99 OV 0.91 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.09 FD 0.95 HN 1.04 KP 0.96 ! LA 1.07 MK 0.98 NL 1.09 OV 1.03 ! PT 0.74 SC 0.98 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 FD 0.94 HN 1.01 KP 0.97 ! LA 0.95 MK 0.98 NL 1.02 OV 0.90 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 0.97 HN 0.99 KP 0.99 ! LA 1.06 MK 0.98 NL 1.06 OV 1.03 ! PT 0.98 SC 0.99 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.01 FD 0.96 HN 0.95 KP 0.92 ! LA 0.97 MK 1.02 NL 1.02 OV 0.95 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.11 FD 0.99 HN 1.05 KP 0.97 ! LA 1.07 MK 0.95 NL 1.06 OV 1.03 ! PT 0.96 SC 0.98 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 FD 0.91 HN 0.98 KP 0.93 ! LA 1.02 MK 0.97 NL 1.00 OV 0.98 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.09 FD 0.97 HN 1.02 KP 1.00 ! LA 1.06 MK 1.02 NL 1.07 OV 1.03 ! PT 0.97 SC 1.02 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 FD 0.92 HN 0.96 KP 0.95 ! LA 1.00 MK 0.98 NL 1.04 OV 0.97 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.13 FD 0.93 HN 1.03 KP 1.03 ! LA 1.05 MK 1.05 NL 1.05 OV 1.03 ! PT 0.93 SC 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.02 FD 0.88 HN 1.08 KP 0.95 ! LA 0.97 MK 0.99 NL 1.05 OV 0.95 ! ! ! Fit before self-cal, rms=0.026651Jy sigma=0.622203 ! Fit after self-cal, rms=0.025836Jy sigma=0.619035 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.622 mas, bmaj=5.108 mas, bpa=-51.2 degrees ! Estimated noise=0.125746 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) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000176283 Jy ! Component: 100 - total flux cleaned = 0.000194577 Jy ! Component: 150 - total flux cleaned = 0.000195432 Jy ! Component: 200 - total flux cleaned = 0.000189188 Jy ! Total flux subtracted in 200 components = 0.000189188 Jy ! Clean residual min=-0.000366 max=0.000383 Jy/beam ! Clean residual mean=-0.000001 rms=0.000090 Jy/beam ! Combined flux in latest and established models = 0.0328516 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 58 components and 0.0328516 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025830Jy sigma=0.618887 ! Fit after self-cal, rms=0.025827Jy sigma=0.618758 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025827Jy sigma=0.618758 ! Fit after self-cal, rms=0.025827Jy sigma=0.618723 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.617 mas, bmaj=5.095 mas, bpa=-51.23 degrees ! Estimated noise=0.125831 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000111861 Jy ! Component: 100 - total flux cleaned = 9.04509e-05 Jy ! Component: 150 - total flux cleaned = 7.93037e-05 Jy ! Component: 200 - total flux cleaned = 7.46807e-05 Jy ! Total flux subtracted in 200 components = 7.46807e-05 Jy ! Clean residual min=-0.000346 max=0.000366 Jy/beam ! Clean residual mean=-0.000001 rms=0.000087 Jy/beam ! Combined flux in latest and established models = 0.0329263 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 62 components and 0.0329263 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025824Jy sigma=0.618644 ! Fit after self-cal, rms=0.025824Jy sigma=0.618635 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 = -4.22134e-06 Jy ! Component: 100 - total flux cleaned = -2.63545e-05 Jy ! Component: 150 - total flux cleaned = -3.80207e-05 Jy ! Component: 200 - total flux cleaned = -4.86369e-05 Jy ! Total flux subtracted in 200 components = -4.86369e-05 Jy ! Clean residual min=-0.000348 max=0.000363 Jy/beam ! Clean residual mean=-0.000001 rms=0.000087 Jy/beam ! Combined flux in latest and established models = 0.0328777 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 69 components and 0.0328777 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025823Jy sigma=0.618604 ! Fit after self-cal, rms=0.025823Jy sigma=0.618600 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025823Jy sigma=0.618600 ! Fit after self-cal, rms=0.025836Jy sigma=0.618578 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.613 mas, bmaj=5.086 mas, bpa=-51.24 degrees ! Estimated noise=0.125962 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 8.83237e-05 Jy ! Component: 100 - total flux cleaned = 8.32017e-05 Jy ! Component: 150 - total flux cleaned = 7.91077e-05 Jy ! Component: 200 - total flux cleaned = 7.56977e-05 Jy ! Total flux subtracted in 200 components = 7.56977e-05 Jy ! Clean residual min=-0.000332 max=0.000355 Jy/beam ! Clean residual mean=-0.000001 rms=0.000086 Jy/beam ! Combined flux in latest and established models = 0.0329534 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 73 components and 0.0329534 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025834Jy sigma=0.618544 ! Fit after self-cal, rms=0.025834Jy sigma=0.618537 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 = -7.34513e-06 Jy ! Component: 100 - total flux cleaned = -2.33564e-05 Jy ! Component: 150 - total flux cleaned = -3.17045e-05 Jy ! Component: 200 - total flux cleaned = -3.42181e-05 Jy ! Total flux subtracted in 200 components = -3.42181e-05 Jy ! Clean residual min=-0.000334 max=0.000354 Jy/beam ! Clean residual mean=-0.000001 rms=0.000085 Jy/beam ! Combined flux in latest and established models = 0.0329192 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 77 components and 0.0329192 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025834Jy sigma=0.618520 ! Fit after self-cal, rms=0.025834Jy sigma=0.618518 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025834Jy sigma=0.618518 ! Fit after self-cal, rms=0.025846Jy sigma=0.618506 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.534 mas, bmaj=6.047 mas, bpa=-59.28 degrees ! Estimated noise=0.158519 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 3.31683e-05 Jy ! Component: 100 - total flux cleaned = 1.16439e-05 Jy ! Component: 150 - total flux cleaned = -4.13208e-06 Jy ! Component: 200 - total flux cleaned = -1.11515e-05 Jy ! Total flux subtracted in 200 components = -1.11515e-05 Jy ! Clean residual min=-0.000355 max=0.000331 Jy/beam ! Clean residual mean=-0.000003 rms=0.000094 Jy/beam ! Combined flux in latest and established models = 0.032908 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 88 components and 0.032908 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025846Jy sigma=0.618505 ! Fit after self-cal, rms=0.025846Jy sigma=0.618503 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 = 8.71097e-07 Jy ! Component: 100 - total flux cleaned = -6.43931e-06 Jy ! Component: 150 - total flux cleaned = -1.4689e-05 Jy ! Component: 200 - total flux cleaned = -1.75424e-05 Jy ! Total flux subtracted in 200 components = -1.75424e-05 Jy ! Clean residual min=-0.000356 max=0.000331 Jy/beam ! Clean residual mean=-0.000003 rms=0.000094 Jy/beam ! Combined flux in latest and established models = 0.0328905 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 93 components and 0.0328905 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025846Jy sigma=0.618500 ! Fit after self-cal, rms=0.025846Jy sigma=0.618499 ! 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=1.61 mas, bmaj=5.079 mas, bpa=-51.24 degrees ! Estimated noise=0.126077 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.61 x 5.079 at -51.24 degrees (North through East) ! Clean map min=-0.00030644 max=0.027976 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 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.131 mas, bmaj=4.718 mas, bpa=-49.58 degrees ! Estimated noise=0.314072 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0207363 Jy ! Component: 100 - total flux cleaned = 0.0259118 Jy ! Component: 150 - total flux cleaned = 0.0282674 Jy ! Component: 200 - total flux cleaned = 0.0295826 Jy ! Total flux subtracted in 200 components = 0.0295826 Jy ! Clean residual min=-0.001073 max=0.001124 Jy/beam ! Clean residual mean=0.000000 rms=0.000261 Jy/beam ! Combined flux in latest and established models = 0.0295826 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 22 model components to the UV plane model. ! The established model now contains 22 components and 0.0295826 Jy ! Inverting map and beam ! Estimated beam: bmin=1.61 mas, bmaj=5.079 mas, bpa=-51.24 degrees ! Estimated noise=0.126077 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.00153062 Jy ! Component: 100 - total flux cleaned = 0.00224605 Jy ! Component: 150 - total flux cleaned = 0.00268027 Jy ! Component: 200 - total flux cleaned = 0.00286322 Jy ! Total flux subtracted in 200 components = 0.00286322 Jy ! Clean residual min=-0.000376 max=0.000341 Jy/beam ! Clean residual mean=-0.000001 rms=0.000088 Jy/beam ! Combined flux in latest and established models = 0.0324458 Jy ! Adding 25 model components to the UV plane model. ! The established model now contains 40 components and 0.0324458 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.534 mas, bmaj=6.047 mas, bpa=-59.28 degrees ! Estimated noise=0.158519 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000270924 Jy ! Component: 100 - total flux cleaned = 0.000343693 Jy ! Component: 150 - total flux cleaned = 0.000371752 Jy ! Component: 200 - total flux cleaned = 0.000391406 Jy ! Total flux subtracted in 200 components = 0.000391406 Jy ! Clean residual min=-0.000357 max=0.000336 Jy/beam ! Clean residual mean=-0.000003 rms=0.000094 Jy/beam ! Combined flux in latest and established models = 0.0328372 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 = 3.3045e-06 Jy ! Component: 100 - total flux cleaned = 1.94268e-06 Jy ! Component: 150 - total flux cleaned = 2.07221e-06 Jy ! Component: 200 - total flux cleaned = 2.04249e-06 Jy ! Total flux subtracted in 200 components = 2.04249e-06 Jy ! Clean residual min=-0.000355 max=0.000336 Jy/beam ! Clean residual mean=-0.000003 rms=0.000094 Jy/beam ! Combined flux in latest and established models = 0.0328392 Jy ! Adding 28 model components to the UV plane model. ! The established model now contains 64 components and 0.0328392 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.61 mas, bmaj=5.079 mas, bpa=-51.24 degrees ! Estimated noise=0.126077 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.47023e-05 Jy ! Component: 100 - total flux cleaned = -1.91042e-05 Jy ! Component: 150 - total flux cleaned = -1.90555e-05 Jy ! Component: 200 - total flux cleaned = -1.19244e-05 Jy ! Total flux subtracted in 200 components = -1.19244e-05 Jy ! Clean residual min=-0.000358 max=0.000343 Jy/beam ! Clean residual mean=-0.000001 rms=0.000085 Jy/beam ! Combined flux in latest and established models = 0.0328273 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 75 components and 0.0328273 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025847Jy sigma=0.618508 ! Fit after self-cal, rms=0.025846Jy sigma=0.618494 wmodel J0557+7704_C_map.mod ! Writing 75 model components to file: J0557+7704_C_map.mod wobs J0557+7704_C_uvs.fits ! Writing UV FITS file: J0557+7704_C_uvs.fits wwins J0557+7704_C_map.win ! wwins: Wrote 1 windows to J0557+7704_C_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 = 2.53023e-05 Jy ! Component: 100 - total flux cleaned = 4.35253e-05 Jy ! Component: 150 - total flux cleaned = 5.51314e-05 Jy ! Component: 200 - total flux cleaned = 4.41388e-05 Jy ! Component: 250 - total flux cleaned = 4.41623e-05 Jy ! Component: 300 - total flux cleaned = 6.49578e-05 Jy ! Component: 350 - total flux cleaned = 6.99387e-05 Jy ! Component: 400 - total flux cleaned = 6.48647e-05 Jy ! Component: 450 - total flux cleaned = 5.99647e-05 Jy ! Component: 500 - total flux cleaned = 3.58919e-05 Jy ! Component: 550 - total flux cleaned = 2.63995e-05 Jy ! Component: 600 - total flux cleaned = 1.70341e-05 Jy ! Component: 650 - total flux cleaned = -1.06457e-05 Jy ! Component: 700 - total flux cleaned = -1.52149e-05 Jy ! Component: 750 - total flux cleaned = -4.23163e-05 Jy ! Component: 800 - total flux cleaned = -5.1266e-05 Jy ! Component: 850 - total flux cleaned = -7.34584e-05 Jy ! Component: 900 - total flux cleaned = -9.96943e-05 Jy ! Component: 950 - total flux cleaned = -9.54055e-05 Jy ! Component: 1000 - total flux cleaned = -0.000125385 Jy ! Component: 1050 - total flux cleaned = -0.000125346 Jy ! Component: 1100 - total flux cleaned = -0.00012959 Jy ! Component: 1150 - total flux cleaned = -0.000137945 Jy ! Component: 1200 - total flux cleaned = -0.000150268 Jy ! Component: 1250 - total flux cleaned = -0.000137983 Jy ! Component: 1300 - total flux cleaned = -0.00014608 Jy ! Component: 1350 - total flux cleaned = -0.000142052 Jy ! Component: 1400 - total flux cleaned = -0.000138035 Jy ! Component: 1450 - total flux cleaned = -0.000149923 Jy ! Component: 1500 - total flux cleaned = -0.000142074 Jy ! Component: 1550 - total flux cleaned = -0.000146026 Jy ! Component: 1600 - total flux cleaned = -0.000134313 Jy ! Component: 1650 - total flux cleaned = -0.000122704 Jy ! Component: 1700 - total flux cleaned = -0.000122727 Jy ! Component: 1750 - total flux cleaned = -0.000118933 Jy ! Component: 1800 - total flux cleaned = -0.000118922 Jy ! Component: 1850 - total flux cleaned = -0.000118934 Jy ! Component: 1900 - total flux cleaned = -0.000103971 Jy ! Component: 1950 - total flux cleaned = -8.53685e-05 Jy ! Component: 2000 - total flux cleaned = -8.91118e-05 Jy ! Component: 2050 - total flux cleaned = -8.17685e-05 Jy ! Component: 2100 - total flux cleaned = -6.71819e-05 Jy ! Component: 2150 - total flux cleaned = -5.99591e-05 Jy ! Component: 2200 - total flux cleaned = -6.35954e-05 Jy ! Component: 2250 - total flux cleaned = -6.00061e-05 Jy ! Component: 2300 - total flux cleaned = -5.64339e-05 Jy ! Component: 2350 - total flux cleaned = -5.28859e-05 Jy ! Component: 2400 - total flux cleaned = -5.64253e-05 Jy ! Component: 2450 - total flux cleaned = -5.64549e-05 Jy ! Component: 2500 - total flux cleaned = -5.99327e-05 Jy ! Component: 2550 - total flux cleaned = -5.99177e-05 Jy ! Component: 2600 - total flux cleaned = -5.99084e-05 Jy ! Component: 2650 - total flux cleaned = -5.64671e-05 Jy ! Component: 2700 - total flux cleaned = -5.64709e-05 Jy ! Component: 2750 - total flux cleaned = -4.96686e-05 Jy ! Component: 2800 - total flux cleaned = -5.3073e-05 Jy ! Component: 2850 - total flux cleaned = -5.30737e-05 Jy ! Component: 2900 - total flux cleaned = -4.97217e-05 Jy ! Component: 2950 - total flux cleaned = -5.63443e-05 Jy ! Component: 3000 - total flux cleaned = -5.96579e-05 Jy ! Component: 3050 - total flux cleaned = -5.96323e-05 Jy ! Component: 3100 - total flux cleaned = -5.63464e-05 Jy ! Component: 3150 - total flux cleaned = -5.308e-05 Jy ! Component: 3200 - total flux cleaned = -4.98473e-05 Jy ! Component: 3250 - total flux cleaned = -4.98321e-05 Jy ! Component: 3300 - total flux cleaned = -5.30733e-05 Jy ! Component: 3350 - total flux cleaned = -6.2694e-05 Jy ! Component: 3400 - total flux cleaned = -7.22763e-05 Jy ! Component: 3450 - total flux cleaned = -6.90924e-05 Jy ! Component: 3500 - total flux cleaned = -7.85943e-05 Jy ! Component: 3550 - total flux cleaned = -7.85669e-05 Jy ! Component: 3600 - total flux cleaned = -6.91313e-05 Jy ! Component: 3650 - total flux cleaned = -7.53823e-05 Jy ! Component: 3700 - total flux cleaned = -8.47151e-05 Jy ! Component: 3750 - total flux cleaned = -9.40179e-05 Jy ! Component: 3800 - total flux cleaned = -8.1659e-05 Jy ! Component: 3850 - total flux cleaned = -8.78049e-05 Jy ! Component: 3900 - total flux cleaned = -8.47354e-05 Jy ! Component: 3950 - total flux cleaned = -7.56067e-05 Jy ! Component: 4000 - total flux cleaned = -7.86442e-05 Jy ! Component: 4050 - total flux cleaned = -8.7728e-05 Jy ! Total flux subtracted in 4096 components = -9.97744e-05 Jy ! Clean residual min=-0.000168 max=0.000172 Jy/beam ! Clean residual mean=-0.000000 rms=0.000056 Jy/beam ! Combined flux in latest and established models = 0.0327276 Jy keep ! Adding 305 model components to the UV plane model. ! The established model now contains 380 components and 0.0327275 Jy ![Exited script file: /opt64/bin/pima_mupet_01.dfm] wmap .//J0557+7704_C_a_map.fits ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.61 x 5.079 at -51.24 degrees (North through East) ! Clean map min=-0.00032133 max=0.027821 Jy/beam ! Writing clean map to FITS file: .//J0557+7704_C_a_map.fits wmodel .//J0557+7704_C_a_map.mod ! Writing 380 model components to file: .//J0557+7704_C_a_map.mod wobs .//J0557+7704_C_a_uvs.fits ! Writing UV FITS file: .//J0557+7704_C_a_uvs.fits wwins .//J0557+7704_C_a_map.win ! wwins: Wrote 2 windows to .//J0557+7704_C_a_map.win float peak_flux peak_flux = peak(flux,max) print "The peak flux is", peak_flux ! The peak flux is 0.0278214 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 5.57115e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.60074 0.60074 1.20148 2.40296 4.80592 9.61185 19.2237 38.4474 76.8948 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.027 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 499.383 quit ! Quitting program ! Log file .//J0557+7704_C_a_dfm.log closed on Tue Jun 5 09:34:38 2018