Regarding things that can affect BG,
@Olaf:
All stress is likely to elevate one's BG. How much will vary from person to person. Stress from medical problems is one significant source, as is emotional stress (try watching a horror movie wearing a CGM) and the worries and problems we perhaps more routinely call "stress".
When I'm coming down with a medical problem, I know (retrospectively!) from 24 to 48 hrs before I exhibit symptoms. My BG is very elevated, with no obvious explanation. This for me is a duel problem: I realise I have to increase my bolus doses (not my basal - which is Tresiba and takes 3 + days to respond to dose changes), but increase by how much? Bearing in mind I don't yet know that I have a medical problem; the increase could be for many other reasons and very temporary. Including: the weather; activity and exercise; dehydration; just misjudging the timings of bosul and food or misjudging the GI of what I've eaten!
But also when my BG is elevated, ie above 10, my natural resistance to insulin is increased. This, I understand, is normal for most insulin dependent diabetics. So I have to apply a correction factor to my bolus insulin, but I find that correction factor needs to increase depending on how high I am and (thanks to my CGM) whether it is still rising, if so at what rate, so where might it get to. If the correction bolus works it probably is not medical stress; but if it only briefly helps then the elevated BG continues, I start to wonder if I'm coming down with something.
42 factors have been identified which could affect BG; before 2018 there were only 20! The article came from Diatribe news by Adam Brown, "42 Factors That Affect Blood Glucose, October 2019". In one sense it sounds alarming and intimidating and to be fair it is a bit daunting. But knowing and understanding about these does keep a sense of perspective. I think I said earlier that Diabetes is complicated; but I think your pancreatitis is in itself complicated and probably equally unpredictable. The DM clearly is an additional problem.
Glad you are testing 4x daily; it's a balance between testing obsessively and burying your head in the sand. Before I got Libre 2, I was testing 10-12 x daily; but I was on bolus insulin, needing to drive and blatantly obviously from my logbook that my control was at first very poor. For me (absolutely no pancreas) I needed to "test, test, test" and that regime helped me get my HbA1c down, as well as reducing the frequent unexpected hypos. My GP initially arbitrarily restricted my test strips to 4x daily and I had to present a logical and polite rebuttal. My rationale beat the rationing. I have since seen recent NICE Guidance that clearly tells GP's not to restrict testing for insulin dependent diabetics - which makes complete sense; but my GP didn't appreciate that T3c was T1 with extra problems (nor did my DSN!). I rarely check my ketones, only if above 15 and for a lengthy period. But I have a high carb diet.
Hope this continues to help and not cause you further alarm.