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 18 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1687
RA = 336.414, Dec = 21.3418
tmin = 676598401, tmax = 676857601
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='700281', job_status='RUN', time_executed='2022-06-14 01:36:31.026663', time_epoch_executed='1655195791.03' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1687'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700281

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700281/ft1_4FGL_J2225.6+2120_daily_bin1687.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700281/ft2_4FGL_J2225.6+2120_daily_bin1687.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700281/ft1_4FGL_J2225.6+2120_daily_bin1687.fits outfile=/scratch/kocevski/700281/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1687.fits ra=336.414 dec=21.3418 rad=12.0 tmin=676598401.0 tmax=676857601.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 2.94
user 2.71
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 1134

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700281/ft1_filtered_4FGL_J2225.6+2120_daily_bin1687.fits" evtable="EVENTS" scfile=/scratch/kocevski/700281/ft2_4FGL_J2225.6+2120_daily_bin1687.fits sctable="SC_DATA" outfile=/scratch/kocevski/700281/ltcube_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.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/700281/ft2_4FGL_J2225.6+2120_daily_bin1687.fits
.....................!
real 13.64
user 13.23
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700281/ft1_filtered_4FGL_J2225.6+2120_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700281/ft2_4FGL_J2225.6+2120_daily_bin1687.fits sctable="SC_DATA" expcube=/scratch/kocevski/700281/ltcube_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.fits outfile=/scratch/kocevski/700281/expmap_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.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/700281/ltcube_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.fits
.....................!
real 191.28
user 185.24
sys 5.61

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/700281/ft1_filtered_4FGL_J2225.6+2120_daily_bin1687.fits scfile=/scratch/kocevski/700281/ft2_4FGL_J2225.6+2120_daily_bin1687.fits outfile=/scratch/kocevski/700281/cmap_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.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.55
user 0.38
sys 0.16

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/700281/ft1_filtered_4FGL_J2225.6+2120_daily_bin1687.fits', '/scratch/kocevski/700281/ft2_4FGL_J2225.6+2120_daily_bin1687.fits', expMap='/scratch/kocevski/700281/expmap_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.fits', expCube='/scratch/kocevski/700281/ltcube_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/700281/Model_4FGL_J2225.6+2120_daily_bin1687.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  1.000e-04  1.000e+04 ( 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/700281/ft1_filtered_4FGL_J2225.6+2120_daily_bin1687.fits
Spacecraft file(s): /scratch/kocevski/700281/ft2_4FGL_J2225.6+2120_daily_bin1687.fits
Exposure map: /scratch/kocevski/700281/expmap_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.fits
Exposure cube: /scratch/kocevski/700281/ltcube_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/700281/Model_4FGL_J2225.6+2120_daily_bin1687.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) = 12180.4131571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .11113E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.733       1.0000         .10000E-03   10000.    
     8 'norm      '    .75183       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.981       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.249       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .85278       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .45021       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8360       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1437       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.134       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .53037       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .15571       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1196       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94465       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.

 FCN=   12180.41     FROM MIGRAD    STATUS=CONVERGED    604 CALLS     2944 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.460        .13121E-05** at limit **
   2  norm          .10000E-03    1.0529        .14230E-07** at limit **
   3  Prefactor     .10000E-03    15.040       -.50328E-06** at limit **
   4  norm          .10000E-03    .22774       -.42751E-08** at limit **
   5  Prefactor     .10000E-03    22.453       -.81462E-06** at limit **
   6  norm          .10000E-03    .16487        .15067E-08** at limit **
   7  Prefactor     31.734        15.135       -.65870E-06   -.73820E-04
   8  norm          .75150        1.9985        .30954E-06   -.65652E-03
   9  Prefactor     .10000E-03    10.872       -.63226E-07** at limit **
  10  Prefactor     26.994        47.056        .28712E-05    .23368E-04
  11  Prefactor     21.245        10.716        .17555E-06    .11371E-04
  12  Prefactor     .85274        .19911        .15877E-08   -.65994E-04
  13  Prefactor     .10000E-03    3.4072       -.12016E-07** at limit **
  14  norm          .44906        .69906        .12851E-06   -.33375E-03
  15  Prefactor     6.8452        13.967       -.17162E-05   -.72538E-04
  16  norm          1.1435        1.1553        .85574E-08   -.36482E-03
  17  Prefactor     .10000E-03    10.309       -.89702E-06** at limit **
  18  Prefactor     30.131        11.748        .93973E-07    .89895E-05
  19  Prefactor     .10000E-03    6.9242       -.95569E-07** at limit **
  20  Prefactor     .53068        .13639        .16121E-08   -.19710E-04
  21  Prefactor     .10000E-03    2.1521        .10220E-07** at limit **
  22  Prefactor     .50227E-02    3.9878       -.10483E-07   -.11809E-05
  23  Prefactor     .10000E-03    10.543        .13344E-05** at limit **
  24  Normalizat    1.1196        .18602       -.15477E-06   -.25742E-04
  25  Prefactor     .94475        .89507E-01    .20203E-07   -.41305E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.7344
  norm       = 0.751498
  Prefactor  = 0.0001
  Prefactor  = 26.9935
  Prefactor  = 21.2447
  Prefactor  = 0.852743
  Prefactor  = 0.0001
  norm       = 0.449059
  Prefactor  = 6.84516
  norm       = 1.14354
  Prefactor  = 0.0001
  Prefactor  = 30.1312
  Prefactor  = 0.0001
  Prefactor  = 0.530679
  Prefactor  = 0.0001
  Prefactor  = 0.00502271
  Prefactor  = 0.0001
  Normalizat = 1.11964
  Prefactor  = 0.944753
 **********
 **   18 **HESSE 
 **********

 FCN=   12180.41     FROM HESSE     STATUS=OK           439 CALLS     3383 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.5542        .21867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .23126        .51412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .16704        .43735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31.734        15.173        .71129E-04   -1.4581    
   8  norm          .75150        3.9138        .41170E-03   -1.5535    
   9  Prefactor     .10000E-03    11.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.994        46.802        .77124E-04   -1.4668    
  11  Prefactor     21.245        10.769        .86891E-04   -1.4786    
  12  Prefactor     .85274        .19864        .22791E-04   -1.5523    
  13  Prefactor     .10000E-03    3.4173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .44906        .65090        .10994E-02   -1.5574    
  15  Prefactor     6.8452        13.934        .15346E-03   -1.5185    
  16  norm          1.1435        1.1650        .21705E-03   -1.5494    
  17  Prefactor     .10000E-03    10.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.131        11.752        .72987E-04   -1.4610    
  19  Prefactor     .10000E-03    6.9381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .53068        .13590        .19451E-04   -1.5562    
  21  Prefactor     .10000E-03    2.1553        .15811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .50227E-02    5.8426        .72056E-01   -1.5694    
  23  Prefactor     .10000E-03    10.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1196        .22225        .34831E-03   -.89124    
  25  Prefactor     .94475        .10726        .18891E-03   -.94594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26363e-08
