aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 13 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7534
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2056.5-0202_daily_bin1719
RA = 314.142, Dec = -2.0355
tmin = 684892801, tmax = 685152001
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='666593', job_status='RUN', time_executed='2022-09-18 01:17:07.652038', time_epoch_executed='1663489027.65' WHERE source_name='4FGL J2056.5-0202' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666593

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666593/ft1_4FGL_J2056.5-0202_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666593/ft1_4FGL_J2056.5-0202_daily_bin1719.fits outfile=/scratch/kocevski/666593/ft1_filteredMKT_4FGL_J2056.5-0202_daily_bin1719.fits ra=314.142 dec=-2.0355 rad=12.0 tmin=684892801.0 tmax=685152001.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.11
user 2.89
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.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/666593/ft1_filteredMKT_4FGL_J2056.5-0202_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/666593/ft1_filtered_4FGL_J2056.5-0202_daily_bin1719.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.34
sys 0.15

Number of photons that the gtmktime cut: 337

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666593/ft1_filtered_4FGL_J2056.5-0202_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/666593/ltcube_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.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/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits
.....................!
real 15.30
user 14.92
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666593/ft1_filtered_4FGL_J2056.5-0202_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/666593/ltcube_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.fits outfile=/scratch/kocevski/666593/expmap_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.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/666593/ltcube_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.fits
.....................!
real 192.97
user 187.64
sys 4.96

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J2056.5-0202 @ 314.142 -2.0355

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/666593/ft1_filtered_4FGL_J2056.5-0202_daily_bin1719.fits scfile=/scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits outfile=/scratch/kocevski/666593/cmap_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.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=314.142 yref=-2.0355 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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666593/ft1_filtered_4FGL_J2056.5-0202_daily_bin1719.fits scfile=/scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits outfile=/scratch/kocevski/666593/cmap_HighResolution_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.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=314.142 yref=-2.0355 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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/666593/ft1_filtered_4FGL_J2056.5-0202_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/666593/Model_4FGL_J2056.5-0202_daily_bin1719.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/666593/ft1_filtered_4FGL_J2056.5-0202_daily_bin1719.fits......................!
real 48.91
user 47.52
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666593/ft1_filtered_4FGL_J2056.5-0202_daily_bin1719.fits', '/scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits', expMap='/scratch/kocevski/666593/expmap_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.fits', expCube='/scratch/kocevski/666593/ltcube_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666593/Model_4FGL_J2056.5-0202_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2056.5-0202'

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  1.312e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  7.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/666593/ft1_filtered_4FGL_J2056.5-0202_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/666593/ft2_4FGL_J2056.5-0202_daily_bin1719.fits
Exposure map: /scratch/kocevski/666593/expmap_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.fits
Exposure cube: /scratch/kocevski/666593/ltcube_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666593/Model_4FGL_J2056.5-0202_daily_bin1719.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) = 3921.55985008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.183       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28577E-06   1.0000          .0000       .10000E+07
     3 'norm      '    2.9286       1.0000          .0000       .10000E+07
     4 'Prefactor '    .52625E-07   1.0000          .0000       .10000E+07
     5 'norm      '    .11911E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .53541E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21803E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .49132E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.4014       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43798E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .57819E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.726       1.0000          .0000       .10000E+07
    14 'Prefactor '    .75939E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10290E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    .77020       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .81835       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3921.549     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1433 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.191        8.6142        .35644E-07   -.19344E-01
   2  Prefactor     .19192E-04    29.061       -.49940E-06** at limit **
   3  norm          2.9289        2.1436       -.68922E-07   -.44396E-02
   4  Prefactor     .17422E-04    25.981       -.32231E-06** at limit **
   5  norm          .66613E-09    15.242       -.93310E-06** at limit **
   6  Prefactor     .40523E-08    15.548        .32000E-06** at limit **
   7  Prefactor     .64013E-03    119.00        .18330E-06** at limit **
   8  Prefactor     .78445E-03    159.81        .39780E-07** at limit **
   9  Prefactor     .12836E-05    26.505       -.35979E-06** at limit **
  10  Prefactor     9.3809        4.5070        .25440E-07   -.37988E-02
  11  Prefactor     .13550E-06    23.023       -.76689E-07** at limit **
  12  Prefactor     .52058E-06    44.430       -.45400E-06** at limit **
  13  Prefactor     25.724        2.7923       -.10013E-07    .42160E-02
  14  Prefactor     .55511E-10    2.4873        .25205E-06** at limit **
  15  Prefactor     .12011E-05    42.128       -.68026E-06** at limit **
  16  Normalizat    .76995        .36329        .59137E-05   -.79577E-04
  17  Prefactor     .81832        .13699       -.35681E-05   -.29604E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.1909
  Prefactor  = 1.91918e-05
  norm       = 2.92888
  Prefactor  = 1.74223e-05
  norm       = 6.66134e-10
  Prefactor  = 4.05231e-09
  Prefactor  = 0.000640132
  Prefactor  = 0.000784447
  Prefactor  = 1.28358e-06
  Prefactor  = 9.38091
  Prefactor  = 1.35503e-07
  Prefactor  = 5.20584e-07
  Prefactor  = 25.7239
  Prefactor  = 5.55112e-11
  Prefactor  = 1.20109e-06
  Normalizat = 0.769953
  Prefactor  = 0.818316
 **********
 **   18 **HESSE 
 **********

 FCN=   3921.549     FROM HESSE     STATUS=OK           251 CALLS     1684 TOTAL
                     EDM=   .68E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.191        43.478        .17630E-03   -1.5594    
   2  Prefactor     .19192E-04    36.267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9289        2.1575        .59333E-03   -1.5674    
   4  Prefactor     .17422E-04    31.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .66613E-09    14.972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .40523E-08    15.491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .64013E-03    221.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .78445E-03    277.73        .42118E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .12836E-05    27.042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.3809        46.456        .32660E-03   -1.5647    
  11  Prefactor     .13550E-06    23.144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .52058E-06    71.431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.724        27.021        .19720E-03   -1.5607    
  14  Prefactor     .55511E-10    2.4880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12011E-05    66.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .76995        .31955        .89865E-01   -1.0119    
  17  Prefactor     .81832        .11957        .32924E-01   -.99057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.7762e-06
