! Started logfile: /scr/pima/rdv96_uvs/J0147+5840_S_uvs.log on Sat Dec 21 00:21:58 2013 obs /scr/pima/rdv96_uvs/J0147+5840_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J0147+5840_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0147+5840 ! ! 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/J0147+5840_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.026511Jy sigma=2.890884 ! Fit after self-cal, rms=0.813161Jy sigma=2.253217 ! 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.417 mas, bmaj=4.551 mas, bpa=79.85 degrees ! Estimated noise=6.25922 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.143714 Jy ! Component: 100 - total flux cleaned = 0.179671 Jy ! Total flux subtracted in 100 components = 0.179671 Jy ! Clean residual min=-0.005637 max=0.014278 Jy/beam ! Clean residual mean=-0.000041 rms=0.001753 Jy/beam ! Combined flux in latest and established models = 0.179671 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 14 components and 0.179671 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.064422Jy sigma=0.174618 ! Fit after self-cal, rms=0.064439Jy sigma=0.174570 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0158611 Jy ! Component: 100 - total flux cleaned = 0.0243672 Jy ! Total flux subtracted in 100 components = 0.0243672 Jy ! Clean residual min=-0.004535 max=0.005594 Jy/beam ! Clean residual mean=-0.000023 rms=0.001208 Jy/beam ! Combined flux in latest and established models = 0.204038 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 24 components and 0.204038 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060240Jy sigma=0.158271 ! Fit after self-cal, rms=0.060269Jy sigma=0.158231 ! 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.441 mas, bmaj=5.796 mas, bpa=79.32 degrees ! Estimated noise=2.93478 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.00613692 Jy ! Component: 100 - total flux cleaned = 0.00894206 Jy ! Component: 150 - total flux cleaned = 0.0105492 Jy ! Component: 200 - total flux cleaned = 0.011489 Jy ! Total flux subtracted in 200 components = 0.011489 Jy ! Clean residual min=-0.003464 max=0.004674 Jy/beam ! Clean residual mean=-0.000012 rms=0.000976 Jy/beam ! Combined flux in latest and established models = 0.215527 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 47 components and 0.215527 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.059820Jy sigma=0.156108 ! Fit after self-cal, rms=0.059823Jy sigma=0.156100 ! 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.01 FD 0.97 HN 1.01 KP 1.01 ! LA 1.14 MK 0.94 NL 0.97 OV 0.99 ! PT 1.05 SC 0.94 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.06 HN 1.06 KP 1.02 ! LA 1.04 MK 0.99 NL 1.01 OV 1.02 ! PT 1.04 SC 1.00 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.06 HN 1.01 KP 0.91 ! LA 0.99 MK 1.04 NL 1.08 OV 1.02 ! PT 1.07 SC 1.00 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.06 HN 0.90 KP 0.83 ! LA 0.84 MK 1.17 NL 1.02 OV 0.88 ! PT 0.92 SC 1.00 ! ! ! Fit before self-cal, rms=0.059823Jy sigma=0.156100 ! Fit after self-cal, rms=0.055692Jy sigma=0.140747 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.453 mas, bmaj=5.819 mas, bpa=78.61 degrees ! Estimated noise=2.93132 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.8, 9.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00356367 Jy ! Component: 100 - total flux cleaned = 0.00388353 Jy ! Component: 150 - total flux cleaned = 0.00393307 Jy ! Component: 200 - total flux cleaned = 0.00393538 Jy ! Total flux subtracted in 200 components = 0.00393538 Jy ! Clean residual min=-0.001620 max=0.002464 Jy/beam ! Clean residual mean=0.000011 rms=0.000507 Jy/beam ! Combined flux in latest and established models = 0.219462 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 68 components and 0.219462 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055449Jy sigma=0.140000 ! Fit after self-cal, rms=0.055445Jy sigma=0.139876 ! 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.055445Jy sigma=0.139876 ! Fit after self-cal, rms=0.055417Jy sigma=0.139841 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.45 mas, bmaj=5.818 mas, bpa=78.59 degrees ! Estimated noise=2.93053 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00156412 Jy ! Component: 100 - total flux cleaned = 0.00192871 Jy ! Component: 150 - total flux cleaned = 0.00195646 Jy ! Component: 200 - total flux cleaned = 0.00190946 Jy ! Total flux subtracted in 200 components = 0.00190946 Jy ! Clean residual min=-0.001565 max=0.002018 Jy/beam ! Clean residual mean=0.000013 rms=0.000463 Jy/beam ! Combined flux in latest and established models = 0.221372 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 83 components and 0.221372 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055356Jy sigma=0.139675 ! Fit after self-cal, rms=0.055342Jy sigma=0.139646 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 (2.8, 24). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00182643 Jy ! Component: 100 - total flux cleaned = 0.00278762 Jy ! Component: 150 - total flux cleaned = 0.00319761 Jy ! Component: 200 - total flux cleaned = 0.00333519 Jy ! Total flux subtracted in 200 components = 0.00333519 Jy ! Clean residual min=-0.001472 max=0.001647 Jy/beam ! Clean residual mean=0.000022 rms=0.000419 Jy/beam ! Combined flux in latest and established models = 0.224707 Jy ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 114 components and 0.224707 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055276Jy sigma=0.139431 ! Fit after self-cal, rms=0.055274Jy sigma=0.139424 ! 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.055274Jy sigma=0.139424 ! Fit after self-cal, rms=0.055282Jy sigma=0.139005 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.443 mas, bmaj=5.81 mas, bpa=78.62 degrees ! Estimated noise=2.93014 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000471101 Jy ! Component: 100 - total flux cleaned = 0.000675531 Jy ! Component: 150 - total flux cleaned = 0.000729076 Jy ! Component: 200 - total flux cleaned = 0.000729752 Jy ! Total flux subtracted in 200 components = 0.000729752 Jy ! Clean residual min=-0.001417 max=0.001344 Jy/beam ! Clean residual mean=0.000013 rms=0.000367 Jy/beam ! Combined flux in latest and established models = 0.225437 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 134 components and 0.225437 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055263Jy sigma=0.138973 ! Fit after self-cal, rms=0.055265Jy sigma=0.138971 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.000102854 Jy ! Component: 100 - total flux cleaned = 0.00010287 Jy ! Component: 150 - total flux cleaned = 0.00010262 Jy ! Component: 200 - total flux cleaned = 0.000115899 Jy ! Total flux subtracted in 200 components = 0.000115899 Jy ! Clean residual min=-0.001421 max=0.001348 Jy/beam ! Clean residual mean=0.000013 rms=0.000365 Jy/beam ! Combined flux in latest and established models = 0.225552 Jy ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 143 components and 0.225553 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055253Jy sigma=0.138957 ! Fit after self-cal, rms=0.055253Jy sigma=0.138957 ! 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.055253Jy sigma=0.138957 ! Fit after self-cal, rms=0.055236Jy sigma=0.138926 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.182 mas, bmaj=9.913 mas, bpa=74.57 degrees ! Estimated noise=3.18436 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000108894 Jy ! Component: 100 - total flux cleaned = 0.000209688 Jy ! Component: 150 - total flux cleaned = 0.00022806 Jy ! Component: 200 - total flux cleaned = 0.000244239 Jy ! Total flux subtracted in 200 components = 0.000244239 Jy ! Clean residual min=-0.001623 max=0.001480 Jy/beam ! Clean residual mean=0.000022 rms=0.000439 Jy/beam ! Combined flux in latest and established models = 0.225797 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 161 components and 0.225797 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055233Jy sigma=0.138918 ! Fit after self-cal, rms=0.055233Jy sigma=0.138917 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.56205e-05 Jy ! Component: 100 - total flux cleaned = 6.44327e-05 Jy ! Component: 150 - total flux cleaned = 8.48637e-05 Jy ! Component: 200 - total flux cleaned = 9.72902e-05 Jy ! Total flux subtracted in 200 components = 9.72902e-05 Jy ! Clean residual min=-0.001632 max=0.001471 Jy/beam ! Clean residual mean=0.000023 rms=0.000437 Jy/beam ! Combined flux in latest and established models = 0.225894 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 177 components and 0.225894 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055232Jy sigma=0.138913 ! Fit after self-cal, rms=0.055232Jy sigma=0.138913 ! 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/J0147+5840_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=4.441 mas, bmaj=5.808 mas, bpa=78.63 degrees ! Estimated noise=2.93012 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.441 x 5.808 at 78.63 degrees (North through East) ! Clean map min=-0.0014241 max=0.19198 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J0147+5840_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.1919 rms= 0.00036 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J0147+5840_S_uvs.log closed on Sat Dec 21 00:22:00 2013