Author Topic: Photometric Color Calibration problems after update  (Read 1031 times)

Offline HomerPepsi

  • Newcomer
  • Posts: 9
    • View Profile
Photometric Color Calibration problems after update
« on: 2018 June 08 14:50:58 »
Hi,

After the june update, I am having dificulties with PCC. Not sure why.

Sometimes it solves sometimes it doesnt, but it always fails in the end. Not having any troubles with the image solver script though.

Example Image11_ABE has been solved with plate solve script. Then has ABE applied and then Background Neutralization. Attempts to run PCC follow:

PCC with reset settings and reset plate solve settings:
Code: [Select]
run -x -p="resetSettingsAndExit,true" "C:/Program Files/PixInsight/src/scripts/AdP/ImageSolver.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/AdP/ImageSolver.js


PhotometricColorCalibration: Processing view: Image11_ABE
Writing swap files...
54.811 MiB/s

* Using an automatically calculated photometric aperture of 22 pixels.

* Using an automatically calculated limit magnitude of 15.

run -x -p="phot_apertureShape,1" -p="phot_minimumAperture,22" -p="phot_apertureSteps,1" -p="phot_apertureStepSize,1" -p="phot_bkgWindowMode,1" -p="phot_bkgModel,1" -p="phot_backgroundSigmaLow,5" -p="phot_backgroundSigmaHigh,2.7" -p="phot_bkgAperture1,45" -p="phot_bkgAperture2,60" -p="phot_bkgMMTlayers,8" -p="phot_minSNR,4" -p="phot_showFoundStars,false" -p="phot_maxMagnitude,15" -p="phot_defaultFocal,1621.42" -p="phot_gain,1" -p="phot_saturationThreshold,0.95" -p="phot_manualFilter,true" -p="phot_filter,Johnson V" -p="phot_filterKeyword,FILTER" -p="phot_margin,15" -p="phot_catalogName,APASS" -p="phot_catalogFilter,Vmag" -p="phot_vizierServer,http://cdsarc.u-strasbg.fr/" -p="phot_useActive,false" -p="phot_extractMode,0" -p="phot_manualObjects,[]" -p="phot_outputDir,C:/Users/~<USER DIR>~/AppData/Local/Temp" -p="phot_outputPrefix,PCC_" -p="phot_generateFileTable,true" -p="phot_generateFluxTable,true" -p="phot_generatePSFFluxTable,true" -p="phot_generateBackgTable,false" -p="phot_generateSNRTable,false" -p="phot_generateFlagTable,false" -p="phot_saveDiagnostic,false" -p="phot_autoSolve,false" -p="phot_forceSolve,false" -p="phot_solverUseImageMetadata,false" -p="phot_saveSolve,false" -p="phot_solveSuffix,_WCS" -p="phot_generateErrorLog,false" -p="phot_showBackgroundModel,false" -p="phot_files,C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_NQOLIMZE1MHK.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_TVOYPSYRVPYG.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_FE68FLE3X3VN.xisf" -p="non_interactive,true" -p="isGlobalTarget,true" -p="isViewTarget,false" "C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_NQOLIMZE1MHK.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_NQOLIMZE1MHK.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
20 FITS keyword(s) extracted.
Reference image: PCC_R_NQOLIMZE1MHK

Downloading Vizier data:
http://cdsarc.u-strasbg.fr/viz-bin/asu-tsv?-source=II/336/apass9&-c=170.062298 13.604247&-c.r=0.595822&-c.u=deg&-out.form=|&-out.add=_RAJ,_DEJ&-out=B-V&-out=Vmag&-out=Bmag&-out=g'mag&-out=r'mag&-out=i'mag&Vmag=0..15
1787 bytes transferred in 0.56 s @ 3.10 KiB/s
Removed 0 duplicated objects
fov:0.595822 actual:0.000000
Catalog APASS size: 0 objects inside the image

*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_NQOLIMZE1MHK.xisf': Could not find any stars in the catalog

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_TVOYPSYRVPYG.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_TVOYPSYRVPYG.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
20 FITS keyword(s) extracted.
Reference image: PCC_G_TVOYPSYRVPYG
1 view(s)
0 star(s)
0 PSF fittings
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_TVOYPSYRVPYG.xisf': Could not locate any stars in the image

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_FE68FLE3X3VN.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_FE68FLE3X3VN.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
20 FITS keyword(s) extracted.
Reference image: PCC_B_FE68FLE3X3VN
Calculating image noise: sigma=16.707 count=93.60% layers=4
Multiscale median transform: done
Multiscale reconstruction: done
Normalizing sample values: done
Aperture Photometry:
Aperture: 22.000000 px
Image resolution: 0.686948 sec/px
Calculating photometry: Processed 0 stars in 0.000000 seconds
Writing output file: C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_FE68FLE3X3VN.csv
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_FE68FLE3X3VN.xisf': TypeError: area is null

