! Started logfile: /scr/pima/rdv96_uvs/J2123+4614_S_uvs.log on Sat Dec 21 00:25:52 2013 obs /scr/pima/rdv96_uvs/J2123+4614_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J2123+4614_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.922222 visibilities/baseline/integration-bin. ! Found source: J2123+4614 ! ! 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 7304 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/J2123+4614_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=0.996446Jy sigma=1.866165 ! Fit after self-cal, rms=0.888587Jy sigma=1.613244 ! 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=4.616 mas, bmaj=6.161 mas, bpa=23.05 degrees ! Estimated noise=11.0962 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.0926153 Jy ! Component: 100 - total flux cleaned = 0.124561 Jy ! Total flux subtracted in 100 components = 0.124561 Jy ! Clean residual min=-0.005521 max=0.013947 Jy/beam ! Clean residual mean=-0.000030 rms=0.001858 Jy/beam ! Combined flux in latest and established models = 0.124561 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 20 components and 0.124561 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059062Jy sigma=0.110580 ! Fit after self-cal, rms=0.059125Jy sigma=0.110496 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0153918 Jy ! Component: 100 - total flux cleaned = 0.0239678 Jy ! Total flux subtracted in 100 components = 0.0239678 Jy ! Clean residual min=-0.003724 max=0.004942 Jy/beam ! Clean residual mean=-0.000006 rms=0.001047 Jy/beam ! Combined flux in latest and established models = 0.148529 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 47 components and 0.148529 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055350Jy sigma=0.097560 ! Fit after self-cal, rms=0.055375Jy sigma=0.097516 ! 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=5.789 mas, bmaj=7.593 mas, bpa=22.35 degrees ! Estimated noise=4.8339 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.00798337 Jy ! Component: 100 - total flux cleaned = 0.0127035 Jy ! Component: 150 - total flux cleaned = 0.0156694 Jy ! Component: 200 - total flux cleaned = 0.0175608 Jy ! Total flux subtracted in 200 components = 0.0175608 Jy ! Clean residual min=-0.002438 max=0.003657 Jy/beam ! Clean residual mean=0.000015 rms=0.000795 Jy/beam ! Combined flux in latest and established models = 0.16609 Jy ! Performing phase self-cal ! Adding 67 model components to the UV plane model. ! The established model now contains 111 components and 0.16609 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054571Jy sigma=0.094367 ! Fit after self-cal, rms=0.054602Jy sigma=0.094353 ! 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 1.04 FD 0.98 HN 0.99 KP 1.03 ! LA 1.17 MK 0.92 NL 1.04 OV 1.00 ! PT 1.03 SC 0.93 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.07 HN 1.06 KP 1.04 ! LA 1.05 MK 1.01 NL 1.06 OV 1.04 ! PT 1.04 SC 0.93 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.08 HN 0.99 KP 0.89 ! LA 0.97 MK 1.06 NL 1.08 OV 1.01 ! PT 1.05 SC 0.97 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 1.06 HN 0.93 KP 0.83 ! LA 0.79 MK 1.11 NL 1.00 OV 0.89 ! PT 0.92 SC 0.98 ! ! ! Fit before self-cal, rms=0.054602Jy sigma=0.094353 ! Fit after self-cal, rms=0.051477Jy sigma=0.085607 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=5.77 mas, bmaj=7.582 mas, bpa=22.39 degrees ! Estimated noise=4.81382 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.000117398 Jy ! Component: 100 - total flux cleaned = 0.00021665 Jy ! Component: 150 - total flux cleaned = 0.000258873 Jy ! Component: 200 - total flux cleaned = 0.000278131 Jy ! Total flux subtracted in 200 components = 0.000278131 Jy ! Clean residual min=-0.001449 max=0.001574 Jy/beam ! Clean residual mean=0.000019 rms=0.000373 Jy/beam ! Combined flux in latest and established models = 0.166368 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 122 components and 0.166368 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051442Jy sigma=0.085586 ! Fit after self-cal, rms=0.051463Jy sigma=0.085561 ! 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.051463Jy sigma=0.085561 ! Fit after self-cal, rms=0.051231Jy sigma=0.085557 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.759 mas, bmaj=7.572 mas, bpa=22.41 degrees ! Estimated noise=4.80318 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 3.76685e-05 Jy ! Component: 100 - total flux cleaned = 0.000136671 Jy ! Component: 150 - total flux cleaned = 0.000171717 Jy ! Component: 200 - total flux cleaned = 0.000201926 Jy ! Total flux subtracted in 200 components = 0.000201926 Jy ! Clean residual min=-0.001407 max=0.001545 Jy/beam ! Clean residual mean=0.000018 rms=0.000367 Jy/beam ! Combined flux in latest and established models = 0.16657 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 123 components and 0.16657 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051210Jy sigma=0.085543 ! Fit after self-cal, rms=0.051212Jy sigma=0.085542 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 = -1.77252e-05 Jy ! Component: 100 - total flux cleaned = 1.08593e-05 Jy ! Component: 150 - total flux cleaned = 2.32749e-05 Jy ! Component: 200 - total flux cleaned = 3.51376e-05 Jy ! Total flux subtracted in 200 components = 3.51376e-05 Jy ! Clean residual min=-0.001385 max=0.001551 Jy/beam ! Clean residual mean=0.000018 rms=0.000366 Jy/beam ! Combined flux in latest and established models = 0.166605 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 127 components and 0.166605 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051200Jy sigma=0.085535 ! Fit after self-cal, rms=0.051202Jy sigma=0.085535 ! 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.051202Jy sigma=0.085535 ! Fit after self-cal, rms=0.050656Jy sigma=0.085360 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.749 mas, bmaj=7.502 mas, bpa=22.11 degrees ! Estimated noise=4.78152 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 2.51175e-05 Jy ! Component: 100 - total flux cleaned = 9.68389e-06 Jy ! Component: 150 - total flux cleaned = 2.20388e-05 Jy ! Component: 200 - total flux cleaned = 4.35055e-05 Jy ! Total flux subtracted in 200 components = 4.35055e-05 Jy ! Clean residual min=-0.001224 max=0.001366 Jy/beam ! Clean residual mean=0.000016 rms=0.000345 Jy/beam ! Combined flux in latest and established models = 0.166648 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 130 components and 0.166648 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050642Jy sigma=0.085352 ! Fit after self-cal, rms=0.050649Jy sigma=0.085349 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 = 2.08007e-06 Jy ! Component: 100 - total flux cleaned = 1.18184e-05 Jy ! Component: 150 - total flux cleaned = 2.1219e-05 Jy ! Component: 200 - total flux cleaned = 3.84258e-05 Jy ! Total flux subtracted in 200 components = 3.84258e-05 Jy ! Clean residual min=-0.001240 max=0.001361 Jy/beam ! Clean residual mean=0.000016 rms=0.000344 Jy/beam ! Combined flux in latest and established models = 0.166687 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 130 components and 0.166687 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050641Jy sigma=0.085346 ! Fit after self-cal, rms=0.050642Jy sigma=0.085345 ! 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.050642Jy sigma=0.085345 ! Fit after self-cal, rms=0.050433Jy sigma=0.085344 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.871 mas, bmaj=10.48 mas, bpa=21.51 degrees ! Estimated noise=4.55406 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 8.20009e-05 Jy ! Component: 100 - total flux cleaned = 7.47789e-05 Jy ! Component: 150 - total flux cleaned = 6.11019e-05 Jy ! Component: 200 - total flux cleaned = 4.90208e-05 Jy ! Total flux subtracted in 200 components = 4.90208e-05 Jy ! Clean residual min=-0.001080 max=0.001247 Jy/beam ! Clean residual mean=0.000025 rms=0.000343 Jy/beam ! Combined flux in latest and established models = 0.166736 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 140 components and 0.166736 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050434Jy sigma=0.085340 ! Fit after self-cal, rms=0.050435Jy sigma=0.085340 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.09865e-05 Jy ! Component: 100 - total flux cleaned = 2.4409e-05 Jy ! Component: 150 - total flux cleaned = 2.0029e-05 Jy ! Component: 200 - total flux cleaned = 1.6052e-05 Jy ! Total flux subtracted in 200 components = 1.6052e-05 Jy ! Clean residual min=-0.001078 max=0.001253 Jy/beam ! Clean residual mean=0.000025 rms=0.000343 Jy/beam ! Combined flux in latest and established models = 0.166752 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 143 components and 0.166752 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050436Jy sigma=0.085338 ! Fit after self-cal, rms=0.050436Jy sigma=0.085338 ! 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/J2123+4614_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=5.74 mas, bmaj=7.481 mas, bpa=22.02 degrees ! Estimated noise=4.77111 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 5.74 x 7.481 at 22.02 degrees (North through East) ! Clean map min=-0.0011944 max=0.12348 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J2123+4614_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.1234 rms= 0.00034 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J2123+4614_S_uvs.log closed on Sat Dec 21 00:25:54 2013