2025-10-14 09:42:34 INFO ::casa Using user configuration file /home/casatest/.casa/config.py 2025-10-14 09:42:34 INFO ::casa loaded config file : /wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casaconfig/config.py 2025-10-14 09:42:34 INFO ::casa loaded config file : /home/casatest/.casa/config.py 2025-10-14 09:42:34 INFO ::casa 2025-10-14 09:42:34 INFO ::casa config values 2025-10-14 09:42:34 INFO ::casa agg = False 2025-10-14 09:42:34 INFO ::casa cachedir = '/home/casatest/.casa' 2025-10-14 09:42:34 INFO ::casa casaconfig_verbose = 1 2025-10-14 09:42:34 INFO ::casa colors = 'Neutral' 2025-10-14 09:42:34 INFO ::casa data_auto_update = False 2025-10-14 09:42:34 INFO ::casa datapath = ['/opt/casa/data/master', '/opt/casa/data/casatestdata'] 2025-10-14 09:42:34 INFO ::casa iplog = False 2025-10-14 09:42:34 INFO ::casa iplogfile = '/home/casatest/casa6/casatasks/tests/casashell_tests/work/test_task_imsubimage_casashell/ipython-20251014-094231.log' 2025-10-14 09:42:34 INFO ::casa log2term = True 2025-10-14 09:42:34 INFO ::casa logfile = '/home/casatest/casa6/casatasks/tests/casashell_tests/work/test_task_imsubimage_casashell/casa-20251014-094231.log' 2025-10-14 09:42:34 INFO ::casa measures_auto_update = False 2025-10-14 09:42:34 INFO ::casa measurespath = '/opt/casa/data/master' 2025-10-14 09:42:34 INFO ::casa nogui = False 2025-10-14 09:42:34 INFO ::casa nologfile = False 2025-10-14 09:42:34 INFO ::casa nologger = True 2025-10-14 09:42:34 INFO ::casa pipeline = False 2025-10-14 09:42:34 INFO ::casa startupfile = '/home/casatest/.casa/startup.py' 2025-10-14 09:42:34 INFO ::casa user_site = False 2025-10-14 09:42:34 INFO ::casa 2025-10-14 09:42:34 INFO ::casa casarundata version is unknown, this is probably a legacy version not installed by casaconfig 2025-10-14 09:42:34 INFO ::casa measures version is unknown, this is probably a legacy version not installed by casaconfig 2025-10-14 09:42:34 INFO ::casa 2025-10-14 09:42:34 INFO ::casa Checking Measures tables in data repository sub-directory /opt/casa/data/master/geodetic 2025-10-14 09:42:34 INFO ::casa IERSeop2000 (version date, last date in table (UTC)): 2025/03/10/15:15, 2025/02/08/00:00:00 2025-10-14 09:42:34 INFO ::casa IERSeop97 (version date, last date in table (UTC)): 2025/03/10/15:15, 2025/02/08/00:00:00 2025-10-14 09:42:34 INFO ::casa IERSpredict (version date, last date in table (UTC)): 2025/04/08/15:15, 2025/07/07/00:00:00 2025-10-14 09:42:34 INFO ::casa TAI_UTC (version date, last date in table (UTC)): 2025/03/08/15:15, 2017/01/01/00:00:00 Running tests... ---------------------------------------------------------------------- Using user configuration file /home/casatest/.casa/config.py No event loop hook running. Using matplotlib backend: agg CASA 6.7.1.12 -- Common Astronomy Software Applications [6.7.1.12] 2025-10-14 09:42:34 INFO ImageFactory::createImage Created Paged image 'CAS-7704.im' of shape [20, 20, 20, 4] with float valued pixels. 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa imsubimage( imagename='CAS-7704.im', outfile='myout.im', box='', region='box[[1pix,1pix],[19pix,19pix]])', chans='', stokes='', mask='', dropdeg=False, overwrite=True, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:34 INFO imsubimage::AsciiRegionFileParser::_parse Combined 1 image regions (which excludes any annotation regions) 2025-10-14 09:42:34 INFO imsubimage::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-10-14 09:42:34 INFO imsubimage::CasacRegionManager::fromBCS Region read from text string box[[1pix,1pix],[19pix,19pix]]) 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord+ [1, 1, 0, 0] to [19, 19, 19, 3] (00:00:36.000, -00.09.00.001, 1.41499e+09Hz, I to 23:59:24.000, +00.09.00.001, 1.41501e+09Hz, V) 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Creating image 'myout.im' of shape [19, 19, 20, 4] 2025-10-14 09:42:34 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.115154 End time: 2025-10-14 09:42:34.162521 2025-10-14 09:42:34 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 WARN image::open (file src/tools/image/image_cmpt.cc, line 4208) Another image is already open, closing first 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa imsubimage( imagename='CAS-7704.im', outfile='myout.im', box='', region='box[[1pix,1pix],[19pix,19pix]])', chans='5~6,9~10', stokes='', mask='', dropdeg=False, overwrite=True, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:34 SEVERE imsubimage::regionmanager::frombcs Exception Reported: Exception: Overriding spectral specification must be limited to a sngle channel range. 2025-10-14 09:42:34 SEVERE imsubimage::regionmanager::frombcs+ ... thrown by void casa::RegionTextParser::_setOverridingChannelRange(const casacore::String&) at File: /source/casa6/casatools/src/code/imageanalysis/IO/RegionTextParser.cc, line: 1313 at File: /source/casa6/casatools/src/code/imageanalysis/Regions/CasacRegionManager.cc, line: 445 2025-10-14 09:42:34 SEVERE imsubimage::::casa Exception Reported: Error in imsubimage: Exception: Overriding spectral specification must be limited to a sngle channel range. 2025-10-14 09:42:34 SEVERE imsubimage::::casa+ ... thrown by void casa::RegionTextParser::_setOverridingChannelRange(const casacore::String&) at File: /source/casa6/casatools/src/code/imageanalysis/IO/RegionTextParser.cc, line: 1313 at File: /source/casa6/casatools/src/code/imageanalysis/Regions/CasacRegionManager.cc, line: 445 2025-10-14 09:42:34 INFO imsubimage::::casa Traceback (most recent call last): 2025-10-14 09:42:34 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casashell/private/imsubimage.py", line 573, in __call__ 2025-10-14 09:42:34 INFO imsubimage::::casa+ task_result = _imsubimage_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['box'],_pc.document['region'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['verbose'],_pc.document['stretch'],_pc.document['keepaxes'] ) 2025-10-14 09:42:34 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatasks/private/task_imsubimage.py", line 26, in imsubimage 2025-10-14 09:42:34 INFO imsubimage::::casa+ xregion = _rg.frombcs( 2025-10-14 09:42:34 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/regionmanager.py", line 73, in frombcs 2025-10-14 09:42:34 INFO imsubimage::::casa+ return self._swigobj.frombcs(csys, shape, box, chans, stokes, stokescontrol, region) 2025-10-14 09:42:34 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/__casac__/regionmanager.py", line 329, in frombcs 2025-10-14 09:42:34 INFO imsubimage::::casa+ return _regionmanager.regionmanager_frombcs(self, *args, **kwargs) 2025-10-14 09:42:34 INFO imsubimage::::casa+ RuntimeError: Exception: Overriding spectral specification must be limited to a sngle channel range. 2025-10-14 09:42:34 INFO imsubimage::::casa+ ... thrown by void casa::RegionTextParser::_setOverridingChannelRange(const casacore::String&) at File: /source/casa6/casatools/src/code/imageanalysis/IO/RegionTextParser.cc, line: 1313 at File: /source/casa6/casatools/src/code/imageanalysis/Regions/CasacRegionManager.cc, line: 445 2025-10-14 09:42:34 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.169048 End time: 2025-10-14 09:42:34.187098 2025-10-14 09:42:34 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa imsubimage( imagename='CAS-7704.im', outfile='myout.im', box='', region='box[[1pix,1pix],[19pix,19pix]])', chans='5~10', stokes='', mask='', dropdeg=False, overwrite=True, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:34 INFO imsubimage::AsciiRegionFileParser::_parse Combined 1 image regions (which excludes any annotation regions) 2025-10-14 09:42:34 INFO imsubimage::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-10-14 09:42:34 INFO imsubimage::CasacRegionManager::fromBCS Region read from text string box[[1pix,1pix],[19pix,19pix]]) 2025-10-14 09:42:34 WARN imsubimage::CasacRegionManager::fromBCS Stokes cannot be determined because this region type is not handled yet. But chances are very good this is no need to be alarmed. 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord+ [1, 1, 5, 0] to [19, 19, 10, 3] (00:00:36.000, -00.09.00.001, 1.415e+09Hz, I to 23:59:24.000, +00.09.00.001, 1.415e+09Hz, V) 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Creating image 'myout.im' of shape [19, 19, 6, 4] 2025-10-14 09:42:34 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.188347 End time: 2025-10-14 09:42:34.232496 2025-10-14 09:42:34 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa imsubimage( imagename='CAS-7704.im', outfile='myout.im', box='', region='box[[1pix,1pix],[19pix,19pix]])', chans='', stokes='IU', mask='', dropdeg=False, overwrite=True, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:34 INFO imsubimage::AsciiRegionFileParser::_parse Combined 1 image regions (which excludes any annotation regions) 2025-10-14 09:42:34 INFO imsubimage::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-10-14 09:42:34 INFO imsubimage::CasacRegionManager::fromBCS Region read from text string box[[1pix,1pix],[19pix,19pix]]) 2025-10-14 09:42:34 WARN imsubimage::CasacRegionManager::fromBCS Stokes cannot be determined because this region type is not handled yet. But chances are very good this is no need to be alarmed. 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord+ [1, 1, 0, 0] to [19, 19, 19, 2] (00:00:36.000, -00.09.00.001, 1.41499e+09Hz, I to 23:59:24.000, +00.09.00.001, 1.41501e+09Hz, U) 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Creating image 'myout.im' of shape [19, 19, 20, 3] 2025-10-14 09:42:34 INFO imsubimage::ImageMaskAttacher::makeMask Created mask `mask0' 2025-10-14 09:42:34 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.235724 End time: 2025-10-14 09:42:34.297935 2025-10-14 09:42:34 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa imsubimage( imagename='CAS-7704.im', outfile='myout.im', box='10,10,12,12', region='box[[2pix,2pix],[6pix,6pix]])', chans='', stokes='', mask='', dropdeg=False, overwrite=True, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:34 INFO imsubimage::AsciiRegionFileParser::_parse Combined 2 image regions (which excludes any annotation regions) 2025-10-14 09:42:34 INFO imsubimage::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-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord+ [2, 2, 0, 0] to [12, 12, 19, 3] (00:00:32.000, -00.08.00.000, 1.41499e+09Hz, I to 23:59:52.000, +00.02.00.000, 1.41501e+09Hz, V) 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Creating image 'myout.im' of shape [11, 11, 20, 4] 2025-10-14 09:42:34 INFO imsubimage::ImageMaskAttacher::makeMask Created mask `mask0' 2025-10-14 09:42:34 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.305950 End time: 2025-10-14 09:42:34.356111 2025-10-14 09:42:34 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa imsubimage( imagename='CAS-7704.im', outfile='myout.im', box='10,10,12,12', region='box[[2pix,2pix],[6pix,6pix]])', chans='5~10', stokes='', mask='', dropdeg=False, overwrite=True, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:34 INFO imsubimage::AsciiRegionFileParser::_parse Combined 2 image regions (which excludes any annotation regions) 2025-10-14 09:42:34 INFO imsubimage::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-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord+ [2, 2, 5, 0] to [12, 12, 10, 3] (00:00:32.000, -00.08.00.000, 1.415e+09Hz, I to 23:59:52.000, +00.02.00.000, 1.415e+09Hz, V) 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Creating image 'myout.im' of shape [11, 11, 6, 4] 2025-10-14 09:42:34 INFO imsubimage::ImageMaskAttacher::makeMask Created mask `mask0' 2025-10-14 09:42:34 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.360245 End time: 2025-10-14 09:42:34.418498 2025-10-14 09:42:34 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO name:: No table opened. 2025-10-14 09:42:34 INFO showcache:: The Table Cache is empty. .2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa imsubimage( imagename='/opt/casa/data/casatestdata/unittest/imsubimage/50beams.im', outfile='test_beams1.im', box='', region='', chans='18~29', stokes='I', mask='', dropdeg=False, overwrite=False, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:34 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:34 INFO imsubimage::CasacRegionManager::fromBCS Using channel range(s) 2025-10-14 09:42:34 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations I 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord+ [0, 0, 0, 18] to [0, 0, 0, 29] (00:00:00.000, +00.00.00.000, I, 1.41499e+09Hz to 00:00:00.000, +00.00.00.000, I, 1.415e+09Hz) 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Creating image 'test_beams1.im' of shape [1, 1, 1, 12] 2025-10-14 09:42:34 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.423752 End time: 2025-10-14 09:42:34.461140 2025-10-14 09:42:34 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO name:: No table opened. 2025-10-14 09:42:34 INFO showcache:: The Table Cache is empty. .2025-10-14 09:42:34 INFO ImageFactory::createImage Created Paged image 'zz.im' of shape [20, 20] with float valued pixels. 2025-10-14 09:42:34 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:34 INFO imsubimage::::casa imsubimage( imagename='zz.im', outfile='zz_out.im', box='', region='', chans='', stokes='', mask='', dropdeg=False, overwrite=False, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:34 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord+ [0, 0] to [19, 19] (00:00:40.000, -00.10.00.001 to 23:59:24.000, +00.09.00.001) 2025-10-14 09:42:34 INFO imsubimage::ImageRegion::fromRecord Creating image 'zz_out.im' of shape [20, 20] 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.485721 End time: 2025-10-14 09:42:34.515043 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:34 INFO ::::ImageFactory::createImage Created Paged image 'zz.im' of shape [20, 20] with float valued pixels. 2025-10-14 09:42:34 INFO ::::image::fromshape Ran ia.fromshape 2025-10-14 09:42:34 INFO ::::image::fromshape ia.fromshape(outfile="zz.im", shape=[20,20], csys={...}, linear=false, overwrite=false, log=true, type="f") 2025-10-14 09:42:35 INFO ::::imsubimage version: 6.7.1-12 CASAtools:v1.0.0 2025-10-14 09:42:35 INFO ::::imsubimage imsubimage(imagename="zz.im", outfile="zz_out.im", box="", region="", chans="", stokes="", mask="", dropdeg=False, overwrite=False, verbose=True, stretch=False, keepaxes=[]) 2025-10-14 09:42:35 INFO name:: No table opened. 2025-10-14 09:42:35 INFO showcache:: The Table Cache is empty. .2025-10-14 09:42:35 INFO ImageFactory::createImage Created Paged image 'keep.im' of shape [10, 20, 1, 1] with float valued pixels. 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='keep.im', outfile='keep_out.im', box='', region='', chans='', stokes='', mask='', dropdeg=False, overwrite=True, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord+ [0, 0, 0, 0] to [9, 19, 0, 0] (00:00:20.000, -00.10.00.001, I, 1.415e+09Hz to 23:59:44.000, +00.09.00.001, I, 1.415e+09Hz) 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Creating image 'keep_out.im' of shape [10, 20, 1, 1] 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.538007 End time: 2025-10-14 09:42:34.570181 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='keep.im', outfile='keep_out.im', box='', region='', chans='', stokes='', mask='', dropdeg=True, overwrite=True, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord+ [0, 0, 0, 0] to [9, 19, 0, 0] (00:00:20.000, -00.10.00.001, I, 1.415e+09Hz to 23:59:44.000, +00.09.00.001, I, 1.415e+09Hz) 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Creating image 'keep_out.im' of shape [10, 20] 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.573477 End time: 2025-10-14 09:42:34.604855 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='keep.im', outfile='keep_out.im', box='', region='', chans='', stokes='', mask='', dropdeg=False, overwrite=True, verbose=True, stretch=False, keepaxes=[0] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord+ [0, 0, 0, 0] to [9, 19, 0, 0] (00:00:20.000, -00.10.00.001, I, 1.415e+09Hz to 23:59:44.000, +00.09.00.001, I, 1.415e+09Hz) 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Creating image 'keep_out.im' of shape [10, 20, 1, 1] 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.607736 End time: 2025-10-14 09:42:34.641759 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='keep.im', outfile='keep_out.im', box='', region='', chans='', stokes='', mask='', dropdeg=True, overwrite=True, verbose=True, stretch=False, keepaxes=[0] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord+ [0, 0, 0, 0] to [9, 19, 0, 0] (00:00:20.000, -00.10.00.001, I, 1.415e+09Hz to 23:59:44.000, +00.09.00.001, I, 1.415e+09Hz) 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Creating image 'keep_out.im' of shape [10, 20] 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.645106 End time: 2025-10-14 09:42:34.678821 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='keep.im', outfile='keep_out.im', box='', region='', chans='', stokes='', mask='', dropdeg=False, overwrite=True, verbose=True, stretch=False, keepaxes=[0] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord+ [0, 0, 0, 0] to [9, 19, 0, 0] (00:00:20.000, -00.10.00.001, I, 1.415e+09Hz to 23:59:44.000, +00.09.00.001, I, 1.415e+09Hz) 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Creating image 'keep_out.im' of shape [10, 20, 1, 1] 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.682049 End time: 2025-10-14 09:42:34.715348 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='keep.im', outfile='keep_out.im', box='', region='', chans='', stokes='', mask='', dropdeg=True, overwrite=True, verbose=True, stretch=False, keepaxes=[3] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord+ [0, 0, 0, 0] to [9, 19, 0, 0] (00:00:20.000, -00.10.00.001, I, 1.415e+09Hz to 23:59:44.000, +00.09.00.001, I, 1.415e+09Hz) 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Creating image 'keep_out.im' of shape [10, 20, 1] 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.718616 End time: 2025-10-14 09:42:34.752114 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO name:: No table opened. 2025-10-14 09:42:35 INFO showcache:: The Table Cache is empty. .2025-10-14 09:42:35 INFO ImageFactory::createImage Created Paged image 'mask1.im' of shape [20, 30, 4, 10] with float valued pixels. 2025-10-14 09:42:35 INFO ImageFactory::createImage Created Paged image 'mask2.im' of shape [20, 30, 4, 1] with float valued pixels. 2025-10-14 09:42:35 INFO ImageFactory::createImage Created Paged image 'mask3.im' of shape [20, 30, 4, 2] with float valued pixels. 2025-10-14 09:42:35 INFO ImageFactory::createImage Created Paged image 'xx.im' of shape [20, 30, 4, 10] with float valued pixels. 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='xx.im', outfile='stretch1', box='', region='', chans='', stokes='', mask='mask1.im > 10', dropdeg=False, overwrite=False, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord+ [0, 0, 0, 0] to [19, 29, 3, 9] (00:00:40.000, -00.15.00.003, I, 1.415e+09Hz to 23:59:24.000, +00.14.00.002, V, 1.415e+09Hz) 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Creating image 'stretch1' of shape [20, 30, 4, 10] 2025-10-14 09:42:35 INFO imsubimage::ImageMaskAttacher::makeMask Created mask `mask0' 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.822807 End time: 2025-10-14 09:42:34.883642 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO name:: No table opened. 2025-10-14 09:42:35 INFO showcache:: The Table Cache is empty. 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='xx.im', outfile='stretch4', box='', region='', chans='', stokes='', mask='mask2.im > 10', dropdeg=False, overwrite=False, verbose=True, stretch=False, keepaxes=[] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 SEVERE imsubimage::image::subimage (file src/tools/image/image_cmpt.cc, line 6162) Exception Reported: The input image shape ([20, 30, 4, 10]) and mask shape ([20, 30, 4, 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-10-14 09:42:35 SEVERE imsubimage::::casa Exception Reported: Error in imsubimage: The input image shape ([20, 30, 4, 10]) and mask shape ([20, 30, 4, 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-10-14 09:42:35 INFO imsubimage::::casa Traceback (most recent call last): 2025-10-14 09:42:35 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casashell/private/imsubimage.py", line 573, in __call__ 2025-10-14 09:42:35 INFO imsubimage::::casa+ task_result = _imsubimage_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['box'],_pc.document['region'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['verbose'],_pc.document['stretch'],_pc.document['keepaxes'] ) 2025-10-14 09:42:35 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatasks/private/task_imsubimage.py", line 31, in imsubimage 2025-10-14 09:42:35 INFO imsubimage::::casa+ outia = myia.subimage( 2025-10-14 09:42:35 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/image.py", line 3890, in subimage 2025-10-14 09:42:35 INFO imsubimage::::casa+ return _wrap_image(swig_object=self._swigobj.subimage(outfile, region, mask, dropdeg, overwrite, list, stretch, wantreturn, keepaxes)) 2025-10-14 09:42:35 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/__casac__/image.py", line 7946, in subimage 2025-10-14 09:42:35 INFO imsubimage::::casa+ return _image.image_subimage(self, *args, **kwargs) 2025-10-14 09:42:35 INFO imsubimage::::casa+ RuntimeError: The input image shape ([20, 30, 4, 10]) and mask shape ([20, 30, 4, 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-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.888651 End time: 2025-10-14 09:42:34.908288 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO name:: No table opened. 2025-10-14 09:42:35 INFO showcache:: The Table Cache is empty. 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='xx.im', outfile='stretch2', box='', region='', chans='', stokes='', mask='mask2.im > 10', dropdeg=False, overwrite=False, verbose=True, stretch=True, keepaxes=[] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Selected bounding box : 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord+ [0, 0, 0, 0] to [19, 29, 3, 9] (00:00:40.000, -00.15.00.003, I, 1.415e+09Hz to 23:59:24.000, +00.14.00.002, V, 1.415e+09Hz) 2025-10-14 09:42:35 INFO imsubimage::ImageRegion::fromRecord Creating image 'stretch2' of shape [20, 30, 4, 10] 2025-10-14 09:42:35 INFO imsubimage::ImageMaskAttacher::makeMask Created mask `mask0' 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:34.910031 End time: 2025-10-14 09:42:35.017159 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO imsubimage::::casa ##### Begin Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa imsubimage( imagename='xx.im', outfile='junk', box='', region='', chans='', stokes='', mask='mask3.im > 10', dropdeg=False, overwrite=False, verbose=True, stretch=True, keepaxes=[] ) 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS No directional region specified. Using full positional plane. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using all spectral channels. 2025-10-14 09:42:35 INFO imsubimage::CasacRegionManager::fromBCS Using polarizations ALL 2025-10-14 09:42:35 SEVERE imsubimage::image::subimage (file src/tools/image/image_cmpt.cc, line 6162) Exception Reported: Unable to extend mask: ExtendSpecifier - new nor stretch axes given at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/SubImageFactory.tcc, line: 313 2025-10-14 09:42:35 SEVERE imsubimage::::casa Exception Reported: Error in imsubimage: Unable to extend mask: ExtendSpecifier - new nor stretch axes given at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/SubImageFactory.tcc, line: 313 2025-10-14 09:42:35 INFO imsubimage::::casa Traceback (most recent call last): 2025-10-14 09:42:35 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casashell/private/imsubimage.py", line 573, in __call__ 2025-10-14 09:42:35 INFO imsubimage::::casa+ task_result = _imsubimage_t( _pc.document['imagename'],_pc.document['outfile'],_pc.document['box'],_pc.document['region'],_pc.document['chans'],_pc.document['stokes'],_pc.document['mask'],_pc.document['dropdeg'],_pc.document['overwrite'],_pc.document['verbose'],_pc.document['stretch'],_pc.document['keepaxes'] ) 2025-10-14 09:42:35 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatasks/private/task_imsubimage.py", line 31, in imsubimage 2025-10-14 09:42:35 INFO imsubimage::::casa+ outia = myia.subimage( 2025-10-14 09:42:35 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/image.py", line 3890, in subimage 2025-10-14 09:42:35 INFO imsubimage::::casa+ return _wrap_image(swig_object=self._swigobj.subimage(outfile, region, mask, dropdeg, overwrite, list, stretch, wantreturn, keepaxes)) 2025-10-14 09:42:35 INFO imsubimage::::casa+ File "/wheeldirectory/casa-6.7.1-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/__casac__/image.py", line 7946, in subimage 2025-10-14 09:42:35 INFO imsubimage::::casa+ return _image.image_subimage(self, *args, **kwargs) 2025-10-14 09:42:35 INFO imsubimage::::casa+ RuntimeError: Unable to extend mask: ExtendSpecifier - new nor stretch axes given at File: /source/casainstall/include/casacpp/imageanalysis/ImageAnalysis/SubImageFactory.tcc, line: 313 2025-10-14 09:42:35 INFO imsubimage::::casa Task imsubimage complete. Start time: 2025-10-14 09:42:35.019606 End time: 2025-10-14 09:42:35.039539 2025-10-14 09:42:35 INFO imsubimage::::casa ##### End Task: imsubimage ##### 2025-10-14 09:42:35 INFO imsubimage::::casa ########################################## 2025-10-14 09:42:35 INFO name:: No table opened. 2025-10-14 09:42:35 INFO showcache:: The Table Cache is empty. . ---------------------------------------------------------------------- Ran 5 tests in 0.954s OK Generating XML reports...