search_max_int() now based on 2d gaussian fit, not working yet