! Started logfile: /scr/pima/rdv96_uvs/J1223+4812_S_uvs.log on Sat Dec 21 00:23:57 2013 obs /scr/pima/rdv96_uvs/J1223+4812_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1223+4812_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J1223+4812 ! ! 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.23299e+09 8e+06 1 8e+06 ! 02 2 2.26299e+09 8e+06 1 8e+06 ! 03 3 2.35299e+09 8e+06 1 8e+06 ! 04 4 2.37299e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 7920 visibilities. select RR ! 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.4 print "taper_size =",taper_size ! taper_size = 20 ![@/home/lpetrov/bin/rdv_muppet /scr/pima/rdv96_uvs/J1223+4812_S] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 800000 float soltime2 soltime2 = 15 float soltime3 soltime3 = 1 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float old_peak float new_peak float flux_cutoff selfant "",false ! 1:BR self-cal status=correctable weight=1 ! 1:FD self-cal status=correctable weight=1 ! 1:HN self-cal status=correctable weight=1 ! 1:KP self-cal status=correctable weight=1 ! 1:LA self-cal status=correctable weight=1 ! 1:MK self-cal status=correctable weight=1 ! 1:NL self-cal status=correctable weight=1 ! 1:OV self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 1:SC self-cal status=correctable weight=1 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.400x0.400 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. ! ! Fit before self-cal, rms=1.032347Jy sigma=4.093942 ! Fit after self-cal, rms=0.756991Jy sigma=2.949834 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. print "=== Flag out IVS stations" ! === Flag out IVS stations integer lun string cfg_file lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_flag_process.csh /tmp/ff.ff" ![@/tmp/ff.ff \] ![Exited script file: /tmp/ff.ff] uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.116 mas, bmaj=5.013 mas, bpa=2.257 degrees ! Estimated noise=4.26681 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.187217 Jy ! Component: 100 - total flux cleaned = 0.230417 Jy ! Total flux subtracted in 100 components = 0.230417 Jy ! Clean residual min=-0.008396 max=0.027446 Jy/beam ! Clean residual mean=0.000038 rms=0.002601 Jy/beam ! Combined flux in latest and established models = 0.230417 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.230417 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071895Jy sigma=0.298344 ! Fit after self-cal, rms=0.071909Jy sigma=0.298293 ! Inverting map ! Added new window around map position (-6.4, -3.6). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0246044 Jy ! Component: 100 - total flux cleaned = 0.0380173 Jy ! Total flux subtracted in 100 components = 0.0380173 Jy ! Clean residual min=-0.006467 max=0.007986 Jy/beam ! Clean residual mean=0.000029 rms=0.001649 Jy/beam ! Combined flux in latest and established models = 0.268435 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 27 components and 0.268435 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.062247Jy sigma=0.246059 ! Fit after self-cal, rms=0.061473Jy sigma=0.243436 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00981366 Jy ! Component: 100 - total flux cleaned = 0.0159942 Jy ! Total flux subtracted in 100 components = 0.0159942 Jy ! Clean residual min=-0.005739 max=0.005170 Jy/beam ! Clean residual mean=0.000025 rms=0.001347 Jy/beam ! Combined flux in latest and established models = 0.284429 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 46 components and 0.284429 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059541Jy sigma=0.231508 ! Fit after self-cal, rms=0.059415Jy sigma=0.231099 ! 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=4.034 mas, bmaj=6.057 mas, bpa=2.833 degrees ! Estimated noise=2.06701 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.00801111 Jy ! Component: 100 - total flux cleaned = 0.0126519 Jy ! Component: 150 - total flux cleaned = 0.0158222 Jy ! Component: 200 - total flux cleaned = 0.0180588 Jy ! Total flux subtracted in 200 components = 0.0180588 Jy ! Clean residual min=-0.004395 max=0.007245 Jy/beam ! Clean residual mean=0.000021 rms=0.001208 Jy/beam ! Combined flux in latest and established models = 0.302488 Jy ! Performing phase self-cal ! Adding 47 model components to the UV plane model. ! The established model now contains 88 components and 0.302488 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058516Jy sigma=0.225183 ! Fit after self-cal, rms=0.058447Jy sigma=0.224909 ! Inverting map ! Added new window around map position (-27.2, -17.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00455306 Jy ! Component: 100 - total flux cleaned = 0.00548098 Jy ! Component: 150 - total flux cleaned = 0.00624957 Jy ! Component: 200 - total flux cleaned = 0.00697366 Jy ! Total flux subtracted in 200 components = 0.00697366 Jy ! Clean residual min=-0.003938 max=0.003998 Jy/beam ! Clean residual mean=0.000036 rms=0.001035 Jy/beam ! Combined flux in latest and established models = 0.309461 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 118 components and 0.309461 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057824Jy sigma=0.221974 ! Fit after self-cal, rms=0.057809Jy sigma=0.221882 ! Inverting map print "=== Finished natural weighting clean for VLBI sites ===" ! === Finished natural weighting clean for VLBI sites === gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 0.95 HN 0.98 KP 1.02 ! LA 1.17 MK 0.92 NL 0.98 OV 0.98 ! PT 1.04 SC 0.93 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.02 HN 1.05 KP 1.02 ! LA 1.05 MK 1.03 NL 1.02 OV 1.03 ! PT 1.03 SC 1.05 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.04 HN 1.03 KP 0.92 ! LA 0.99 MK 1.03 NL 1.08 OV 1.04 ! PT 1.06 SC 0.96 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.04 HN 0.94 KP 0.85 ! LA 0.84 MK 1.15 NL 1.01 OV 0.89 ! PT 0.95 SC 0.99 ! ! ! Fit before self-cal, rms=0.057809Jy sigma=0.221882 ! Fit after self-cal, rms=0.051052Jy sigma=0.187049 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.043 mas, bmaj=6.073 mas, bpa=3.06 degrees ! Estimated noise=2.06332 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.00219705 Jy ! Component: 100 - total flux cleaned = 0.00300606 Jy ! Component: 150 - total flux cleaned = 0.00368395 Jy ! Component: 200 - total flux cleaned = 0.00418834 Jy ! Total flux subtracted in 200 components = 0.00418834 Jy ! Clean residual min=-0.002343 max=0.001884 Jy/beam ! Clean residual mean=0.000005 rms=0.000528 Jy/beam ! Combined flux in latest and established models = 0.31365 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 140 components and 0.31365 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050913Jy sigma=0.186462 ! Fit after self-cal, rms=0.050930Jy sigma=0.186388 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 800000 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050930Jy sigma=0.186388 ! Fit after self-cal, rms=0.050967Jy sigma=0.186355 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.045 mas, bmaj=6.074 mas, bpa=3.049 degrees ! Estimated noise=2.06325 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000694811 Jy ! Component: 100 - total flux cleaned = 0.00119692 Jy ! Component: 150 - total flux cleaned = 0.00149813 Jy ! Component: 200 - total flux cleaned = 0.00170807 Jy ! Total flux subtracted in 200 components = 0.00170807 Jy ! Clean residual min=-0.002167 max=0.001807 Jy/beam ! Clean residual mean=0.000005 rms=0.000509 Jy/beam ! Combined flux in latest and established models = 0.315358 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 154 components and 0.315358 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050921Jy sigma=0.186208 ! Fit after self-cal, rms=0.050920Jy sigma=0.186197 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.000228268 Jy ! Component: 100 - total flux cleaned = 0.000346094 Jy ! Component: 150 - total flux cleaned = 0.00038836 Jy ! Component: 200 - total flux cleaned = 0.000427724 Jy ! Total flux subtracted in 200 components = 0.000427724 Jy ! Clean residual min=-0.002094 max=0.001825 Jy/beam ! Clean residual mean=0.000006 rms=0.000504 Jy/beam ! Combined flux in latest and established models = 0.315786 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 168 components and 0.315786 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050900Jy sigma=0.186138 ! Fit after self-cal, rms=0.050899Jy sigma=0.186135 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050899Jy sigma=0.186135 ! Fit after self-cal, rms=0.050620Jy sigma=0.184778 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.045 mas, bmaj=6.059 mas, bpa=3.245 degrees ! Estimated noise=2.06282 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000214819 Jy ! Component: 100 - total flux cleaned = -0.000261222 Jy ! Component: 150 - total flux cleaned = -0.000260772 Jy ! Component: 200 - total flux cleaned = -0.000278833 Jy ! Total flux subtracted in 200 components = -0.000278833 Jy ! Clean residual min=-0.001576 max=0.001808 Jy/beam ! Clean residual mean=0.000004 rms=0.000380 Jy/beam ! Combined flux in latest and established models = 0.315507 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 183 components and 0.315507 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050596Jy sigma=0.184715 ! Fit after self-cal, rms=0.050598Jy sigma=0.184710 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 (-15.2, -24.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00150925 Jy ! Component: 100 - total flux cleaned = 0.00191671 Jy ! Component: 150 - total flux cleaned = 0.00199011 Jy ! Component: 200 - total flux cleaned = 0.0019914 Jy ! Total flux subtracted in 200 components = 0.0019914 Jy ! Clean residual min=-0.001473 max=0.001574 Jy/beam ! Clean residual mean=0.000006 rms=0.000354 Jy/beam ! Combined flux in latest and established models = 0.317498 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 208 components and 0.317498 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050544Jy sigma=0.184515 ! Fit after self-cal, rms=0.050544Jy sigma=0.184510 ! Inverting map ! Added new window around map position (-13.2, 10.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000709591 Jy ! Component: 100 - total flux cleaned = 0.00105133 Jy ! Component: 150 - total flux cleaned = 0.0013061 Jy ! Component: 200 - total flux cleaned = 0.00148411 Jy ! Total flux subtracted in 200 components = 0.00148411 Jy ! Clean residual min=-0.001274 max=0.001204 Jy/beam ! Clean residual mean=0.000006 rms=0.000327 Jy/beam ! Combined flux in latest and established models = 0.318982 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 226 components and 0.318982 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050495Jy sigma=0.184308 ! Fit after self-cal, rms=0.050494Jy sigma=0.184301 ! 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 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050494Jy sigma=0.184301 ! Fit after self-cal, rms=0.050450Jy sigma=0.184257 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.073 mas, bmaj=9.671 mas, bpa=14.07 degrees ! Estimated noise=2.25393 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000579442 Jy ! Component: 100 - total flux cleaned = 0.000844653 Jy ! Component: 150 - total flux cleaned = 0.00103545 Jy ! Component: 200 - total flux cleaned = 0.00112651 Jy ! Total flux subtracted in 200 components = 0.00112651 Jy ! Clean residual min=-0.001283 max=0.001252 Jy/beam ! Clean residual mean=0.000022 rms=0.000339 Jy/beam ! Combined flux in latest and established models = 0.320109 Jy selfcal ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 253 components and 0.320109 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050444Jy sigma=0.184218 ! Fit after self-cal, rms=0.050443Jy sigma=0.184217 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.000167614 Jy ! Component: 100 - total flux cleaned = 0.000220618 Jy ! Component: 150 - total flux cleaned = 0.000268717 Jy ! Component: 200 - total flux cleaned = 0.000290768 Jy ! Total flux subtracted in 200 components = 0.000290768 Jy ! Clean residual min=-0.001271 max=0.001231 Jy/beam ! Clean residual mean=0.000022 rms=0.000336 Jy/beam ! Combined flux in latest and established models = 0.320399 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 269 components and 0.3204 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050440Jy sigma=0.184200 ! Fit after self-cal, rms=0.050440Jy sigma=0.184199 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "=== Finished amplitude self-cal for VLBA stations ===" ! === Finished amplitude self-cal for VLBA stations === unflag * ! Unflagging all baselines in the currently selected channels. uncalib false, false, true ! uncal: All telescope correction flags have been un-done. integer lun lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_selfant_process.csh /tmp/ff.ff" ![@/tmp/ff.ff] 1:BR ! Syntax error in line: ! 1:BR ! ^ ! Found constant: 1.000 ! Where a command or assignment expression was expected. ![Exited script file: /tmp/ff.ff] ![Exited script file: /home/lpetrov/bin/rdv_muppet] ! wmap "/scr/pima/rdv96_uvs/J1223+4812_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=4.043 mas, bmaj=6.058 mas, bpa=3.193 degrees ! Estimated noise=2.06183 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.043 x 6.058 at 3.193 degrees (North through East) ! Clean map min=-0.0012874 max=0.24409 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1223+4812_S_map.fits float peak_flux peak_flux = peak(flux,max) invert ! Inverting map float image_peak image_peak = int(10000*peak_flux)/10000 float image_rms image_rms = int(100000*imstat(rms))/100000 print "=========================================" ! ========================================= print "The image peak= ", image_peak, " rms= ", image_rms, " Jy" ! The image peak= 0.244 rms= 0.00031 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1223+4812_S_uvs.log closed on Sat Dec 21 00:24:00 2013