Skip to content

Instantly share code, notes, and snippets.

@Athanaseus
Last active August 1, 2017 00:29
Show Gist options
  • Save Athanaseus/88aa81aa1aba7c08ec34dfd901caa70c to your computer and use it in GitHub Desktop.
Save Athanaseus/88aa81aa1aba7c08ec34dfd901caa70c to your computer and use it in GitHub Desktop.
"""I am going to upgrade your configuration in:
ramaila/.casa/ipython
Initializing from configuration: /casa-release-4.7.0-el6/lib/python2.7/site-packages/IPython/UserConfig
Problem: changing to directory ramaila/.casa/ipython failed.
Details:
[Errno 2] No such file or directory: 'ramaila/.casa/ipython'
Some configuration files may have incorrect line endings. This should not
cause any problems during execution.
Please press <RETURN> to start IPython.
**********************************************************************
Successful upgrade!
All files in your directory:
ramaila/.casa/ipython
which would have been overwritten by the upgrade were backed up with a .old
extension. If you had made particular customizations in those files you may
want to merge them back into the new files.
Please press <RETURN> to start IPython.
**********************************************************************
Activating auto-logging. Current session state plus future input saved.
Filename : ipython-20170728-073153.log
Mode : backup
Output logging : False
Raw input log : False
Timestamping : False
State : active
2017-07-28 07:31:55 INFO NewMSSimulator::initAnt() Using global coordinates for the antennas
*** Loading ATNF ASAP Package...
*** ... ASAP (rev#38164) import complete ***
2017-07-28 07:31:55 INFO NewMSSimulator::initAnt() Added rows to ANTENNA table
2017-07-28 07:31:55 INFO MSsimulator::initSpWindows() Creating new spectral window 00, ID 1
2017-07-28 07:31:55 INFO MSsimulator::initFeeds() Added rows to FEED table
2017-07-28 07:31:55 INFO simulator::settimes() Times
2017-07-28 07:31:55 INFO simulator::settimes()+ Integration time 60s
2017-07-28 07:31:55 INFO simulator::settimes() Times will be interpreted as hour angles for first source
2017-07-28 07:31:55 SEVERE MeasTable::dUTC(Double) (file /var/rpmbuild/BUILD/casa-prerelease/casa-prerelease-4.7.0/casacore/measures/Measures/MeasTable.cc, line 4396) Leap second table TAI_UTC seems out-of-date.
2017-07-28 07:31:55 SEVERE MeasTable::dUTC(Double) (file /var/rpmbuild/BUILD/casa-prerelease/casa-prerelease-4.7.0/casacore/measures/Measures/MeasTable.cc, line 4396)+ Until the table is updated (see the CASA documentation or your system admin),
2017-07-28 07:31:55 SEVERE MeasTable::dUTC(Double) (file /var/rpmbuild/BUILD/casa-prerelease/casa-prerelease-4.7.0/casacore/measures/Measures/MeasTable.cc, line 4396)+ times and coordinates derived from UTC could be wrong by 1s or more.
2017-07-28 07:31:55 INFO NewMSSimulator::observe() First source: 00 @ 00:00:00.00 -30.00.00.00 J2000
2017-07-28 07:31:55 INFO NewMSSimulator::observe()+ Full time range: 31-Dec-2015/15:55:17.1 -- 31-Dec-2015/21:55:17.1 TAI with int = 60
2017-07-28 07:31:55 INFO NewMSSimulator::observe() Calculating a total of 360 integrations
2017-07-28 07:32:16 INFO Simulator::reset() Resetting all visibility corruption components
2017-07-28 07:32:16 INFO Simulator::reset() Reset all image-plane corruption components
Empty MS '/home/ramaila/msdir/meerkat_SourceRecovery.ms' created
Validating /home/ramaila/msdir/meerkat_SourceRecovery.ms ...
MS validated
leaving casa...
Unable to save IPython command history to file: 'ramaila/.casa/ipython/history'
2017/7/28 7:31:49 ##INFO: Simms >>: msname="/home/ramaila/msdir/meerkat_SourceRecovery.ms", label="None", tel="meerkat", pos="/usr/local/lib/python2.7/dist-packages/simms/observatories/meerkat.itrf.txt", pos_type="ascii", synthesis=6, scan_length=[6.0], dtime="60", freq0=['1.28GHz'], dfreq=['2MHz'], nchan=[16], stokes="XX XY YX YY", start_time=None, setlimits=False, elevation_limit=0.000000, shadow_limit=0.000000, coords="itrf",lon_lat="None", noup=False, nbands=1, direction=['J2000,0deg,-30deg'], outdir=".",date=[],fromknown=False, feed="perfect X Y",scan_lag=0,auto_corr=False
2017/7/28 7:32:25 ##INFO: simms succeeded
running: simms --name "/home/ramaila/msdir/meerkat_SourceRecovery.ms" --tel "meerkat" --direction J2000,0deg,-30deg --synthesis 6 --dtime 60 --freq0 1.28GHz --dfreq 2MHz --nchan 16 --nolog
INFO:STIMELA:Container [make_empty_ms-140612732097664150118111294] has executed successfully
INFO:STIMELA:Runtime was 0:00:37.229271.
INFO:STIMELA:Container make_empty_ms-140612732097664150118111294 has been stopped.
running: docker rm make_empty_ms-140612732097664150118111294
Error response from daemon: Unable to remove filesystem for 1f011a12edee0b10850b382671fee926cafa91f69475b529555a081ac6995266: remove /john-data/docker-storage/docker/containers/1f011a12edee0b10850b382671fee926cafa91f69475b529555a081ac6995266/shm: device or resource busy
Traceback (most recent call last):
File "/home/ramaila/.local/bin/stimela", line 6, in <module>
exec(compile(open(__file__).read(), __file__, 'exec'))
File "/home/ramaila/gitPackages/Stimela/bin/stimela", line 13, in <module>
stimela.main([a for a in sys.argv[1:]])
File "/home/ramaila/gitPackages/Stimela/stimela/__init__.py", line 522, in main
_cmd(argv)
File "/home/ramaila/gitPackages/Stimela/stimela/__init__.py", line 230, in run
execfile(args.script, _globals)
File "simulation_pipeline.py", line 216, in <module>
recipe.run(recipe_steps[:2+image_steps])
File "/home/ramaila/gitPackages/Stimela/stimela/recipe.py", line 351, in run
container.remove()
File "/home/ramaila/gitPackages/Stimela/stimela/docker.py", line 190, in remove
utils.xrun("docker rm", [self.name])
File "/home/ramaila/gitPackages/Stimela/stimela/utils/__init__.py", line 72, in xrun
raise SystemError('%s: returns errr code %d'%(command, process.returncode))
SystemError: docker rm: returns errr code 1 """
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment