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


Performing analysis on: 4FGL_J2056.5-0202_daily_bin1698
RA = 314.142, Dec = -2.0355
tmin = 679449601, tmax = 679708801
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='924470', job_status='RUN', time_executed='2022-07-17 00:32:10.506329', time_epoch_executed='1658043130.51' WHERE source_name='4FGL J2056.5-0202' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924470

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924470/ft1_4FGL_J2056.5-0202_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924470/ft2_4FGL_J2056.5-0202_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924470/ft1_4FGL_J2056.5-0202_daily_bin1698.fits outfile=/scratch/kocevski/924470/ft1_filteredMKT_4FGL_J2056.5-0202_daily_bin1698.fits ra=314.142 dec=-2.0355 rad=12.0 tmin=679449601.0 tmax=679708801.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.45
user 3.24
sys 0.20

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

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

Number of photons that the gtmktime cut: 628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/924470/ft1_filtered_4FGL_J2056.5-0202_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/924470/ft2_4FGL_J2056.5-0202_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/924470/ltcube_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.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/924470/ft2_4FGL_J2056.5-0202_daily_bin1698.fits
.....................!
real 11.96
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924470/ft1_filtered_4FGL_J2056.5-0202_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/924470/ft2_4FGL_J2056.5-0202_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/924470/ltcube_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.fits outfile=/scratch/kocevski/924470/expmap_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.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/924470/ltcube_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.fits
.....................!
real 190.73
user 185.50
sys 4.89

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/924470/ft1_filtered_4FGL_J2056.5-0202_daily_bin1698.fits scfile=/scratch/kocevski/924470/ft2_4FGL_J2056.5-0202_daily_bin1698.fits outfile=/scratch/kocevski/924470/cmap_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/924470/ft1_filtered_4FGL_J2056.5-0202_daily_bin1698.fits scfile=/scratch/kocevski/924470/ft2_4FGL_J2056.5-0202_daily_bin1698.fits outfile=/scratch/kocevski/924470/cmap_HighResolution_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.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.60
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/924470/ft1_filtered_4FGL_J2056.5-0202_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/924470/ft2_4FGL_J2056.5-0202_daily_bin1698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/924470/Model_4FGL_J2056.5-0202_daily_bin1698.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/924470/ft1_filtered_4FGL_J2056.5-0202_daily_bin1698.fits.....................!
real 70.70
user 69.35
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/924470/ft1_filtered_4FGL_J2056.5-0202_daily_bin1698.fits', '/scratch/kocevski/924470/ft2_4FGL_J2056.5-0202_daily_bin1698.fits', expMap='/scratch/kocevski/924470/expmap_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.fits', expCube='/scratch/kocevski/924470/ltcube_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/924470/Model_4FGL_J2056.5-0202_daily_bin1698.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  1.000e-04  1.000e+04 ( 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/924470/ft1_filtered_4FGL_J2056.5-0202_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/924470/ft2_4FGL_J2056.5-0202_daily_bin1698.fits
Exposure map: /scratch/kocevski/924470/expmap_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.fits
Exposure cube: /scratch/kocevski/924470/ltcube_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/924470/Model_4FGL_J2056.5-0202_daily_bin1698.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) = 7087.90169148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10287E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7833       1.0000         .10000E-03   10000.    
     5 'norm      '    2.5410       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.224       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.656       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.198       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.462       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.384       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .92986E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.621       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .83320       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85984       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7087.875     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2076 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.764        .18327E-04** at limit **
   2  Prefactor     .10000E-03    4.6556        .19779E-07** at limit **
   3  norm          .10000E-03    .46873        .75795E-07** at limit **
   4  Prefactor     4.7844        13.037       -.57204E-06   -.11531E-03
   5  norm          2.5413        2.7772        .37820E-07   -.19803E-03
   6  Prefactor     .10000E-03    2.0339        .77429E-07** at limit **
   7  Prefactor     37.236        17.745       -.58126E-05   -.43354E-04
   8  Prefactor     .10000E-03    7.6947       -.99285E-06** at limit **
   9  Prefactor     35.695        31.645        .11553E-04    .26300E-04
  10  Prefactor     .10000E-03    8.2733        .18142E-05** at limit **
  11  Prefactor     .10000E-03    28.193        .33491E-05** at limit **
  12  Prefactor     18.232        27.775        .23684E-05   -.25429E-04
  13  Prefactor     .10000E-03    15.988       -.20291E-04** at limit **
  14  Prefactor     13.425        36.461       -.22022E-04   -.32477E-03
  15  Prefactor     10.383        8.4170       -.93769E-07   -.14531E-03
  16  Prefactor     .10021E-03    1.1275        .15499E-05** at limit **
  17  Prefactor     18.616        32.659        .94664E-05   -.27539E-03
  18  Prefactor     .10000E-03    10.768       -.42175E-05** at limit **
  19  Normalizat    .83220        .24249        .60422E-06   -.33269E-03
  20  Prefactor     .86018        .92718E-01   -.31108E-06   -.43043E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.78441
  norm       = 2.54134
  Prefactor  = 0.0001
  Prefactor  = 37.2365
  Prefactor  = 0.0001
  Prefactor  = 35.6954
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.2317
  Prefactor  = 0.0001
  Prefactor  = 13.4246
  Prefactor  = 10.3832
  Prefactor  = 0.000100213
  Prefactor  = 18.6156
  Prefactor  = 0.0001
  Normalizat = 0.832203
  Prefactor  = 0.860177
 **********
 **   18 **HESSE 
 **********

 FCN=   7087.875     FROM HESSE     STATUS=OK           291 CALLS     2367 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.6672        .17740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .99366        .11008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7844        12.786        .18396E-03   -1.5270    
   5  norm          2.5413        2.7686        .14257E-03   -1.5389    
   6  Prefactor     .10000E-03    2.0516        .11720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.236        17.760        .65690E-04   -1.4487    
   8  Prefactor     .10000E-03    7.6950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.695        31.720        .67114E-04   -1.4512    
  10  Prefactor     .10000E-03    8.2663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.232        27.905        .93888E-04   -1.4854    
  13  Prefactor     .10000E-03    16.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.425        35.419        .10917E-03   -1.4975    
  15  Prefactor     10.383        8.4115        .12434E-03   -1.5063    
  16  Prefactor     .10021E-03    18.001        .15806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.616        31.980        .92815E-04   -1.4845    
  18  Prefactor     .10000E-03    10.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .83220        .28882        .37743E-03   -.98885    
  20  Prefactor     .86018        .11138        .15447E-03   -.97547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20364e-08
