ROC curve for deep learning
Mathematically, it is not possible to have the area under the curve equal to 1 if you have a precision less than 1... If you have a doubt, you should check the confusion matrix and calcuate the scores yourself. You'll know directly if you did a mistake or not

A few other remarks: 


Accuracy is not precision
The loss is of no help here