This is working now. Now need to test the background detections to make sure they're not overlapping with sources. Also, create background map.