Minuit parameter uncertainties:
  1  43.4789
  2  0.052765
  3  2.15747
  4  0.0471906
  5  0.000197614
  6  0.000502328
  7  0.753279
  8  0.933559
  9  0.0117831
  10  41.7521
  11  0.00354211
  12  0.0121965
  13  27.0209
  14  2.66081e-05
  15  0.0179352
  16  0.320331
  17  0.119605
Done.

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

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  4.052e-09  5.023e-04  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  7.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  8.183e-01  1.196e-01  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
585   Normalization:  7.700e-01  3.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 314.142 -2.035
Photon Flux Upper Limit: 1.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.55e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666593/likelihoodResults_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.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) = 3919.42688586
delta logL = 2.12174939935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3919.30577089
delta logL = 2.24286436786

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10832       1.0000          .0000       .10000E+07
     2 'Index     '    6.0626       1.0000          .0000       10.000    
     3 'Normalizat'    .41323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90634       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3919.306     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      468 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10827        .97404        .23736E-03** at limit **
   2  Index         6.0633        2.9682        .82984E-01    .88259E-04
   3  Normalizat    .41394        .11195        .12020        .22796E-04
   4  Prefactor     .90604        .41937E-01    .31361E-01   -.18911E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.108274
  Index      = 6.06327
  Normalizat = 0.413937
  Prefactor  = 0.906039
 **********
 **   18 **HESSE 
 **********

 FCN=   3919.306     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      499 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10827        1.4870        .10581E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.0633        3.6896        .34971E-02    .21429    
   3  Normalizat    .41394        .35884        .53265E-03   -1.1659    
   4  Prefactor     .90604        .13178        .13858E-03   -.95930    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08409e-07
Minuit parameter uncertainties:
  1  0.802515
  2  4.18181
  3  0.360862
  4  0.131822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666593': 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): 102
logL (Free Index) = 3919.30576708
delta logL = 2.24286817995

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  1.083e-01  8.025e-01  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  6.063e+00  4.182e+00  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  7.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  9.060e-01  1.318e-01  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
585   Normalization:  4.139e-01  3.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.41
Ra Dec: 314.142 -2.035
Photon Index (Free Index): 6.06 +/- 4.18
Photon Flux (Free Index): 3.33e-07 +/- 1.83e-07
Energy Flux (Free Index): 4.14e-05 +/- 2.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/666593/cmap_HighResolution_684892801_685152001_4FGL_J2056.5-0202_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.55e-02', comment='SUCCESS', energy_flux2='4.14e-05', dlogl='2.24e+00', photon_flux2='3.33e-07', job_status='DONE', time_completed='2022-09-18 01:25:08.775134', photon_index_error2='4.18', photon_index2='6.06', ts='-0.00', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.99e-07', energy_flux_error2='2.40e-05', EG='0.77', time_epoch_completed='1663489508.78', return_code='0', job_id='666593', GAL2='0.91', EG2='0.41', return_code2='102', photon_flux_error2='1.83e-07', ts2='5.41', photon_index='2.52' WHERE bin_id='1719' AND source_name='4FGL J2056.5-0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:25:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 666593: <4FGL_J2056.5-0202_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2056.5-0202_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 01:15:36 2022
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:16:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:16:43 2022
Terminated at Sun Sep 18 01:25:09 2022
Results reported at Sun Sep 18 01:25:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.5-0202_daily_bin1719 314.142 -2.0355 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2056.5-0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   483.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   506 sec.
    Turnaround time :                            573 sec.

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

