! Started logfile: /d2/scr/pima/rdv96_uvs/J0330+4656_X_uvs.log on Fri Dec 20 23:43:50 2013 obs /d2/scr/pima/rdv96_uvs/J0330+4656_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J0330+4656_X_uva.fits ! AN table 1: 36 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0330+4656 ! ! 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 6480 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/J0330+4656_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.014842Jy sigma=2.023676 ! Fit after self-cal, rms=0.890169Jy sigma=1.691185 ! 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.9268 mas, bmaj=1.238 mas, bpa=-18.62 degrees ! Estimated noise=10.1101 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.0909675 Jy ! Component: 100 - total flux cleaned = 0.123911 Jy ! Total flux subtracted in 100 components = 0.123911 Jy ! Clean residual min=-0.006455 max=0.017655 Jy/beam ! Clean residual mean=0.000060 rms=0.001801 Jy/beam ! Combined flux in latest and established models = 0.123911 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 10 components and 0.123911 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060861Jy sigma=0.118530 ! Fit after self-cal, rms=0.060582Jy sigma=0.117998 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0177847 Jy ! Component: 100 - total flux cleaned = 0.0267532 Jy ! Total flux subtracted in 100 components = 0.0267532 Jy ! Clean residual min=-0.005924 max=0.009826 Jy/beam ! Clean residual mean=0.000033 rms=0.001128 Jy/beam ! Combined flux in latest and established models = 0.150664 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 17 components and 0.150664 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055635Jy sigma=0.098322 ! Fit after self-cal, rms=0.055763Jy sigma=0.098175 ! Inverting map ! Added new window around map position (-1.2, 0.8). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0089025 Jy ! Component: 100 - total flux cleaned = 0.0135693 Jy ! Total flux subtracted in 100 components = 0.0135693 Jy ! Clean residual min=-0.005827 max=0.004082 Jy/beam ! Clean residual mean=0.000020 rms=0.000951 Jy/beam ! Combined flux in latest and established models = 0.164234 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 26 components and 0.164234 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054252Jy sigma=0.093341 ! Fit after self-cal, rms=0.054120Jy sigma=0.093147 ! 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.293 mas, bmaj=1.623 mas, bpa=-21.82 degrees ! Estimated noise=4.91297 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.00593127 Jy ! Component: 100 - total flux cleaned = 0.00892478 Jy ! Component: 150 - total flux cleaned = 0.00990714 Jy ! Component: 200 - total flux cleaned = 0.0104255 Jy ! Total flux subtracted in 200 components = 0.0104255 Jy ! Clean residual min=-0.004231 max=0.003164 Jy/beam ! Clean residual mean=0.000020 rms=0.000793 Jy/beam ! Combined flux in latest and established models = 0.174659 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 37 components and 0.174659 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053577Jy sigma=0.091333 ! Fit after self-cal, rms=0.053488Jy sigma=0.091187 ! 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.98 FD 1.03 HN 1.00 KP 1.00 ! LA 1.03 MK 1.01 NL 0.97 OV 1.00 ! PT 0.98 SC 0.96 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.01 HN 1.03 KP 0.96 ! LA 1.00 MK 0.95 NL 0.98 OV 1.01 ! PT 0.98 SC 1.02 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.01 HN 1.04 KP 0.85 ! LA 1.06 MK 1.06 NL 1.01 OV 1.08 ! PT 0.98 SC 0.99 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.08 HN 1.02 KP 0.88 ! LA 1.04 MK 0.98 NL 1.02 OV 1.04 ! PT 1.01 SC 0.95 ! ! ! Fit before self-cal, rms=0.053488Jy sigma=0.091187 ! Fit after self-cal, rms=0.053164Jy sigma=0.088895 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.294 mas, bmaj=1.621 mas, bpa=-21.44 degrees ! Estimated noise=4.90258 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 (-2.6, 2.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00240189 Jy ! Component: 100 - total flux cleaned = 0.00307642 Jy ! Component: 150 - total flux cleaned = 0.00345921 Jy ! Component: 200 - total flux cleaned = 0.00361372 Jy ! Total flux subtracted in 200 components = 0.00361372 Jy ! Clean residual min=-0.001951 max=0.001960 Jy/beam ! Clean residual mean=-0.000002 rms=0.000450 Jy/beam ! Combined flux in latest and established models = 0.178273 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 53 components and 0.178273 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052984Jy sigma=0.088569 ! Fit after self-cal, rms=0.053000Jy sigma=0.088504 ! 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.053000Jy sigma=0.088504 ! Fit after self-cal, rms=0.052730Jy sigma=0.088479 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.292 mas, bmaj=1.619 mas, bpa=-21.41 degrees ! Estimated noise=4.88683 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000747143 Jy ! Component: 100 - total flux cleaned = 0.00111247 Jy ! Component: 150 - total flux cleaned = 0.00141208 Jy ! Component: 200 - total flux cleaned = 0.00158202 Jy ! Total flux subtracted in 200 components = 0.00158202 Jy ! Clean residual min=-0.001846 max=0.001693 Jy/beam ! Clean residual mean=-0.000001 rms=0.000420 Jy/beam ! Combined flux in latest and established models = 0.179855 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 64 components and 0.179855 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052651Jy sigma=0.088389 ! Fit after self-cal, rms=0.052644Jy sigma=0.088372 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.000184391 Jy ! Component: 100 - total flux cleaned = 0.000323944 Jy ! Component: 150 - total flux cleaned = 0.000400258 Jy ! Component: 200 - total flux cleaned = 0.000448612 Jy ! Total flux subtracted in 200 components = 0.000448612 Jy ! Clean residual min=-0.001796 max=0.001660 Jy/beam ! Clean residual mean=-0.000002 rms=0.000413 Jy/beam ! Combined flux in latest and established models = 0.180303 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 68 components and 0.180303 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052595Jy sigma=0.088336 ! Fit after self-cal, rms=0.052588Jy sigma=0.088328 ! 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.052588Jy sigma=0.088328 ! Fit after self-cal, rms=0.052354Jy sigma=0.088207 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.289 mas, bmaj=1.61 mas, bpa=-21.25 degrees ! Estimated noise=4.8751 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000243537 Jy ! Component: 100 - total flux cleaned = 0.00046567 Jy ! Component: 150 - total flux cleaned = 0.000613221 Jy ! Component: 200 - total flux cleaned = 0.0007045 Jy ! Total flux subtracted in 200 components = 0.0007045 Jy ! Clean residual min=-0.001725 max=0.001683 Jy/beam ! Clean residual mean=0.000003 rms=0.000393 Jy/beam ! Combined flux in latest and established models = 0.181008 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 75 components and 0.181008 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052311Jy sigma=0.088169 ! Fit after self-cal, rms=0.052304Jy sigma=0.088162 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.000155526 Jy ! Component: 100 - total flux cleaned = 0.000265688 Jy ! Component: 150 - total flux cleaned = 0.00030663 Jy ! Component: 200 - total flux cleaned = 0.000364834 Jy ! Total flux subtracted in 200 components = 0.000364834 Jy ! Clean residual min=-0.001691 max=0.001694 Jy/beam ! Clean residual mean=0.000002 rms=0.000389 Jy/beam ! Combined flux in latest and established models = 0.181373 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 78 components and 0.181373 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052273Jy sigma=0.088142 ! Fit after self-cal, rms=0.052270Jy sigma=0.088138 ! Inverting map ! Added new window around map position (36, 2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00165736 Jy ! Component: 100 - total flux cleaned = 0.00255937 Jy ! Component: 150 - total flux cleaned = 0.00290874 Jy ! Component: 200 - total flux cleaned = 0.00311024 Jy ! Total flux subtracted in 200 components = 0.00311024 Jy ! Clean residual min=-0.001495 max=0.001449 Jy/beam ! Clean residual mean=0.000000 rms=0.000352 Jy/beam ! Combined flux in latest and established models = 0.184483 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 89 components and 0.184483 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052209Jy sigma=0.087989 ! Fit after self-cal, rms=0.052199Jy sigma=0.087981 ! 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.052199Jy sigma=0.087981 ! Fit after self-cal, rms=0.052071Jy sigma=0.087970 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.519 mas, bmaj=2.783 mas, bpa=-47.99 degrees ! Estimated noise=4.76873 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000575093 Jy ! Component: 100 - total flux cleaned = 0.000953902 Jy ! Component: 150 - total flux cleaned = 0.001243 Jy ! Component: 200 - total flux cleaned = 0.0014869 Jy ! Total flux subtracted in 200 components = 0.0014869 Jy ! Clean residual min=-0.001493 max=0.001453 Jy/beam ! Clean residual mean=0.000001 rms=0.000374 Jy/beam ! Combined flux in latest and established models = 0.18597 Jy selfcal ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 114 components and 0.18597 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052059Jy sigma=0.087937 ! Fit after self-cal, rms=0.052052Jy sigma=0.087934 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 = 7.32038e-05 Jy ! Component: 100 - total flux cleaned = 0.000290688 Jy ! Component: 150 - total flux cleaned = 0.000463897 Jy ! Component: 200 - total flux cleaned = 0.000566727 Jy ! Total flux subtracted in 200 components = 0.000566727 Jy ! Clean residual min=-0.001447 max=0.001413 Jy/beam ! Clean residual mean=-0.000000 rms=0.000371 Jy/beam ! Combined flux in latest and established models = 0.186537 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 125 components and 0.186537 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052044Jy sigma=0.087921 ! Fit after self-cal, rms=0.052038Jy sigma=0.087918 ! 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/J0330+4656_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.286 mas, bmaj=1.609 mas, bpa=-21.42 degrees ! Estimated noise=4.86683 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.286 x 1.609 at -21.42 degrees (North through East) ! Clean map min=-0.0014158 max=0.11681 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J0330+4656_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.1168 rms= 0.00033 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J0330+4656_X_uvs.log closed on Fri Dec 20 23:43:52 2013