Optogenetic blocking of the terminal sites followed the effects order of SI-BF > CeA > BNST > LH for reversal of AIP-induced sleep loss and fragmentation. This evidence concerns the gene PLOD1 and autoimmune pancreatitis.