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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1719
RA = 336.414, Dec = 21.3418
tmin = 684892801, tmax = 685152001
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='668208', job_status='RUN', time_executed='2022-09-18 01:23:47.696690', time_epoch_executed='1663489427.7' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668208

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668208/ft1_4FGL_J2225.6+2120_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668208/ft2_4FGL_J2225.6+2120_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668208/ft1_4FGL_J2225.6+2120_daily_bin1719.fits outfile=/scratch/kocevski/668208/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1719.fits ra=336.414 dec=21.3418 rad=12.0 tmin=684892801.0 tmax=685152001.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.19
user 2.89
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668208/ft2_4FGL_J2225.6+2120_daily_bin1719.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/668208/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/668208/ft1_filtered_4FGL_J2225.6+2120_daily_bin1719.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.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 801

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668208/ft1_filtered_4FGL_J2225.6+2120_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/668208/ft2_4FGL_J2225.6+2120_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/668208/ltcube_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.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/668208/ft2_4FGL_J2225.6+2120_daily_bin1719.fits
.....................!
real 15.94
user 15.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668208/ft1_filtered_4FGL_J2225.6+2120_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668208/ft2_4FGL_J2225.6+2120_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/668208/ltcube_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.fits outfile=/scratch/kocevski/668208/expmap_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.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/668208/ltcube_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.fits
.....................!
real 195.16
user 189.06
sys 5.66

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/668208/ft1_filtered_4FGL_J2225.6+2120_daily_bin1719.fits scfile=/scratch/kocevski/668208/ft2_4FGL_J2225.6+2120_daily_bin1719.fits outfile=/scratch/kocevski/668208/cmap_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.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.63
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668208/ft1_filtered_4FGL_J2225.6+2120_daily_bin1719.fits scfile=/scratch/kocevski/668208/ft2_4FGL_J2225.6+2120_daily_bin1719.fits outfile=/scratch/kocevski/668208/cmap_HighResolution_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.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.59
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/668208/ft1_filtered_4FGL_J2225.6+2120_daily_bin1719.fits', '/scratch/kocevski/668208/ft2_4FGL_J2225.6+2120_daily_bin1719.fits', expMap='/scratch/kocevski/668208/expmap_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.fits', expCube='/scratch/kocevski/668208/ltcube_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/668208/Model_4FGL_J2225.6+2120_daily_bin1719.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/668208/ft1_filtered_4FGL_J2225.6+2120_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/668208/ft2_4FGL_J2225.6+2120_daily_bin1719.fits
Exposure map: /scratch/kocevski/668208/expmap_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.fits
Exposure cube: /scratch/kocevski/668208/ltcube_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/668208/Model_4FGL_J2225.6+2120_daily_bin1719.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) = 8861.44262698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.608       1.0000          .0000       .10000E+07
     2 'norm      '    .25369E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    19.312       1.0000          .0000       .10000E+07
     4 'norm      '    .87556       1.0000          .0000       .10000E+07
     5 'Prefactor '    37.624       1.0000          .0000       .10000E+07
     6 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .61201E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .59985E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15405E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.4456       1.0000          .0000       .10000E+07
    11 'Prefactor '    .32213       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.573       1.0000         .10000E-03   10000.    
    13 'norm      '    1.8454       1.0000          .0000       .10000E+07
    14 'norm      '    3.0797       1.0000          .0000       .10000E+07
    15 'Prefactor '    .57675E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.8382       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.4255       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29044E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    9.2754       1.0000          .0000       .10000E+07
    20 'Normalizat'    .84887       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0493       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=   8861.346     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1612 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.506        3.5468       -.69876E-06   -.22146E-02
   2  norm          .66613E-09    4.8023        .33566E-05** at limit **
   3  Prefactor     18.176        34.783       -.15209E-04   -.33880E-01
   4  norm          .87486        .66895       -.44608E-06    .40631E-02
   5  Prefactor     37.850        19.607        .60760E-05   -.10098    
   6  norm          .55511E-10    .31736       -.13491E-06** at limit **
   7  Prefactor     .69611E-07    45.366       -.18568E-05** at limit **
   8  norm          .55511E-10    2.0227       -.38136E-07** at limit **
   9  Prefactor     .88818E-09    10.858        .40382E-05** at limit **
  10  Prefactor     7.4081        1.9756       -.11885E-05   -.12585E-01
  11  Prefactor     .32188        .27488       -.85115E-06   -.15633E-03
  12  Prefactor     16.573        1.0755        .11752E-05    .83431E-03
  13  norm          1.8430        1.0575       -.19150E-06    .16786E-01
  14  norm          3.0788        2.0420        .11031E-05    .13058E-01
  15  Prefactor     .55511E-10    20.572       -.26896E-05** at limit **
  16  Prefactor     2.8254        17.662       -.10196E-04   -.16878E-03
  17  Prefactor     4.4248        .45430        .32960E-06    .26997E-02
  18  Prefactor     .38858E-09    9.6259        .84215E-06** at limit **
  19  Prefactor     9.1657        6.6138       -.39278E-05   -.16214E-01
  20  Normalizat    .85041        .29190        .67953E-04    .11976E-03
  21  Prefactor     1.0493        .13748       -.54546E-05    .23281E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.5064
  norm       = 6.66134e-10
  Prefactor  = 18.1761
  norm       = 0.874858
  Prefactor  = 37.8501
  norm       = 5.55112e-11
  Prefactor  = 6.9611e-08
  norm       = 5.55112e-11
  Prefactor  = 8.88178e-10
  Prefactor  = 7.40811
  Prefactor  = 0.321881
  Prefactor  = 16.5729
  norm       = 1.84304
  norm       = 3.07876
  Prefactor  = 5.55112e-11
  Prefactor  = 2.82536
  Prefactor  = 4.42484
  Prefactor  = 3.88578e-10
  Prefactor  = 9.16575
  Normalizat = 0.85041
  Prefactor  = 1.04933
 **********
 **   18 **HESSE 
 **********

 FCN=   8861.346     FROM HESSE     STATUS=OK           361 CALLS     1973 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.506        155.34        .11003E-03   -1.5526    
   2  norm          .66613E-09    4.7459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.176        39.775        .22763E-03   -1.5623    
   4  norm          .87486        .66940        .47465E-03   -1.5689    
   5  Prefactor     37.850        47.128        .16305E-03   -1.5585    
   6  norm          .55511E-10    .32261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .69611E-07    45.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    2.0296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .88818E-09    10.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.4081        14.688        .36732E-03   -1.5654    
  11  Prefactor     .32188        .31260        .10028E-01   -1.5595    
  12  Prefactor     16.573        23.779        .24595E-02   -1.4894    
  13  norm          1.8430        1.0614        .76737E-04   -1.5681    
  14  norm          3.0788        2.0528        .57771E-03   -1.5673    
  15  Prefactor     .55511E-10    20.602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.8254        18.188        .60333E-03   -1.5674    
  17  Prefactor     4.4248        .45392        .44125E-02   -1.5287    
  18  Prefactor     .38858E-09    9.6396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.1657        29.462        .32883E-03   -1.5647    
  20  Normalizat    .85041        .26166        .98442E-01   -.98225    
  21  Prefactor     1.0493        .11853        .39948E-01   -.91103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41972e-07