*******************************
Photometry process finished:
0 of 3 images processed successfully.
3 images with errors.
3 errors and warnings.

*** Error: Failure to calculate photometry: Image11_ABE
Reading swap files...
1747.777 MiB/s
<* failed *>


With automatic catalog DE-selected (by default to PPMXL):
Code: [Select]
PhotometricColorCalibration: Processing view: Image11_ABE
Writing swap files...
138.711 MiB/s

* Using an automatically calculated photometric aperture of 22 pixels.

* Using an automatically calculated limit magnitude of 15.

run -x -p="phot_apertureShape,1" -p="phot_minimumAperture,22" -p="phot_apertureSteps,1" -p="phot_apertureStepSize,1" -p="phot_bkgWindowMode,1" -p="phot_bkgModel,1" -p="phot_backgroundSigmaLow,5" -p="phot_backgroundSigmaHigh,2.7" -p="phot_bkgAperture1,45" -p="phot_bkgAperture2,60" -p="phot_bkgMMTlayers,8" -p="phot_minSNR,4" -p="phot_showFoundStars,false" -p="phot_maxMagnitude,15" -p="phot_defaultFocal,1621.42" -p="phot_gain,1" -p="phot_saturationThreshold,0.95" -p="phot_manualFilter,true" -p="phot_filter,Johnson V" -p="phot_filterKeyword,FILTER" -p="phot_margin,15" -p="phot_catalogName,APASS" -p="phot_catalogFilter,Vmag" -p="phot_vizierServer,http://cdsarc.u-strasbg.fr/" -p="phot_useActive,false" -p="phot_extractMode,0" -p="phot_manualObjects,[]" -p="phot_outputDir,C:/Users/~<USER DIR>~/AppData/Local/Temp" -p="phot_outputPrefix,PCC_" -p="phot_generateFileTable,true" -p="phot_generateFluxTable,true" -p="phot_generatePSFFluxTable,true" -p="phot_generateBackgTable,false" -p="phot_generateSNRTable,false" -p="phot_generateFlagTable,false" -p="phot_saveDiagnostic,false" -p="phot_autoSolve,false" -p="phot_forceSolve,false" -p="phot_solverUseImageMetadata,false" -p="phot_saveSolve,false" -p="phot_solveSuffix,_WCS" -p="phot_generateErrorLog,false" -p="phot_showBackgroundModel,false" -p="phot_files,C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_OZ3P6LNH3A4B.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_QUBRZZDIVBF9.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_MZMWFA4O6FSY.xisf" -p="non_interactive,true" -p="isGlobalTarget,true" -p="isViewTarget,false" "C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_OZ3P6LNH3A4B.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_OZ3P6LNH3A4B.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
20 FITS keyword(s) extracted.
Reference image: PCC_R_OZ3P6LNH3A4B

Downloading Vizier data:
http://cdsarc.u-strasbg.fr/viz-bin/asu-tsv?-source=II/336/apass9&-c=170.062298 13.604247&-c.r=0.595822&-c.u=deg&-out.form=|&-out.add=_RAJ,_DEJ&-out=B-V&-out=Vmag&-out=Bmag&-out=g'mag&-out=r'mag&-out=i'mag&Vmag=0..15
1787 bytes transferred in 0.58 s @ 3.02 KiB/s
Removed 0 duplicated objects
fov:0.595822 actual:0.000000
Catalog APASS size: 0 objects inside the image

*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_OZ3P6LNH3A4B.xisf': Could not find any stars in the catalog

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_QUBRZZDIVBF9.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_QUBRZZDIVBF9.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
20 FITS keyword(s) extracted.
Reference image: PCC_G_QUBRZZDIVBF9
1 view(s)
0 star(s)
0 PSF fittings
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_QUBRZZDIVBF9.xisf': Could not locate any stars in the image

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_MZMWFA4O6FSY.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_MZMWFA4O6FSY.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
20 FITS keyword(s) extracted.
Reference image: PCC_B_MZMWFA4O6FSY
Calculating image noise: sigma=16.707 count=93.60% layers=4
Multiscale median transform: done
Multiscale reconstruction: done
Normalizing sample values: done
Aperture Photometry:
Aperture: 22.000000 px
Image resolution: 0.686948 sec/px
Calculating photometry: Processed 0 stars in 0.000000 seconds
Writing output file: C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_MZMWFA4O6FSY.csv
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_MZMWFA4O6FSY.xisf': TypeError: area is null

*******************************
Photometry process finished:
0 of 3 images processed successfully.
3 images with errors.
3 errors and warnings.

