Did you change the VIN number in the new ECU ?? Yours ECU is compatible with your car?? why fan working ?? I understant ECU looking for EGS but FAN working something wrong (eeprom, flash, micro??, ECU) or something wrong with the car if the ecu is compatible 
Usually if DME is ok the coding and programming time  is about 50 minutes max
Can you post  OLD and NEW ECU number or make booth ECU  picture and post here.