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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1778
RA = 336.414, Dec = 21.3418
tmin = 700185601, tmax = 700444801
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='981217', job_status='RUN', time_executed='2023-03-14 02:18:37.382471', time_epoch_executed='1678785517.38' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/981217

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/981217/ft1_4FGL_J2225.6+2120_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/981217/ft1_4FGL_J2225.6+2120_daily_bin1778.fits outfile=/scratch/kocevski/981217/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1778.fits ra=336.414 dec=21.3418 rad=12.0 tmin=700185601.0 tmax=700444801.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.94
user 3.70
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.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/981217/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/981217/ft1_filtered_4FGL_J2225.6+2120_daily_bin1778.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.15

Number of photons that the gtmktime cut: 797

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/981217/ft1_filtered_4FGL_J2225.6+2120_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/981217/ltcube_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.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/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits
.....................!
real 11.75
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/981217/ft1_filtered_4FGL_J2225.6+2120_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/981217/ltcube_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.fits outfile=/scratch/kocevski/981217/expmap_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.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/981217/ltcube_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.fits
.....................!
real 190.39
user 184.89
sys 5.19

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

Setting source of interest to:
4FGL J2225.6+2120 @ 336.414 21.3418

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/981217/ft1_filtered_4FGL_J2225.6+2120_daily_bin1778.fits scfile=/scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits outfile=/scratch/kocevski/981217/cmap_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.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=336.414 yref=21.3418 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/981217/ft1_filtered_4FGL_J2225.6+2120_daily_bin1778.fits scfile=/scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits outfile=/scratch/kocevski/981217/cmap_HighResolution_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.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=336.414 yref=21.3418 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/981217/ft1_filtered_4FGL_J2225.6+2120_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/981217/Model_4FGL_J2225.6+2120_daily_bin1778.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/981217/ft1_filtered_4FGL_J2225.6+2120_daily_bin1778.fits.....................!
real 86.89
user 85.25
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/981217/ft1_filtered_4FGL_J2225.6+2120_daily_bin1778.fits', '/scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits', expMap='/scratch/kocevski/981217/expmap_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.fits', expCube='/scratch/kocevski/981217/ltcube_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/981217/Model_4FGL_J2225.6+2120_daily_bin1778.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2225.6+2120'

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  3.284e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.811e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/981217/ft1_filtered_4FGL_J2225.6+2120_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/981217/ft2_4FGL_J2225.6+2120_daily_bin1778.fits
Exposure map: /scratch/kocevski/981217/expmap_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.fits
Exposure cube: /scratch/kocevski/981217/ltcube_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/981217/Model_4FGL_J2225.6+2120_daily_bin1778.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) = 8520.97022128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    118.20       1.0000          .0000       .10000E+07
     2 'norm      '    .19255       1.0000          .0000       .10000E+07
     3 'Prefactor '    .78988E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .18152E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .20542E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .22982E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12601E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .77419       1.0000          .0000       .10000E+07
     9 'Prefactor '    20.426       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.4657       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8164       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.705       1.0000         .10000E-03   10000.    
    13 'norm      '    3.4483       1.0000          .0000       .10000E+07
    14 'norm      '    2.3417       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10145E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.3728       1.0000          .0000       .10000E+07
    17 'Prefactor '    .14716       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.2671       1.0000          .0000       .10000E+07
    19 'Prefactor '    39.278       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1606       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81201       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8520.892     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1723 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     105.73        114.17       -.34509E-05    .25178E-02
   2  norm          .21625        4.1716        .27465E-06** at limit **
   3  Prefactor     .16653E-09    20.967       -.21689E-05** at limit **
   4  norm           .0000        .29140        .16219E-07** at limit **
   5  Prefactor     .72164E-09    24.144        .24646E-05** at limit **
   6  norm           .0000        .25942        .98865E-07** at limit **
   7  Prefactor     .33806E-07    52.875       -.18568E-05** at limit **
   8  norm          .78167        5.8383        .15864E-05   -.37945E-02
   9  Prefactor     20.445        15.327        .23102E-06    .68449E-02
  10  Prefactor     9.3639        12.387        .18291E-05    .15780E-02
  11  Prefactor     1.8163        .30911        .54250E-06   -.20572E-02
  12  Prefactor     14.631        2.9377       -.74038E-06   -.11378E-01
  13  norm          3.4455        1.3842        .13837E-06   -.78174E-02
  14  norm          2.3375        1.7000        .26575E-07   -.18945E-02
  15  Prefactor     .83267E-09    12.776       -.13925E-05** at limit **
  16  Prefactor     6.4642        12.036        .11132E-05   -.15845E-01
  17  Prefactor     .14682        .11396        .11614E-05   -.22881E-02
  18  Prefactor     2.3822        6.1108        .18679E-06   -.39838E-03
  19  Prefactor     39.412        1.4641       -.87341E-07   -.59923E-01
  20  Normalizat    1.1593        .26211       -.31620E-05   -.31395E-03
  21  Prefactor     .81338        .12423        .47967E-06   -.49471E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 105.729
  norm       = 0.216251
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 7.21645e-10
  norm       = 0
  Prefactor  = 3.38063e-08
  norm       = 0.781674
  Prefactor  = 20.4454
  Prefactor  = 9.36393
  Prefactor  = 1.8163
  Prefactor  = 14.6311
  norm       = 3.4455
  norm       = 2.33749
  Prefactor  = 8.32667e-10
  Prefactor  = 6.46422
  Prefactor  = 0.14682
  Prefactor  = 2.38222
  Prefactor  = 39.4115
  Normalizat = 1.15925
  Prefactor  = 0.813383
 **********
 **   18 **HESSE 
 **********

 FCN=   8520.892     FROM HESSE     STATUS=OK           371 CALLS     2094 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     105.73        115.49        .91987E-04   -1.5502    
   2  norm          .21625        .94098        .47998E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    21.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .29171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .72164E-09    24.284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .25630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33806E-07    53.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .78167        5.9200        .54879E-03   -1.5690    
   9  Prefactor     20.445        15.392        .22133E-03   -1.5618    
  10  Prefactor     9.3639        12.399        .32549E-03   -1.5647    
  11  Prefactor     1.8163        .31202        .44910E-02   -1.5438    
  12  Prefactor     14.631        12.218        .26112E-02   -1.4943    
  13  norm          3.4455        1.3866        .54440E-03   -1.5671    
  14  norm          2.3375        1.7080        .66971E-03   -1.5677    
  15  Prefactor     .83267E-09    12.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.4642        12.369        .39736E-03   -1.5657    
  17  Prefactor     .14682        .12027        .59157E-02   -1.5631    
  18  Prefactor     2.3822        6.1698        .68186E-03   -1.5677    
  19  Prefactor     39.412        27.860        .15958E-03   -1.5582    
  20  Normalizat    1.1593        .21927        .74297E-01   -.87871    
  21  Prefactor     .81338        .10274        .43873E-01   -.99237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54032e-07
