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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin1744
RA = 186.392, Dec = -28.8625
tmin = 691372801, tmax = 691632001
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='579355', job_status='RUN', time_executed='2022-12-02 00:57:45.557777', time_epoch_executed='1669971465.56' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/579355

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/579355/ft1_4FGL_J1225.5-2851_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/579355/ft1_4FGL_J1225.5-2851_daily_bin1744.fits outfile=/scratch/kocevski/579355/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1744.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.53
user 2.31
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.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/579355/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/579355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1744.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.16

Number of photons that the gtmktime cut: 1062

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/579355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/579355/ltcube_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.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/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits
.....................!
real 12.43
user 11.95
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/579355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/579355/ltcube_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.fits outfile=/scratch/kocevski/579355/expmap_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.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/579355/ltcube_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.fits
.....................!
real 191.38
user 185.77
sys 5.22

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 183 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1225.5-2851 @ 186.392 -28.8625

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/579355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1744.fits scfile=/scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits outfile=/scratch/kocevski/579355/cmap_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.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=186.392 yref=-28.8625 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.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/579355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1744.fits scfile=/scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits outfile=/scratch/kocevski/579355/cmap_HighResolution_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.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=186.392 yref=-28.8625 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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/579355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/579355/Model_4FGL_J1225.5-2851_daily_bin1744.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/579355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1744.fits.....................!
real 186.50
user 184.98
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/579355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1744.fits', '/scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits', expMap='/scratch/kocevski/579355/expmap_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.fits', expCube='/scratch/kocevski/579355/ltcube_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/579355/Model_4FGL_J1225.5-2851_daily_bin1744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1225.5-2851'

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.708e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
294        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  1.028e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/579355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/579355/ft2_4FGL_J1225.5-2851_daily_bin1744.fits
Exposure map: /scratch/kocevski/579355/expmap_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.fits
Exposure cube: /scratch/kocevski/579355/ltcube_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/579355/Model_4FGL_J1225.5-2851_daily_bin1744.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) = 11143.8689647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61062E-09   1.0000          .0000       .10000E+07
     2 'norm      '    1.9998       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.4036       1.0000          .0000       .10000E+07
     4 'norm      '    5.4584       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0418       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31641E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10366E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    21.654       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12716E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    26.426       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4956       1.0000          .0000       .10000E+07
    12 'norm      '    .60602       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39432E-02   1.0000          .0000       .10000E+07
    14 'norm      '    9.4535       1.0000          .0000       .10000E+07
    15 'Prefactor '    .87375E-07   1.0000          .0000       .10000E+07
    16 'norm      '    1.0790       1.0000          .0000       .10000E+07
    17 'norm      '    7.7686       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4599       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .79898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11142.85     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1162 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7600        .21675E-06** at limit **
   2  norm          1.8613        10.384        .18257E-05    .19145E-02
   3  Prefactor     4.3048        10.328       -.14330E-05   -.18186E-01
   4  norm          5.4747        3.3848       -.13934E-06    .65241E-02
   5  Prefactor     1.0431        3.3552        .23324E-06   -.21232E-02
   6  Prefactor     .32196E-08    5.5730        .17309E-05** at limit **
   7  Prefactor     .34972E-08    22.373       -.17609E-05** at limit **
   8  Prefactor     21.579        3.1400        .22720E-06   -.15430    
   9  Prefactor     .29421E-08    14.692        .85796E-06** at limit **
  10  Prefactor     26.526        1.2027        .28508E-07   -.29642E-01
  11  Prefactor     1.4902        9.1083       -.11539E-05   -.38770E-03
  12  norm          .60577        .54444        .17583E-06    .33925E-03
  13  Prefactor     .77716E-09    111.86       -.13277E-04** at limit **
  14  norm          9.4555        4.9501       -.20253E-06    .14166E-01
  15  Prefactor      .0000        1.6817        .30690E-06** at limit **
  16  norm          1.0762        5.7538        .44838E-06   -.86907E-04
  17  norm          7.7672        5.9918       -.25940E-06   -.13532E-02
  18  Normalizat    1.4600        .22162       -.11579E-04    .31366E-03
  19  Prefactor     .79905        .99372E-01    .43645E-05    .43772E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.8613
  Prefactor  = 4.30475
  norm       = 5.47471
  Prefactor  = 1.04314
  Prefactor  = 3.21965e-09
  Prefactor  = 3.4972e-09
  Prefactor  = 21.5785
  Prefactor  = 2.94209e-09
  Prefactor  = 26.5263
  Prefactor  = 1.49017
  norm       = 0.60577
  Prefactor  = 7.77156e-10
  norm       = 9.45549
  Prefactor  = 0
  norm       = 1.07622
  norm       = 7.76718
  Normalizat = 1.45998
  Prefactor  = 0.799051
 **********
 **   18 **HESSE 
 **********

 FCN=   11142.85     FROM HESSE     STATUS=OK           308 CALLS     1470 TOTAL
                     EDM=   .78E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8613        10.684        .73209E-03   -1.5681    
   3  Prefactor     4.3048        10.638        .47968E-03   -1.5666    
   4  norm          5.4747        3.4447        .42985E-03   -1.5661    
   5  Prefactor     1.0431        3.3611        .12246E-02   -1.5688    
   6  Prefactor     .32196E-08    5.5921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .34972E-08    22.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.579        13.328        .21496E-03   -1.5615    
   9  Prefactor     .29421E-08    14.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.526        15.800        .19457E-03   -1.5605    
  11  Prefactor     1.4902        8.8949        .87574E-03   -1.5684    
  12  norm          .60577        .54545        .68690E-04   -1.5692    
  13  Prefactor     .77716E-09    111.29        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.4555        4.9174        .32570E-03   -1.5646    
  15  Prefactor      .0000        1.6837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0762        5.5935        .11608E-02   -1.5687    
  17  norm          7.7672        6.0144        .35953E-03   -1.5652    
  18  Normalizat    1.4600        .18643        .69917E-01   -.78909    
  19  Prefactor     .79905        .82763E-01    .43704E-01   -.99763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76735e-06
