Cherenkov ring search using a maximum likelihood technique