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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1734
RA = 336.414, Dec = 21.3418
tmin = 688780801, tmax = 689040001
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='776455', job_status='RUN', time_executed='2022-11-02 00:37:05.872300', time_epoch_executed='1667374625.87' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776455

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776455/ft1_4FGL_J2225.6+2120_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776455/ft2_4FGL_J2225.6+2120_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776455/ft1_4FGL_J2225.6+2120_daily_bin1734.fits outfile=/scratch/kocevski/776455/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1734.fits ra=336.414 dec=21.3418 rad=12.0 tmin=688780801.0 tmax=689040001.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.57
user 3.35
sys 0.17

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

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

Number of photons that the gtmktime cut: 1031

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776455/ft1_filtered_4FGL_J2225.6+2120_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776455/ft2_4FGL_J2225.6+2120_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776455/ltcube_688780801_689040001_4FGL_J2225.6+2120_daily_bin1734.fits outfile=/scratch/kocevski/776455/expmap_688780801_689040001_4FGL_J2225.6+2120_daily_bin1734.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/776455/ltcube_688780801_689040001_4FGL_J2225.6+2120_daily_bin1734.fits
.....................!
real 189.93
user 184.98
sys 4.65

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/776455/ft1_filtered_4FGL_J2225.6+2120_daily_bin1734.fits scfile=/scratch/kocevski/776455/ft2_4FGL_J2225.6+2120_daily_bin1734.fits outfile=/scratch/kocevski/776455/cmap_688780801_689040001_4FGL_J2225.6+2120_daily_bin1734.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776455/ft1_filtered_4FGL_J2225.6+2120_daily_bin1734.fits scfile=/scratch/kocevski/776455/ft2_4FGL_J2225.6+2120_daily_bin1734.fits outfile=/scratch/kocevski/776455/cmap_HighResolution_688780801_689040001_4FGL_J2225.6+2120_daily_bin1734.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31966E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .15826E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    85.746       1.0000          .0000       .10000E+07
     4 'norm      '    .13051E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    44.196       1.0000          .0000       .10000E+07
     6 'norm      '    1.3969       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.025       1.0000          .0000       .10000E+07
     8 'norm      '    2.9654       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36274E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    15.968       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1032       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2334       1.0000         .10000E-03   10000.    
    13 'norm      '    .22731       1.0000          .0000       .10000E+07
    14 'norm      '    4.3614       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22553E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.1454       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2037       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.4187       1.0000          .0000       .10000E+07
    19 'Prefactor '    108.36       1.0000          .0000       .10000E+07
    20 'Normalizat'    .68163       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2027       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=   10893.08     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1716 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    37.411        .44412E-06** at limit **
   2  norm          .59482E-05    29.604       -.35678E-06** at limit **
   3  Prefactor     88.978        34.951       -.13202E-05   -.23768E-02
   4  norm           .0000        .88928       -.17011E-06** at limit **
   5  Prefactor     44.953        25.683       -.79976E-06    .41386E-01
   6  norm          1.3903        1.0287       -.25589E-07    .28934E-03
   7  Prefactor     31.042        20.636       -.32419E-06   -.18608E-01
   8  norm          2.9794        5.4187        .13286E-06    .12563E-03
   9  Prefactor     .10880E-07    5.0262        .16224E-06** at limit **
  10  Prefactor     15.701        15.865        .31925E-06    .52764E-02
  11  Prefactor     1.1043        .25533        .27489E-06    .35270E-03
  12  Prefactor     5.1459        5.3019        .19003E-05    .35248E-04
  13  norm          .23429        1.5187       -.19477E-07** at limit **
  14  norm          4.3733        2.3188       -.15034E-06    .11669E-02
  15  Prefactor     .11824E-07    10.272       -.32480E-08** at limit **
  16  Prefactor     6.9446        13.751        .19892E-06    .90968E-03
  17  Prefactor     4.2058        .34663        .41375E-07   -.31146E-04
  18  Prefactor     7.3805        7.9178        .17001E-07    .17211E-03
  19  Prefactor     110.17        22.313       -.40530E-06   -.34084E-01
  20  Normalizat    .67925        .30524        .89541E-07   -.16378E-04
  21  Prefactor     1.2021        .14170       -.39072E-06   -.41640E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  norm       = 5.94824e-06
  Prefactor  = 88.9778
  norm       = 0
  Prefactor  = 44.9525
  norm       = 1.39033
  Prefactor  = 31.0421
  norm       = 2.97943
  Prefactor  = 1.08802e-08
  Prefactor  = 15.7012
  Prefactor  = 1.10433
  Prefactor  = 5.14592
  norm       = 0.234285
  norm       = 4.37326
  Prefactor  = 1.18239e-08
  Prefactor  = 6.94461
  Prefactor  = 4.20584
  Prefactor  = 7.38046
  Prefactor  = 110.172
  Normalizat = 0.679249
  Prefactor  = 1.20215
 **********
 **   18 **HESSE 
 **********

 FCN=   10893.08     FROM HESSE     STATUS=OK           377 CALLS     2093 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    37.182        .16348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .59482E-05    2.0932        .48282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     88.978        41.795        .10800E-03   -1.5519    
   4  norm           .0000        .87026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     44.953        36.665        .15043E-03   -1.5574    
   6  norm          1.3903        1.0425        .91821E-03   -1.5684    
   7  Prefactor     31.042        21.033        .17956E-03   -1.5597    
   8  norm          2.9794        5.4392        .58941E-03   -1.5673    
   9  Prefactor     .10880E-07    5.0906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.701        15.912        .25038E-03   -1.5629    
  11  Prefactor     1.1043        .25592        .54947E-02   -1.5498    
  12  Prefactor     5.1459        5.2923        .43927E-02   -1.5254    
  13  norm          .23429        .79720        .28390E-02   -1.5718    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.3733        2.3224        .48206E-03   -1.5666    
  15  Prefactor     .11824E-07    10.344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9446        13.802        .37502E-03   -1.5655    
  17  Prefactor     4.2058        .34645        .37706E-02   -1.5298    
  18  Prefactor     7.3805        7.9187        .36799E-03   -1.5654    
  19  Prefactor     110.17        39.447        .96071E-04   -1.5498    
  20  Normalizat    .67925        .28970        .12271       -1.0472    
  21  Prefactor     1.2021        .13281        .34568E-01   -.86265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08596e-08
