How can you see if the model fits?

The fit of the model is tested by two tests: the Chi-square test and the Likelihood Ratio or Deviance test. Usually, the results of these tests are more or less similar. If the p-value of (one of) these tests is below 0.05, the model is rejected.