*** Error: Failure to calculate photometry: Image11_ABE
Reading swap files...
1801.709 MiB/s
<* failed *>

With UCAC3 selected as the catalog:
Code: [Select]
PhotometricColorCalibration: Processing view: Image11_ABE
Writing swap files...
157.191 MiB/s

* Using an automatically calculated photometric aperture of 22 pixels.

* Using an automatically calculated limit magnitude of 15.

run -x -p="phot_apertureShape,1" -p="phot_minimumAperture,22" -p="phot_apertureSteps,1" -p="phot_apertureStepSize,1" -p="phot_bkgWindowMode,1" -p="phot_bkgModel,1" -p="phot_backgroundSigmaLow,5" -p="phot_backgroundSigmaHigh,2.7" -p="phot_bkgAperture1,45" -p="phot_bkgAperture2,60" -p="phot_bkgMMTlayers,8" -p="phot_minSNR,4" -p="phot_showFoundStars,false" -p="phot_maxMagnitude,15" -p="phot_defaultFocal,1621.42" -p="phot_gain,1" -p="phot_saturationThreshold,0.95" -p="phot_manualFilter,true" -p="phot_filter,Johnson V" -p="phot_filterKeyword,FILTER" -p="phot_margin,15" -p="phot_catalogName,APASS" -p="phot_catalogFilter,Vmag" -p="phot_vizierServer,http://cdsarc.u-strasbg.fr/" -p="phot_useActive,false" -p="phot_extractMode,0" -p="phot_manualObjects,[]" -p="phot_outputDir,C:/Users/~<USER DIR>~/AppData/Local/Temp" -p="phot_outputPrefix,PCC_" -p="phot_generateFileTable,true" -p="phot_generateFluxTable,true" -p="phot_generatePSFFluxTable,true" -p="phot_generateBackgTable,false" -p="phot_generateSNRTable,false" -p="phot_generateFlagTable,false" -p="phot_saveDiagnostic,false" -p="phot_autoSolve,false" -p="phot_forceSolve,false" -p="phot_solverUseImageMetadata,false" -p="phot_saveSolve,false" -p="phot_solveSuffix,_WCS" -p="phot_generateErrorLog,false" -p="phot_showBackgroundModel,false" -p="phot_files,C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_SD0RSX3WDN94.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_PNPTMWW8Q5UD.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_99MIQZ7NJG44.xisf" -p="non_interactive,true" -p="isGlobalTarget,true" -p="isViewTarget,false" "C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_SD0RSX3WDN94.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_SD0RSX3WDN94.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
20 FITS keyword(s) extracted.
Reference image: PCC_R_SD0RSX3WDN94

Downloading Vizier data:
http://cdsarc.u-strasbg.fr/viz-bin/asu-tsv?-source=II/336/apass9&-c=170.062298 13.604247&-c.r=0.595822&-c.u=deg&-out.form=|&-out.add=_RAJ,_DEJ&-out=B-V&-out=Vmag&-out=Bmag&-out=g'mag&-out=r'mag&-out=i'mag&Vmag=0..15
1787 bytes transferred in 0.58 s @ 3.02 KiB/s
Removed 0 duplicated objects
fov:0.595822 actual:0.000000
Catalog APASS size: 0 objects inside the image

*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_SD0RSX3WDN94.xisf': Could not find any stars in the catalog

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_PNPTMWW8Q5UD.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_PNPTMWW8Q5UD.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
20 FITS keyword(s) extracted.
Reference image: PCC_G_PNPTMWW8Q5UD
1 view(s)
0 star(s)
0 PSF fittings
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_PNPTMWW8Q5UD.xisf': Could not locate any stars in the image

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_99MIQZ7NJG44.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_99MIQZ7NJG44.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
20 FITS keyword(s) extracted.
Reference image: PCC_B_99MIQZ7NJG44
Calculating image noise: sigma=16.707 count=93.60% layers=4
Multiscale median transform: done
Multiscale reconstruction: done
Normalizing sample values: done
Aperture Photometry:
  Aperture: 22.000000 px
  Image resolution: 0.686948 sec/px
Calculating photometry: Processed 0 stars in 0.000000 seconds
Writing output file: C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_99MIQZ7NJG44.csv
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_99MIQZ7NJG44.xisf': TypeError: area is null

*******************************
Photometry process finished:
   0 of 3 images processed successfully.
   3 images with errors.
   3 errors and warnings.

*** Error: Failure to calculate photometry: Image11_ABE
Reading swap files...
1765.366 MiB/s
<* failed *>


With Force plate solving selected:
Code: [Select]
PhotometricColorCalibration: Processing view: Image11_ABE
Writing swap files...
146.942 MiB/s

* Using an automatically calculated limit magnitude of 17.