Minuit parameter uncertainties:
  1  4.30052e-06
  2  8.474e-08
  3  5.28023e-06
  4  12.7932
  5  2.76876
  6  1.05577e-05
  7  17.7629
  8  5.2469e-07
  9  31.7347
  10  6.44983e-05
  11  1.37576e-05
  12  27.9251
  13  5.47636e-05
  14  35.4744
  15  8.41244
  16  0.00391914
  17  32.0093
  18  1.50539e-05
  19  0.289353
  20  0.111406
Done.

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

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  1.000e-04  1.056e-05  1.000e-04  1.000e+04 ( 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.602e-01  1.114e-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:  8.322e-01  2.894e-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: 7.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/924470/likelihoodResults_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.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): 102
logL (Free Index) = 7087.87698769
delta logL = -0.00232152521676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7087.87466612
delta logL = 4.55047484138e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5246       1.0000          .0000       10.000    
     3 'Normalizat'    .83221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86017       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7087.854     FROM MIGRAD    STATUS=CONVERGED    158 CALLS      312 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31771E-01    1.8607        .11743E-01   -.21608E-02
   2  Index         4.9497        2.0747        .50000       -.14787E-04
   3  Normalizat    .81603        .28227E-01    .37743E-03   -.15784E-04
   4  Prefactor     .86407        .11699E-01    .15447E-03    .85847E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0317709
  Index      = 4.94973
  Normalizat = 0.816035
  Prefactor  = 0.864069
 **********
 **   18 **HESSE 
 **********

 FCN=   7087.854     FROM HESSE     STATUS=OK            31 CALLS      343 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31771E-01    .34775        .46459E-03   -1.5744    
   2  Index         4.9497        3.1223        .72861E-02   -.10055E-01
   3  Normalizat    .81603        .27326        .15097E-04   -.99477    
   4  Prefactor     .86407        .11136        .30893E-04   -.97408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32756e-10
Minuit parameter uncertainties:
  1  0.209892
  2  3.37217
  3  0.273718
  4  0.111385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924470': 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) = 7087.85436248
delta logL = 0.0203036852317

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  3.177e-02  2.099e-01  1.000e-04  1.000e+04 ( 1.000e-12)
327        Index:  4.950e+00  3.372e+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:  8.641e-01  1.114e-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:  8.160e-01  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 314.142 -2.035

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/924470/cmap_HighResolution_679449601_679708801_4FGL_J2056.5-0202_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', job_status='DONE', photon_flux_upper_limit='7.88e-08', time_completed='2022-07-17 00:43:03.272261', job_id='924470', GAL2='0.86', fit_tolerance='1e-08', EG2='0.82', EG='0.83', time_epoch_completed='1658043783.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.03e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1698' AND source_name='4FGL J2056.5-0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:43:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 924470: <4FGL_J2056.5-0202_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2056.5-0202_daily_bin1698> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jul 17 00:30:32 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:30:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:30:33 2022
Terminated at Sun Jul 17 00:43:04 2022
Results reported at Sun Jul 17 00:43:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.5-0202_daily_bin1698 314.142 -2.0355 679449601 679708801 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 :                                   655.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            752 sec.

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

