! Started logfile: /scr/pima/rdv96_uvs/J1223+4611_S_uvs.log on Sat Dec 21 00:23:54 2013 obs /scr/pima/rdv96_uvs/J1223+4611_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1223+4611_S_uva.fits ! AN table 1: 22 integrations on 36 of 36 possible baselines. ! AN table 2: 22 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.987654 visibilities/baseline/integration-bin. ! Found source: J1223+4611 ! ! 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 7040 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+4611_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: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 ! 2:BR self-cal status=correctable weight=1 ! 2:FD self-cal status=correctable weight=1 ! 2:HN self-cal status=correctable weight=1 ! 2:KP self-cal status=correctable weight=1 ! 2:LA self-cal status=correctable weight=1 ! 2:MK self-cal status=correctable weight=1 ! 2:NL self-cal status=correctable weight=1 ! 2:OV self-cal status=correctable weight=1 ! 2:PT self-cal status=correctable weight=1 ! 2: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.006300Jy sigma=1.636454 ! Fit after self-cal, rms=0.897117Jy sigma=1.439279 ! 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.997 mas, bmaj=4.954 mas, bpa=-33.29 degrees ! Estimated noise=11.3006 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.0837641 Jy ! Component: 100 - total flux cleaned = 0.107605 Jy ! Total flux subtracted in 100 components = 0.107605 Jy ! Clean residual min=-0.005528 max=0.009127 Jy/beam ! Clean residual mean=-0.000005 rms=0.001516 Jy/beam ! Combined flux in latest and established models = 0.107605 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.107605 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058617Jy sigma=0.087092 ! Fit after self-cal, rms=0.058655Jy sigma=0.087007 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00935451 Jy ! Component: 100 - total flux cleaned = 0.0140362 Jy ! Total flux subtracted in 100 components = 0.0140362 Jy ! Clean residual min=-0.005582 max=0.006176 Jy/beam ! Clean residual mean=-0.000005 rms=0.001293 Jy/beam ! Combined flux in latest and established models = 0.121641 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 30 components and 0.121641 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057351Jy sigma=0.083580 ! Fit after self-cal, rms=0.057383Jy sigma=0.083562 ! 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.258 mas, bmaj=5.989 mas, bpa=-26.11 degrees ! Estimated noise=5.45392 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 (-14, 10). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00710789 Jy ! Component: 100 - total flux cleaned = 0.011041 Jy ! Component: 150 - total flux cleaned = 0.0138109 Jy ! Component: 200 - total flux cleaned = 0.0158571 Jy ! Total flux subtracted in 200 components = 0.0158571 Jy ! Clean residual min=-0.002580 max=0.002370 Jy/beam ! Clean residual mean=-0.000028 rms=0.000683 Jy/beam ! Combined flux in latest and established models = 0.137498 Jy ! Performing phase self-cal ! Adding 46 model components to the UV plane model. ! The established model now contains 75 components and 0.137498 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056593Jy sigma=0.081575 ! Fit after self-cal, rms=0.056550Jy sigma=0.081437 ! 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.03 FD 0.97 KP 0.97 LA 1.20 ! MK 0.80 NL 1.00 OV 1.01 PT 1.02 ! SC 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.96 FD 0.97 HN 0.95 KP 1.05 ! LA 1.12 MK 0.89 NL 1.00 OV 0.96 ! PT 1.04 SC 0.87 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.04 KP 0.98 LA 1.03 ! MK 0.99 NL 1.03 OV 0.98 PT 1.01 ! SC 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.01 FD 1.04 HN 1.12 KP 1.07 ! LA 1.03 MK 1.03 NL 1.01 OV 1.01 ! PT 0.98 SC 0.90 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.11 KP 0.90 LA 0.98 ! MK 1.01 NL 1.03 OV 1.05 PT 1.04 ! SC 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.03 FD 1.09 HN 1.06 KP 0.92 ! LA 0.98 MK 1.01 NL 1.06 OV 1.10 ! PT 1.01 SC 0.86 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.09 KP 0.84 LA 0.81 ! MK 1.18 NL 1.02 OV 0.90 PT 0.87 ! SC 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.02 FD 1.09 HN 0.90 KP 0.87 ! LA 0.85 MK 1.05 NL 1.06 OV 0.86 ! PT 0.94 SC 1.02 ! ! ! Fit before self-cal, rms=0.056550Jy sigma=0.081437 ! Fit after self-cal, rms=0.053608Jy sigma=0.077915 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=5.248 mas, bmaj=5.931 mas, bpa=-25.21 degrees ! Estimated noise=5.37401 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.00157491 Jy ! Component: 100 - total flux cleaned = 0.00199291 Jy ! Component: 150 - total flux cleaned = 0.00205176 Jy ! Component: 200 - total flux cleaned = 0.00202544 Jy ! Total flux subtracted in 200 components = 0.00202544 Jy ! Clean residual min=-0.001496 max=0.001767 Jy/beam ! Clean residual mean=-0.000009 rms=0.000421 Jy/beam ! Combined flux in latest and established models = 0.139524 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 96 components and 0.139524 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053555Jy sigma=0.077805 ! Fit after self-cal, rms=0.053615Jy sigma=0.077769 ! 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.053615Jy sigma=0.077769 ! Fit after self-cal, rms=0.053578Jy sigma=0.077765 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.246 mas, bmaj=5.931 mas, bpa=-25.39 degrees ! Estimated noise=5.37053 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000464478 Jy ! Component: 100 - total flux cleaned = 0.00056326 Jy ! Component: 150 - total flux cleaned = 0.000563803 Jy ! Component: 200 - total flux cleaned = 0.000583235 Jy ! Total flux subtracted in 200 components = 0.000583235 Jy ! Clean residual min=-0.001442 max=0.001588 Jy/beam ! Clean residual mean=-0.000011 rms=0.000409 Jy/beam ! Combined flux in latest and established models = 0.140107 Jy selfcal ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 113 components and 0.140107 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053554Jy sigma=0.077732 ! Fit after self-cal, rms=0.053557Jy sigma=0.077730 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.000218801 Jy ! Component: 100 - total flux cleaned = 0.0002187 Jy ! Component: 150 - total flux cleaned = 0.000219215 Jy ! Component: 200 - total flux cleaned = 0.000235966 Jy ! Total flux subtracted in 200 components = 0.000235966 Jy ! Clean residual min=-0.001417 max=0.001545 Jy/beam ! Clean residual mean=-0.000010 rms=0.000405 Jy/beam ! Combined flux in latest and established models = 0.140343 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 125 components and 0.140343 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053542Jy sigma=0.077713 ! Fit after self-cal, rms=0.053544Jy sigma=0.077712 ! 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.053544Jy sigma=0.077712 ! Fit after self-cal, rms=0.053518Jy sigma=0.077710 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.241 mas, bmaj=5.937 mas, bpa=-25.62 degrees ! Estimated noise=5.36711 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 5.82361e-05 Jy ! Component: 100 - total flux cleaned = 7.56505e-05 Jy ! Component: 150 - total flux cleaned = 5.90763e-05 Jy ! Component: 200 - total flux cleaned = 7.46714e-05 Jy ! Total flux subtracted in 200 components = 7.46714e-05 Jy ! Clean residual min=-0.001394 max=0.001566 Jy/beam ! Clean residual mean=-0.000011 rms=0.000400 Jy/beam ! Combined flux in latest and established models = 0.140417 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 132 components and 0.140417 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053505Jy sigma=0.077695 ! Fit after self-cal, rms=0.053507Jy sigma=0.077694 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.35408e-05 Jy ! Component: 100 - total flux cleaned = 8.39744e-05 Jy ! Component: 150 - total flux cleaned = 9.89721e-05 Jy ! Component: 200 - total flux cleaned = 9.8717e-05 Jy ! Total flux subtracted in 200 components = 9.8717e-05 Jy ! Clean residual min=-0.001381 max=0.001555 Jy/beam ! Clean residual mean=-0.000011 rms=0.000397 Jy/beam ! Combined flux in latest and established models = 0.140516 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 137 components and 0.140516 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053497Jy sigma=0.077684 ! Fit after self-cal, rms=0.053499Jy sigma=0.077683 ! 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.053499Jy sigma=0.077683 ! Fit after self-cal, rms=0.053481Jy sigma=0.077682 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=9.226 mas, bmaj=9.683 mas, bpa=21.72 degrees ! Estimated noise=5.5181 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000523321 Jy ! Component: 100 - total flux cleaned = 0.000540486 Jy ! Component: 150 - total flux cleaned = 0.000516809 Jy ! Component: 200 - total flux cleaned = 0.000516701 Jy ! Total flux subtracted in 200 components = 0.000516701 Jy ! Clean residual min=-0.001444 max=0.001520 Jy/beam ! Clean residual mean=-0.000015 rms=0.000417 Jy/beam ! Combined flux in latest and established models = 0.141033 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 145 components and 0.141033 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053489Jy sigma=0.077674 ! Fit after self-cal, rms=0.053486Jy sigma=0.077672 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.000119264 Jy ! Component: 100 - total flux cleaned = 0.000129644 Jy ! Component: 150 - total flux cleaned = 0.000139155 Jy ! Component: 200 - total flux cleaned = 0.000155927 Jy ! Total flux subtracted in 200 components = 0.000155927 Jy ! Clean residual min=-0.001446 max=0.001478 Jy/beam ! Clean residual mean=-0.000014 rms=0.000413 Jy/beam ! Combined flux in latest and established models = 0.141189 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 156 components and 0.141189 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053490Jy sigma=0.077671 ! Fit after self-cal, rms=0.053489Jy sigma=0.077670 ! 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+4611_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=5.238 mas, bmaj=5.941 mas, bpa=-25.79 degrees ! Estimated noise=5.36401 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 5.238 x 5.941 at -25.79 degrees (North through East) ! Clean map min=-0.0014001 max=0.10705 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1223+4611_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.107 rms= 0.00039 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1223+4611_S_uvs.log closed on Sat Dec 21 00:23:56 2013