compute emission part
remove debug file