run -x -p="metadata_focal,1621.42" -p="metadata_xpixsz,5.4" -p="metadata_ra,170.0622958333333" -p="metadata_dec,13.60424722222222" -p="metadata_epoch,2458253" -p="solver_vizierServer,http://cdsarc.u-strasbg.fr/" -p="solver_catalog,UCAC3" -p="solver_magnitude,17" -p="solver_sensitivity,-1" -p="solver_noiseLayers,0" -p="solver_alignAlgorithm,0" -p="solver_distortionCorrection,false" -p="solver_splineSmoothing,0.05" -p="solver_projection,0" -p="solver_catalogMode,1" -p="solver_autoMagnitude,false" -p="solver_showStars,false" -p="solver_showDistortion,false" -p="solver_generateErrorImg,false" -p="solver_generateDistortModel,false" -p="solver_useDistortionModel,false" -p="solver_onlyOptimize,false" -p="solver_outSuffix," -p="solver_projectionOriginMode,0" -p="solver_useActive,false" -p="solver_files,C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_WCM6PZGQXG74.xisf" -p="non_interactive,true" -p="isGlobalTarget,true" -p="isViewTarget,false" "C:/Program Files/PixInsight/src/scripts/AdP/ImageSolver.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/AdP/ImageSolver.js

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_WCM6PZGQXG74.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_WCM6PZGQXG74.xisf
Loading image: w=3326 h=2504 n=3 RGB UInt16
9 FITS keyword(s) extracted.
Seed parameters for plate solving:
Image coordinates: RA=11 20 14.951, Dec=+13 36 15.29
Resolution: 0.6869472152399256
Starting StarAlignment iteration
Catalog UCAC3 already loaded
Catalog UCAC3 size: 561 objects

Using the triangle similarity algorithm
C:/Users/~<USER DIR>~/AppData/Local/Temp/stars.csv:
Scanning star data: done
106 stars.
PCC_T_WCM6PZGQXG74:
Structure map: done
Detecting stars: done
64 stars found.
Matching stars: done
57 putative star pair matches.
Performing RANSAC: done
57 star pair matches in 183 RANSAC iterations.
Summary of model properties:
Inliers : 1.000
Overlapping : 1.000
Regularity : 0.902
Quality : 0.916
Root mean square error:
delta_RMS : 0.472 px
RMS error deviation:
sigma_RMS : 0.183 px
Peak errors:
delta_x_max : 1.101 px
delta_y_max : 1.725 px
Transformation matrix:
-0.948889 +0.315894 +2715.203037
-0.315589 -0.948657 +3353.898030
+0.000000 -0.000000 +1.000000
scale : 1.000
scale-X : 1.000
scale-Y : 1.000
rotation : -161.60 deg
dx : +2715.20 px
dy : +3353.90 px
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.91 pixels
Tolerance for rejecting stars: 1.37 pixels
Stars: valid=65 rejected=4

*****
Iteration 1, delta = 0.460 arcsec (0.67 pixels)
Image center ...... RA: 11 20 14.927 Dec: +13 36 14.99
Resolution ........ 0.69 arcsec/px
RMS ............... 0.7406 px (65 stars)
Score ............. 74.6884
*****
Starting Linear iteration.
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.67 pixels
Tolerance for rejecting stars: 1.00 pixels
Stars: valid=66 rejected=3

*****
Iteration 2, delta = 0.545 arcsec (0.79 pixels)
Image center ...... RA: 11 20 14.941 Dec: +13 36 15.20
Resolution ........ 0.69 arcsec/px
RMS ............... 0.3869 px (66 stars)
Score ............. 95.1761
*****
Starting Linear iteration.
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.67 pixels
Tolerance for rejecting stars: 1.00 pixels
Stars: valid=66 rejected=3

*****
Iteration 3, delta = 0.101 arcsec (0.15 pixels)
Image center ...... RA: 11 20 14.946 Dec: +13 36 15.26
Resolution ........ 0.69 arcsec/px
RMS ............... 0.3863 px (66 stars)
Score ............. 95.2168
*****
Starting Linear iteration.
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.67 pixels
Tolerance for rejecting stars: 1.00 pixels
Stars: valid=66 rejected=3

*****
Iteration 4, delta = 0.034 arcsec (0.05 pixels)
Image center ...... RA: 11 20 14.948 Dec: +13 36 15.29
Resolution ........ 0.69 arcsec/px
RMS ............... 0.3863 px (66 stars)
Score ............. 95.2168
*****
Starting Linear iteration.
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.67 pixels
Tolerance for rejecting stars: 1.00 pixels
Stars: valid=66 rejected=3

*****
Iteration 5, delta = 0.011 arcsec (0.02 pixels)
Image center ...... RA: 11 20 14.948 Dec: +13 36 15.29
Resolution ........ 0.69 arcsec/px
RMS ............... 0.3863 px (66 stars)
Score ............. 95.2168
*****
* Reached maximum number of iterations without improvement.
* Image solved with a score of 95.22

