parse idf in basin_hopping