Minuit parameter uncertainties:
  1  0.000201192
  2  0.00705711
  3  41.7952
  4  2.37272e-06
  5  36.6656
  6  1.04255
  7  21.033
  8  5.43923
  9  0.000470782
  10  15.9117
  11  0.255917
  12  5.29279
  13  0.797198
  14  2.32239
  15  0.000700095
  16  13.8021
  17  0.346452
  18  7.91873
  19  39.4472
  20  0.290358
  21  0.132844
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.570e+01  1.591e+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.202e+00  1.328e-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:  6.792e-01  2.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.28
Ra Dec: 336.414 21.342
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 6.44e-08 +/- 6.51e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 1.45e-05

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

Saving results to:
/scratch/kocevski/776455/likelihoodResults_688780801_689040001_4FGL_J2225.6+2120_daily_bin1734.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) = 10893.0727074
delta logL = 0.00790622889144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10893.0687487
delta logL = 0.0118649079632

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.030       1.0000          .0000       .10000E+07
     2 'Index     '    2.6349       1.0000          .0000       10.000    
     3 'Normalizat'    .68960       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1979       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=   10893.07     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      253 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.040        552.87        .24243E-03   -.80847E-03
   2  Index         2.6359        5.7570        .25185       -.57134E-04
   3  Normalizat    .68974        .98588E-01    .12183        .10245E-03
   4  Prefactor     1.1978        .51390E-01    .34680E-01    .19561E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.0396
  Index      = 2.63594
  Normalizat = 0.689744
  Prefactor  = 1.19781
 **********
 **   18 **HESSE 
 **********

 FCN=   10893.07     FROM HESSE     STATUS=OK            33 CALLS      286 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.040        18.552        .96971E-05   -1.5625    
   2  Index         2.6359        1.0914        .15044E-01   -.49248    
   3  Normalizat    .68974        .29410        .54050E-03   -1.0430    
   4  Prefactor     1.1978        .14341        .20882E-03   -.86399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8391e-10
Minuit parameter uncertainties:
  1  18.5522
  2  1.10291
  3  0.294773
  4  0.143458
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776455': 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) = 10893.0687472
delta logL = 0.0118663612684

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.704e+01  1.855e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.636e+00  1.103e+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.198e+00  1.435e-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:  6.897e-01  2.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 336.414 21.342
Photon Index (Free Index): 2.64 +/- 1.10
Photon Flux (Free Index): 5.91e-08 +/- 6.82e-08
Energy Flux (Free Index): 1.50e-05 +/- 1.60e-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/776455/cmap_HighResolution_688780801_689040001_4FGL_J2225.6+2120_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-02', comment='SUCCESS', photon_flux='6.44e-08', energy_flux2='1.50e-05', photon_flux_error='6.51e-08', dlogl='1.19e-02', energy_flux='1.43e-05', photon_flux2='5.91e-08', job_status='DONE', time_completed='2022-11-02 00:50:03.608329', photon_index_error2='1.10', photon_index2='2.64', ts='1.28', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.90e-07', energy_flux_error2='1.60e-05', EG='0.68', time_epoch_completed='1667375403.61', return_code='0', job_id='776455', GAL2='1.20', EG2='0.69', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='6.82e-08', ts2='1.27', photon_index='2.81' WHERE bin_id='1734' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:50:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 776455: <4FGL_J2225.6+2120_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:26 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:27 2022
Terminated at Wed Nov  2 00:50:04 2022
Results reported at Wed Nov  2 00:50:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1734 336.414 21.3418 688780801 689040001 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 :                                   780.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            878 sec.

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

