<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Victor,</p>
<p class="MsoNormal">As Brian noted you have a singular matrix issue and the refinement thus fails. The Hessian refinement option is designed to immediately fail with the error you see. Alternatively, you can use the Jacobian method (see Controls). This will
 respond to the singular matrix by removing one of the offending parameters and then continuing the refinement. Look at the console; the listing will identify the bad parameter.</p>
<p class="MsoNormal">Bob </p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:gsas-ii@aps.anl.gov">Victor Zenou via GSAS-II</a><br>
<b>Sent: </b>Sunday, July 7, 2019 2:27 PM<br>
<b>To: </b><a href="mailto:gsas-ii-request@aps.anl.gov">gsas-ii-request@aps.anl.gov</a>;
<a href="mailto:gsas-ii@aps.anl.gov">gsas-ii@aps.anl.gov</a><br>
<b>Subject: </b>[GSAS-II] GSAS-II keep crashes and giving error</p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div dir="rtl">
<div dir="ltr">Hi</div>
<div dir="ltr">I using GSAS-II on windows 10 64 bit home (1809).</div>
<div dir="ltr">Recently GSAS-II keeps crashing every few runs.</div>
<div dir="ltr">Sometimes I get an error, without crashing:</div>
<div dir="ltr">GSAS-II binary directory: C:\Users\Victor\g2conda\GSASII\bindist<br>
6 values read from config file C:\Users\Victor\g2conda\GSASII\config.pyc<br>
Python module versions loaded:<br>
&nbsp; Python: &nbsp; &nbsp; 2.7.12<br>
&nbsp; wx: &nbsp; &nbsp; &nbsp; &nbsp; 3.0.0.0<br>
&nbsp; matplotlib: 1.5.3<br>
&nbsp; numpy: &nbsp; &nbsp; &nbsp;1.11.2<br>
&nbsp; scipy: &nbsp; &nbsp; &nbsp;0.18.1<br>
&nbsp; OpenGL: &nbsp; &nbsp; 3.1.1a1<br>
&nbsp; PIL.Image: &nbsp;3.4.2<br>
&nbsp; Platform: &nbsp; win32 64bit AMD64<br>
This is GSAS-II revision 4054<br>
<br>
loading from file: TiSc02_25C.gpx<br>
GPX load successful. Last saved with GSAS-II revision 4054<br>
save to file: TiSc02_25C.gpx<br>
project save successful<br>
&nbsp;Hessian Levenberg-Marquardt SVD refinement on 8 variables:<br>
C:\Users\Victor\g2conda\GSASII\GSASIIstrMain.py:146: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future<br>
&nbsp; covMatrix = result[1]*Rvals['GOF']**2<br>
**** Refinement failed - singular matrix ****<br>
****ERROR - Refinement failed<br>
Traceback (most recent call last):<br>
&nbsp; File &quot;C:\Users\Victor\g2conda\GSASII\GSASIIdataGUI.py&quot;, line 4633, in OnRefine<br>
&nbsp; &nbsp; OK,Msg = G2stMn.Refine(self.GSASprojectfile,dlg,refPlotUpdate=refPlotUpdate) &nbsp; &nbsp;#Msg is Rvals dict if Ok=True<br>
&nbsp; File &quot;C:\Users\Victor\g2conda\GSASII\GSASIIstrMain.py&quot;, line 281, in Refine<br>
&nbsp; &nbsp; raise G2obj.G2Exception('****ERROR - Refinement failed')<br>
GSASIIobj.G2Exception: '****ERROR - Refinement failed'<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Anyone have an idea what's wrong?</div>
<div dir="ltr">Thanks, Victor</div>
</div>
</div>
</body>
</html>