The $1000+ you owe is not income tax. As you surmised, your $12,000 standard deduction reduced your taxable income to zero.
What you are paying is your social security and medicare tax, in the form of "Self employment tax".
Note that all your tax is on line 57 of Schedule 4. Your income tax, on line 11 of form 1040, is zero.