{"action":"created","issue":{"url":"https://api.github.com/repos/ratt-ru/CubiCal/issues/228","repository_url":"https://api.github.com/repos/ratt-ru/CubiCal","labels_url":"https://api.github.com/repos/ratt-ru/CubiCal/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/ratt-ru/CubiCal/issues/228/comments","events_url":"https://api.github.com/repos/ratt-ru/CubiCal/issues/228/events","html_url":"https://github.com/ratt-ru/CubiCal/issues/228","id":374956819,"node_id":"MDU6SXNzdWUzNzQ5NTY4MTk=","number":228,"title":"Amplitude weirdness in tf-plane solver (diag-diag 0)","user":{"login":"bennahugo","id":7934586,"node_id":"MDQ6VXNlcjc5MzQ1ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/7934586?v=4","gravatar_id":"","url":"https://api.github.com/users/bennahugo","html_url":"https://github.com/bennahugo","followers_url":"https://api.github.com/users/bennahugo/followers","following_url":"https://api.github.com/users/bennahugo/following{/other_user}","gists_url":"https://api.github.com/users/bennahugo/gists{/gist_id}","starred_url":"https://api.github.com/users/bennahugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennahugo/subscriptions","organizations_url":"https://api.github.com/users/bennahugo/orgs","repos_url":"https://api.github.com/users/bennahugo/repos","events_url":"https://api.github.com/users/bennahugo/events{/privacy}","received_events_url":"https://api.github.com/users/bennahugo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T10:48:31Z","updated_at":"2018-10-29T10:55:54Z","closed_at":null,"author_association":"COLLABORATOR","body":"Attempting a tf-plane calibration. The gainphase table that gets dumped has 0 amplitude although it does not look like it gets enforced.  The convergence rate is very low as well but it is probably just an snr issue. The images do improve slightly though.\r\n\r\n![image](https://user-images.githubusercontent.com/7934586/47645144-c99f0300-db78-11e8-94aa-abbe0665f21a.png)\r\n\r\n\r\n``` \r\n  4  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [data] Visibility data options\r\n  5  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - ms ................................................ = msdir/COMBINED.1GC.ms\r\n  6  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - column ............................................ = DATA\r\n  7  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - time-chunk ........................................ = 100\r\n  8  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - freq-chunk ........................................ = 0\r\n  9  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - rebin-time ........................................ = 1\r\n 10  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - rebin-freq ........................................ = 1\r\n 11  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - chunk-by .......................................... = None\r\n 12  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - chunk-by-jump ..................................... = 1.0\r\n 13  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - single-chunk ...................................... =\r\n 14  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [sel] Data selection options\r\n 15  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - field ............................................. = 0\r\n 16  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - ddid .............................................. = None\r\n 17  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - taql .............................................. =\r\n 18  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - chan .............................................. =\r\n 19  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [model] Calibration model options\r\n 20  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - list .............................................. = MODEL_DATA\r\n 21  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - ddes .............................................. = auto\r\n 22  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - beam-pattern ...................................... = meerkat_pb_jones_cube_95channels_$(CORR)_$(REIM).fits\r\n 23  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - beam-l-axis ....................................... = None\r\n 24  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - beam-m-axis ....................................... = None\r\n 25  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [montblanc] Montblanc simulation options\r\n 26  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - device-type ....................................... = CPU\r\n 27  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - dtype ............................................. = float\r\n 28  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - feed-type ......................................... = linear\r\n 29  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - mem-budget ........................................ = 1024\r\n 30  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - verbosity ......................................... = WARNING\r\n 31  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - threads ........................................... = 0\r\n 32  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [weight] Weighting options\r\n 33  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - column ............................................ = WEIGHT\r\n 34  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [flags] General flagging options\r\n 35  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - apply ............................................. = -cubical\r\n 36  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - auto-init ......................................... = legacy\r\n 37  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - save .............................................. = cubical\r\n 38  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - save-legacy ....................................... = auto\r\n 39  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - reinit-bitflags ................................... = False\r\n 40  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - warn-thr .......................................... = 0.3\r\n 41  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - see-no-evil ....................................... = False\r\n 42  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [postmortem] Options for \"postmortem\" flagging based on solution statistics\r\n 43  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - enable ............................................ = False\r\n 44  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - tf-chisq-median ................................... = 1.2\r\n 45  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - tf-np-median ...................................... = 0.5\r\n 46  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - time-density ...................................... = 0.5\r\n 47  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - chan-density ...................................... = 0.5\r\n 48  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - ddid-density ...................................... = 0.5\r\n 49  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [madmax] Options for the \"Mad Max\" flagger\r\n 50  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - enable ............................................ = 0\r\n 51  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - estimate .......................................... = corr\r\n 52  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - diag .............................................. = True\r\n 53  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - offdiag ........................................... = True\r\n 54  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - threshold ......................................... = [0, 10]\r\n 55  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - global-threshold .................................. = [0, 12]\r\n 56  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - plot .............................................. = 1\r\n 57  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - plot-frac-above ................................... = 0.01\r\n 58  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - plot-bl ........................................... =\r\n 59  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - flag-ant .......................................... = 0\r\n 60  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - flag-ant-thr ...................................... = 5\r\n 61  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [sol] Solution options which apply at the solver level\r\n 62  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - jones ............................................. = G\r\n 63  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - precision ......................................... = 32\r\n- 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - delta-g ........................................... = 1e-06\r\n 65  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - delta-chi ......................................... = 1e-06\r\n 66  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - chi-int ........................................... = 5\r\n 67  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - last-rites ........................................ = True\r\n 68  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - stall-quorum ...................................... = 0.99\r\n 69  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - diag-diag ......................................... = False\r\n 70  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - term-iters ........................................ =\r\n 71  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - min-bl ............................................ = 50.0\r\n 72  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - max-bl ............................................ = 0.0\r\n 73  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - subset ............................................ =\r\n 74  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [bbc] Options for baseline-based corrections (a.k.a. BBCs, a.k.a. interferometer gains).\r\n 75  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - load-from ......................................... =\r\n 76  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - compute-2x2 ....................................... = False\r\n 77  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - apply-2x2 ......................................... = False\r\n 78  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - save-to ........................................... = {data[ms]}/BBC-field_{sel[field]}-ddid_{sel[ddid]}.parmdb\r\n 79  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - per-chan .......................................... = True\r\n 80  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - plot .............................................. = True\r\n 81  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [dist] Parallelization and distribution options\r\n 82  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - ncpu .............................................. = 16\r\n 83  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - nworker ........................................... = 8\r\n 84  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - nthread ........................................... = 0\r\n 85  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - max-chunks ........................................ = 0\r\n 86  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - min-chunks ........................................ = 0\r\n 87  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - pin ............................................... = 0\r\n 88  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - pin-io ............................................ = False\r\n 89  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - pin-main .......................................... = io\r\n 90  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [out] Options for output products\r\n 91  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - name .............................................. = 2gc_phasecal\r\n 92  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - mode .............................................. = sc\r\n 93  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - column ............................................ = CORRECTED_DATA\r\n 94  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - model-column ...................................... =\r\n 95  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - reinit-column ..................................... = False\r\n 96  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - subtract-model .................................... = 0\r\n 97  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - subtract-dirs ..................................... = :\r\n 98  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - plots ............................................. = 1\r\n 99  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - casa-gaintables ................................... = True\r\n100  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [log] Options related to logging\r\n101  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - memory ............................................ = True\r\n102  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - boring ............................................ = False\r\n103  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - append ............................................ = False\r\n104  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - verbose ........................................... = 0\r\n105  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - file-verbose ...................................... = None\r\n106  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [debug] Debugging options for the discerning masochist\r\n107  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - pdb ............................................... = False\r\n108  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - panic-amplitude ................................... = 0.0\r\n109  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - stop-before-solver ................................ = False\r\n110  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [misc] Miscellaneous options\r\n111  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - random-seed ....................................... = None\r\n112  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - parset-version .................................... = 0.1\r\n113  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [g] Options for G-Jones term\r\n114  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - solvable .......................................... = True\r\n115  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - type .............................................. = tf-plane\r\n116  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - load-from ......................................... =\r\n117  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - xfer-from ......................................... =\r\n118  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - save-to ........................................... = {data[ms]}/{JONES}-field_{sel[field]}-ddid_{sel[ddid]}.parmdb\r\n119  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - dd-term ........................................... = 0\r\n120  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - fix-dirs .......................................... =\r\n121  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - diag-diag ......................................... = 0\r\n122  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - update-type ....................................... = full\r\n123  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - time-int .......................................... = 20\r\n124  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - freq-int .......................................... = 0\r\n- 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - clip-high ......................................... = 10.0\r\n129  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - clip-after ........................................ = 5\r\n130  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - max-iter .......................................... = 500\r\n131  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - conv-quorum ....................................... = 0.99\r\n132  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - ref-ant ........................................... = None\r\n133  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - prop-flags ........................................ = default\r\n134  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] [de] de\r\n135  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - dd-term ........................................... = 1\r\n136  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - clip-low .......................................... = 0.0\r\n137  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb]  - clip-high ......................................... = 0.0\r\n138  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] Enabling G-Jones\r\n139  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] mode: solve and correct\r\n140  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb] reading MS msdir/COMBINED.1GC.ms\r\n141  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   detected linear (xy) feeds\r\n142  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   fields are *0: J1131-1955\r\n143  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   MS contains 1 spectral windows\r\n144  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   max freq chunk size is -- channels and/or -- MHz\r\n145  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   DDID 0: 1366/1366 channels selected\r\n146  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]     found 1 frequency chunks: 0 1366\r\n147  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   applying TAQL query 'FIELD_ID == 0 && DATA_DESC_ID IN [0]' (86343/86343 rows selected)\r\n148  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   16 antennas, 86343 rows, 1/1 DDIDs, 865 timeslots, 4 corrs\r\n149  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   DDID central frequencies are at 1.28 GHz\r\n150  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   inserting new column BITFLAG\r\n151  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   inserting new column BITFLAG_ROW\r\n152  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   Will auto-fill new BITFLAG 'legacy' (1) from FLAG/FLAG_ROW\r\n153  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]     BITFLAG column defines the following flagsets: legacy:1\r\n154  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]     Excluding flagset cubical\r\n155  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]     flagset 'cubical' not found -- ignoring\r\n156  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   Applying BITFLAG mask 1 to input data\r\n157  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   Will save output flags into BITFLAG 'cubical' (2), and into FLAG/FLAG_ROW\r\n158  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb] Using 1 model(s) for 1 directions(s) (DDEs explicitly disabled)\r\n159  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   model 0 (weight WEIGHT):\r\n160  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]     direction 0: MODEL_DATA\r\n161  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] subtraction directions set to slice(None, None, None)\r\n162  - 02:42:37 - param_db           [0.1/0.1 4.9/4.9 0.2Gb] creating msdir/COMBINED.1GC.ms/G-field_0-ddid_None.parmdb in fragmented mode\r\n163  - 02:42:37 - gain_machine       [0.1/0.1 4.9/4.9 0.2Gb] G solutions will be saved to msdir/COMBINED.1GC.ms/G-field_0-ddid_None.parmdb\r\n162  - 02:42:37 - param_db           [0.1/0.1 4.9/4.9 0.2Gb] creating msdir/COMBINED.1GC.ms/G-field_0-ddid_None.parmdb in fragmented mode\r\n163  - 02:42:37 - gain_machine       [0.1/0.1 4.9/4.9 0.2Gb] G solutions will be saved to msdir/COMBINED.1GC.ms/G-field_0-ddid_None.parmdb\r\n164  - 02:42:37 - param_db           [0.1/0.1 4.9/4.9 0.2Gb] creating msdir/COMBINED.1GC.ms/BBC-field_0-ddid_None.parmdb in fragmented mode\r\n165  - 02:42:37 - gain_machine       [0.1/0.1 4.9/4.9 0.2Gb] will compute & save suggested baseline-based corrections (BBCs) to msdir/COMBINED.1GC.ms/BBC-field_0-ddid_None.parmdb\r\n166  - 02:42:37 - gain_machine       [0.1/0.1 4.9/4.9 0.2Gb]   (these can optionally be applied in a subsequent CubiCal run)\r\n167  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] multi-process mode: --dist-nworker 8 (+1), 1 OMP threads\r\n168  - 02:42:37 - main               [0.1/0.1 4.9/4.9 0.2Gb] defining chunks (time 100, freq 0)\r\n169  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   read indexing columns (86343 total rows)\r\n170  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   built timeslot index (865 unique timestamps)\r\n171  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   max chunk size is 100 timeslots and/or -- seconds\r\n172  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   found 9 time chunks: 0 100 200 300 400 500 600 700 800 865\r\n173  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   generated 9 row chunks based on time and DDID\r\n174  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   row chunks yield 9 potential tiles\r\n175  - 02:42:37 - data_handler       [0.1/0.1 4.9/4.9 0.2Gb]   coarsening this to 1 tiles (max 9 chunks per tile, based on 8/0 requested)\r\n176  - 02:42:37 - main               [0.1/0.1 4.6/5.1 0.2Gb] waiting for I/O on tile #1/1\r\n177  - 02:42:37 - main               [io] [0.1/0.1 4.6/4.6 0.2Gb] loading tile #1/1\r\n178  - 02:42:37 - data_handler       [io] [0.1/0.1 4.6/4.6 0.2Gb] tile #1/1: reading MS rows 0~86342\r\n179  - 02:42:52 - data_handler       [io] [5.9/7.2 11.3/11.7 0.2Gb]   applying solvable baseline cutoff deselects 2794 rows\r\n180  - 02:42:52 - data_handler       [io] [5.9/7.2 11.3/11.7 0.2Gb]   3.24% visibilities deselected via specificed subset and/or baseline cutoffs\r\n181  - 02:42:53 - data_handler       [io] [7.6/7.6 13.0/13.0 0.2Gb]   auto-filling BITFLAG/BITFLAG_ROW of shape (86343, 1366, 4) from FLAG/FLAG_ROW\r\n182  - 02:43:06 - data_handler       [io] [9.3/11.5 13.9/16.1 0.2Gb]   51.81% input visibilities flagged and/or deselected\r\n183  - 02:43:11 - data_handler       [io] [12.8/15.5 21.0/21.0 6.4Gb]   reading MODEL_DATA for model 0 direction 0\r\n184  - 02:43:24 - main               [io] [1.9/19.9 6.5/28.0 9.9Gb] I/O job(s) complete\r\n185  - 02:43:24 - main               [0.1/0.1 4.6/5.1 9.9Gb] submitting solver jobs for tile #1/1\r\n186  - 03:27:52 - solver             [x08] [6.8/8.4 11.7/17.8 9.9Gb] D0T7F0 G: 500 iters, conv 0.33%, d/fl 6.25%, PGE 0.0275, stall 47.77%, chi^2 0.9484 -> 0.9117 (1.103), noise 2.55 -> 2.31\r\n187  - 03:28:00 - solver             [x06] [6.8/8.4 11.7/17.9 10.3Gb] D0T5F0 G: 500 iters, conv 0.88%, d/fl 6.25%, PGE 0.0191, stall 54.00%, chi^2 0.938 -> 0.9165 (1.093), noise 2.4 -> 2.19\r\n188  - 03:28:11 - solver             [x05] [6.8/8.4 11.7/17.8 11.0Gb] D0T4F0 G: 500 iters, conv 1.08%, d/fl 6.25%, PGE 0.0508, stall 57.05%, chi^2 0.962 -> 0.9408 (1.097), noise 2.43 -> 2.24\r\n189  - 03:28:22 - solver             [x04] [6.8/8.4 11.7/17.9 11.6Gb] D0T3F0 G: 500 iters, conv 1.23%, d/fl 6.25%, PGE 0.0137, stall 59.96%, chi^2 0.9866 -> 0.9607 (1.097), noise 2.45 -> 2.28\r\n190  - 03:28:25 - solver             [x07] [6.8/8.4 11.7/17.8 11.6Gb] D0T6F0 G: 500 iters, conv 0.56%, d/fl 6.25%, PGE 0.0466, stall 45.89%, chi^2 0.9232 -> 0.897 (1.092), noise 2.34 -> 2.1\r\n191  - 03:28:30 - solver             [x01] [6.8/8.4 11.7/17.9 12.2Gb] D0T0F0 G: 500 iters, conv 0.88%, d/fl 6.25%, PGE 0.0104, stall 55.35%, chi^2 1.029 -> 0.987 (1.097), noise 2.38 -> 2.25\r\n192  - 03:28:34 - solver             [x03] [6.8/8.4 11.7/17.9 12.2Gb] D0T2F0 G: 500 iters, conv 1.05%, d/fl 6.25%, PGE 0.0134, stall 56.55%, chi^2 1.009 -> 0.966 (1.093), noise 2.38 -> 2.23\r\n193  - 03:28:50 - solver             [x02] [6.8/8.4 11.7/17.8 13.9Gb] D0T1F0 G: 500 iters, conv 0.95%, d/fl 6.25%, PGE 0.0153, stall 55.26%, chi^2 1.014 -> 0.9711 (1.095), noise 2.37 -> 2.22\r\n194  - 03:49:38 - solver             [x08] [5.8/10.0 10.7/18.1 14.5Gb] D0T8F0 G: 500 iters, conv 0.14%, d/fl 6.25%, PGE 0.25, stall 40.89%, chi^2 0.9583 -> 0.9028 (1.103), noise 2.59 -> 2.33\r\n195  - 03:49:43 - main               [0.2/0.2 4.8/5.1 14.9Gb] finished processing tile #1/1\r\n196  - 03:49:43 - main               [io] [1.9/19.9 6.5/28.0 14.9Gb] saving tile #1/1\r\n```"},"comment":{"url":"https://api.github.com/repos/ratt-ru/CubiCal/issues/comments/433868137","html_url":"https://github.com/ratt-ru/CubiCal/issues/228#issuecomment-433868137","issue_url":"https://api.github.com/repos/ratt-ru/CubiCal/issues/228","id":433868137,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzg2ODEzNw==","user":{"login":"o-smirnov","id":6470079,"node_id":"MDQ6VXNlcjY0NzAwNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/6470079?v=4","gravatar_id":"","url":"https://api.github.com/users/o-smirnov","html_url":"https://github.com/o-smirnov","followers_url":"https://api.github.com/users/o-smirnov/followers","following_url":"https://api.github.com/users/o-smirnov/following{/other_user}","gists_url":"https://api.github.com/users/o-smirnov/gists{/gist_id}","starred_url":"https://api.github.com/users/o-smirnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o-smirnov/subscriptions","organizations_url":"https://api.github.com/users/o-smirnov/orgs","repos_url":"https://api.github.com/users/o-smirnov/repos","events_url":"https://api.github.com/users/o-smirnov/events{/privacy}","received_events_url":"https://api.github.com/users/o-smirnov/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T10:55:54Z","updated_at":"2018-10-29T10:55:54Z","author_association":"COLLABORATOR","body":"As just discussed with @bennahugo, this is probably a CASA table export issue.\r\n\r\nCubiCal in this instance produces G:phase, which is a real number (the phase, in radians). Sticking the number into a CASA gain table as is makes the latter interpret it as a real amplitude, no phase.\r\n\r\nSolution is to export exp{1j*G_phase} into the CASA table."}}
{"actor":{"display_login":"o-smirnov"}}