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


Performing analysis on: 4FGL_J2056.5-0202_daily_bin1768
RA = 314.142, Dec = -2.0355
tmin = 697593601, tmax = 697852801
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='280350', job_status='RUN', time_executed='2023-02-12 01:35:20.454258', time_epoch_executed='1676194520.45' WHERE source_name='4FGL J2056.5-0202' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/280350

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/280350/ft1_4FGL_J2056.5-0202_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/280350/ft2_4FGL_J2056.5-0202_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/280350/ft1_4FGL_J2056.5-0202_daily_bin1768.fits outfile=/scratch/kocevski/280350/ft1_filteredMKT_4FGL_J2056.5-0202_daily_bin1768.fits ra=314.142 dec=-2.0355 rad=12.0 tmin=697593601.0 tmax=697852801.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.67
user 3.46
sys 0.19

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

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

Number of photons that the gtmktime cut: 691

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/280350/ft1_filtered_4FGL_J2056.5-0202_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/280350/ft2_4FGL_J2056.5-0202_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/280350/ltcube_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.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/280350/ft2_4FGL_J2056.5-0202_daily_bin1768.fits
.....................!
real 14.91
user 14.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/280350/ft1_filtered_4FGL_J2056.5-0202_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/280350/ft2_4FGL_J2056.5-0202_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/280350/ltcube_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.fits outfile=/scratch/kocevski/280350/expmap_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.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/280350/ltcube_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.fits
.....................!
real 192.26
user 186.57
sys 4.98

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/280350/ft1_filtered_4FGL_J2056.5-0202_daily_bin1768.fits scfile=/scratch/kocevski/280350/ft2_4FGL_J2056.5-0202_daily_bin1768.fits outfile=/scratch/kocevski/280350/cmap_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/280350/ft1_filtered_4FGL_J2056.5-0202_daily_bin1768.fits scfile=/scratch/kocevski/280350/ft2_4FGL_J2056.5-0202_daily_bin1768.fits outfile=/scratch/kocevski/280350/cmap_HighResolution_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/280350/ft1_filtered_4FGL_J2056.5-0202_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/280350/ft2_4FGL_J2056.5-0202_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/280350/Model_4FGL_J2056.5-0202_daily_bin1768.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/280350/ft1_filtered_4FGL_J2056.5-0202_daily_bin1768.fits.....................!
real 79.56
user 78.07
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/280350/ft1_filtered_4FGL_J2056.5-0202_daily_bin1768.fits', '/scratch/kocevski/280350/ft2_4FGL_J2056.5-0202_daily_bin1768.fits', expMap='/scratch/kocevski/280350/expmap_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.fits', expCube='/scratch/kocevski/280350/ltcube_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/280350/Model_4FGL_J2056.5-0202_daily_bin1768.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/280350/ft1_filtered_4FGL_J2056.5-0202_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/280350/ft2_4FGL_J2056.5-0202_daily_bin1768.fits
Exposure map: /scratch/kocevski/280350/expmap_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.fits
Exposure cube: /scratch/kocevski/280350/ltcube_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/280350/Model_4FGL_J2056.5-0202_daily_bin1768.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) = 7616.99807179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49294E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .49756E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .26090E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    .33196E-07   1.0000          .0000       .10000E+07
     5 'norm      '    .47851E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.6324       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.607       1.0000          .0000       .10000E+07
     8 'Prefactor '    .35257E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .48367E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    20.883       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.5378       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3016       1.0000          .0000       .10000E+07
    13 'Prefactor '    .86986E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .90114       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.7416       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0335       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0278       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=   7616.993     FROM MIGRAD    STATUS=CONVERGED    388 CALLS     1781 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    192.36       -.63496E-07** at limit **
   2  Prefactor     .80761E-04    16.421        .37085E-06** at limit **
   3  norm           .0000        .34561        .17765E-10** at limit **
   4  Prefactor      .0000        5.5582       -.18057E-09** at limit **
   5  norm           .0000        3.5666        .30803E-09** at limit **
   6  Prefactor     8.6298        6.1100        .17828E-06   -.53628E-02
   7  Prefactor     19.585        22.473        .33752E-07    .21549E-03
   8  Prefactor     .33307E-09    50.476       -.59055E-07** at limit **
   9  Prefactor      .0000        32.097       -.69610E-08** at limit **
  10  Prefactor     20.870        26.797        .12020E-06    .12874E-02
  11  Prefactor     9.5332        18.064        .31731E-07    .93459E-04
  12  Prefactor     7.2844        23.982        .63393E-06    .38853E-02
  13  Prefactor      .0000        2.5840        .89877E-09** at limit **
  14  Prefactor     .90148        1.5168        .43275E-08   -.12472E-02
  15  Prefactor     3.7257        72.740        .10197E-06    .48299E-04
  16  Normalizat    1.0331        .26544       -.23106E-05   -.20124E-03
  17  Prefactor     1.0281        .10535        .21233E-06   -.68343E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 8.07613e-05
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 8.62979
  Prefactor  = 19.5848
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 20.8704
  Prefactor  = 9.53324
  Prefactor  = 7.28437
  Prefactor  = 0
  Prefactor  = 0.901483
  Prefactor  = 3.72569
  Normalizat = 1.03312
  Prefactor  = 1.02808
 **********
 **   18 **HESSE 
 **********

 FCN=   7616.993     FROM HESSE     STATUS=OK           229 CALLS     2010 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    193.34        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .80761E-04    16.938        .83054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .34677        .50103E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.5615        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.6237        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.6298        6.5014        .68186E-04   -1.5649    
   7  Prefactor     19.585        22.468        .90365E-05   -1.5619    
   8  Prefactor     .33307E-09    50.627        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        32.103        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.870        26.943        .87557E-05   -1.5617    
  11  Prefactor     9.5332        18.061        .12970E-04   -1.5646    
  12  Prefactor     7.2844        26.169        .14838E-04   -1.5654    
  13  Prefactor      .0000        2.5853        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90148        1.5069        .13286E-04   -1.5689    
  15  Prefactor     3.7257        72.716        .20870E-04   -1.5669    
  16  Normalizat    1.0331        .31460        .39354E-03   -.91929    
  17  Prefactor     1.0281        .12679        .16457E-03   -.91799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52543e-09
