generate one orbfit ephemeris

    **Key Arguments:**
        - ``cmd`` -- the command to execute [cmd, object]

    **Return:**
        - ``results`` -- the single ephemeris results

def _generate_one_ephemeris(
        cmd):
    """generate one orbfit ephemeris

    **Key Arguments:**
        - ``cmd`` -- the command to execute [cmd, object]

    **Return:**
        - ``results`` -- the single ephemeris results
    """

    global cmdList
    cmd = cmdList[cmd]

    results = []
    for c in cmd:
        p = Popen(c[0], stdout=PIPE, stderr=PIPE, shell=True)
        stdout, stderr = p.communicate()

        if len(stderr) and len(stderr.split()) != 15:
            print stderr, len(stderr.split())
            return None
        elif "!!WARNING! WARNING! WARNING! WARNING!!" in stdout:
            print "%(stdout)s was not found in astorb.dat" % locals()
            return None

        # SPLIT RESULTS INTO LIST OF DICTIONARIES
        r = stdout.strip().split("\n")
        keys = r[0].strip().split(',')
        lines = r[1:]
        for l in lines:
            # CREATE DICTIONARY FROM KEYS AND VALUES
            values = l.strip().split(',')
            for k, v in zip(keys, values):
                v = v.strip().replace("/", "")
                try:
                    v = float(v)
                except:
                    pass
            result = dict(zip(keys, values))
            result["object_name"] = c[1]
            results.append(result)
    return results