Minuit parameter uncertainties:
  1  155.347
  2  0.000110802
  3  39.7755
  4  0.669401
  5  47.129
  6  6.91033e-06
  7  0.00355274
  8  1.54203e-05
  9  0.000198592
  10  14.688
  11  0.312606
  12  23.7929
  13  1.06142
  14  2.05276
  15  7.09357e-05
  16  14.337
  17  0.453919
  18  0.000122602
  19  29.4629
  20  0.26205
  21  0.118561
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  7.408e+00  1.469e+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:  1.049e+00  1.186e-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:  8.504e-01  2.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/668208/likelihoodResults_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.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) = 8861.34454239
delta logL = 0.00146172263703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8861.34424243
delta logL = 0.00176167835707

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7242       1.0000          .0000       .10000E+07
     2 'Index     '    2.7331       1.0000          .0000       10.000    
     3 'Normalizat'    .85293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0485       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8861.344     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      286 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7527        16.436        .72114E-04   -.63627E-03
   2  Index         2.7332        1.2987        .12838E-01   -.22306E-04
   3  Normalizat    .85205        .28976        .43585E-03   -.15906E-03
   4  Prefactor     1.0486        .13815        .19111E-03    .10850E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.75269
  Index      = 2.73324
  Normalizat = 0.85205
  Prefactor  = 1.04863
 **********
 **   18 **HESSE 
 **********

 FCN=   8861.344     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7527        15.960        .28846E-05   -1.5652    
   2  Index         2.7332        1.2621        .51354E-03   -.47052    
   3  Normalizat    .85205        .29022        .17434E-04   -.98166    
   4  Prefactor     1.0486        .13828        .38223E-04   -.91126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39048e-10
Minuit parameter uncertainties:
  1  15.9602
  2  1.27964
  3  0.290752
  4  0.138326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668208': 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) = 8861.34422957
delta logL = 0.00177454215918

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  7.753e+00  1.596e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.733e+00  1.280e+00  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:  1.049e+00  1.383e-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:  8.521e-01  2.908e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 336.414 21.342

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/668208/cmap_HighResolution_684892801_685152001_4FGL_J2225.6+2120_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', job_status='DONE', photon_flux_upper_limit='1.61e-07', time_completed='2022-09-18 01:34:47.262821', job_id='668208', GAL2='1.05', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1663490087.26', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.77e-03', ts2='0.30', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1719' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:34:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 668208: <4FGL_J2225.6+2120_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 18 01:20:17 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:20:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:20:26 2022
Terminated at Sun Sep 18 01:34:48 2022
Results reported at Sun Sep 18 01:34:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1719 336.414 21.3418 684892801 685152001 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 :                                   661.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             270.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            871 sec.

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

