People are notoriously bad at estimating their percent confidence in their beliefs, as explained further in this Wikipedia article. Something I thought of recently is what effect this overconfidence has from a Bayesian perspective. After a bit of math, I came to the conclusion that having extreme confidence in your beliefs (0% or 100% confidence) implies that you would be unable to change your beliefs if shown evidence to the contrary. I believe this simple argument suggests that it is very irrational to hold prior beliefs of 0 or 100%. If you do feel this way, then you should choose a very high value (99.99%) or a very low value (0.001%), but always leave some room for error.
The model
Suppose you have a belief about a fact, , which for simplicity we will assume is a binary variable (either true or false). For example, could be the statement “the earth is flat”. Furthermore, suppose you can make some kind of observation, , that is affected by . In this example, could be the observation of ships never disappearing over the horizon, which would be a natural consequence if the earth were flat. From a Bayesian perspective, this observation can be defined as a conditional distribution. That is, the value of will change based on the true value of . In our case, we could write , assuming here that the earth being flat will cause us to observe this effect with certainty. On the other hand, if is false, then it might still be possible to observe , but much less likely. We will say that , without deciding on a specific value for .
Now suppose you observe a ship that doesn’t disappear over the horizon: what does this mean about the earth being flat? From Bayes rule, we want to calculate:
In other words, we can calculate the probability of the fact , just by knowing 3 things:
 The effect of on ,
 Our believe about prior to our observation,
 The probability of our observation,
The goal of setting this up in a Bayesian context is to update our belief about , given that we have now made an observation. One strategy is to try to select a new value of that is most likely given what we have observed. This is known as maximum likelihood estimation (MLE). One nice thing about MLE is that we don’t have to calculate : we just have to maximize it with respect to . This means that in the 3 terms above, item #3 doesn’t matter at all, because it is constant with respect to . So we can instead update our beliefs based on maximizing the surrogate function,
Since is a binary variable, we just have to consider two options for the maximization:
 is true, so
 is false, so
The most important part
So, what we should believe about depends largely on our prior belief about , . Now suppose we have an extremely certain belief about , that is or .
 If , meaning that we are certain the fact is false, then from option 1 above, the probability of being true is proportional , and from option 2 above is false with probability proportional to , since is a probability we assume to be nonzero. This means that will always be more likely to be false, so it would be impossible for our belief to change from false to true!
 If , meaning that we are certain the fact is true, then from option 1 above, the probability that is true is proportional to 1, while the probability of being false is proportional to . So option 1 will always be greater than 0, meaning our belief will never change from false to true
Note that in both of the options above, it is impossible for our beliefs about to change, despite observing evidence that supports . This is essentially the mathematical equivalent of being closedminded.
On the other hand, if , then it would be possible for either option 1 or 2 to be higher, depending on value of ^{1}. So, it would be possible to change your beliefs.
Conclusion
In short, this shows that having a certain prior is effectively the same as being unwilling to change one’s beliefs, should one encounter evidence which goes against them. If you accept this as irrational, and abide by Bayesian statistics^{2}, then you must accept it as irrational to hold beliefs with certainty. That is, Bayes theorem is a mathematical way to show that one can only have an open mind if one is somewhat unsure about something. It is because of this logic that I am careful nowadays to avoid saying I am certain about anything, both to not mislead others and to not convince myself I know more than I actually do.
PS
I found this cool website, which is a “prior belief calibrator”: http://confidence.successequation.com/. I recommend you try it out, and see how accurate your confidence in facts is.

specifically, when , the is equally likely to be true and false. If is higher, g is maximized when is false, and if it is lower, then is maximized when is true. So depending on the value of epsilon, your belief could change. ↩

including the setup of this model, which is simplistic and could reasonably be disagreed with. ↩