Minuit parameter uncertainties:
  1  1.31645e-05
  2  8.9186
  3  10.6382
  4  3.44473
  5  3.36106
  6  0.000268148
  7  0.000562846
  8  13.328
  9  0.000418025
  10  15.7999
  11  7.28148
  12  0.545449
  13  0.000578085
  14  4.9174
  15  5.2007e-08
  16  4.90706
  17  6.01441
  18  0.186516
  19  0.0827759
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.653e+01  1.580e+01  0.000e+00  1.000e+06 ( 1.000e-13)
294        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  1.028e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  7.991e-01  8.278e-02  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.460e+00  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.35
Ra Dec: 186.392 -28.863
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 5.38e-08 +/- 3.20e-08
Energy Flux (Fixed Index): 1.69e-05 +/- 1.01e-05

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) = 11141.698335
delta logL = 1.14897667928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11141.6575341
delta logL = 1.18977764559

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.669       1.0000          .0000       .10000E+07
     2 'Index     '    1.6865       1.0000          .0000       10.000    
     3 'Normalizat'    1.4877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79440       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+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=   11141.66     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      251 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.681        23.537        .35545E-04    .63968E-04
   2  Index         1.6861        .48361        .91023E-02   -.12875E-04
   3  Normalizat    1.4880        .21709        .30693E-03   -.24668E-04
   4  Prefactor     .79429        .98469E-01    .18268E-03    .21756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.681
  Index      = 1.68605
  Normalizat = 1.48805
  Prefactor  = 0.794289
 **********
 **   18 **HESSE 
 **********

 FCN=   11141.66     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.681        23.989        .14218E-05   -1.5595    
   2  Index         1.6861        .49294        .36409E-03   -.72454    
   3  Normalizat    1.4880        .21731        .12277E-04   -.78115    
   4  Prefactor     .79429        .98570E-01    .73073E-05   -.99939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.60891e-11
Minuit parameter uncertainties:
  1  23.9893
  2  0.494373
  3  0.217447
  4  0.0985917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/579355': 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) = 11141.657532
delta logL = 1.18977969212

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  3.168e+01  2.399e+01  0.000e+00  1.000e+06 ( 1.000e-13)
294        Index:  1.686e+00  4.944e-01  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  1.028e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  7.943e-01  9.859e-02  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.488e+00  2.174e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.73
Ra Dec: 186.392 -28.863
Photon Index (Free Index): 1.69 +/- 0.49
Photon Flux (Free Index): 2.33e-08 +/- 2.49e-08
Energy Flux (Free Index): 3.98e-05 +/- 3.94e-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/579355/cmap_HighResolution_691372801_691632001_4FGL_J1225.5-2851_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.38e-08', energy_flux2='3.98e-05', photon_flux_error='3.20e-08', dlogl='1.19e+00', energy_flux='1.69e-05', photon_flux2='2.33e-08', job_status='DONE', time_completed='2022-12-02 01:10:09.187260', photon_index_error2='0.49', photon_index2='1.69', ts='5.35', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='3.94e-05', EG='1.46', time_epoch_completed='1669972209.19', return_code='0', job_id='579355', GAL2='0.79', EG2='1.49', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='2.49e-08', ts2='7.73', photon_index='2.43' WHERE bin_id='1744' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:10:09 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 579355: <4FGL_J1225.5-2851_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1225.5-2851_daily_bin1744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec  2 00:55:16 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:55:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:55:17 2022
Terminated at Fri Dec  2 01:10:10 2022
Results reported at Fri Dec  2 01:10:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin1744 186.392 -28.8625 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1225.5-2851 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   746.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            894 sec.

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