Minuit parameter uncertainties:
  1  0.000481271
  2  0.0739714
  3  2.47249e-07
  4  1.79654e-06
  5  3.36652e-06
  6  6.50141
  7  22.4684
  8  0.00025825
  9  2.75063e-05
  10  26.9435
  11  18.0613
  12  26.1693
  13  1.49433e-07
  14  1.5069
  15  32.9196
  16  0.315173
  17  0.126828
Done.

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

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  8.630e+00  6.501e+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

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  1.028e+00  1.268e-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:  1.033e+00  3.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.48
Ra Dec: 314.142 -2.035
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 8.12e-08 +/- 6.11e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 1.74e-05

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

Saving results to:
/scratch/kocevski/280350/likelihoodResults_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.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) = 7616.88687003
delta logL = 0.106384939696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7616.88369662
delta logL = 0.109558353911

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7965       1.0000          .0000       .10000E+07
     2 'Index     '    2.8639       1.0000          .0000       10.000    
     3 'Normalizat'    1.0034       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0365       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=   7616.884     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      275 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7993        105.14        .38463E-03    .38979E-02
   2  Index         2.8643        6.4295        .14966        .12642E-03
   3  Normalizat    1.0034        .10946        .90017E-01    .28570E-04
   4  Prefactor     1.0364        .39185E-01    .40772E-01    .41182E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.79933
  Index      = 2.86435
  Normalizat = 1.00343
  Prefactor  = 1.03644
 **********
 **   18 **HESSE 
 **********

 FCN=   7616.884     FROM HESSE     STATUS=OK            33 CALLS      308 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7993        8.0762        .15031E-04   -1.5656    
   2  Index         2.8643        .90318        .79051E-02   -.44132    
   3  Normalizat    1.0034        .30748        .39862E-03   -.92916    
   4  Prefactor     1.0364        .12647        .16398E-03   -.91525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03255e-08
Minuit parameter uncertainties:
  1  8.07625
  2  0.909297
  3  0.308021
  4  0.126506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/280350': 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) = 7616.88369474
delta logL = 0.109560233684

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  6.799e+00  8.076e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.864e+00  9.093e-01  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:  1.036e+00  1.265e-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:  1.003e+00  3.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.73
Ra Dec: 314.142 -2.035
Photon Index (Free Index): 2.86 +/- 0.91
Photon Flux (Free Index): 1.03e-07 +/- 8.10e-08
Energy Flux (Free Index): 2.22e-05 +/- 1.62e-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/280350/cmap_HighResolution_697593601_697852801_4FGL_J2056.5-0202_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.59e-02', comment='SUCCESS', photon_flux='8.12e-08', energy_flux2='2.22e-05', photon_flux_error='6.11e-08', dlogl='1.10e-01', energy_flux='2.31e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2023-02-12 01:46:16.787459', photon_index_error2='0.91', photon_index2='2.86', ts='2.48', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='2.04e-07', energy_flux_error2='1.62e-05', EG='1.03', time_epoch_completed='1676195176.79', return_code='0', job_id='280350', GAL2='1.04', EG2='1.00', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='8.10e-08', ts2='2.73', photon_index='2.52' WHERE bin_id='1768' AND source_name='4FGL J2056.5-0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:46:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 280350: <4FGL_J2056.5-0202_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2056.5-0202_daily_bin1768> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Feb 12 01:30:18 2023
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:33:57 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:33:57 2023
Terminated at Sun Feb 12 01:46:17 2023
Results reported at Sun Feb 12 01:46:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.5-0202_daily_bin1768 314.142 -2.0355 697593601 697852801 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 :                                   658.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            959 sec.

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

