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


Performing analysis on: 4FGL_J1224.4+2436_daily_bin1746
RA = 186.116, Dec = 24.6142
tmin = 691891201, tmax = 692150401
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='724716', job_status='RUN', time_executed='2022-12-08 00:51:43.344747', time_epoch_executed='1670489503.34' WHERE source_name='4FGL J1224.4+2436' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724716

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724716/ft1_4FGL_J1224.4+2436_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724716/ft1_4FGL_J1224.4+2436_daily_bin1746.fits outfile=/scratch/kocevski/724716/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin1746.fits ra=186.116 dec=24.6142 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.76
user 4.48
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.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/724716/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/724716/ft1_filtered_4FGL_J1224.4+2436_daily_bin1746.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.32
sys 0.16

Number of photons that the gtmktime cut: 687

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724716/ft1_filtered_4FGL_J1224.4+2436_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/724716/ltcube_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.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/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits
.....................!
real 12.07
user 11.72
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724716/ft1_filtered_4FGL_J1224.4+2436_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/724716/ltcube_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.fits outfile=/scratch/kocevski/724716/expmap_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.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/724716/ltcube_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.fits
.....................!
real 190.92
user 185.39
sys 5.16

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

Setting source of interest to:
4FGL J1224.4+2436 @ 186.116 24.6142

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/724716/ft1_filtered_4FGL_J1224.4+2436_daily_bin1746.fits scfile=/scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits outfile=/scratch/kocevski/724716/cmap_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.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.116 yref=24.6142 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724716/ft1_filtered_4FGL_J1224.4+2436_daily_bin1746.fits scfile=/scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits outfile=/scratch/kocevski/724716/cmap_HighResolution_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.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.116 yref=24.6142 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/724716/ft1_filtered_4FGL_J1224.4+2436_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724716/Model_4FGL_J1224.4+2436_daily_bin1746.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/724716/ft1_filtered_4FGL_J1224.4+2436_daily_bin1746.fits.....................!
real 65.92
user 64.52
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/724716/ft1_filtered_4FGL_J1224.4+2436_daily_bin1746.fits', '/scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits', expMap='/scratch/kocevski/724716/expmap_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.fits', expCube='/scratch/kocevski/724716/ltcube_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/724716/Model_4FGL_J1224.4+2436_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/724716/ft1_filtered_4FGL_J1224.4+2436_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/724716/ft2_4FGL_J1224.4+2436_daily_bin1746.fits
Exposure map: /scratch/kocevski/724716/expmap_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.fits
Exposure cube: /scratch/kocevski/724716/ltcube_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/724716/Model_4FGL_J1224.4+2436_daily_bin1746.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) = 7514.0328028

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.148       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0180       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11641E-05   1.0000          .0000       .10000E+07
     4 'norm      '    22.215       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30083E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82138       1.0000          .0000       .10000E+07
     7 'Prefactor '    .41771       1.0000          .0000       .10000E+07
     8 'norm      '    5.2446       1.0000          .0000       .10000E+07
     9 'Prefactor '    .26350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .73108E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.5780       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68241E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .21278       1.0000          .0000       .10000E+07
    14 'norm      '    6.1026       1.0000          .0000       .10000E+07
    15 'Prefactor '    .77234E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    8.2368       1.0000          .0000       .10000E+07
    17 'norm      '    5.9075       1.0000          .0000       .10000E+07
    18 'norm      '    .31695E-03   1.0000          .0000       .10000E+07
    19 'norm      '    30.079       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0111       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98484       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7514.023     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1629 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.346        13.682       -.17281E-07    .27807E-02
   2  Prefactor     4.0183        1.0815        .17382E-09   -.19145E-01
   3  Prefactor      .0000        1.0235       -.84040E-07** at limit **
   4  norm          22.213        2.6921       -.47718E-09    .16156E-03
   5  Prefactor     .11102E-08    3.8820       -.53245E-08** at limit **
   6  Prefactor     .82001        1.5161        .17892E-07    .56290E-03
   7  Prefactor     .42835        2.1171        .29082E-08    .35602E-03
   8  norm          5.2373        2.8472       -.21070E-07   -.42115E-03
   9  Prefactor     .27056        3.5669        .46309E-08    .16613E-01
  10  Prefactor      .0000        .73040       -.80482E-07** at limit **
  11  Prefactor     4.5882        2.8651       -.35099E-07    .27541E-03
  12  Prefactor     .55511E-09    4.9388       -.56135E-07** at limit **
  13  norm          .21289        .19722        .99865E-08** at limit **
  14  norm          6.1139        4.0116        .29533E-07   -.10757E-02
  15  Prefactor     .33307E-09    2.8315        .66693E-08** at limit **
  16  Prefactor     8.2229        6.4794       -.11347E-07    .25337E-01
  17  norm          5.9163        4.1825        .39222E-07   -.50062E-03
  18  norm          .88818E-09    6.1340        .50070E-07** at limit **
  19  norm          30.351        17.332       -.14950E-07   -.57952E-02
  20  Normalizat    1.0107        .19631        .36393E-05   -.67995E-06
  21  Prefactor     .98479        .20274       -.39050E-05    .50808E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3461
  Prefactor  = 4.01825
  Prefactor  = 0
  norm       = 22.213
  Prefactor  = 1.11022e-09
  Prefactor  = 0.820011
  Prefactor  = 0.428345
  norm       = 5.23727
  Prefactor  = 0.270561
  Prefactor  = 0
  Prefactor  = 4.58824
  Prefactor  = 5.55112e-10
  norm       = 0.212891
  norm       = 6.11386
  Prefactor  = 3.33067e-10
  Prefactor  = 8.22289
  norm       = 5.91633
  norm       = 8.88178e-10
  norm       = 30.3508
  Normalizat = 1.01073
  Prefactor  = 0.984787
 **********
 **   18 **HESSE 
 **********

 FCN=   7514.023     FROM HESSE     STATUS=OK           367 CALLS     1996 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.346        21.714        .24159E-03   -1.5625    
   2  Prefactor     4.0183        4.3893        .50285E-03   -1.5668    
   3  Prefactor      .0000        1.0187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          22.213        2.7146        .21222E-03   -1.5614    
   5  Prefactor     .11102E-08    3.8588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .82001        1.5427        .51355E-03   -1.5690    
   7  Prefactor     .42835        2.1639        .87463E-03   -1.5695    
   8  norm          5.2373        2.8507        .43868E-03   -1.5662    
   9  Prefactor     .27056        3.9966        .58375E-02   -1.5698    
  10  Prefactor      .0000        .73126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.5882        2.8728        .47022E-03   -1.5665    
  12  Prefactor     .55511E-09    4.9383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .21289        .21083        .79468E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.1139        4.0201        .40618E-03   -1.5659    
  15  Prefactor     .33307E-09    2.8479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.2229        7.1763        .34908E-03   -1.5651    
  17  norm          5.9163        4.1909        .41293E-03   -1.5659    
  18  norm          .88818E-09    6.0796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          30.351        21.954        .18236E-03   -1.5598    
  20  Normalizat    1.0107        .17476        .45342E-01   -.92672    
  21  Prefactor     .98479        .17933        .46077E-01   -.93238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26921e-08
