I took the liberty of looking up firearm laws in Connecticut.
You claimed the reason you brandished and fired your weapon was because this person was on your property. In the state of Connecticut in order to brandish or fire your weapon the other person must be presenting some sort of physical threat to you. Any weapon intervention must be strictly due to self defense.
A person is justified in the use of force against
another person that would otherwise be illegal if
(he/she) is acting in the defense of (self / others).
a person is justified in using reasonable physical
force upon another person to defend (himself/herself/a
third person) from what (he/she) reasonably believes
to be the use or imminent use of physical force, and (he/she) may use such degree of force which (he/she) reasonably believes to be necessary for such purpose.
The statute requires that, before a defendant uses
physical force upon another person to defend
(himself/herself/a third person), (he/she) must have
two "reasonable beliefs." The first is a reasonable
belief that physical force is then being used or about
to be used upon (him/her/a third person). The second
is a reasonable belief that the degree of force
(he/she) is using to defend (himself/herself/a third
person) from what (he/she) believes to be an ongoing
or imminent use of force is necessary for that
purpose.
I also looked up some codes about firearms in Connecticut:
Sec. 53-203. Unlawful discharge of firearms: Any
person who intentionally, negligently or carelessly
discharges any firearm in such a manner as to be
likely to cause bodily injury or death to persons or
domestic animals, or the wanton destruction of
property shall be fined not more than two hundred
fifty dollars or imprisoned not more than three months
or both.
Sec. 53-206c. Sale, carrying and brandishing of
facsimile firearms prohibited.
(c) Except in self defense, no person shall carry,
draw, exhibit or brandish a facsimile of a firearm or
simulate a firearm in a threatening manner, with
intent to frighten, vex or harass another person.
(e) Any person who violates any provision of this section shall be guilty of a class B misdemeanor
Basically since you used the weapon to scare off the intruder and not to protect yourself from immediate danger what you did is not classified as self defense.
As told by these two code references, when the police came to your door you would receive a fine at the bare minimum but you would most likely end up in jail.
There is no way they would just let you off.