Profiling Nuisance Parameters for Search Experiments