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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1722
RA = 336.414, Dec = 21.3418
tmin = 685670401, tmax = 685929601
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='248918', job_status='RUN', time_executed='2022-09-27 01:09:52.991168', time_epoch_executed='1664266192.99' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248918

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248918/ft1_4FGL_J2225.6+2120_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248918/ft2_4FGL_J2225.6+2120_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248918/ft1_4FGL_J2225.6+2120_daily_bin1722.fits outfile=/scratch/kocevski/248918/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1722.fits ra=336.414 dec=21.3418 rad=12.0 tmin=685670401.0 tmax=685929601.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.78
user 3.51
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248918/ft2_4FGL_J2225.6+2120_daily_bin1722.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/248918/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/248918/ft1_filtered_4FGL_J2225.6+2120_daily_bin1722.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 934

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248918/ft1_filtered_4FGL_J2225.6+2120_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/248918/ft2_4FGL_J2225.6+2120_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/248918/ltcube_685670401_685929601_4FGL_J2225.6+2120_daily_bin1722.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/248918/ft2_4FGL_J2225.6+2120_daily_bin1722.fits
.....................!
real 12.73
user 12.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248918/ft1_filtered_4FGL_J2225.6+2120_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248918/ft2_4FGL_J2225.6+2120_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/248918/ltcube_685670401_685929601_4FGL_J2225.6+2120_daily_bin1722.fits outfile=/scratch/kocevski/248918/expmap_685670401_685929601_4FGL_J2225.6+2120_daily_bin1722.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/248918/ltcube_685670401_685929601_4FGL_J2225.6+2120_daily_bin1722.fits
.....................!
real 192.06
user 186.22
sys 5.46

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/248918/ft1_filtered_4FGL_J2225.6+2120_daily_bin1722.fits scfile=/scratch/kocevski/248918/ft2_4FGL_J2225.6+2120_daily_bin1722.fits outfile=/scratch/kocevski/248918/cmap_685670401_685929601_4FGL_J2225.6+2120_daily_bin1722.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.57
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248918/ft1_filtered_4FGL_J2225.6+2120_daily_bin1722.fits scfile=/scratch/kocevski/248918/ft2_4FGL_J2225.6+2120_daily_bin1722.fits outfile=/scratch/kocevski/248918/cmap_HighResolution_685670401_685929601_4FGL_J2225.6+2120_daily_bin1722.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42338       1.0000          .0000       .10000E+07
     2 'norm      '    .47158       1.0000          .0000       .10000E+07
     3 'Prefactor '    39.233       1.0000          .0000       .10000E+07
     4 'norm      '    .13364E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17179E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .19890E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.656       1.0000          .0000       .10000E+07
     8 'norm      '    7.0080       1.0000          .0000       .10000E+07
     9 'Prefactor '    .16130E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .92402E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4050       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6438       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5224       1.0000          .0000       .10000E+07
    14 'norm      '    .19991E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .68833E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    19.347       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.9070       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5198       1.0000          .0000       .10000E+07
    19 'Prefactor '    22.194       1.0000          .0000       .10000E+07
    20 'Normalizat'    .99897       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91936       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=   10062.51     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1662 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10956E-05    7.5297        .21604E-06** at limit **
   2  norm          .46961        1.4986        .40347E-07    .34440E-04
   3  Prefactor     39.635        17.108       -.26717E-07    .15540E-01
   4  norm           .0000        1.2657       -.98356E-08** at limit **
   5  Prefactor     .29698E-07    12.217        .26747E-06** at limit **
   6  norm           .0000        2.4840        .70803E-07** at limit **
   7  Prefactor     20.731        1.7434       -.17427E-08   -.43399E-02
   8  norm          7.0111        6.5595        .28012E-07   -.41776E-03
   9  Prefactor      .0000        5.8054       -.53936E-07** at limit **
  10  Prefactor      .0000        4.2606       -.23975E-07** at limit **
  11  Prefactor     1.4054        .28223        .27808E-07    .16139E-03
  12  Prefactor     2.6513        8.5812       -.53264E-06   -.14219E-02
  13  norm          1.5237        1.2250        .33606E-07    .93548E-03
  14  norm           .0000        1.8005        .23656E-07** at limit **
  15  Prefactor      .0000        10.137        .19233E-06** at limit **
  16  Prefactor     19.293        1.0954       -.64436E-09   -.17146E-02
  17  Prefactor     3.9078        .33552       -.80749E-07   -.83373E-03
  18  Prefactor     7.4798        6.7790        .31345E-07   -.22233E-01
  19  Prefactor     22.863        23.505       -.45592E-07   -.95560E-02
  20  Normalizat    .99806        .27711       -.57493E-06   -.30214E-05
  21  Prefactor     .91931        .12937        .42424E-06    .65532E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09562e-06
  norm       = 0.46961
  Prefactor  = 39.6354
  norm       = 0
  Prefactor  = 2.96985e-08
  norm       = 0
  Prefactor  = 20.7311
  norm       = 7.01113
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.40537
  Prefactor  = 2.65132
  norm       = 1.5237
  norm       = 0
  Prefactor  = 0
  Prefactor  = 19.2933
  Prefactor  = 3.90781
  Prefactor  = 7.47981
  Prefactor  = 22.8627
  Normalizat = 0.998056
  Prefactor  = 0.919307
 **********
 **   18 **HESSE 
 **********

 FCN=   10062.51     FROM HESSE     STATUS=OK           369 CALLS     2031 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10956E-05    59.557        .86827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .46961        1.5466        .81621E-03   -1.5694    
   3  Prefactor     39.635        28.167        .15967E-03   -1.5582    
   4  norm           .0000        1.2380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .29698E-07    13.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .56745        .24187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.731        18.063        .22009E-03   -1.5617    
   8  norm          7.0111        6.5789        .37872E-03   -1.5655    
   9  Prefactor      .0000        5.8048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.2607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4054        .28415        .51001E-02   -1.5471    
  12  Prefactor     2.6513        10.318        .62685E-02   -1.5382    
  13  norm          1.5237        1.2369        .86542E-03   -1.5683    
  14  norm           .0000        1.7237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        10.158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.293        13.542        .22743E-03   -1.5620    
  17  Prefactor     3.9078        .33781        .36442E-02   -1.5313    
  18  Prefactor     7.4798        12.394        .36548E-03   -1.5653    
  19  Prefactor     22.863        28.924        .21233E-03   -1.5612    
  20  Normalizat    .99806        .24057        .95127E-01   -.93096    
  21  Prefactor     .91931        .10993        .45251E-01   -.95470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51683e-08
