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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1753
RA = 336.414, Dec = 21.3418
tmin = 693705601, tmax = 693964801
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='467559', job_status='RUN', time_executed='2022-12-29 01:43:14.104075', time_epoch_executed='1672306994.1' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467559

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467559/ft1_4FGL_J2225.6+2120_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467559/ft2_4FGL_J2225.6+2120_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467559/ft1_4FGL_J2225.6+2120_daily_bin1753.fits outfile=/scratch/kocevski/467559/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1753.fits ra=336.414 dec=21.3418 rad=12.0 tmin=693705601.0 tmax=693964801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.67
user 4.42
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/467559/ft2_4FGL_J2225.6+2120_daily_bin1753.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/467559/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/467559/ft1_filtered_4FGL_J2225.6+2120_daily_bin1753.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 752

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467559/ft1_filtered_4FGL_J2225.6+2120_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/467559/ft2_4FGL_J2225.6+2120_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/467559/ltcube_693705601_693964801_4FGL_J2225.6+2120_daily_bin1753.fits outfile=/scratch/kocevski/467559/expmap_693705601_693964801_4FGL_J2225.6+2120_daily_bin1753.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/467559/ltcube_693705601_693964801_4FGL_J2225.6+2120_daily_bin1753.fits
.....................!
real 192.26
user 186.83
sys 4.89

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/467559/ft1_filtered_4FGL_J2225.6+2120_daily_bin1753.fits scfile=/scratch/kocevski/467559/ft2_4FGL_J2225.6+2120_daily_bin1753.fits outfile=/scratch/kocevski/467559/cmap_693705601_693964801_4FGL_J2225.6+2120_daily_bin1753.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467559/ft1_filtered_4FGL_J2225.6+2120_daily_bin1753.fits scfile=/scratch/kocevski/467559/ft2_4FGL_J2225.6+2120_daily_bin1753.fits outfile=/scratch/kocevski/467559/cmap_HighResolution_693705601_693964801_4FGL_J2225.6+2120_daily_bin1753.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67523       1.0000          .0000       .10000E+07
     2 'norm      '    2.5023       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11413E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .69846E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    34.903       1.0000          .0000       .10000E+07
     6 'norm      '    1.1326       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.978       1.0000          .0000       .10000E+07
     8 'norm      '    .15997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .73734       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.634       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.7789       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13427E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.0680       1.0000          .0000       .10000E+07
    14 'norm      '    .90929E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .95823E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .67809E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.1036       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .51363E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .59679       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3091       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87588       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=   8320.961     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1669 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    108.29       -.32793E-06** at limit **
   2  norm          2.5013        2.4742       -.10964E-07   -.75337E-03
   3  Prefactor      .0000        13.233       -.93608E-07** at limit **
   4  norm           .0000        3.0757       -.12728E-06** at limit **
   5  Prefactor     36.467        37.619       -.48498E-06   -.13610E-02
   6  norm          1.1314        .91937        .33592E-08    .34003E-03
   7  Prefactor     20.872        17.128        .73174E-07    .26997E-02
   8  norm           .0000        2.6423        .10139E-07** at limit **
   9  Prefactor     .80287        2.2830       -.22731E-06    .38452E-03
  10  Prefactor     15.768        12.227       -.73712E-07    .16048E-02
  11  Prefactor     1.7786        .32695        .14741E-07    .58437E-03
  12  Prefactor     .10000E-03    8.8232        .71681E-06** at limit **
  13  norm          2.0680        1.2834       -.12662E-07   -.21140E-03
  14  norm           .0000        2.1366       -.31817E-07** at limit **
  15  Prefactor     .55511E-10    14.550       -.89803E-07** at limit **
  16  Prefactor      .0000        12.493        .93014E-07** at limit **
  17  Prefactor     1.1038        .23481       -.24844E-07    .11557E-04
  18  Prefactor     .55511E-10    8.0958        .17548E-06** at limit **
  19  Prefactor     .78522E-01    1654.3       -.48420E-05** at limit **
  20  Normalizat    1.3088        .29821        .28767E-05    .46887E-04
  21  Prefactor     .87590        .13675       -.12855E-05    .41745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  norm       = 2.5013
  Prefactor  = 0
  norm       = 0
  Prefactor  = 36.4667
  norm       = 1.13141
  Prefactor  = 20.8718
  norm       = 0
  Prefactor  = 0.802865
  Prefactor  = 15.7682
  Prefactor  = 1.77865
  Prefactor  = 0.0001
  norm       = 2.06797
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 1.10379
  Prefactor  = 5.55112e-11
  Prefactor  = 0.0785216
  Normalizat = 1.30883
  Prefactor  = 0.875904
 **********
 **   18 **HESSE 
 **********

 FCN=   8320.961     FROM HESSE     STATUS=OK           371 CALLS     2040 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    109.33        .62742E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5013        2.4877        .64577E-03   -1.5676    
   3  Prefactor      .0000        13.289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .71064        .27557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.467        38.797        .16929E-03   -1.5587    
   6  norm          1.1314        .94429        .10962E-02   -1.5687    
   7  Prefactor     20.872        20.214        .21840E-03   -1.5617    
   8  norm           .0000        2.6415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .80287        118.72        .57727E-03   -1.5690    
  10  Prefactor     15.768        19.263        .25304E-03   -1.5629    
  11  Prefactor     1.7786        .34859        .48252E-02   -1.5441    
  12  Prefactor     .10000E-03    8.6620        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0680        1.2905        .71813E-03   -1.5679    
  14  norm           .0000        2.0884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    14.609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        12.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.1038        .23497        .43367E-02   -1.5498    
  18  Prefactor     .55511E-10    8.1152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .78522E-01    30.562        .11705E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3088        .25996        .82343E-01   -.83303    
  21  Prefactor     .87590        .11515        .44697E-01   -.96988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27431e-10