Minuit parameter uncertainties:
  1  21.7144
  2  4.38935
  3  6.63929e-07
  4  2.71461
  5  0.000131479
  6  1.54271
  7  1.92552
  8  2.85065
  9  2.07973
  10  3.60507e-06
  11  2.87284
  12  0.000106073
  13  0.21083
  14  4.02011
  15  6.01973e-05
  16  7.17631
  17  4.19091
  18  0.000148282
  19  21.9544
  20  0.174857
  21  0.17944
Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  5.551e-10  1.061e-04  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.848e-01  1.794e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.011e+00  1.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 5.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724716/likelihoodResults_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.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) = 7514.12974831
delta logL = -0.106789792199

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7513.52333516
delta logL = 0.499623353009

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7513.523     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      240 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44494E-01    .57260        .39430E-03** at limit **
   2  Index         4.2360        1.9772        .80490E-01    .28569E-03
   3  Normalizat    .93652        .33257E-01    .45371E-01    .27472E-04
   4  Prefactor     1.0292        .35610E-01    .64314E-01    .15587E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0444945
  Index      = 4.23596
  Normalizat = 0.936517
  Prefactor  = 1.02917
 **********
 **   18 **HESSE 
 **********

 FCN=   7513.523     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44494E-01    2.0718        .17521E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2360        4.1395        .47660E-02   -.15341    
   3  Normalizat    .93652        .16315        .27835E-03   -.95189    
   4  Prefactor     1.0292        .16869        .28445E-03   -.91764    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.27172e-09
Minuit parameter uncertainties:
  1  0.607234
  2  4.90737
  3  0.163241
  4  0.168779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724716': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7513.52330886
delta logL = 0.499649649704

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  4.449e-02  6.072e-01  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  4.236e+00  4.907e+00  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.029e+00  1.688e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  9.365e-01  1.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 186.116 24.614
Photon Index (Free Index): 4.24 +/- 4.91
Photon Flux (Free Index): 6.92e-08 +/- 6.93e-08
Energy Flux (Free Index): 1.00e-05 +/- 1.17e-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/724716/cmap_HighResolution_691891201_692150401_4FGL_J1224.4+2436_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-03', comment='SUCCESS', energy_flux2='1.00e-05', dlogl='5.00e-01', photon_flux2='6.92e-08', job_status='DONE', time_completed='2022-12-08 01:02:28.607390', photon_index_error2='4.91', photon_index2='4.24', ts='-0.00', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='5.25e-08', energy_flux_error2='1.17e-05', EG='1.01', time_epoch_completed='1670490148.61', return_code='0', job_id='724716', GAL2='1.03', EG2='0.94', return_code2='102', photon_flux_error2='6.93e-08', ts2='1.11', photon_index='1.93' WHERE bin_id='1746' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:02:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 724716: <4FGL_J1224.4+2436_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1224.4+2436_daily_bin1746> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec  8 00:50:15 2022
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:50:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:50:17 2022
Terminated at Thu Dec  8 01:02:29 2022
Results reported at Thu Dec  8 01:02:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1224.4+2436_daily_bin1746 186.116 24.6142 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1224.4+2436 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   647.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            734 sec.

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