Minuit parameter uncertainties:
  1  0.0161558
  2  1.54657
  3  28.1676
  4  2.19393e-07
  5  0.00127374
  6  4.51249e-07
  7  18.0635
  8  6.57887
  9  2.38051e-05
  10  1.86135e-05
  11  0.284155
  12  10.3249
  13  1.23687
  14  4.9999e-07
  15  1.28463e-05
  16  13.5423
  17  0.337814
  18  12.3945
  19  28.9239
  20  0.24083
  21  0.109956
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.861e-05  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:  9.193e-01  1.100e-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:  9.981e-01  2.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 336.414 21.342
Photon Flux Upper Limit: 8.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248918/likelihoodResults_685670401_685929601_4FGL_J2225.6+2120_daily_bin1722.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): 102
logL (Free Index) = 10062.511825
delta logL = -0.00110885710819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10062.5107162
delta logL = -3.52993083652e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47518E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.5098       1.0000          .0000       10.000    
     3 'Normalizat'    .99806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91932       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=   10062.51     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      269 TOTAL
                     EDM=   .18E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .21489E-01    .42118E-03** at limit **
   2  Index         3.5709        5.0743        .50000        .45475E-10
   3  Normalizat    .99805        .52426E-03    .95127E-01   -.17318E-03
   4  Prefactor     .91931        .25384E-03    .45251E-01   -.37539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 3.57089
  Normalizat = 0.998055
  Prefactor  = 0.919307
 **********
 **   18 **HESSE 
 **********

 FCN=   10062.51     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      300 TOTAL
                     EDM=   .95E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .11223        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5709        6.5153        .50000       -.28986    
   3  Normalizat    .99805        .11936E-02    .42139E-03   -.93096    
   4  Prefactor     .91931        .57937E-03    .21061E-03   -.95470    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.54768e-13
Minuit parameter uncertainties:
  1  6.28869e-06
  2  26496.6
  3  0.0011936
  4  0.000579375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248918': 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) = 10062.5107161
delta logL = -6.0026650317e-11

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.110e-10  6.289e-06  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  3.571e+00  2.650e+04  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:  9.193e-01  5.794e-04  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:  9.981e-01  1.194e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/248918/cmap_HighResolution_685670401_685929601_4FGL_J2225.6+2120_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', job_status='DONE', photon_flux_upper_limit='8.05e-08', time_completed='2022-09-27 01:21:38.814692', job_id='248918', GAL2='0.92', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1664266898.81', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-6.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1722' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 01:21:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 248918: <4FGL_J2225.6+2120_daily_bin1722> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1722> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 27 01:05:56 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 01:07:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 01:07:46 2022
Terminated at Tue Sep 27 01:21:39 2022
Results reported at Tue Sep 27 01:21:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1722 336.414 21.3418 685670401 685929601 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 :                                   708.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             366.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            943 sec.

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