Save keywords
Save properties

Writing file:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_WCM6PZGQXG74.xisf
Writing image: w=3326 h=2504 n=3 RGB UInt16
23 FITS keyword(s) embedded.
ICC profile embedded: 'sRGB IEC61966-2.1', 3144 bytes.

C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_WCM6PZGQXG74.xisf
===============================================================================
Referentiation Matrix (Gnomonic projection = Matrix * Coords[x,y]):
+0.000181019 +6.02946e-05 -0.376521
-6.02418e-05 +0.000181083 -0.126531
+0 +0 +1
Projection origin.. [1662.987922 1251.978743]px -> [RA:11 20 14.948 Dec:+13 36 15.29]
Resolution ........ 0.687 arcsec/px
Rotation .......... -161.600 deg
Focal ............. 1621.42 mm
Pixel size ........ 5.40 um
Field of view ..... 38' 4.8" x 28' 40.1"
Image center ...... RA: 11 20 14.949 Dec: +13 36 15.30
Image bounds:
top-left ....... RA: 11 18 42.025 Dec: +13 28 38.71
top-right ...... RA: 11 21 10.565 Dec: +13 16 38.10
bottom-left .... RA: 11 19 19.178 Dec: +13 55 51.72
bottom-right ... RA: 11 21 47.971 Dec: +13 43 49.73
===============================================================================

* Process finished without errors.


* Using an automatically calculated photometric aperture of 22 pixels.

* Using an automatically calculated limit magnitude of 15.

run -x -p="phot_apertureShape,1" -p="phot_minimumAperture,22" -p="phot_apertureSteps,1" -p="phot_apertureStepSize,1" -p="phot_bkgWindowMode,1" -p="phot_bkgModel,1" -p="phot_backgroundSigmaLow,5" -p="phot_backgroundSigmaHigh,2.7" -p="phot_bkgAperture1,45" -p="phot_bkgAperture2,60" -p="phot_bkgMMTlayers,8" -p="phot_minSNR,4" -p="phot_showFoundStars,false" -p="phot_maxMagnitude,15" -p="phot_defaultFocal,1621.42" -p="phot_gain,1" -p="phot_saturationThreshold,0.95" -p="phot_manualFilter,true" -p="phot_filter,Johnson V" -p="phot_filterKeyword,FILTER" -p="phot_margin,15" -p="phot_catalogName,APASS" -p="phot_catalogFilter,Vmag" -p="phot_vizierServer,http://cdsarc.u-strasbg.fr/" -p="phot_useActive,false" -p="phot_extractMode,0" -p="phot_manualObjects,[]" -p="phot_outputDir,C:/Users/~<USER DIR>~/AppData/Local/Temp" -p="phot_outputPrefix,PCC_" -p="phot_generateFileTable,true" -p="phot_generateFluxTable,true" -p="phot_generatePSFFluxTable,true" -p="phot_generateBackgTable,false" -p="phot_generateSNRTable,false" -p="phot_generateFlagTable,false" -p="phot_saveDiagnostic,false" -p="phot_autoSolve,false" -p="phot_forceSolve,false" -p="phot_solverUseImageMetadata,false" -p="phot_saveSolve,false" -p="phot_solveSuffix,_WCS" -p="phot_generateErrorLog,false" -p="phot_showBackgroundModel,false" -p="phot_files,C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_YZLB3TEDIGJN.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_602IQ7JZKW74.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_SYTBWZY9Q1BZ.xisf" -p="non_interactive,true" -p="isGlobalTarget,true" -p="isViewTarget,false" "C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_YZLB3TEDIGJN.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_YZLB3TEDIGJN.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
23 FITS keyword(s) extracted.
Reference image: PCC_R_YZLB3TEDIGJN

Downloading Vizier data:
http://cdsarc.u-strasbg.fr/viz-bin/asu-tsv?-source=II/336/apass9&-c=170.062286 13.604250&-c.r=0.595816&-c.u=deg&-out.form=|&-out.add=_RAJ,_DEJ&-out=B-V&-out=Vmag&-out=Bmag&-out=g'mag&-out=r'mag&-out=i'mag&Vmag=0..15
1787 bytes transferred in 0.56 s @ 3.10 KiB/s
Removed 0 duplicated objects
fov:0.595816 actual:0.000000
Catalog APASS size: 0 objects inside the image