Minuit parameter uncertainties:
  1  5.66153e-05
  2  3.86624e-07
  3  1.42511e-05
  4  6.91673e-09
  5  2.76543e-05
  6  2.74079e-08
  7  15.175
  8  3.43012
  9  1.12871e-06
  10  46.8655
  11  10.7697
  12  0.198643
  13  1.94927e-07
  14  0.650908
  15  13.9404
  16  1.16506
  17  2.25528e-05
  18  11.7525
  19  1.86823e-06
  20  0.135903
  21  2.89564e-08
  22  0.339217
  23  3.33614e-05
  24  0.222438
  25  0.107285
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  2.124e+01  1.077e+01  1.000e-04  1.000e+04 ( 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.448e-01  1.073e-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.120e+00  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.32
Ra Dec: 336.414 21.342
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 8.71e-08 +/- 4.41e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 9.81e-06

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) = 12180.0871189
delta logL = 0.323470250336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12180.0869972
delta logL = 0.323591941669

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.682       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4360       1.0000          .0000       10.000    
     3 'Normalizat'    1.1404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93617       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=   12180.09     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      275 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.674        295.71        .19762E-02   -.39695E-04
   2  Index         2.4357        6.2104        .23578        .66729E-05
   3  Normalizat    1.1405        .11541        .78052E-01   -.12593E-03
   4  Prefactor     .93616        .64823E-01    .45464E-01   -.19811E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.6739
  Index      = 2.43565
  Normalizat = 1.14045
  Prefactor  = 0.93616
 **********
 **   18 **HESSE 
 **********

 FCN=   12180.09     FROM HESSE     STATUS=OK            31 CALLS      306 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.674        13.044        .79047E-04   -1.4694    
   2  Index         2.4357        .43155        .85077E-02   -.53852    
   3  Normalizat    1.1405        .21406        .34549E-03   -.88463    
   4  Prefactor     .93616        .10692        .18962E-03   -.94889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77097e-11
Minuit parameter uncertainties:
  1  13.0451
  2  0.432282
  3  0.214226
  4  0.106942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700281': 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) = 12180.0869965
delta logL = 0.323592598241

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  2.567e+01  1.305e+01  1.000e-04  1.000e+04 ( 1.000e-12)
274        Index:  2.436e+00  4.323e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.362e-01  1.069e-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.140e+00  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.91
Ra Dec: 336.414 21.342
Photon Index (Free Index): 2.44 +/- 0.43
Photon Flux (Free Index): 7.47e-08 +/- 4.16e-08
Energy Flux (Free Index): 2.34e-05 +/- 1.33e-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/700281/cmap_HighResolution_676598401_676857601_4FGL_J2225.6+2120_daily_bin1687.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.71e-08', energy_flux2='2.34e-05', photon_flux_error='4.41e-08', dlogl='3.24e-01', energy_flux='1.94e-05', photon_flux2='7.47e-08', job_status='DONE', time_completed='2022-06-14 01:51:44.558666', photon_index_error2='0.43', photon_index2='2.44', ts='6.32', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='1.12', time_epoch_completed='1655196704.56', return_code='0', job_id='700281', GAL2='0.94', EG2='1.14', return_code2='0', energy_flux_error='9.81e-06', photon_flux_error2='4.16e-08', ts2='6.91', photon_index='2.81' WHERE bin_id='1687' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun 14 01:51:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 700281: <4FGL_J2225.6+2120_daily_bin1687> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1687> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jun 14 01:35:22 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 14 01:36:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 14 01:36:04 2022
Terminated at Tue Jun 14 01:51:45 2022
Results reported at Tue Jun 14 01:51:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1687 336.414 21.3418 676598401 676857601 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 :                                   914.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            983 sec.

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

