2025-03-15 21:17:51	INFO	::casa	Using user configuration file /home/casatest/.casa/config.py
2025-03-15 21:17:51	INFO	::casa	loaded config file : /wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casaconfig/config.py
2025-03-15 21:17:51	INFO	::casa	loaded config file : /home/casatest/.casa/config.py
2025-03-15 21:17:51	INFO	::casa	
2025-03-15 21:17:51	INFO	::casa	config values
2025-03-15 21:17:51	INFO	::casa	    agg = False
2025-03-15 21:17:51	INFO	::casa	    cachedir = '/home/casatest/.casa'
2025-03-15 21:17:51	INFO	::casa	    casaconfig_verbose = 1
2025-03-15 21:17:51	INFO	::casa	    colors = 'Neutral'
2025-03-15 21:17:51	INFO	::casa	    data_auto_update = False
2025-03-15 21:17:51	INFO	::casa	    datapath = ['/opt/casa/data/master', '/opt/casa/data/casatestdata']
2025-03-15 21:17:51	INFO	::casa	    iplog = False
2025-03-15 21:17:51	INFO	::casa	    iplogfile = '/home/casatest/casa6/casatasks/tests/casashell_tests/work/test_task_imrebin_casashell/ipython-20250315-211748.log'
2025-03-15 21:17:51	INFO	::casa	    log2term = True
2025-03-15 21:17:51	INFO	::casa	    logfile = '/home/casatest/casa6/casatasks/tests/casashell_tests/work/test_task_imrebin_casashell/casa-20250315-211748.log'
2025-03-15 21:17:51	INFO	::casa	    measures_auto_update = False
2025-03-15 21:17:51	INFO	::casa	    measurespath = '/opt/casa/data/master'
2025-03-15 21:17:51	INFO	::casa	    nogui = False
2025-03-15 21:17:51	INFO	::casa	    nologfile = False
2025-03-15 21:17:51	INFO	::casa	    nologger = True
2025-03-15 21:17:51	INFO	::casa	    pipeline = False
2025-03-15 21:17:51	INFO	::casa	    startupfile = '/home/casatest/.casa/startup.py'
2025-03-15 21:17:51	INFO	::casa	    user_site = False
2025-03-15 21:17:51	INFO	::casa	
2025-03-15 21:17:51	INFO	::casa	casarundata version is unknown, this is probably a legacy version not installed by casaconfig
2025-03-15 21:17:51	INFO	::casa	measures version : WSRT_Measures_20211217-160001.ztar
2025-03-15 21:17:51	INFO	::casa	
2025-03-15 21:17:51	INFO	::casa	Checking Measures tables in data repository sub-directory /opt/casa/data/master/geodetic
2025-03-15 21:17:51	INFO	::casa	  IERSeop2000 (version date, last date in table (UTC)): 2025/03/10/15:15, 2025/02/08/00:00:00
2025-03-15 21:17:51	INFO	::casa	  IERSeop97 (version date, last date in table (UTC)): 2025/03/10/15:15, 2025/02/08/00:00:00
2025-03-15 21:17:51	INFO	::casa	  IERSpredict (version date, last date in table (UTC)): 2025/03/14/15:15, 2025/06/12/00:00:00
2025-03-15 21:17:51	INFO	::casa	  TAI_UTC (version date, last date in table (UTC)): 2025/03/08/15:15, 2017/01/01/00:00:00

Running tests...
----------------------------------------------------------------------
2025-03-15 21:17:51	INFO	ImageFactory::createImage	Created Paged image 'gen.im' of shape [10, 10, 10] with float valued pixels.
2025-03-15 21:17:52	INFO	ImageFactory::createImage	Created Paged image 'genfloat.im' of shape [10, 10, 10] with float valued pixels.
2025-03-15 21:17:52	INFO	ImageFactory::createImage	Created Paged image 'gencomp.im' of shape [10, 10] with Complex valued pixels.
2025-03-15 21:17:53	INFO	ImageFactory::createImage	Created Paged image 'gendeg.im' of shape [10, 10, 1, 1] with float valued pixels.

Using user configuration file /home/casatest/.casa/config.py

