I know this is not a change you made, but, we should remove the trail slash from 'ligthcurve/'. `os.path.join` should take care of it.