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


Performing analysis on: 4FGL_J2056.5-0202_daily_bin1731
RA = 314.142, Dec = -2.0355
tmin = 688003201, tmax = 688262401
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='551007', job_status='RUN', time_executed='2022-10-24 00:42:10.834009', time_epoch_executed='1666597330.83' WHERE source_name='4FGL J2056.5-0202' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551007

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551007/ft1_4FGL_J2056.5-0202_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551007/ft2_4FGL_J2056.5-0202_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551007/ft1_4FGL_J2056.5-0202_daily_bin1731.fits outfile=/scratch/kocevski/551007/ft1_filteredMKT_4FGL_J2056.5-0202_daily_bin1731.fits ra=314.142 dec=-2.0355 rad=12.0 tmin=688003201.0 tmax=688262401.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.55
user 3.29
sys 0.20

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

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

Number of photons that the gtmktime cut: 613

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551007/ft1_filtered_4FGL_J2056.5-0202_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551007/ft2_4FGL_J2056.5-0202_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551007/ltcube_688003201_688262401_4FGL_J2056.5-0202_daily_bin1731.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/551007/ft2_4FGL_J2056.5-0202_daily_bin1731.fits
.....................!
real 12.88
user 11.65
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551007/ft1_filtered_4FGL_J2056.5-0202_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551007/ft2_4FGL_J2056.5-0202_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551007/ltcube_688003201_688262401_4FGL_J2056.5-0202_daily_bin1731.fits outfile=/scratch/kocevski/551007/expmap_688003201_688262401_4FGL_J2056.5-0202_daily_bin1731.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/551007/ltcube_688003201_688262401_4FGL_J2056.5-0202_daily_bin1731.fits
.....................!
real 191.98
user 186.24
sys 5.30

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/551007/ft1_filtered_4FGL_J2056.5-0202_daily_bin1731.fits scfile=/scratch/kocevski/551007/ft2_4FGL_J2056.5-0202_daily_bin1731.fits outfile=/scratch/kocevski/551007/cmap_688003201_688262401_4FGL_J2056.5-0202_daily_bin1731.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551007/ft1_filtered_4FGL_J2056.5-0202_daily_bin1731.fits scfile=/scratch/kocevski/551007/ft2_4FGL_J2056.5-0202_daily_bin1731.fits outfile=/scratch/kocevski/551007/cmap_HighResolution_688003201_688262401_4FGL_J2056.5-0202_daily_bin1731.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551007/ft1_filtered_4FGL_J2056.5-0202_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551007/ft2_4FGL_J2056.5-0202_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551007/Model_4FGL_J2056.5-0202_daily_bin1731.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/551007/ft1_filtered_4FGL_J2056.5-0202_daily_bin1731.fits.....................!
real 67.54
user 65.70
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.591       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.5857       1.0000          .0000       .10000E+07
     3 'norm      '    .99146       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53523E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .94133       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4497       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11998E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47298E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24317E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    13.889       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2502       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10075       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6379       1.0000          .0000       .10000E+07
    14 'Prefactor '    .71793E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    77.888       1.0000          .0000       .10000E+07
    16 'Normalizat'    .68510       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0737       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=   6632.108     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1212 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.867        8.8036        .28997E-06   -.86220E-01
   2  Prefactor     3.5753        12.577       -.10558E-05   -.39707E-02
   3  norm          .99292        1.0823        .72310E-07    .11554E-02
   4  Prefactor     .27963E-02    5.1655        .33441E-06** at limit **
   5  norm          .92704        4.9516       -.76374E-06   -.78652E-03
   6  Prefactor     1.4753        6.0760       -.12643E-05   -.61298E-03
   7  Prefactor     .16198E-06    15.439        .22965E-05** at limit **
   8  Prefactor     .17530E-06    8.4681        .88283E-06** at limit **
   9  Prefactor     .55511E-10    22.067       -.15841E-05** at limit **
  10  Prefactor     13.753        3.2143       -.26410E-06    .41925E-03
  11  Prefactor     1.9167        40.632        .38552E-05    .29698E-02
  12  Prefactor     .55511E-10    37.945        .42738E-07** at limit **
  13  Prefactor     4.6425        4.5304       -.21435E-06   -.80355E-03
  14  Prefactor      .0000        2.4402        .92482E-07** at limit **
  15  Prefactor     81.290        41.909       -.67949E-06   -.30429E-01
  16  Normalizat    .68034        .30830        .19097E-04   -.76903E-05
  17  Prefactor     1.0752        .13039       -.24197E-05   -.68438E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.8665
  Prefactor  = 3.57528
  norm       = 0.992919
  Prefactor  = 0.00279633
  norm       = 0.927045
  Prefactor  = 1.47535
  Prefactor  = 1.61982e-07
  Prefactor  = 1.75304e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 13.7534
  Prefactor  = 1.91668
  Prefactor  = 5.55112e-11
  Prefactor  = 4.64248
  Prefactor  = 0
  Prefactor  = 81.2895
  Normalizat = 0.680341
  Prefactor  = 1.07523
 **********
 **   18 **HESSE 
 **********

 FCN=   6632.108     FROM HESSE     STATUS=OK           267 CALLS     1479 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.867        40.178        .20170E-03   -1.5610    
   2  Prefactor     3.5753        12.575        .53341E-03   -1.5670    
   3  norm          .99292        1.1110        .43463E-03   -1.5688    
   4  Prefactor     .27963E-02    7.7370        .12233E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .92704        4.9744        .42943E-03   -1.5689    
   6  Prefactor     1.4753        6.2358        .89455E-03   -1.5684    
   7  Prefactor     .16198E-06    22.091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .17530E-06    23.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    23.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.753        20.904        .26850E-03   -1.5634    
  11  Prefactor     1.9167        41.251        .68471E-03   -1.5680    
  12  Prefactor     .55511E-10    37.317        .13909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6425        4.5287        .46710E-03   -1.5665    
  14  Prefactor      .0000        2.3502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     81.290        42.928        .11332E-03   -1.5528    
  16  Normalizat    .68034        .27625        .99065E-01   -1.0467    
  17  Prefactor     1.0752        .11335        .38686E-01   -.90262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29509e-06
