Inflow profiling and production optimization in smart wells using distributed acoustic and temperature measurements