From your TGA measurement it is well evident that your sample rapidly decomposes, there is only a small weight plateau at about 200°C before an important second loss. So I think that you can chose a temperature of about 180-190°C. For the time to maintain the sample at this temperature for degassing you can also think to perform a TGA measurement in isotherm, i.e. by maintaining the sample at about 180°C for different hours to see if the weight changes and when it is instead stable, so this can provide you an estimation of the conditions to perform the degassing process. However, I do not know your sample, maybe my suggestions are not right for your situation because the first weight loss that can be attributed to water it is instead maybe due to an intial early decomposition of the sample