I believe your ASIO Buffer size is too big for recording purposes, and your Sonar-reported latency values are pretty high.
Try adjusting that ASIO setting down to around 3-5 milliseconds - starting with 5 milliseconds perhaps, and if that works make it 4, then if that works OK make it 3.
Also, if you have ANY effects loaded, please list which specific ones there are - by name - as some of these can also cause latency problems, on top of your settings being too high, as noted above.
After you get your ASIO buffer value set to a lower value, try hitting 'E' on your computer keyboard, which will temporarily bypass any effects. Then see if that helps too, and post back. (hitting 'E' again will turn the effects back on, by the way). :)
So, first try the interface settings, then list your effects, by name, then try bypassing them to see if that works, as a test.
Bob Bone