No event loop hook running.
Using matplotlib backend: agg
CASA 6.7.2.8 -- Common Astronomy Software Applications [6.7.2.8]
2025-03-15 21:17:53	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:53	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:17:53	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:17:53	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:17:53	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:17:53	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1]
2025-03-15 21:17:53	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5, 10]
2025-03-15 21:17:53	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:17:53.074287 End time: 2025-03-15 21:17:53.373479
2025-03-15 21:17:53	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:17:53	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:53	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:53	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:17:53	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned2.im', factor=[2, 2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:17:53	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:17:53	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:17:54	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned2.im' of shape [5, 5, 5]
2025-03-15 21:17:54	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:17:53.375357 End time: 2025-03-15 21:17:53.838485
2025-03-15 21:17:54	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:17:54	INFO	imrebin::::casa	##########################################
.2025-03-15 21:17:54	INFO	ImageFactory::createImage	Created Paged image 'erzvd.im' of shape [30, 30, 1] with float valued pixels.
2025-03-15 21:17:54	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:54	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:17:54	INFO	imrebin::::casa	imrebin( imagename='erzvd.im', outfile='vcsfea.im', factor=[5, 5], region='', box='5,5,25,25', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:17:54	INFO	imrebin::CasacRegionManager::fromBCS	Using specified box(es) 5,5,25,25
2025-03-15 21:17:54	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[5, 5, 1]
2025-03-15 21:17:55	INFO	imrebin::SubImageFactory::createImage	Creating image 'vcsfea.im' of shape [4, 4, 1]
2025-03-15 21:17:55	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:17:54.337177 End time: 2025-03-15 21:17:55.002226
2025-03-15 21:17:55	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:17:55	INFO	imrebin::::casa	##########################################
.2025-03-15 21:17:55	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:55	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:17:55	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='0', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:17:55	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:17:55	INFO	imrebin::CasacRegionManager::fromBCS	Using channel range(s) 
2025-03-15 21:17:55	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1]
2025-03-15 21:17:55	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5, 1]
2025-03-15 21:17:56	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:17:55.012337 End time: 2025-03-15 21:17:55.841343
2025-03-15 21:17:56	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:17:56	INFO	imrebin::::casa	##########################################
.2025-03-15 21:17:56	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:56	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:17:56	INFO	imrebin::::casa	imrebin( imagename='gencomp.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:17:56	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:17:56	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5]
2025-03-15 21:17:57	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:17:55.848785 End time: 2025-03-15 21:17:56.886946
2025-03-15 21:17:57	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:17:57	INFO	imrebin::::casa	##########################################
.2025-03-15 21:17:57	INFO	ImageFactory::createImage	Created Paged image 'xxyy.im' of shape [20, 20, 20] with float valued pixels.
2025-03-15 21:17:57	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:57	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:17:57	INFO	imrebin::::casa	imrebin( imagename='xxyy.im', outfile='outxdkd.im', factor=[3, 3, 3], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:17:57	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:17:57	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:17:58	INFO	imrebin::SubImageFactory::createImage	Creating image 'outxdkd.im' of shape [6, 6, 6]
2025-03-15 21:17:58	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:17:57.453271 End time: 2025-03-15 21:17:58.130180
2025-03-15 21:17:58	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:17:58	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:58	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:58	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:17:58	INFO	imrebin::::casa	imrebin( imagename='xxyy.im', outfile='outxdkd.im', factor=[3, 3, 3], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=True, stretch=False, crop=False )
2025-03-15 21:17:58	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:17:58	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:17:58	INFO	imrebin::SubImageFactory::createImage	Creating image 'outxdkd.im' of shape [7, 7, 7]
2025-03-15 21:17:59	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:17:58.139064 End time: 2025-03-15 21:17:58.539129
2025-03-15 21:17:59	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:17:59	INFO	imrebin::::casa	##########################################
.2025-03-15 21:17:59	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:59	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:17:59	INFO	imrebin::::casa	imrebin( imagename='gendeg.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:17:59	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:17:59	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:17:59	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:17:59	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1, 1]
2025-03-15 21:17:59	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5, 1, 1]
2025-03-15 21:17:59	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:17:58.549153 End time: 2025-03-15 21:17:59.493599
2025-03-15 21:17:59	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:17:59	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:59	INFO	imrebin::::casa	##########################################
2025-03-15 21:17:59	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:17:59	INFO	imrebin::::casa	imrebin( imagename='gendeg.im', outfile='rebinned2.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=True, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:00	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:00	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:00	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:18:00	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1, 1]
2025-03-15 21:18:00	INFO	imrebin::ImageRegion::fromRecord	Selected bounding box : 
2025-03-15 21:18:00	INFO	imrebin::ImageRegion::fromRecord+	    [0, 0] to [4, 4]  (00:00:18.000, -00.04.30.000 to 23:59:46.000, +00.03.30.000)
2025-03-15 21:18:00	INFO	imrebin::ImageRegion::fromRecord	Creating image 'rebinned2.im' of shape [5, 5]
2025-03-15 21:18:00	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:17:59.496735 End time: 2025-03-15 21:18:00.083046
2025-03-15 21:18:00	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:00	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:01	INFO	ImageFactory::createImage	Created Paged image 'kjfasd.im' of shape [20, 20, 1] with float valued pixels.
2025-03-15 21:18:01	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:01	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:01	INFO	imrebin::::casa	imrebin( imagename='kjfasd.im', outfile='dkfajfas.im', factor=[5, 5], region='', box='', chans='', stokes='', mask='', dropdeg=True, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:01	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:01	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:18:01	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[5, 5, 1]
2025-03-15 21:18:01	INFO	imrebin::ImageRegion::fromRecord	Selected bounding box : 
2025-03-15 21:18:01	INFO	imrebin::ImageRegion::fromRecord+	    [0, 0] to [3, 3]  (00:00:32.000, -00.08.00.000 to 23:59:32.000, +00.07.00.000)
2025-03-15 21:18:01	INFO	imrebin::ImageRegion::fromRecord	Creating image 'dkfajfas.im' of shape [4, 4]
2025-03-15 21:18:01	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:00.712032 End time: 2025-03-15 21:18:01.262916
2025-03-15 21:18:01	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:01	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:02	INFO	ImageFactory::createImage	Created Paged image 'kbesd.im' of shape [20, 20, 20] with float valued pixels.
2025-03-15 21:18:02	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:02	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:02	INFO	imrebin::::casa	imrebin( imagename='kbesd.im', outfile='kyzb5.im', factor=[1, 1, 20], region='', box='', chans='', stokes='', mask='', dropdeg=True, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:02	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:02	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:02	INFO	imrebin::ImageRegion::fromRecord	Selected bounding box : 
2025-03-15 21:18:02	INFO	imrebin::ImageRegion::fromRecord+	    [0, 0, 0] to [19, 19, 0]  (00:00:40.000, -00.10.00.001, 1.415e+09Hz to 23:59:24.000, +00.09.00.001, 1.415e+09Hz)
2025-03-15 21:18:02	INFO	imrebin::ImageRegion::fromRecord	Creating image 'kyzb5.im' of shape [20, 20]
2025-03-15 21:18:03	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:01.798585 End time: 2025-03-15 21:18:02.530807
2025-03-15 21:18:03	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:03	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:03	INFO	imrebin::::casa	imrebin( imagename='/opt/casa/data/casatestdata/unittest/imrebin/orion_tfeather.im/', outfile='rebinned.im', factor=[], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:18:03	SEVERE	imrebin::image::rebin	Exception Reported: Exception: Rebinning factor vector cannot be empty.
2025-03-15 21:18:03	SEVERE	imrebin::image::rebin+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 19
2025-03-15 21:18:03	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: Exception: Rebinning factor vector cannot be empty.
2025-03-15 21:18:03	SEVERE	imrebin::::casa+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 19
2025-03-15 21:18:03	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 561, in __call__
2025-03-15 21:18:03	INFO	imrebin::::casa+	    task_result = _imrebin_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['factor'],_pc.document['region'],_pc.document['box'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['stretch'],_pc.document['crop'] )
2025-03-15 21:18:03	INFO	imrebin::::casa+	                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatasks/private/task_imrebin.py", line 43, in imrebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    outia = myia.rebin(
2025-03-15 21:18:03	INFO	imrebin::::casa+	            ^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/image.py", line 2793, in rebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    return _wrap_image(swig_object=self._swigobj.rebin(outfile, bin, region, mask, dropdeg, overwrite, stretch, crop))
2025-03-15 21:18:03	INFO	imrebin::::casa+	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/__casac__/image.py", line 5924, in rebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    return _image.image_rebin(self, *args, **kwargs)
2025-03-15 21:18:03	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	RuntimeError: Exception: Rebinning factor vector cannot be empty.
2025-03-15 21:18:03	INFO	imrebin::::casa+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 19
2025-03-15 21:18:03	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:02.539427 End time: 2025-03-15 21:18:02.620401
2025-03-15 21:18:03	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:03	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:03	INFO	imrebin::::casa	imrebin( imagename='/opt/casa/data/casatestdata/unittest/imrebin/orion_tfeather.im/', outfile='rebinned.im', factor=[2, 2, 2, 2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:18:03	SEVERE	imrebin::image::rebin	Exception Reported: Exception: Factor vector length must be less than or equal to the number of input image axes.
2025-03-15 21:18:03	SEVERE	imrebin::image::rebin+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 33
2025-03-15 21:18:03	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: Exception: Factor vector length must be less than or equal to the number of input image axes.
2025-03-15 21:18:03	SEVERE	imrebin::::casa+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 33
2025-03-15 21:18:03	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 561, in __call__
2025-03-15 21:18:03	INFO	imrebin::::casa+	    task_result = _imrebin_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['factor'],_pc.document['region'],_pc.document['box'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['stretch'],_pc.document['crop'] )
2025-03-15 21:18:03	INFO	imrebin::::casa+	                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatasks/private/task_imrebin.py", line 43, in imrebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    outia = myia.rebin(
2025-03-15 21:18:03	INFO	imrebin::::casa+	            ^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/image.py", line 2793, in rebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    return _wrap_image(swig_object=self._swigobj.rebin(outfile, bin, region, mask, dropdeg, overwrite, stretch, crop))
2025-03-15 21:18:03	INFO	imrebin::::casa+	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/__casac__/image.py", line 5924, in rebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    return _image.image_rebin(self, *args, **kwargs)
2025-03-15 21:18:03	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	RuntimeError: Exception: Factor vector length must be less than or equal to the number of input image axes.
2025-03-15 21:18:03	INFO	imrebin::::casa+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 33
2025-03-15 21:18:03	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:02.622853 End time: 2025-03-15 21:18:02.640663
2025-03-15 21:18:03	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:03	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:03	INFO	imrebin::::casa	imrebin( imagename='/opt/casa/data/casatestdata/unittest/imrebin/orion_tfeather.im/', outfile='rebinned.im', factor=[2, -2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:18:03	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: Exception: All binning factors must be positive..
2025-03-15 21:18:03	SEVERE	imrebin::::casa+	... thrown by casac::image* casac::image::rebin(const string&, const std::vector<long int>&, const casac::variant&, const casac::variant&, bool, bool, bool, bool) at File: src/tools/image/image_cmpt.cc, line: 4940
2025-03-15 21:18:03	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 561, in __call__
2025-03-15 21:18:03	INFO	imrebin::::casa+	    task_result = _imrebin_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['factor'],_pc.document['region'],_pc.document['box'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['stretch'],_pc.document['crop'] )
2025-03-15 21:18:03	INFO	imrebin::::casa+	                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatasks/private/task_imrebin.py", line 43, in imrebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    outia = myia.rebin(
2025-03-15 21:18:03	INFO	imrebin::::casa+	            ^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/image.py", line 2793, in rebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    return _wrap_image(swig_object=self._swigobj.rebin(outfile, bin, region, mask, dropdeg, overwrite, stretch, crop))
2025-03-15 21:18:03	INFO	imrebin::::casa+	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/__casac__/image.py", line 5924, in rebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    return _image.image_rebin(self, *args, **kwargs)
2025-03-15 21:18:03	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	RuntimeError: Exception: All binning factors must be positive..
2025-03-15 21:18:03	INFO	imrebin::::casa+	... thrown by casac::image* casac::image::rebin(const string&, const std::vector<long int>&, const casac::variant&, const casac::variant&, bool, bool, bool, bool) at File: src/tools/image/image_cmpt.cc, line: 4940
2025-03-15 21:18:03	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:02.642806 End time: 2025-03-15 21:18:02.656955
2025-03-15 21:18:03	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:03	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: {'factor': ['must be of cIntVec type']}
2025-03-15 21:18:03	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 559, in __call__
2025-03-15 21:18:03	INFO	imrebin::::casa+	    assert _pc.validate(_invocation_parameters,self.__schema), create_error_string(_pc.errors)
2025-03-15 21:18:03	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	AssertionError: {'factor': ['must be of cIntVec type']}
2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:03	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:03	INFO	imrebin::::casa	imrebin( imagename='/opt/casa/data/casatestdata/unittest/imrebin/orion_tfeather.im/', outfile='rebinned.im', factor=[1, 1, 1], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:18:03	SEVERE	imrebin::image::rebin	Exception Reported: Exception: All rebinning factors are 1, which means rebinning cannot occur.
2025-03-15 21:18:03	SEVERE	imrebin::image::rebin+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 27
2025-03-15 21:18:03	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: Exception: All rebinning factors are 1, which means rebinning cannot occur.
2025-03-15 21:18:03	SEVERE	imrebin::::casa+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 27
2025-03-15 21:18:03	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 561, in __call__
2025-03-15 21:18:03	INFO	imrebin::::casa+	    task_result = _imrebin_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['factor'],_pc.document['region'],_pc.document['box'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['stretch'],_pc.document['crop'] )
2025-03-15 21:18:03	INFO	imrebin::::casa+	                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatasks/private/task_imrebin.py", line 43, in imrebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    outia = myia.rebin(
2025-03-15 21:18:03	INFO	imrebin::::casa+	            ^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/image.py", line 2793, in rebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    return _wrap_image(swig_object=self._swigobj.rebin(outfile, bin, region, mask, dropdeg, overwrite, stretch, crop))
2025-03-15 21:18:03	INFO	imrebin::::casa+	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/__casac__/image.py", line 5924, in rebin
2025-03-15 21:18:03	INFO	imrebin::::casa+	    return _image.image_rebin(self, *args, **kwargs)
2025-03-15 21:18:03	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:03	INFO	imrebin::::casa+	RuntimeError: Exception: All rebinning factors are 1, which means rebinning cannot occur.
2025-03-15 21:18:03	INFO	imrebin::::casa+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 27
2025-03-15 21:18:03	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:02.661475 End time: 2025-03-15 21:18:02.675654
2025-03-15 21:18:03	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:03	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:03	INFO	imrebin::::casa	imrebin( imagename='genfloat.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:03	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:03	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1]
2025-03-15 21:18:03	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5, 10]
2025-03-15 21:18:03	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:02.678052 End time: 2025-03-15 21:18:03.403303
2025-03-15 21:18:03	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:03	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:04	INFO	ImageFactory::createImage	Created Paged image 'st.im' of shape [20, 40] with float valued pixels.
2025-03-15 21:18:04	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:04	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:04	INFO	imrebin::::casa	imrebin( imagename='st.im', outfile='gk.im', factor=[-100, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=True, stretch=False, crop=True )
2025-03-15 21:18:04	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:04	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: Exception: All binning factors must be positive..
2025-03-15 21:18:04	SEVERE	imrebin::::casa+	... thrown by casac::image* casac::image::rebin(const string&, const std::vector<long int>&, const casac::variant&, const casac::variant&, bool, bool, bool, bool) at File: src/tools/image/image_cmpt.cc, line: 4940
2025-03-15 21:18:04	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:04	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 561, in __call__
2025-03-15 21:18:04	INFO	imrebin::::casa+	    task_result = _imrebin_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['factor'],_pc.document['region'],_pc.document['box'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['stretch'],_pc.document['crop'] )
2025-03-15 21:18:04	INFO	imrebin::::casa+	                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:04	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatasks/private/task_imrebin.py", line 43, in imrebin
2025-03-15 21:18:04	INFO	imrebin::::casa+	    outia = myia.rebin(
2025-03-15 21:18:04	INFO	imrebin::::casa+	            ^^^^^^^^^^^
2025-03-15 21:18:04	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/image.py", line 2793, in rebin
2025-03-15 21:18:04	INFO	imrebin::::casa+	    return _wrap_image(swig_object=self._swigobj.rebin(outfile, bin, region, mask, dropdeg, overwrite, stretch, crop))
2025-03-15 21:18:04	INFO	imrebin::::casa+	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:04	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/__casac__/image.py", line 5924, in rebin
2025-03-15 21:18:04	INFO	imrebin::::casa+	    return _image.image_rebin(self, *args, **kwargs)
2025-03-15 21:18:04	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:04	INFO	imrebin::::casa+	RuntimeError: Exception: All binning factors must be positive..
2025-03-15 21:18:04	INFO	imrebin::::casa+	... thrown by casac::image* casac::image::rebin(const string&, const std::vector<long int>&, const casac::variant&, const casac::variant&, bool, bool, bool, bool) at File: src/tools/image/image_cmpt.cc, line: 4940
2025-03-15 21:18:04	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:04.048644 End time: 2025-03-15 21:18:04.061546
2025-03-15 21:18:04	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:04	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:04	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:04	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:04	INFO	imrebin::::casa	imrebin( imagename='st.im', outfile='gk.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=True, stretch=False, crop=True )
2025-03-15 21:18:04	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:04	INFO	imrebin::SubImageFactory::createImage	Creating image 'gk.im' of shape [10, 20]
2025-03-15 21:18:05	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:04.064161 End time: 2025-03-15 21:18:05.006243
2025-03-15 21:18:05	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:05	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:05	INFO	ImageFactory::createImage	Created Paged image 'zz.im' of shape [20, 20, 20] with float valued pixels.
2025-03-15 21:18:06	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:06	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:06	INFO	imrebin::::casa	imrebin( imagename='zz.im', outfile='zz_out.im', factor=[1, 1, 20], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:06	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:06	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:06	INFO	imrebin::SubImageFactory::createImage	Creating image 'zz_out.im' of shape [20, 20, 1]
2025-03-15 21:18:07	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:05.658637 End time: 2025-03-15 21:18:06.737398
2025-03-15 21:18:07	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:07	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:05	INFO	::::ImageFactory::createImage	Created Paged image 'zz.im' of shape [20, 20, 20] with float valued pixels.
2025-03-15 21:18:05	INFO	::::image::fromshape	Ran ia.fromshape
2025-03-15 21:18:05	INFO	::::image::fromshape	ia.fromshape(outfile="zz.im", shape=[20,20,20], csys={...}, linear=false, overwrite=false, log=true, type="f")
2025-03-15 21:18:06	INFO	::::imrebin	version: 6.7.2-8 CASAtools:v1.0.0
2025-03-15 21:18:06	INFO	::::imrebin	imrebin(imagename="zz.im", outfile="zz_out.im", factor=[1, 1, 20], region="", box="", chans="", stokes="", mask="", dropdeg=False, overwrite=False, stretch=False, crop=True)
.2025-03-15 21:18:07	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:07	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:07	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='gen.im>2', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:07	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:07	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:07	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1]
2025-03-15 21:18:07	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5, 10]
2025-03-15 21:18:07	INFO	imrebin::ImageMaskAttacher::makeMask	Created mask `mask0'
2025-03-15 21:18:08	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:06.749174 End time: 2025-03-15 21:18:07.555231
2025-03-15 21:18:08	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:08	INFO	imrebin::::casa	##########################################
0.0
.2025-03-15 21:18:08	INFO	ImageFactory::createImage	Created Paged image 'gd.im' of shape [10, 10, 10] with float valued pixels.
2025-03-15 21:18:08	INFO	image::_casaQuantityFromVar 	Will use values specified in major, minor, pa to set beam
2025-03-15 21:18:08	INFO	BeamManipulator::set	This image currently has no beams of any kind. Since channel and/or polarization were specified, a set of per plane beams, each equal to the specified beam, will be created.
2025-03-15 21:18:08	INFO	BeamManipulator::set	Beam parameters:  Major          : 4 arcsec
2025-03-15 21:18:08	INFO	BeamManipulator::set+	  Minor          : 2 arcsec
2025-03-15 21:18:08	INFO	BeamManipulator::set+	  Position Angle : 0 deg
2025-03-15 21:18:08	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:08	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:08	INFO	imrebin::::casa	imrebin( imagename='gd.im', outfile='dx.im', factor=[2, 2, 1], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:08	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:08	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:08	INFO	imrebin::SubImageFactory::createImage	Creating image 'dx.im' of shape [5, 5, 10]
2025-03-15 21:18:09	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:07.812512 End time: 2025-03-15 21:18:08.703317
2025-03-15 21:18:09	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:09	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:09	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:09	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:09	INFO	imrebin::::casa	imrebin( imagename='gd.im', outfile='dx.im', factor=[2, 2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:09	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:09	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:09	SEVERE	imrebin::ImageInputProcessor::_process	Replaceable flag is false and there is already a file or directory named dx.im so the output image will not be written
2025-03-15 21:18:09	SEVERE	imrebin::image::rebin	Exception Reported: 2025-03-15 21:18:09	SEVERE	imrebin::ImageInputProcessor::_process	Replaceable flag is false and there is already a file or directory named dx.im so the output image will not be written
2025-03-15 21:18:09	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: 2025-03-15 21:18:09	SEVERE	imrebin::ImageInputProcessor::_process	Replaceable flag is false and there is already a file or directory named dx.im so the output image will not be written
2025-03-15 21:18:09	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:09	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 561, in __call__
2025-03-15 21:18:09	INFO	imrebin::::casa+	    task_result = _imrebin_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['factor'],_pc.document['region'],_pc.document['box'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['stretch'],_pc.document['crop'] )
2025-03-15 21:18:09	INFO	imrebin::::casa+	                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:09	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatasks/private/task_imrebin.py", line 43, in imrebin
2025-03-15 21:18:09	INFO	imrebin::::casa+	    outia = myia.rebin(
2025-03-15 21:18:09	INFO	imrebin::::casa+	            ^^^^^^^^^^^
2025-03-15 21:18:09	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/image.py", line 2793, in rebin
2025-03-15 21:18:09	INFO	imrebin::::casa+	    return _wrap_image(swig_object=self._swigobj.rebin(outfile, bin, region, mask, dropdeg, overwrite, stretch, crop))
2025-03-15 21:18:09	INFO	imrebin::::casa+	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:09	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/__casac__/image.py", line 5924, in rebin
2025-03-15 21:18:09	INFO	imrebin::::casa+	    return _image.image_rebin(self, *args, **kwargs)
2025-03-15 21:18:09	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:09	INFO	imrebin::::casa+	RuntimeError: 2025-03-15 21:18:09	SEVERE	imrebin::ImageInputProcessor::_process	Replaceable flag is false and there is already a file or directory named dx.im so the output image will not be written
2025-03-15 21:18:09	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:08.706274 End time: 2025-03-15 21:18:08.823603
2025-03-15 21:18:09	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:09	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:09	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:09	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:09	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:09	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:09	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:09	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1]
2025-03-15 21:18:09	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5, 10]
2025-03-15 21:18:10	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:08.895960 End time: 2025-03-15 21:18:09.918455
2025-03-15 21:18:10	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:10	INFO	imrebin::::casa	##########################################
10 5
.2025-03-15 21:18:10	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:10	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:10	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:10	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:10	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:10	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1]
2025-03-15 21:18:10	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5, 10]
2025-03-15 21:18:11	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:09.928802 End time: 2025-03-15 21:18:11.157408
2025-03-15 21:18:11	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:11	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:11	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:11	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:11	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:11	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:11	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:11	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1]
2025-03-15 21:18:11	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5, 10]
2025-03-15 21:18:12	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:11.168069 End time: 2025-03-15 21:18:12.264460
2025-03-15 21:18:12	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:12	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:12	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:12	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:12	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:12	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:12	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:12	SEVERE	imrebin::ImageInputProcessor::_process	Replaceable flag is false and there is already a file or directory named rebinned.im so the output image will not be written
2025-03-15 21:18:12	SEVERE	imrebin::image::rebin	Exception Reported: 2025-03-15 21:18:12	SEVERE	imrebin::ImageInputProcessor::_process	Replaceable flag is false and there is already a file or directory named rebinned.im so the output image will not be written
2025-03-15 21:18:12	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: 2025-03-15 21:18:12	SEVERE	imrebin::ImageInputProcessor::_process	Replaceable flag is false and there is already a file or directory named rebinned.im so the output image will not be written
2025-03-15 21:18:12	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:12	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 561, in __call__
2025-03-15 21:18:12	INFO	imrebin::::casa+	    task_result = _imrebin_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['factor'],_pc.document['region'],_pc.document['box'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['stretch'],_pc.document['crop'] )
2025-03-15 21:18:12	INFO	imrebin::::casa+	                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:12	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatasks/private/task_imrebin.py", line 43, in imrebin
2025-03-15 21:18:12	INFO	imrebin::::casa+	    outia = myia.rebin(
2025-03-15 21:18:12	INFO	imrebin::::casa+	            ^^^^^^^^^^^
2025-03-15 21:18:12	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/image.py", line 2793, in rebin
2025-03-15 21:18:12	INFO	imrebin::::casa+	    return _wrap_image(swig_object=self._swigobj.rebin(outfile, bin, region, mask, dropdeg, overwrite, stretch, crop))
2025-03-15 21:18:12	INFO	imrebin::::casa+	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:12	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/__casac__/image.py", line 5924, in rebin
2025-03-15 21:18:12	INFO	imrebin::::casa+	    return _image.image_rebin(self, *args, **kwargs)
2025-03-15 21:18:12	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:12	INFO	imrebin::::casa+	RuntimeError: 2025-03-15 21:18:12	SEVERE	imrebin::ImageInputProcessor::_process	Replaceable flag is false and there is already a file or directory named rebinned.im so the output image will not be written
2025-03-15 21:18:12	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:12.267787 End time: 2025-03-15 21:18:12.287349
2025-03-15 21:18:12	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:12	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:12	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:12	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:12	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=True, stretch=False, crop=True )
2025-03-15 21:18:12	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:12	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:12	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1]
2025-03-15 21:18:13	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [5, 5, 10]
2025-03-15 21:18:15	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:12.289804 End time: 2025-03-15 21:18:14.943437
2025-03-15 21:18:15	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:15	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:15	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:15	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:15	INFO	imrebin::::casa	imrebin( imagename='/opt/casa/data/casatestdata/unittest/imrebin/orion_tfeather.im/', outfile='rebinned.im', factor=[2, 2, 2], region='', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:15	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:15	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:15	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:18:15	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 2, 1]
2025-03-15 21:18:15	SEVERE	imrebin::image::rebin	Exception Reported: Exception: A polarization axis cannot be rebinned.
2025-03-15 21:18:15	SEVERE	imrebin::image::rebin+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 52
2025-03-15 21:18:15	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: Exception: A polarization axis cannot be rebinned.
2025-03-15 21:18:15	SEVERE	imrebin::::casa+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 52
2025-03-15 21:18:15	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:15	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 561, in __call__
2025-03-15 21:18:15	INFO	imrebin::::casa+	    task_result = _imrebin_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['factor'],_pc.document['region'],_pc.document['box'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['stretch'],_pc.document['crop'] )
2025-03-15 21:18:15	INFO	imrebin::::casa+	                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:15	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatasks/private/task_imrebin.py", line 43, in imrebin
2025-03-15 21:18:15	INFO	imrebin::::casa+	    outia = myia.rebin(
2025-03-15 21:18:15	INFO	imrebin::::casa+	            ^^^^^^^^^^^
2025-03-15 21:18:15	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/image.py", line 2793, in rebin
2025-03-15 21:18:15	INFO	imrebin::::casa+	    return _wrap_image(swig_object=self._swigobj.rebin(outfile, bin, region, mask, dropdeg, overwrite, stretch, crop))
2025-03-15 21:18:15	INFO	imrebin::::casa+	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:15	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/__casac__/image.py", line 5924, in rebin
2025-03-15 21:18:15	INFO	imrebin::::casa+	    return _image.image_rebin(self, *args, **kwargs)
2025-03-15 21:18:15	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:15	INFO	imrebin::::casa+	RuntimeError: Exception: A polarization axis cannot be rebinned.
2025-03-15 21:18:15	INFO	imrebin::::casa+	... thrown by void casa::ImageRebinner<T>::setFactors(const casacore::Vector<int>&) [with T = float] at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/ImageRebinner.tcc, line: 52
2025-03-15 21:18:15	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:14.948996 End time: 2025-03-15 21:18:14.969988
2025-03-15 21:18:15	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:15	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:15	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:15	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:15	INFO	imrebin::::casa	imrebin( imagename='gen.im', outfile='rebinned.im', factor=[3, 3], region='centerbox[[5pix,5pix],[3pix,3pix]]', box='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:15	INFO	imrebin::AsciiRegionFileParser::_parse	Combined 1 image regions (which excludes any annotation regions)
2025-03-15 21:18:15	INFO	imrebin::AsciiRegionFileParser::_parse	The specified region will select all pixels that are included in the region. Full pixels will be included even when they are only partially covered by the region(s).
2025-03-15 21:18:15	INFO	imrebin::CasacRegionManager::fromBCS	Region read from text string centerbox[[5pix,5pix],[3pix,3pix]]
2025-03-15 21:18:15	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[3, 3, 1]
2025-03-15 21:18:15	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [1, 1, 10]
2025-03-15 21:18:16	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:14.973202 End time: 2025-03-15 21:18:16.172367
2025-03-15 21:18:16	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:16	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:16	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:16	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:16	INFO	imrebin::::casa	imrebin( imagename='/opt/casa/data/casatestdata/unittest/imrebin/image_input_processor.im/', outfile='rebinned.im', factor=[2, 2], region='', box='', chans='', stokes='i', mask='', dropdeg=False, overwrite=False, stretch=False, crop=True )
2025-03-15 21:18:16	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:16	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:16	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations I
2025-03-15 21:18:16	INFO	imrebin::ImageRebinner::setFactors	Not all rebinning factors were specified, filling in those not specified with factors of 1, so will rebin according to factor=[2, 2, 1, 1]
2025-03-15 21:18:17	INFO	imrebin::SubImageFactory::createImage	Creating image 'rebinned.im' of shape [25, 25, 1, 1]
2025-03-15 21:18:17	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:16.180041 End time: 2025-03-15 21:18:17.019208
2025-03-15 21:18:17	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:17	INFO	imrebin::::casa	##########################################
.2025-03-15 21:18:17	INFO	ImageFactory::createImage	Created Paged image 'maskim' of shape [200, 200, 1, 1] with float valued pixels.
2025-03-15 21:18:18	INFO	ImageFactory::createImage	Created Paged image 'aa.im' of shape [200, 200, 1, 10] with float valued pixels.
2025-03-15 21:18:19	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:19	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:19	INFO	imrebin::::casa	imrebin( imagename='aa.im', outfile='ab.im', factor=[2, 2, 1, 1], region='', box='', chans='', stokes='', mask='maskim>0', dropdeg=False, overwrite=True, stretch=False, crop=True )
2025-03-15 21:18:19	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:19	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:19	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:18:19	SEVERE	imrebin::image::rebin	Exception Reported: The input image shape ([200, 200, 1, 10]) and mask shape ([200, 200, 1, 1]) are different, and it was specified that the mask should not be extended, so the mask cannot be applied to the (sub)image. Specifying that the mask should be extended may resolve the issue at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/SubImageFactory.tcc, line: 306
2025-03-15 21:18:19	SEVERE	imrebin::::casa	Exception Reported: Error in imrebin: The input image shape ([200, 200, 1, 10]) and mask shape ([200, 200, 1, 1]) are different, and it was specified that the mask should not be extended, so the mask cannot be applied to the (sub)image. Specifying that the mask should be extended may resolve the issue at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/SubImageFactory.tcc, line: 306
2025-03-15 21:18:19	INFO	imrebin::::casa	Traceback (most recent call last):
2025-03-15 21:18:19	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casashell/private/imrebin.py", line 561, in __call__
2025-03-15 21:18:19	INFO	imrebin::::casa+	    task_result = _imrebin_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['factor'],_pc.document['region'],_pc.document['box'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['stretch'],_pc.document['crop'] )
2025-03-15 21:18:19	INFO	imrebin::::casa+	                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:19	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatasks/private/task_imrebin.py", line 43, in imrebin
2025-03-15 21:18:19	INFO	imrebin::::casa+	    outia = myia.rebin(
2025-03-15 21:18:19	INFO	imrebin::::casa+	            ^^^^^^^^^^^
2025-03-15 21:18:19	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/image.py", line 2793, in rebin
2025-03-15 21:18:19	INFO	imrebin::::casa+	    return _wrap_image(swig_object=self._swigobj.rebin(outfile, bin, region, mask, dropdeg, overwrite, stretch, crop))
2025-03-15 21:18:19	INFO	imrebin::::casa+	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:19	INFO	imrebin::::casa+	  File "/wheeldirectory/casa-6.7.2-8-py3.12.el8/lib/py/lib/python3.12/site-packages/casatools/__casac__/image.py", line 5924, in rebin
2025-03-15 21:18:19	INFO	imrebin::::casa+	    return _image.image_rebin(self, *args, **kwargs)
2025-03-15 21:18:19	INFO	imrebin::::casa+	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-15 21:18:19	INFO	imrebin::::casa+	RuntimeError: The input image shape ([200, 200, 1, 10]) and mask shape ([200, 200, 1, 1]) are different, and it was specified that the mask should not be extended, so the mask cannot be applied to the (sub)image. Specifying that the mask should be extended may resolve the issue at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/SubImageFactory.tcc, line: 306
2025-03-15 21:18:19	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:18.557592 End time: 2025-03-15 21:18:18.583732
2025-03-15 21:18:19	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:19	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:19	INFO	imrebin::::casa	##########################################
2025-03-15 21:18:19	INFO	imrebin::::casa	##### Begin Task: imrebin            #####
2025-03-15 21:18:19	INFO	imrebin::::casa	imrebin( imagename='aa.im', outfile='ab.im', factor=[2, 2, 1, 1], region='', box='', chans='', stokes='', mask='maskim>0', dropdeg=False, overwrite=True, stretch=True, crop=True )
2025-03-15 21:18:19	INFO	imrebin::CasacRegionManager::fromBCS	No directional region specified. Using full positional plane.
2025-03-15 21:18:19	INFO	imrebin::CasacRegionManager::fromBCS	Using all spectral channels.
2025-03-15 21:18:19	INFO	imrebin::CasacRegionManager::fromBCS	Using polarizations ALL
2025-03-15 21:18:19	INFO	imrebin::SubImageFactory::createImage	Creating image 'ab.im' of shape [100, 100, 1, 10]
2025-03-15 21:18:19	INFO	imrebin::ImageMaskAttacher::makeMask	Created mask `mask0'
2025-03-15 21:18:20	INFO	imrebin::::casa	Task imrebin complete. Start time: 2025-03-15 21:18:18.586031 End time: 2025-03-15 21:18:19.990711
2025-03-15 21:18:20	INFO	imrebin::::casa	##### End Task: imrebin              #####
2025-03-15 21:18:20	INFO	imrebin::::casa	##########################################
.
----------------------------------------------------------------------
Ran 21 tests in 28.916s

OK

Generating XML reports...