/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 223 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7432
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1941.3-6210_daily_bin243
RA = 295.347, Dec = -62.1753
tmin = 302313601, tmax = 302572801
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='92637', job_status='RUN', time_executed='2021-09-23 08:31:02.006975', time_epoch_executed='1632411062.01' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='243'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92637

Creating custom pfile directory:
/scratch/kocevski/92637/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=302313601.0 && nMetStart<302572801.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=302313601.0 && nMetStart<302572801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92637/ft1_4FGL_J1941.3-6210_daily_bin243.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=302313601.0 && nMetStart<302572801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92637/ft1_4FGL_J1941.3-6210_daily_bin243.fits outfile=/scratch/kocevski/92637/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin243.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=302313601.0 tmax=302572801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.60
user 3.37
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/92637/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin243.fits evtable="EVENTS" outfile="/scratch/kocevski/92637/ft1_filtered_4FGL_J1941.3-6210_daily_bin243.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92637/ft1_filtered_4FGL_J1941.3-6210_daily_bin243.fits" evtable="EVENTS" scfile=/scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits sctable="SC_DATA" outfile=/scratch/kocevski/92637/ltcube_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits
.....................!
real 16.75
user 16.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92637/ft1_filtered_4FGL_J1941.3-6210_daily_bin243.fits evtable="EVENTS" scfile=/scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits sctable="SC_DATA" expcube=/scratch/kocevski/92637/ltcube_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits outfile=/scratch/kocevski/92637/expmap_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/92637/ltcube_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits
.....................!
real 192.78
user 188.25
sys 4.04

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 196 point sources and 0 extended sources

Setting source of interest to:
4FGL J1941.3-6210 @ 295.347 -62.1753

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/92637/ft1_filtered_4FGL_J1941.3-6210_daily_bin243.fits scfile=/scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits outfile=/scratch/kocevski/92637/cmap_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=295.347 yref=-62.1753 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92637/ft1_filtered_4FGL_J1941.3-6210_daily_bin243.fits scfile=/scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits outfile=/scratch/kocevski/92637/cmap_HighResolution_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=295.347 yref=-62.1753 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92637/ft1_filtered_4FGL_J1941.3-6210_daily_bin243.fits evtable="EVENTS" scfile=/scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92637/Model_4FGL_J1941.3-6210_daily_bin243.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/92637/ft1_filtered_4FGL_J1941.3-6210_daily_bin243.fits.....................!
real 74.56
user 73.07
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/92637/ft1_filtered_4FGL_J1941.3-6210_daily_bin243.fits', '/scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits', expMap='/scratch/kocevski/92637/expmap_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits', expCube='/scratch/kocevski/92637/ltcube_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/92637/Model_4FGL_J1941.3-6210_daily_bin243.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1941.3-6210'

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.374e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.350e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/92637/ft1_filtered_4FGL_J1941.3-6210_daily_bin243.fits
Spacecraft file(s): /scratch/kocevski/92637/ft2_4FGL_J1941.3-6210_daily_bin243.fits
Exposure map: /scratch/kocevski/92637/expmap_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits
Exposure cube: /scratch/kocevski/92637/ltcube_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/92637/Model_4FGL_J1941.3-6210_daily_bin243.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 8746.76611756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 8746.73696713

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.871       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11466E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10156E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    62.034       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2224       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.767       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .28825E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .91455       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.0205       1.0000         .10000E-03   10000.    
    11 'norm      '    .90889       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7179       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .54809E-02   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.7811       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .70662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8746.737     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1672 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.856        20.861        .67078E-07   -.68334E-05
   2  Prefactor     .10000E-03    28.910       -.14058E-06** at limit **
   3  norm          .10000E-03    .34007        .72700E-07** at limit **
   4  Prefactor     .10000E-03    32.712        .24414E-06** at limit **
   5  Prefactor     62.114        72.961        .11623E-05    .10928E-03
   6  norm          1.2341        30.276        .26008E-05   -.25750E-04
   7  Prefactor     26.726        49.301        .25365E-06   -.13183E-04
   8  Prefactor     .10000E-03    121.87        .23929E-06** at limit **
   9  norm          .91339        6.8926       -.24670E-06   -.20704E-03
  10  Prefactor     8.0204        12.399        .30526E-05   -.85726E-04
  11  norm          .90890        .87393        .20616E-07   -.15872E-04
  12  Prefactor     4.7190        16.455        .52067E-06    .52717E-05
  13  Prefactor     .10000E-03    1.0297       -.41904E-09** at limit **
  14  norm          .10000E-03    1.1859        .74754E-07** at limit **
  15  Prefactor     .10000E-03    484.22        .21117E-05** at limit **
  16  Normalizat    1.7810        .22690        .14183E-06   -.53517E-04
  17  Prefactor     .70664        .91513E-01   -.47836E-06   -.10651E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.8556
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.1141
  norm       = 1.23406
  Prefactor  = 26.7265
  Prefactor  = 0.0001
  norm       = 0.91339
  Prefactor  = 8.02043
  norm       = 0.908901
  Prefactor  = 4.71902
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 1.78105
  Prefactor  = 0.706636
 **********
 **   18 **HESSE 
 **********

 FCN=   8746.737     FROM HESSE     STATUS=OK           229 CALLS     1901 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.856        20.765        .80323E-04   -1.4710    
   2  Prefactor     .10000E-03    29.700        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .35196        .10613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    32.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     62.114        73.672        .25473E-03   -1.4130    
   6  norm          1.2341        30.546        .40772E-03   -1.5486    
   7  Prefactor     26.726        49.211        .77431E-04   -1.4674    
   8  Prefactor     .10000E-03    122.77        .21407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .91339        22.601        .45104E-02   -1.5517    
  10  Prefactor     8.0204        12.638        .70787E-03   -1.5141    
  11  norm          .90890        .87344        .82876E-04   -1.5517    
  12  Prefactor     4.7190        16.514        .18526E-03   -1.5273    
  13  Prefactor     .10000E-03    1.0388        .92661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.6169        .19809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    497.77        .38146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.7810        .27585        .30258E-03   -.70159    
  17  Prefactor     .70664        .11080        .18280E-03   -1.0327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21604e-10
