There's a few ways to do the pex sim, but the shortest path with what you have shown on that image is probably to comment out the first line (subckt) and last line (ends), since it sounds like you are using a symbol of this schematic in your sim. You can also delete the wires on the pins out to the left, but I'm not sure that those would give an error either way.
If you posted what your test bench schematic (the DC sweep) looks like someone might be able to help more, as there could be errors there.