! Started logfile: /d2/scr/pima/rdv96_uvs/J2123+4614_X_uvs.log on Fri Dec 20 23:46:54 2013 obs /d2/scr/pima/rdv96_uvs/J2123+4614_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J2123+4614_X_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.988889 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 8.40599e+09 8e+06 1 8e+06 ! 02 2 8.47599e+09 8e+06 1 8e+06 ! 03 3 8.79099e+09 8e+06 1 8e+06 ! 04 4 8.89599e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 7832 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.2 print "taper_size =",taper_size ! taper_size = 70 ![@/home/lpetrov/bin/rdv_muppet /d2/scr/pima/rdv96_uvs/J2123+4614_X] 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.200x0.200 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.009187Jy sigma=1.580474 ! Fit after self-cal, rms=0.901621Jy sigma=1.388921 ! 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=1.051 mas, bmaj=1.166 mas, bpa=5.645 degrees ! Estimated noise=11.2565 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.0755584 Jy ! Component: 100 - total flux cleaned = 0.0961023 Jy ! Total flux subtracted in 100 components = 0.0961023 Jy ! Clean residual min=-0.004021 max=0.008984 Jy/beam ! Clean residual mean=0.000029 rms=0.001069 Jy/beam ! Combined flux in latest and established models = 0.0961023 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.0961023 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056045Jy sigma=0.081177 ! Fit after self-cal, rms=0.056082Jy sigma=0.081158 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0101825 Jy ! Component: 100 - total flux cleaned = 0.0161446 Jy ! Total flux subtracted in 100 components = 0.0161446 Jy ! Clean residual min=-0.003422 max=0.004035 Jy/beam ! Clean residual mean=0.000014 rms=0.000795 Jy/beam ! Combined flux in latest and established models = 0.112247 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 20 components and 0.112247 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053825Jy sigma=0.075160 ! Fit after self-cal, rms=0.053857Jy sigma=0.075139 ! 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.408 mas, bmaj=1.542 mas, bpa=6.111 degrees ! Estimated noise=5.44384 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.00612156 Jy ! Component: 100 - total flux cleaned = 0.00937075 Jy ! Component: 150 - total flux cleaned = 0.0113076 Jy ! Component: 200 - total flux cleaned = 0.0124788 Jy ! Total flux subtracted in 200 components = 0.0124788 Jy ! Clean residual min=-0.002512 max=0.002303 Jy/beam ! Clean residual mean=0.000009 rms=0.000569 Jy/beam ! Combined flux in latest and established models = 0.124726 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 33 components and 0.124726 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053357Jy sigma=0.073632 ! Fit after self-cal, rms=0.053382Jy sigma=0.073625 ! 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.97 FD 0.99 HN 1.03 KP 1.00 ! LA 1.05 MK 1.02 NL 0.97 OV 0.98 ! PT 0.96 SC 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.01 HN 1.06 KP 0.94 ! LA 0.99 MK 1.04 NL 0.98 OV 0.97 ! PT 0.98 SC 1.01 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.01 HN 1.02 KP 0.85 ! LA 1.06 MK 1.09 NL 1.02 OV 1.04 ! PT 0.99 SC 0.99 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.05 HN 1.04 KP 0.90 ! LA 1.09 MK 1.05 NL 1.02 OV 1.01 ! PT 1.02 SC 1.05 ! ! ! Fit before self-cal, rms=0.053382Jy sigma=0.073625 ! Fit after self-cal, rms=0.054328Jy sigma=0.072624 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.424 mas, bmaj=1.557 mas, bpa=6.98 degrees ! Estimated noise=5.46305 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 = -2.66097e-06 Jy ! Component: 100 - total flux cleaned = -4.69232e-05 Jy ! Component: 150 - total flux cleaned = -2.48494e-05 Jy ! Component: 200 - total flux cleaned = -2.46232e-05 Jy ! Total flux subtracted in 200 components = -2.46232e-05 Jy ! Clean residual min=-0.001578 max=0.001602 Jy/beam ! Clean residual mean=0.000004 rms=0.000399 Jy/beam ! Combined flux in latest and established models = 0.124701 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 39 components and 0.124701 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054316Jy sigma=0.072617 ! Fit after self-cal, rms=0.054353Jy sigma=0.072602 ! 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.054353Jy sigma=0.072602 ! Fit after self-cal, rms=0.054297Jy sigma=0.072601 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.424 mas, bmaj=1.557 mas, bpa=7.05 degrees ! Estimated noise=5.45509 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000106903 Jy ! Component: 100 - total flux cleaned = -0.000105842 Jy ! Component: 150 - total flux cleaned = -0.000105504 Jy ! Component: 200 - total flux cleaned = -0.000112596 Jy ! Total flux subtracted in 200 components = -0.000112596 Jy ! Clean residual min=-0.001559 max=0.001597 Jy/beam ! Clean residual mean=0.000004 rms=0.000399 Jy/beam ! Combined flux in latest and established models = 0.124588 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 43 components and 0.124589 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054290Jy sigma=0.072598 ! Fit after self-cal, rms=0.054290Jy sigma=0.072597 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.81404e-05 Jy ! Component: 100 - total flux cleaned = 2.80428e-05 Jy ! Component: 150 - total flux cleaned = 2.10024e-05 Jy ! Component: 200 - total flux cleaned = 2.12301e-05 Jy ! Total flux subtracted in 200 components = 2.12301e-05 Jy ! Clean residual min=-0.001557 max=0.001599 Jy/beam ! Clean residual mean=0.000004 rms=0.000398 Jy/beam ! Combined flux in latest and established models = 0.12461 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 44 components and 0.12461 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054285Jy sigma=0.072595 ! Fit after self-cal, rms=0.054284Jy sigma=0.072594 ! 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.054284Jy sigma=0.072594 ! Fit after self-cal, rms=0.054172Jy sigma=0.072459 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.421 mas, bmaj=1.55 mas, bpa=7.47 degrees ! Estimated noise=5.44077 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -8.70586e-05 Jy ! Component: 100 - total flux cleaned = -7.58387e-05 Jy ! Component: 150 - total flux cleaned = -9.60925e-05 Jy ! Component: 200 - total flux cleaned = -0.000105372 Jy ! Total flux subtracted in 200 components = -0.000105372 Jy ! Clean residual min=-0.001522 max=0.001515 Jy/beam ! Clean residual mean=0.000003 rms=0.000374 Jy/beam ! Combined flux in latest and established models = 0.124504 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 46 components and 0.124504 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054162Jy sigma=0.072456 ! Fit after self-cal, rms=0.054169Jy sigma=0.072454 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.3535e-05 Jy ! Component: 100 - total flux cleaned = -2.36091e-05 Jy ! Component: 150 - total flux cleaned = -2.35923e-05 Jy ! Component: 200 - total flux cleaned = -3.13465e-05 Jy ! Total flux subtracted in 200 components = -3.13465e-05 Jy ! Clean residual min=-0.001520 max=0.001513 Jy/beam ! Clean residual mean=0.000003 rms=0.000374 Jy/beam ! Combined flux in latest and established models = 0.124473 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 47 components and 0.124473 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054163Jy sigma=0.072452 ! Fit after self-cal, rms=0.054162Jy sigma=0.072452 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 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.054162Jy sigma=0.072452 ! Fit after self-cal, rms=0.054036Jy sigma=0.072451 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.515 mas, bmaj=2.634 mas, bpa=29.84 degrees ! Estimated noise=5.47899 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.18836e-05 Jy ! Component: 100 - total flux cleaned = 1.28619e-05 Jy ! Component: 150 - total flux cleaned = 3.98386e-05 Jy ! Component: 200 - total flux cleaned = 6.25331e-05 Jy ! Total flux subtracted in 200 components = 6.25331e-05 Jy ! Clean residual min=-0.001725 max=0.001565 Jy/beam ! Clean residual mean=0.000004 rms=0.000442 Jy/beam ! Combined flux in latest and established models = 0.124536 Jy selfcal ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 47 components and 0.124536 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054038Jy sigma=0.072450 ! Fit after self-cal, rms=0.054035Jy sigma=0.072449 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.42008e-05 Jy ! Component: 100 - total flux cleaned = -5.56196e-06 Jy ! Component: 150 - total flux cleaned = 1.3202e-05 Jy ! Component: 200 - total flux cleaned = 2.53906e-05 Jy ! Total flux subtracted in 200 components = 2.53906e-05 Jy ! Clean residual min=-0.001716 max=0.001557 Jy/beam ! Clean residual mean=0.000004 rms=0.000441 Jy/beam ! Combined flux in latest and established models = 0.124561 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 48 components and 0.124561 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054037Jy sigma=0.072449 ! Fit after self-cal, rms=0.054034Jy sigma=0.072449 ! 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 "/d2/scr/pima/rdv96_uvs/J2123+4614_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.42 mas, bmaj=1.547 mas, bpa=8.109 degrees ! Estimated noise=5.43128 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.42 x 1.547 at 8.109 degrees (North through East) ! Clean map min=-0.0014617 max=0.10283 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J2123+4614_X_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.1028 rms= 0.00037 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J2123+4614_X_uvs.log closed on Fri Dec 20 23:46:56 2013