! Started logfile: /d2/scr/pima/rdv96_uvs/J1639+1632_X_uvs.log on Fri Dec 20 23:46:03 2013 obs /d2/scr/pima/rdv96_uvs/J1639+1632_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J1639+1632_X_uva.fits ! AN table 1: 22 integrations on 45 of 45 possible baselines. ! AN table 2: 22 integrations on 36 of 36 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J1639+1632 ! ! 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 7128 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/J1639+1632_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 ! 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: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.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.007442Jy sigma=1.147794 ! Fit after self-cal, rms=0.922700Jy sigma=1.049909 ! 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=0.7522 mas, bmaj=1.743 mas, bpa=-2.19 degrees ! Estimated noise=13.6508 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.0612362 Jy ! Component: 100 - total flux cleaned = 0.074723 Jy ! Total flux subtracted in 100 components = 0.074723 Jy ! Clean residual min=-0.003725 max=0.004345 Jy/beam ! Clean residual mean=-0.000004 rms=0.000920 Jy/beam ! Combined flux in latest and established models = 0.074723 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.074723 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055673Jy sigma=0.058389 ! Fit after self-cal, rms=0.055341Jy sigma=0.058074 ! 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=0.9704 mas, bmaj=2.03 mas, bpa=-2.324 degrees ! Estimated noise=7.58735 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.00645193 Jy ! Component: 100 - total flux cleaned = 0.00960268 Jy ! Component: 150 - total flux cleaned = 0.0114361 Jy ! Component: 200 - total flux cleaned = 0.0125446 Jy ! Total flux subtracted in 200 components = 0.0125446 Jy ! Clean residual min=-0.003123 max=0.003396 Jy/beam ! Clean residual mean=-0.000005 rms=0.000651 Jy/beam ! Combined flux in latest and established models = 0.0872675 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 28 components and 0.0872675 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054805Jy sigma=0.056963 ! Fit after self-cal, rms=0.054843Jy sigma=0.056952 ! 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 1.01 HN 1.00 KP 1.04 ! LA 1.04 MK 0.95 NL 1.06 OV 0.99 ! PT 0.95 SC 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.99 FD 0.94 HN 1.02 KP 0.98 ! LA 1.04 MK 0.98 OV 0.98 PT 0.99 ! SC 1.12 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 0.97 HN 1.03 KP 1.00 ! LA 1.02 MK 1.04 NL 1.03 OV 1.00 ! PT 0.94 SC 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.07 FD 1.05 HN 0.97 KP 0.95 ! LA 0.95 MK 1.03 OV 1.02 PT 0.93 ! SC 1.00 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 0.94 HN 1.09 KP 0.89 ! LA 1.06 MK 0.92 NL 1.01 OV 1.05 ! PT 1.03 SC 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.01 FD 0.98 HN 1.03 KP 0.83 ! LA 1.11 MK 1.12 OV 1.03 PT 0.97 ! SC 0.92 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 1.06 HN 1.07 KP 0.87 ! LA 1.06 MK 1.04 NL 1.08 OV 1.00 ! PT 0.97 SC 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.02 FD 1.03 HN 0.96 KP 0.82 ! LA 1.11 MK 1.00 OV 1.02 PT 0.95 ! SC 1.01 ! ! ! Fit before self-cal, rms=0.054843Jy sigma=0.056952 ! Fit after self-cal, rms=0.054917Jy sigma=0.056359 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.973 mas, bmaj=2.041 mas, bpa=-2.29 degrees ! Estimated noise=7.54815 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.2, -3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00276351 Jy ! Component: 100 - total flux cleaned = 0.00378475 Jy ! Component: 150 - total flux cleaned = 0.00386934 Jy ! Component: 200 - total flux cleaned = 0.00383698 Jy ! Total flux subtracted in 200 components = 0.00383698 Jy ! Clean residual min=-0.002001 max=0.001972 Jy/beam ! Clean residual mean=-0.000003 rms=0.000469 Jy/beam ! Combined flux in latest and established models = 0.0911045 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 47 components and 0.0911045 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054779Jy sigma=0.056169 ! Fit after self-cal, rms=0.054834Jy sigma=0.056128 ! 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.054834Jy sigma=0.056128 ! Fit after self-cal, rms=0.054567Jy sigma=0.056119 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.97 mas, bmaj=2.034 mas, bpa=-2.272 degrees ! Estimated noise=7.53705 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00123061 Jy ! Component: 100 - total flux cleaned = 0.00160657 Jy ! Component: 150 - total flux cleaned = 0.00160707 Jy ! Component: 200 - total flux cleaned = 0.00162626 Jy ! Total flux subtracted in 200 components = 0.00162626 Jy ! Clean residual min=-0.001983 max=0.001874 Jy/beam ! Clean residual mean=-0.000003 rms=0.000445 Jy/beam ! Combined flux in latest and established models = 0.0927308 Jy selfcal ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 61 components and 0.0927308 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054534Jy sigma=0.056074 ! Fit after self-cal, rms=0.054526Jy sigma=0.056067 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.000469697 Jy ! Component: 100 - total flux cleaned = 0.000508729 Jy ! Component: 150 - total flux cleaned = 0.000475161 Jy ! Component: 200 - total flux cleaned = 0.000460534 Jy ! Total flux subtracted in 200 components = 0.000460534 Jy ! Clean residual min=-0.001976 max=0.001833 Jy/beam ! Clean residual mean=-0.000002 rms=0.000438 Jy/beam ! Combined flux in latest and established models = 0.0931913 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 73 components and 0.0931913 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054513Jy sigma=0.056051 ! Fit after self-cal, rms=0.054512Jy sigma=0.056049 ! 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.054512Jy sigma=0.056049 ! Fit after self-cal, rms=0.054546Jy sigma=0.056039 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9696 mas, bmaj=2.032 mas, bpa=-2.225 degrees ! Estimated noise=7.54833 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00058936 Jy ! Component: 100 - total flux cleaned = 0.000809107 Jy ! Component: 150 - total flux cleaned = 0.000848662 Jy ! Component: 200 - total flux cleaned = 0.000848484 Jy ! Total flux subtracted in 200 components = 0.000848484 Jy ! Clean residual min=-0.001973 max=0.001781 Jy/beam ! Clean residual mean=-0.000002 rms=0.000432 Jy/beam ! Combined flux in latest and established models = 0.0940398 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 79 components and 0.0940398 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054537Jy sigma=0.056028 ! Fit after self-cal, rms=0.054536Jy sigma=0.056026 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.000246433 Jy ! Component: 100 - total flux cleaned = 0.000258147 Jy ! Component: 150 - total flux cleaned = 0.000257792 Jy ! Component: 200 - total flux cleaned = 0.000257727 Jy ! Total flux subtracted in 200 components = 0.000257727 Jy ! Clean residual min=-0.001960 max=0.001770 Jy/beam ! Clean residual mean=-0.000002 rms=0.000429 Jy/beam ! Combined flux in latest and established models = 0.0942975 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 81 components and 0.0942975 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054531Jy sigma=0.056021 ! Fit after self-cal, rms=0.054531Jy sigma=0.056021 ! 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.054531Jy sigma=0.056021 ! Fit after self-cal, rms=0.054518Jy sigma=0.056013 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.336 mas, bmaj=3.056 mas, bpa=-3.641 degrees ! Estimated noise=8.49588 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000355445 Jy ! Component: 100 - total flux cleaned = 0.00041679 Jy ! Component: 150 - total flux cleaned = 0.000453842 Jy ! Component: 200 - total flux cleaned = 0.000453838 Jy ! Total flux subtracted in 200 components = 0.000453838 Jy ! Clean residual min=-0.002161 max=0.001904 Jy/beam ! Clean residual mean=-0.000005 rms=0.000515 Jy/beam ! Combined flux in latest and established models = 0.0947514 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 94 components and 0.0947514 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054518Jy sigma=0.056010 ! Fit after self-cal, rms=0.054516Jy sigma=0.056009 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.000163572 Jy ! Component: 100 - total flux cleaned = 0.000184621 Jy ! Component: 150 - total flux cleaned = 0.000184964 Jy ! Component: 200 - total flux cleaned = 0.000190565 Jy ! Total flux subtracted in 200 components = 0.000190565 Jy ! Clean residual min=-0.002134 max=0.001890 Jy/beam ! Clean residual mean=-0.000005 rms=0.000512 Jy/beam ! Combined flux in latest and established models = 0.094942 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 101 components and 0.094942 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054517Jy sigma=0.056009 ! Fit after self-cal, rms=0.054517Jy sigma=0.056009 ! 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/J1639+1632_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=0.9688 mas, bmaj=2.03 mas, bpa=-2.191 degrees ! Estimated noise=7.55596 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9688 x 2.03 at -2.191 degrees (North through East) ! Clean map min=-0.0018588 max=0.07913 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J1639+1632_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.0791 rms= 0.00042 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J1639+1632_X_uvs.log closed on Fri Dec 20 23:46:06 2013