Fix on dupliate lumi count

, using set instead of list to improve efficiency.
After testing closeout scrip it runs faster.