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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1768
RA = 336.414, Dec = 21.3418
tmin = 697593601, tmax = 697852801
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='283255', job_status='RUN', time_executed='2023-02-12 01:44:40.999712', time_epoch_executed='1676195081.0' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/283255

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/283255/ft1_4FGL_J2225.6+2120_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/283255/ft2_4FGL_J2225.6+2120_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/283255/ft1_4FGL_J2225.6+2120_daily_bin1768.fits outfile=/scratch/kocevski/283255/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1768.fits ra=336.414 dec=21.3418 rad=12.0 tmin=697593601.0 tmax=697852801.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.63
user 3.40
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/283255/ft1_filtered_4FGL_J2225.6+2120_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283255/ft2_4FGL_J2225.6+2120_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/283255/ltcube_697593601_697852801_4FGL_J2225.6+2120_daily_bin1768.fits outfile=/scratch/kocevski/283255/expmap_697593601_697852801_4FGL_J2225.6+2120_daily_bin1768.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/283255/ltcube_697593601_697852801_4FGL_J2225.6+2120_daily_bin1768.fits
.....................!
real 190.80
user 185.48
sys 4.81

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/283255/ft1_filtered_4FGL_J2225.6+2120_daily_bin1768.fits scfile=/scratch/kocevski/283255/ft2_4FGL_J2225.6+2120_daily_bin1768.fits outfile=/scratch/kocevski/283255/cmap_697593601_697852801_4FGL_J2225.6+2120_daily_bin1768.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/283255/ft1_filtered_4FGL_J2225.6+2120_daily_bin1768.fits scfile=/scratch/kocevski/283255/ft2_4FGL_J2225.6+2120_daily_bin1768.fits outfile=/scratch/kocevski/283255/cmap_HighResolution_697593601_697852801_4FGL_J2225.6+2120_daily_bin1768.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13323E-08   1.0000          .0000       .10000E+07
     2 'norm      '    .24980E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.472       1.0000          .0000       .10000E+07
     4 'norm      '    1.0799       1.0000          .0000       .10000E+07
     5 'Prefactor '    21.953       1.0000          .0000       .10000E+07
     6 'norm      '    .15477E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.3622       1.0000          .0000       .10000E+07
     8 'norm      '    1.3537       1.0000          .0000       .10000E+07
     9 'Prefactor '    59.562       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.7868       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7550       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7246       1.0000         .10000E-03   10000.    
    13 'norm      '    1.4784       1.0000          .0000       .10000E+07
    14 'norm      '    1.4202       1.0000          .0000       .10000E+07
    15 'Prefactor '    38.468       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.3081       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9710       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.1162       1.0000          .0000       .10000E+07
    19 'Prefactor '    6.7280       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.7959       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .51029       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=   9518.475     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     1943 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63838E-08    39.682        .64857E-06** at limit **
   2  norm           .0000        1.1223       -.27540E-06** at limit **
   3  Prefactor     10.473        13.449       -.82172E-06    .21256E-01
   4  norm          1.0799        .95262       -.17146E-06   -.18763E-02
   5  Prefactor     21.954        1.0359       -.11642E-07    .90578E-03
   6  norm          .55511E-10    4.5234       -.19347E-05** at limit **
   7  Prefactor     4.3582        7.4758       -.26570E-06   -.48839E-01
   8  norm          1.3537        2.4755       -.69093E-06   -.60947E-02
   9  Prefactor     59.560        1.0505        .79347E-08   -.15464E-01
  10  Prefactor     5.7915        5.8092        .97772E-07    .65406E-01
  11  Prefactor     2.7551        .36937       -.12071E-08   -.14527E-02
  12  Prefactor     5.7227        2.7219        .13953E-05    .60643E-02
  13  norm          1.4785        1.0935       -.40481E-06    .11868E-02
  14  norm          1.4196        1.2740       -.27050E-07   -.81821E-02
  15  Prefactor     38.471        1.0109       -.39528E-08    .17049E-01
  16  Prefactor     2.2995        7.6731       -.72461E-07    .27653E-03
  17  Prefactor     1.9710        .25814       -.38482E-06    .75584E-03
  18  Prefactor     5.1157        4.9717       -.98279E-07   -.10506E-01
  19  Prefactor     6.7189        3.1661        .24619E-06   -.59194E-01
  20  Normalizat    1.7957        .26454       -.25990E-05    .74232E-04
  21  Prefactor     .51034        .12138        .10333E-04    .80482E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.38378e-09
  norm       = 0
  Prefactor  = 10.4728
  norm       = 1.07994
  Prefactor  = 21.9537
  norm       = 5.55112e-11
  Prefactor  = 4.35825
  norm       = 1.35367
  Prefactor  = 59.5596
  Prefactor  = 5.79149
  Prefactor  = 2.75511
  Prefactor  = 5.7227
  norm       = 1.47853
  norm       = 1.41963
  Prefactor  = 38.4705
  Prefactor  = 2.29946
  Prefactor  = 1.97096
  Prefactor  = 5.11568
  Prefactor  = 6.71887
  Normalizat = 1.79575
  Prefactor  = 0.51034
 **********
 **   18 **HESSE 
 **********

 FCN=   9518.475     FROM HESSE     STATUS=OK           377 CALLS     2320 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63838E-08    39.682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.1168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.473        14.459        .30938E-03   -1.5643    
   4  norm          1.0799        .97859        .11596E-02   -1.5687    
   5  Prefactor     21.954        27.094        .21348E-03   -1.5614    
   6  norm          .55511E-10    .57862        .22750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3582        10.371        .48201E-03   -1.5666    
   8  norm          1.3537        2.5137        .93945E-03   -1.5685    
   9  Prefactor     59.560        21.255        .12958E-03   -1.5554    
  10  Prefactor     5.7915        10.904        .41728E-03   -1.5660    
  11  Prefactor     2.7551        .38682        .47368E-02   -1.5376    
  12  Prefactor     5.7227        11.074        .41969E-02   -1.5229    
  13  norm          1.4785        1.0950        .88261E-04   -1.5684    
  14  norm          1.4196        1.2633        .90747E-03   -1.5684    
  15  Prefactor     38.471        35.094        .16125E-03   -1.5584    
  16  Prefactor     2.2995        7.7561        .67510E-03   -1.5678    
  17  Prefactor     1.9710        .26527        .38731E-02   -1.5427    
  18  Prefactor     5.1157        10.130        .44425E-03   -1.5663    
  19  Prefactor     6.7189        19.694        .38661E-03   -1.5656    
  20  Normalizat    1.7957        .22353        .69643E-01   -.69775    
  21  Prefactor     .51034        .10226        .57273E-01   -1.1150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99319e-07
