{"action":"created","issue":{"url":"https://api.github.com/repos/dipetkov/eems/issues/21","repository_url":"https://api.github.com/repos/dipetkov/eems","labels_url":"https://api.github.com/repos/dipetkov/eems/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/dipetkov/eems/issues/21/comments","events_url":"https://api.github.com/repos/dipetkov/eems/issues/21/events","html_url":"https://github.com/dipetkov/eems/issues/21","id":288165759,"number":21,"title":"Posterior trace - nan in output","user":{"login":"grafau","id":35376323,"avatar_url":"https://avatars1.githubusercontent.com/u/35376323?v=4","gravatar_id":"","url":"https://api.github.com/users/grafau","html_url":"https://github.com/grafau","followers_url":"https://api.github.com/users/grafau/followers","following_url":"https://api.github.com/users/grafau/following{/other_user}","gists_url":"https://api.github.com/users/grafau/gists{/gist_id}","starred_url":"https://api.github.com/users/grafau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grafau/subscriptions","organizations_url":"https://api.github.com/users/grafau/orgs","repos_url":"https://api.github.com/users/grafau/repos","events_url":"https://api.github.com/users/grafau/events{/privacy}","received_events_url":"https://api.github.com/users/grafau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-12T16:03:30Z","updated_at":"2018-02-20T21:26:34Z","closed_at":null,"author_association":"NONE","body":"Hi there!\r\n\r\nWhile I was using eems and plotting functions, i managed to get migration maps but no diagnostic figures are being generated. I got the following error:\r\n\r\nError in plot.window(...) : need finite 'ylim' values\r\nIn addition: Warning messages:\r\n1: In min(x) : no non-missing arguments to min; returning Inf\r\n2: In max(x) : no non-missing arguments to max; returning -Inf\r\n\r\nI figured posteriors might be in mcmcpilogl.txt file and mine has only 'nan' in second column. What could cause such behaviour? Any help would be appreciated. In general, I couldn't find the annotation for output files in the manual. It would be super handy!\r\n\r\nThanks!\r\nRafal"},"comment":{"url":"https://api.github.com/repos/dipetkov/eems/issues/comments/367125256","html_url":"https://github.com/dipetkov/eems/issues/21#issuecomment-367125256","issue_url":"https://api.github.com/repos/dipetkov/eems/issues/21","id":367125256,"user":{"login":"dipetkov","id":7155849,"avatar_url":"https://avatars1.githubusercontent.com/u/7155849?v=4","gravatar_id":"","url":"https://api.github.com/users/dipetkov","html_url":"https://github.com/dipetkov","followers_url":"https://api.github.com/users/dipetkov/followers","following_url":"https://api.github.com/users/dipetkov/following{/other_user}","gists_url":"https://api.github.com/users/dipetkov/gists{/gist_id}","starred_url":"https://api.github.com/users/dipetkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dipetkov/subscriptions","organizations_url":"https://api.github.com/users/dipetkov/orgs","repos_url":"https://api.github.com/users/dipetkov/repos","events_url":"https://api.github.com/users/dipetkov/events{/privacy}","received_events_url":"https://api.github.com/users/dipetkov/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T21:26:34Z","updated_at":"2018-02-20T21:26:34Z","author_association":"OWNER","body":"You are correct that `mcmcpilogl.txt` stores the prior in the first column and the likelihood in the second column (on the log scale, after burn-in and thinning; the log posterior is column 1 + column 2). \r\n\r\nSo if the likelihood is `nan` something has definitely gone wrong. If you've saved the output or if you can run eems again, can you track the likelihood from its initial value? Is it `nan` at the start or it becomes `nan` after some number of iterations. (You can set `numBurnIter = 0` and `numThinIter = 0`, so that information about every iteration is printed while runeems is running.)\r\n\r\nHere is some example output:\r\n\r\n```\r\n......\r\n\r\nInitial log prior: 418.93\r\nInitial log llike: 158288.63\r\n\r\n......\r\n\r\nEnding iteration 1 ......\r\n         Log prior = 367.01\r\n         Log llike = 163507.44\r\n\r\n......\r\n"}}
{"actor":{"display_login":"dipetkov"}}