Minuit parameter uncertainties:
  1  0.000652514
  2  2.48773
  3  6.52767e-06
  4  8.18395e-06
  5  38.797
  6  0.944288
  7  20.2143
  8  2.47262e-07
  9  19.526
  10  19.2628
  11  0.34859
  12  1.80673e-07
  13  1.29054
  14  1.21024e-06
  15  5.94366e-05
  16  1.99467e-05
  17  0.234975
  18  3.28149e-05
  19  3.09825
  20  0.260219
  21  0.115185
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.577e+01  1.926e+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.759e-01  1.152e-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.309e+00  2.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/467559/likelihoodResults_693705601_693964801_4FGL_J2225.6+2120_daily_bin1753.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) = 8320.95553976
delta logL = 0.00506517661051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8320.95451073
delta logL = 0.00609420840192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.096       1.0000          .0000       .10000E+07
     2 'Index     '    2.9200       1.0000          .0000       10.000    
     3 'Normalizat'    1.3019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87847       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8320.955     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      272 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.088        20.728        .10301E-04   -.25208E-02
   2  Index         2.9201        1.0502        .13566E-01   -.15935E-04
   3  Normalizat    1.3028        .29868        .36527E-03   -.39299E-03
   4  Prefactor     .87805        .13826        .20749E-03    .15692E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0879
  Index      = 2.92012
  Normalizat = 1.30282
  Prefactor  = 0.878051
 **********
 **   18 **HESSE 
 **********

 FCN=   8320.955     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.088        19.824        .41203E-06   -1.5630    
   2  Index         2.9201        1.0031        .54263E-03   -.42902    
   3  Normalizat    1.3028        .29937        .73054E-04   -.83482    
   4  Prefactor     .87805        .13839        .82996E-05   -.96912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63976e-09
Minuit parameter uncertainties:
  1  19.824
  2  1.01147
  3  0.299769
  4  0.138441
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467559': 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) = 8320.95450518
delta logL = 0.00609975365114

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.509e+01  1.982e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.920e+00  1.011e+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:  8.781e-01  1.384e-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.303e+00  2.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.83
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/467559/cmap_HighResolution_693705601_693964801_4FGL_J2225.6+2120_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.71e-02', job_status='DONE', photon_flux_upper_limit='2.15e-07', time_completed='2022-12-29 01:54:03.194040', job_id='467559', GAL2='0.88', fit_tolerance='1e-08', EG2='1.30', EG='1.31', time_epoch_completed='1672307643.19', return_code2='0', ts='0.83', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='6.10e-03', ts2='0.84', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1753' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:54:03 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 467559: <4FGL_J2225.6+2120_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1753> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec 29 01:40:21 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:40:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:40:38 2022
Terminated at Thu Dec 29 01:54:04 2022
Results reported at Thu Dec 29 01:54:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1753 336.414 21.3418 693705601 693964801 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 :                                   651.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            823 sec.

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