Minuit parameter uncertainties:
  1  0.00100686
  2  1.80282e-07
  3  14.4587
  4  0.978594
  5  27.0942
  6  1.30294e-05
  7  10.3706
  8  2.51373
  9  21.2548
  10  10.9041
  11  0.386818
  12  11.0775
  13  1.09499
  14  1.2633
  15  35.094
  16  7.75613
  17  0.265274
  18  10.1301
  19  19.6944
  20  0.223662
  21  0.102297
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  5.791e+00  1.090e+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:  5.103e-01  1.023e-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.796e+00  2.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.33
Ra Dec: 336.414 21.342
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/283255/likelihoodResults_697593601_697852801_4FGL_J2225.6+2120_daily_bin1768.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) = 9518.47358461
delta logL = 0.00128849224166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9518.47312207
delta logL = 0.00175103177753

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1363       1.0000          .0000       .10000E+07
     2 'Index     '    2.7174       1.0000          .0000       10.000    
     3 'Normalizat'    1.7983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50951       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=   9518.473     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      249 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1560        275.49        .40505E-03    .98118E-03
   2  Index         2.7089        3.4878        .50000        .49316E-05
   3  Normalizat    1.7976        .43357E-01    .69614E-01    .66932E-05
   4  Prefactor     .50953        .20669E-01    .57314E-01    .44139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.15597
  Index      = 2.70888
  Normalizat = 1.79763
  Prefactor  = 0.509529
 **********
 **   18 **HESSE 
 **********

 FCN=   9518.473     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .71E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1560        13.048        .16202E-04   -1.5658    
   2  Index         2.7089        1.6498        .11689E-01   -.47600    
   3  Normalizat    1.7976        .26158        .30791E-03   -.69726    
   4  Prefactor     .50953        .12191        .25354E-03   -1.1154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.14584e-13
Minuit parameter uncertainties:
  1  13.0483
  2  1.6903
  3  0.261783
  4  0.12197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/283255': 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) = 9518.47309392
delta logL = 0.00177918031659

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  6.156e+00  1.305e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.709e+00  1.690e+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:  5.095e-01  1.220e-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.798e+00  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
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/283255/cmap_HighResolution_697593601_697852801_4FGL_J2225.6+2120_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.84e-03', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2023-02-12 01:56:49.502492', job_id='283255', GAL2='0.51', fit_tolerance='1e-08', EG2='1.80', EG='1.80', time_epoch_completed='1676195809.5', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='1.78e-03', ts2='0.33', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1768' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:56:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 283255: <4FGL_J2225.6+2120_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1768> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Feb 12 01:40:17 2023
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:40:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:40:53 2023
Terminated at Sun Feb 12 01:56:50 2023
Results reported at Sun Feb 12 01:56:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1768 336.414 21.3418 697593601 697852801 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 :                                   729.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            993 sec.

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