Minuit parameter uncertainties:
  1  40.1782
  2  12.5749
  3  1.11104
  4  0.294179
  5  4.2949
  6  6.06629
  7  0.00378308
  8  0.00401981
  9  6.78382e-05
  10  20.9044
  11  17.7838
  12  8.36444e-05
  13  4.5287
  14  1.90228e-08
  15  42.9278
  16  0.276815
  17  0.11338
Done.

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

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  1.475e+00  6.066e+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.075e+00  1.134e-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:  6.803e-01  2.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/551007/likelihoodResults_688003201_688262401_4FGL_J2056.5-0202_daily_bin1731.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) = 6631.80441653
delta logL = 0.303549986184

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6631.7844224
delta logL = 0.323544123723

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88030       1.0000          .0000       .10000E+07
     2 'Index     '    3.8739       1.0000          .0000       10.000    
     3 'Normalizat'    .61562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0911       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6631.784     FROM MIGRAD    STATUS=FAILED        82 CALLS      253 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88010        63.186        .89477E-05   -.38604E-01
   2  Index         3.8741        6.2482        .75654E-02   -.39922E-03
   3  Normalizat    .61564        .31130        .46024E-03   -.49813E-03
   4  Prefactor     1.0911        .13375        .15134E-03   -.11155E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6631.784     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      340 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88010        63.186        .11529E-04   -.38604E-01
   2  Index         3.8741        6.2482        .12108E-02   -.39922E-03
   3  Normalizat    .61564        .31130        .24933E-03   -.49813E-03
   4  Prefactor     1.0911        .13375        .54598E-04   -.11155E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6631.784     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      371 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88001        2.6759        .35791E-06   -.18187E-02
   2  Index         3.8742        1.7918        .30262E-03   -.13675E-04
   3  Normalizat    .61564        .30765        .18410E-04   -.35817E-05
   4  Prefactor     1.0911        .12873        .30268E-04   -.44321E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.88001
  Index      = 3.87424
  Normalizat = 0.615642
  Prefactor  = 1.09112
 **********
 **   18 **HESSE 
 **********

 FCN=   6631.784     FROM HESSE     STATUS=OK            23 CALLS      394 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88001        2.6320        .37406E-06   -1.5689    
   2  Index         3.8742        1.7632        .12105E-04   -.22710    
   3  Normalizat    .61564        .30723        .36819E-05   -1.0732    
   4  Prefactor     1.0911        .12859        .60536E-05   -.89751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61498e-12
Minuit parameter uncertainties:
  1  2.63199
  2  1.80411
  3  0.308083
  4  0.128622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551007': 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) = 6631.78442234
delta logL = 0.323544177183

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  8.800e-01  2.632e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  3.874e+00  1.804e+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:  1.091e+00  1.286e-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:  6.156e-01  3.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/551007/cmap_HighResolution_688003201_688262401_4FGL_J2056.5-0202_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2022-10-24 00:51:49.441851', job_id='551007', GAL2='1.09', fit_tolerance='1e-08', EG2='0.62', EG='0.68', time_epoch_completed='1666597909.44', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='3.24e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1731' AND source_name='4FGL J2056.5-0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:51:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 551007: <4FGL_J2056.5-0202_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2056.5-0202_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:12 2022
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:13 2022
Terminated at Mon Oct 24 00:51:50 2022
Results reported at Mon Oct 24 00:51:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.5-0202_daily_bin1731 314.142 -2.0355 688003201 688262401 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 :                                   569.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            698 sec.

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

