Knock it out early in the day and then starve it. When it wakes up at night knock it out again and then start taming. Starve it longer if using something other than kibble. Simple

More Megalosaurus Taming & KO Tips