Model fits fine on OSx but not on Ubuntu 16.04

Side note, even with the same seed macOS and Linux might not be the same, as the same seed does not produce same result under different OS.