*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_YZLB3TEDIGJN.xisf': Could not find any stars in the catalog

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_602IQ7JZKW74.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_602IQ7JZKW74.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
23 FITS keyword(s) extracted.
Reference image: PCC_G_602IQ7JZKW74
1 view(s)
0 star(s)
0 PSF fittings
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_602IQ7JZKW74.xisf': Could not locate any stars in the image

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_SYTBWZY9Q1BZ.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_SYTBWZY9Q1BZ.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
23 FITS keyword(s) extracted.
Reference image: PCC_B_SYTBWZY9Q1BZ
Calculating image noise: sigma=16.707 count=93.60% layers=4
Multiscale median transform: done
Multiscale reconstruction: done
Normalizing sample values: done
Aperture Photometry:
Aperture: 22.000000 px
Image resolution: 0.686948 sec/px
Calculating photometry: Processed 0 stars in 0.000000 seconds
Writing output file: C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_SYTBWZY9Q1BZ.csv
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_SYTBWZY9Q1BZ.xisf': TypeError: area is null

*******************************
Photometry process finished:
0 of 3 images processed successfully.
3 images with errors.
3 errors and warnings.

*** Error: Failure to calculate photometry: Image11_ABE
Reading swap files...
1796.625 MiB/s
<* failed *>


With Force plate solving and ignore metadata selected:
Code: [Select]

PhotometricColorCalibration: Processing view: Image11_ABE
Writing swap files...
141.705 MiB/s

* Using an automatically calculated limit magnitude of 17.

run -x -p="metadata_focal,1621.420043945313" -p="metadata_xpixsz,5.400000095367432" -p="metadata_ra,170.0622958333333" -p="metadata_dec,13.60424722222222" -p="metadata_epoch,2458253" -p="solver_vizierServer,http://cdsarc.u-strasbg.fr/" -p="solver_catalog,UCAC3" -p="solver_magnitude,17" -p="solver_sensitivity,-1" -p="solver_noiseLayers,0" -p="solver_alignAlgorithm,0" -p="solver_distortionCorrection,false" -p="solver_splineSmoothing,0.05" -p="solver_projection,0" -p="solver_catalogMode,1" -p="solver_autoMagnitude,false" -p="solver_showStars,false" -p="solver_showDistortion,false" -p="solver_generateErrorImg,false" -p="solver_generateDistortModel,false" -p="solver_useDistortionModel,false" -p="solver_onlyOptimize,false" -p="solver_outSuffix," -p="solver_projectionOriginMode,0" -p="solver_useActive,false" -p="solver_files,C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_TG4WIIE7EWVC.xisf" -p="non_interactive,true" -p="isGlobalTarget,true" -p="isViewTarget,false" "C:/Program Files/PixInsight/src/scripts/AdP/ImageSolver.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/AdP/ImageSolver.js

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_TG4WIIE7EWVC.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_TG4WIIE7EWVC.xisf
Loading image: w=3326 h=2504 n=3 RGB UInt16
7 FITS keyword(s) extracted.
Seed parameters for plate solving:
Image coordinates: RA=11 20 14.951, Dec=+13 36 15.29
Resolution: 0.6869472152399256
Starting StarAlignment iteration
Catalog UCAC3 already loaded
Catalog UCAC3 size: 561 objects

Using the triangle similarity algorithm
C:/Users/~<USER DIR>~/AppData/Local/Temp/stars.csv:
Scanning star data: done
106 stars.
PCC_T_TG4WIIE7EWVC:
Structure map: done
Detecting stars: done
64 stars found.
Matching stars: done
57 putative star pair matches.
Performing RANSAC: done
57 star pair matches in 262 RANSAC iterations.
Summary of model properties:
Inliers : 1.000
Overlapping : 1.000
Regularity : 0.902
Quality : 0.916
Root mean square error:
delta_RMS : 0.472 px
RMS error deviation:
sigma_RMS : 0.183 px
Peak errors:
delta_x_max : 1.101 px
delta_y_max : 1.725 px
Transformation matrix:
-0.948889 +0.315894 +2715.203037
-0.315589 -0.948657 +3353.898030
+0.000000 -0.000000 +1.000000
scale : 1.000
scale-X : 1.000
scale-Y : 1.000
rotation : -161.60 deg
dx : +2715.20 px
dy : +3353.90 px
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.91 pixels
Tolerance for rejecting stars: 1.37 pixels
Stars: valid=65 rejected=4

*****
Iteration 1, delta = 0.460 arcsec (0.67 pixels)
Image center ...... RA: 11 20 14.927 Dec: +13 36 14.99
Resolution ........ 0.69 arcsec/px
RMS ............... 0.7406 px (65 stars)
Score ............. 74.6884
*****
Starting Linear iteration.
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.67 pixels
Tolerance for rejecting stars: 1.00 pixels
Stars: valid=66 rejected=3

*****
Iteration 2, delta = 0.545 arcsec (0.79 pixels)
Image center ...... RA: 11 20 14.941 Dec: +13 36 15.20
Resolution ........ 0.69 arcsec/px
RMS ............... 0.3869 px (66 stars)
Score ............. 95.1761
*****
Starting Linear iteration.
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.67 pixels
Tolerance for rejecting stars: 1.00 pixels
Stars: valid=66 rejected=3

*****
Iteration 3, delta = 0.101 arcsec (0.15 pixels)
Image center ...... RA: 11 20 14.946 Dec: +13 36 15.26
Resolution ........ 0.69 arcsec/px
RMS ............... 0.3863 px (66 stars)
Score ............. 95.2168
*****
Starting Linear iteration.
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.67 pixels
Tolerance for rejecting stars: 1.00 pixels
Stars: valid=66 rejected=3

*****
Iteration 4, delta = 0.034 arcsec (0.05 pixels)
Image center ...... RA: 11 20 14.948 Dec: +13 36 15.29
Resolution ........ 0.69 arcsec/px
RMS ............... 0.3863 px (66 stars)
Score ............. 95.2168
*****
Starting Linear iteration.
Catalog UCAC3 already loaded
Catalog UCAC3 size: 73 objects inside the image

Fit known stars
1 view(s)
73 star(s)
70 PSF fittings
Valid fittings: 69
Error StdDev=0.67 pixels
Tolerance for rejecting stars: 1.00 pixels
Stars: valid=66 rejected=3

*****
Iteration 5, delta = 0.011 arcsec (0.02 pixels)
Image center ...... RA: 11 20 14.948 Dec: +13 36 15.29
Resolution ........ 0.69 arcsec/px
RMS ............... 0.3863 px (66 stars)
Score ............. 95.2168
*****
* Reached maximum number of iterations without improvement.
* Image solved with a score of 95.22

Save keywords
Save properties

Writing file:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_TG4WIIE7EWVC.xisf
Writing image: w=3326 h=2504 n=3 RGB UInt16
21 FITS keyword(s) embedded.
ICC profile embedded: 'sRGB IEC61966-2.1', 3144 bytes.

C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_T_TG4WIIE7EWVC.xisf
===============================================================================
Referentiation Matrix (Gnomonic projection = Matrix * Coords[x,y]):
+0.000181019 +6.02946e-05 -0.376521
-6.02418e-05 +0.000181083 -0.126531
+0 +0 +1
Projection origin.. [1662.987922 1251.978743]px -> [RA:11 20 14.948 Dec:+13 36 15.29]
Resolution ........ 0.687 arcsec/px
Rotation .......... -161.600 deg
Focal ............. 1621.42 mm
Pixel size ........ 5.40 um
Field of view ..... 38' 4.8" x 28' 40.1"
Image center ...... RA: 11 20 14.949 Dec: +13 36 15.30
Image bounds:
top-left ....... RA: 11 18 42.025 Dec: +13 28 38.71
top-right ...... RA: 11 21 10.565 Dec: +13 16 38.10
bottom-left .... RA: 11 19 19.178 Dec: +13 55 51.72
bottom-right ... RA: 11 21 47.971 Dec: +13 43 49.73
===============================================================================

* Process finished without errors.


* Using an automatically calculated photometric aperture of 22 pixels.

* Using an automatically calculated limit magnitude of 15.

run -x -p="phot_apertureShape,1" -p="phot_minimumAperture,22" -p="phot_apertureSteps,1" -p="phot_apertureStepSize,1" -p="phot_bkgWindowMode,1" -p="phot_bkgModel,1" -p="phot_backgroundSigmaLow,5" -p="phot_backgroundSigmaHigh,2.7" -p="phot_bkgAperture1,45" -p="phot_bkgAperture2,60" -p="phot_bkgMMTlayers,8" -p="phot_minSNR,4" -p="phot_showFoundStars,false" -p="phot_maxMagnitude,15" -p="phot_defaultFocal,1621.42" -p="phot_gain,1" -p="phot_saturationThreshold,0.95" -p="phot_manualFilter,true" -p="phot_filter,Johnson V" -p="phot_filterKeyword,FILTER" -p="phot_margin,15" -p="phot_catalogName,APASS" -p="phot_catalogFilter,Vmag" -p="phot_vizierServer,http://cdsarc.u-strasbg.fr/" -p="phot_useActive,false" -p="phot_extractMode,0" -p="phot_manualObjects,[]" -p="phot_outputDir,C:/Users/~<USER DIR>~/AppData/Local/Temp" -p="phot_outputPrefix,PCC_" -p="phot_generateFileTable,true" -p="phot_generateFluxTable,true" -p="phot_generatePSFFluxTable,true" -p="phot_generateBackgTable,false" -p="phot_generateSNRTable,false" -p="phot_generateFlagTable,false" -p="phot_saveDiagnostic,false" -p="phot_autoSolve,false" -p="phot_forceSolve,false" -p="phot_solverUseImageMetadata,false" -p="phot_saveSolve,false" -p="phot_solveSuffix,_WCS" -p="phot_generateErrorLog,false" -p="phot_showBackgroundModel,false" -p="phot_files,C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_IWJAG1RUKS5U.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_BNLYPPOBDD2W.xisf|C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_KRD4CJ58U3CG.xisf" -p="non_interactive,true" -p="isGlobalTarget,true" -p="isViewTarget,false" "C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js"

