To dissapate 40watts, the MOSFET would need to be on a heatsink of 3c per watt, or better. See picture below of a typical 3c per watt heatsink.
With the heatsink being the alluminium box only, I would guess the effective heatsink is maybe 10c per watt, so the MOSFET would only be able to...