Minuit parameter uncertainties:
  1  115.495
  2  0.902191
  3  0.000120932
  4  1.21794e-07
  5  0.000264615
  6  1.53146e-06
  7  0.00269433
  8  4.30233
  9  15.3918
  10  12.3992
  11  0.312021
  12  12.2197
  13  1.38655
  14  1.70804
  15  0.000209558
  16  12.3693
  17  0.120267
  18  6.16986
  19  27.8602
  20  0.219442
  21  0.102762
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  9.364e+00  1.240e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.811e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  8.134e-01  1.028e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.159e+00  2.194e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 336.414 21.342
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/981217/likelihoodResults_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.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) = 8520.26803943
delta logL = 0.623521396539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8520.15784878
delta logL = 0.733712045825

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8520.158     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      232 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.633        13.441        .25295E-03    .87370E-03
   2  Index         1.8754        .40806        .18328       -.10686E-03
   3  Normalizat    1.1917        .20312        .73370E-01    .20339E-03
   4  Prefactor     .79629        .10181        .43670E-01    .33758E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6332
  Index      = 1.87542
  Normalizat = 1.19168
  Prefactor  = 0.796288
 **********
 **   18 **HESSE 
 **********

 FCN=   8520.158     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.633        14.610        .10118E-04   -1.5629    
   2  Index         1.8754        .53076        .93091E-02   -.67502    
   3  Normalizat    1.1917        .24372        .32469E-03   -.86860    
   4  Prefactor     .79629        .12182        .19432E-03   -.99865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65858e-09
Minuit parameter uncertainties:
  1  14.6104
  2  0.532413
  3  0.24395
  4  0.12186
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/981217': 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) = 8520.15784749
delta logL = 0.733713326996

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.563e+01  1.461e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.875e+00  5.324e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  7.963e-01  1.219e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.192e+00  2.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.18
Ra Dec: 336.414 21.342
Photon Index (Free Index): 1.88 +/- 0.53
Photon Flux (Free Index): 3.15e-08 +/- 3.29e-08
Energy Flux (Free Index): 3.03e-05 +/- 3.74e-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/981217/cmap_HighResolution_700185601_700444801_4FGL_J2225.6+2120_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', energy_flux2='3.03e-05', dlogl='7.34e-01', photon_flux2='3.15e-08', job_status='DONE', time_completed='2023-03-14 02:29:17.771606', photon_index_error2='0.53', photon_index2='1.88', ts='0.74', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='3.74e-05', EG='1.16', time_epoch_completed='1678786157.77', return_code='0', job_id='981217', GAL2='0.80', EG2='1.19', return_code2='0', photon_flux_error2='3.29e-08', ts2='2.18', photon_index='2.81' WHERE bin_id='1778' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:29:17 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 981217: <4FGL_J2225.6+2120_daily_bin1778> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1778> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Mar 14 02:15:20 2023
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:15:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:15:21 2023
Terminated at Tue Mar 14 02:29:18 2023
Results reported at Tue Mar 14 02:29:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1778 336.414 21.3418 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2225.6+2120 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   642.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            838 sec.

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