Processing script file: C:/Program Files/PixInsight/src/scripts/AdP/AperturePhotometry.js

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_IWJAG1RUKS5U.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_IWJAG1RUKS5U.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
21 FITS keyword(s) extracted.
Reference image: PCC_R_IWJAG1RUKS5U

Downloading Vizier data:
http://cdsarc.u-strasbg.fr/viz-bin/asu-tsv?-source=II/336/apass9&-c=170.062286 13.604250&-c.r=0.595816&-c.u=deg&-out.form=|&-out.add=_RAJ,_DEJ&-out=B-V&-out=Vmag&-out=Bmag&-out=g'mag&-out=r'mag&-out=i'mag&Vmag=0..15
1787 bytes transferred in 0.56 s @ 3.10 KiB/s
Removed 0 duplicated objects
fov:0.595816 actual:0.000000
Catalog APASS size: 0 objects inside the image

*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_R_IWJAG1RUKS5U.xisf': Could not find any stars in the catalog

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_BNLYPPOBDD2W.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_BNLYPPOBDD2W.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
21 FITS keyword(s) extracted.
Reference image: PCC_G_BNLYPPOBDD2W
1 view(s)
0 star(s)
0 PSF fittings
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_G_BNLYPPOBDD2W.xisf': Could not locate any stars in the image

*******************************
Processing image C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_KRD4CJ58U3CG.xisf

Reading image:
C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_KRD4CJ58U3CG.xisf
Loading image: w=3326 h=2504 n=1 Gray UInt16
21 FITS keyword(s) extracted.
Reference image: PCC_B_KRD4CJ58U3CG
Calculating image noise: sigma=16.707 count=93.60% layers=4
Multiscale median transform: done
Multiscale reconstruction: done
Normalizing sample values: done
Aperture Photometry:
Aperture: 22.000000 px
Image resolution: 0.686948 sec/px
Calculating photometry: Processed 0 stars in 0.000000 seconds
Writing output file: C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_KRD4CJ58U3CG.csv
*** Error: Failure to process image file 'C:/Users/~<USER DIR>~/AppData/Local/Temp/PCC_B_KRD4CJ58U3CG.xisf': TypeError: area is null

*******************************
Photometry process finished:
0 of 3 images processed successfully.
3 images with errors.
3 errors and warnings.

*** Error: Failure to calculate photometry: Image11_ABE
Reading swap files...
1758.108 MiB/s
<* failed *>

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 876
    • View Profile
Re: Photometric Color Calibration problems after update
« Reply #1 on: 2018 June 09 03:04:17 »
You can try to use another database server. Sometimes the servers fail silently.

Offline JB Gayet

  • Newcomer
  • Posts: 7
    • View Profile
Re: Photometric Color Calibration problems after update
« Reply #2 on: 2018 June 09 06:21:25 »
have a problem too since the update :

C:/Users/Jean-Brice GAYET/AppData/Local/Temp/stars.csv: 0 star(s) found - need at least six stars.
*** Error: The image could not be aligned with the reference star field

No clue of what to do :)

JBG

EDIT : oooops sorry : just changed Strasbourg to Harvard as server, and things went well :)

Offline HomerPepsi

  • Newcomer
  • Posts: 9
    • View Profile
Re: Photometric Color Calibration problems after update
« Reply #3 on: 2018 June 09 10:27:12 »
Can confirm, I switched to Victoria Canada, it worked.

Thanks.

Offline JB Gayet

  • Newcomer
  • Posts: 7
    • View Profile
Re: Photometric Color Calibration problems after update
« Reply #4 on: 2018 June 15 07:57:41 »
Well, it doesn"t work anymore.... another solution, someone ? Like a temp file to delete or something similar ? :)

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 876
    • View Profile
Re: Photometric Color Calibration problems after update
« Reply #5 on: 2018 June 16 02:55:51 »
You can try to reset the catalog cache. This can be done using one of these different methods:
  • Open ImageSolver, click in the database button and click "Reset Catalog Cache". See the attached screenshot.
  • Open the script editor and in the Execute menu select the option "Reset JavaScript Runtime". See the attached screenshot.
  • Close PixInsight and restart it  :)

Andres