Minuit parameter uncertainties:
  1  20.7713
  2  1.1623e-05
  3  4.68722e-08
  4  1.46286e-05
  5  73.7802
  6  12.2859
  7  49.286
  8  0.000130015
  9  9.09038
  10  12.6419
  11  0.873453
  12  16.5299
  13  3.39304e-07
  14  7.72479e-06
  15  0.00211024
  16  0.276094
  17  0.11083
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 8746.73695661

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  9.089e-01  8.735e-01  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.350e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  7.066e-01  1.108e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  1.781e+00  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.06
Ra Dec: 295.347 -62.175
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.71e-08 +/- 2.60e-08
Energy Flux (Fixed Index): 8.70e-06 +/- 8.36e-06

TS (Fixed Index): 3.06
Ra Dec: 295.347 -62.175
Photon Flux Upper Limit: 9.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/92637/likelihoodResults_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8745.28132648
delta logL = 1.45563012615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8745.21052982
delta logL = 1.52642679521

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15476       1.0000         .10000E-03   10000.    
     2 'alpha     '    .85024       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8745.211     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      217 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15474        .17511        .82529E-02   -.13818E-02
   2  alpha         .84921        .40313        .40400       -.33307E-04
   3  Normalizat    1.8037        .22056        .68062E-01   -.23356E-04
   4  Prefactor     .70355        .89529E-01    .42450E-01   -.34762E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.154739
  alpha      = 0.849213
  Normalizat = 1.80366
  Prefactor  = 0.703548
 **********
 **   18 **HESSE 
 **********

 FCN=   8745.211     FROM HESSE     STATUS=OK            35 CALLS      252 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15474        .30290        .35024E-03   -1.5629    
   2  alpha         .84921        .69167        .17022E-01   -.72124    
   3  Normalizat    1.8037        .26837        .30105E-03   -.69568    
   4  Prefactor     .70355        .10898        .18315E-03   -1.0339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68403e-09
Minuit parameter uncertainties:
  1  0.302905
  2  0.708355
  3  0.268591
  4  0.10901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92637': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8745.21052522
delta logL = 1.52643139551

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  1.547e-01  3.029e-01  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  8.492e-01  7.084e-01  0.000e+00  5.000e+00 ( 1.000e+00)
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  7.035e-01  1.090e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  1.804e+00  2.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.10
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 0.85 +/- 0.71
Photon Flux (Free Index): 4.49e-09 +/- 5.26e-09
Energy Flux (Free Index): 4.25e-05 +/- 6.50e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/92637/cmap_HighResolution_302313601_302572801_4FGL_J1941.3-6210_daily_bin243.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/92637

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-05', comment='SUCCESS', photon_flux='2.71e-08', energy_flux2='4.25e-05', photon_flux_error='2.60e-08', dlogl='1.53e+00', energy_flux='8.70e-06', photon_flux2='4.49e-09', job_status='DONE', time_completed='2021-09-23 08:43:02.455999', photon_index_error2='0.71', photon_index2='0.85', ts='3.06', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='9.67e-08', energy_flux_error2='6.50e-05', EG='1.78', time_epoch_completed='1632411782.46', return_code='0', job_id='92637', GAL2='0.70', EG2='1.80', return_code2='0', energy_flux_error='8.36e-06', photon_flux_error2='5.26e-09', ts2='6.10', photon_index='2.35' WHERE bin_id='243' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:43:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 92637: <4FGL_J1941.3-6210_daily_bin243> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin243> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 08:26:49 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:27:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 08:27:08 2021
Terminated at Thu Sep 23 08:43:03 2021
Results reported at Thu Sep 23 08:43:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin243 295.347 -62.1753 302313601 302572801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1941.3-6210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   720.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             244.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            974 sec.

The output (if any) is above this job summary.

