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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1731
RA = 336.414, Dec = 21.3418
tmin = 688003201, tmax = 688262401
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='551176', job_status='RUN', time_executed='2022-10-24 00:41:13.497648', time_epoch_executed='1666597273.5' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551176

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551176/ft1_4FGL_J2225.6+2120_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551176/ft2_4FGL_J2225.6+2120_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551176/ft1_4FGL_J2225.6+2120_daily_bin1731.fits outfile=/scratch/kocevski/551176/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1731.fits ra=336.414 dec=21.3418 rad=12.0 tmin=688003201.0 tmax=688262401.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.52
user 3.30
sys 0.20

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

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

Number of photons that the gtmktime cut: 973

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551176/ft1_filtered_4FGL_J2225.6+2120_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551176/ft2_4FGL_J2225.6+2120_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551176/ltcube_688003201_688262401_4FGL_J2225.6+2120_daily_bin1731.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/551176/ft2_4FGL_J2225.6+2120_daily_bin1731.fits
.....................!
real 11.98
user 11.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551176/ft1_filtered_4FGL_J2225.6+2120_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551176/ft2_4FGL_J2225.6+2120_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551176/ltcube_688003201_688262401_4FGL_J2225.6+2120_daily_bin1731.fits outfile=/scratch/kocevski/551176/expmap_688003201_688262401_4FGL_J2225.6+2120_daily_bin1731.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/551176/ltcube_688003201_688262401_4FGL_J2225.6+2120_daily_bin1731.fits
.....................!
real 190.96
user 186.23
sys 4.37

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/551176/ft1_filtered_4FGL_J2225.6+2120_daily_bin1731.fits scfile=/scratch/kocevski/551176/ft2_4FGL_J2225.6+2120_daily_bin1731.fits outfile=/scratch/kocevski/551176/cmap_688003201_688262401_4FGL_J2225.6+2120_daily_bin1731.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    174.22       1.0000          .0000       .10000E+07
     2 'norm      '    .17708E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .83226E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .75753       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.3099       1.0000          .0000       .10000E+07
     6 'norm      '    .96589E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    35.565       1.0000          .0000       .10000E+07
     8 'norm      '    1.4819       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.1812       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9872       1.0000          .0000       .10000E+07
    11 'Prefactor '    .89151       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7164       1.0000         .10000E-03   10000.    
    13 'norm      '    1.8798       1.0000          .0000       .10000E+07
    14 'norm      '    .27756E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    12.447       1.0000          .0000       .10000E+07
    16 'Prefactor '    16.008       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.7775       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .84501E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.1595       1.0000          .0000       .10000E+07
    20 'Normalizat'    .93084       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95981       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=   9806.985     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1644 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     174.28        12.935        .79396E-07   -.35744    
   2  norm           .0000        1.4230       -.17716E-06** at limit **
   3  Prefactor     .49960E-09    12.404        .15556E-06** at limit **
   4  norm          .75834        .89450       -.55713E-07   -.17746E-02
   5  Prefactor     5.9432        37.406        .16767E-05    .23936E-01
   6  norm           .0000        .16983        .90476E-09** at limit **
   7  Prefactor     35.757        19.810       -.55868E-07   -.12550    
   8  norm          1.4795        4.3222       -.49044E-07   -.58561E-03
   9  Prefactor     7.1901        5.0050       -.26887E-07   -.25051E-01
  10  Prefactor     3.9962        8.1093        .17578E-09   -.32836E-02
  11  Prefactor     .89088        .23909       -.22347E-06   -.56820E-03
  12  Prefactor     4.9179        8.8960       -.10168E-05   -.84686E-04
  13  norm          1.8806        .90068       -.36307E-07   -.34020E-02
  14  norm           .0000        .80586        .76897E-07** at limit **
  15  Prefactor     12.122        18.612       -.72286E-06    .30535E-01
  16  Prefactor     15.947        11.458       -.16055E-06   -.93948E-02
  17  Prefactor     3.7786        .32051       -.56742E-07   -.45811E-03
  18  Prefactor      .0000        4.8414        .45583E-06** at limit **
  19  Prefactor     1.4442        6.3401       -.10604E-06   -.71664E-02
  20  Normalizat    .93053        .26520        .40480E-05   -.13603E-04
  21  Prefactor     .95951        .12986       -.16857E-05   -.80819E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 174.275
  norm       = 0
  Prefactor  = 4.996e-10
  norm       = 0.758344
  Prefactor  = 5.94319
  norm       = 0
  Prefactor  = 35.7571
  norm       = 1.47945
  Prefactor  = 7.19009
  Prefactor  = 3.99625
  Prefactor  = 0.890882
  Prefactor  = 4.91791
  norm       = 1.88064
  norm       = 0
  Prefactor  = 12.1221
  Prefactor  = 15.9474
  Prefactor  = 3.77864
  Prefactor  = 0
  Prefactor  = 1.44418
  Normalizat = 0.930527
  Prefactor  = 0.959506
 **********
 **   18 **HESSE 
 **********

 FCN=   9806.985     FROM HESSE     STATUS=OK           365 CALLS     2009 TOTAL
                     EDM=   .99E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     174.28        113.49        .75770E-04   -1.5444    
   2  norm           .0000        1.4092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49960E-09    12.361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .75834        .90271        .56155E-03   -1.5691    
   5  Prefactor     5.9432        47.164        .43592E-03   -1.5659    
   6  norm           .0000        .16951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.757        20.817        .16770E-03   -1.5588    
   8  norm          1.4795        4.3437        .88120E-03   -1.5684    
   9  Prefactor     7.1901        9.8989        .37408E-03   -1.5654    
  10  Prefactor     3.9962        10.301        .50485E-03   -1.5668    
  11  Prefactor     .89088        .24181        .53933E-02   -1.5519    
  12  Prefactor     4.9179        8.8779        .46321E-02   -1.5264    
  13  norm          1.8806        .90347        .75903E-03   -1.5681    
  14  norm           .0000        .80025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.122        35.622        .28368E-03   -1.5638    
  16  Prefactor     15.947        11.592        .25006E-03   -1.5628    
  17  Prefactor     3.7786        .32465        .34915E-02   -1.5319    
  18  Prefactor      .0000        4.8325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4442        31.876        .10702E-02   -1.5684    
  20  Normalizat    .93053        .22579        .90109E-01   -.95396    
  21  Prefactor     .95951        .10942        .45763E-01   -.94092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92683e-06
Minuit parameter uncertainties:
  1  113.496
  2  2.76852e-06
  3  0.000154604
  4  0.902705
  5  33.4849
  6  5.00998e-08
  7  20.817
  8  4.34368
  9  9.8989
  10  10.3013
  11  0.241813
  12  8.88028
  13  0.903471
  14  2.30142e-06
  15  35.6229
  16  11.592
  17  0.324651
  18  1.48038e-05
  19  13.5699
  20  0.226019
  21  0.109442
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  3.996e+00  1.030e+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:  9.595e-01  1.094e-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.305e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/551176/likelihoodResults_688003201_688262401_4FGL_J2225.6+2120_daily_bin1731.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) = 9806.68772843
delta logL = 0.29716757397

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9806.64696407
delta logL = 0.337931931492

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2025       1.0000          .0000       .10000E+07
     2 'Index     '    4.2403       1.0000          .0000       10.000    
     3 'Normalizat'    .88467       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97525       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=   9806.647     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      223 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2007        47.298        .69297E-03    .10429E-01
   2  Index         4.2405        3.8269        .29323        .93947E-04
   3  Normalizat    .88465        .47229E-01    .92162E-01    .34607E-04
   4  Prefactor     .97526        .24145E-01    .45957E-01   -.18069E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.20065
  Index      = 4.24048
  Normalizat = 0.884654
  Prefactor  = 0.975265
 **********
 **   18 **HESSE 
 **********

 FCN=   9806.647     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2007        123.17        .16309E-04   -1.5678    
   2  Index         4.2405        6.2370        .10501E-01   -.15249    
   3  Normalizat    .88465        .26306        .40825E-03   -.97001    
   4  Prefactor     .97526        .13061        .19882E-03   -.93559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28746e-07
Minuit parameter uncertainties:
  1  32.9285
  2  11.2965
  3  0.263446
  4  0.130648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551176': 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) = 9806.64696388
delta logL = 0.337932116961

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  2.201e+00  3.293e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  4.240e+00  1.130e+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.753e-01  1.306e-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:  8.847e-01  2.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
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/551176/cmap_HighResolution_688003201_688262401_4FGL_J2225.6+2120_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.99e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2022-10-24 00:53:01.866776', job_id='551176', GAL2='0.98', fit_tolerance='1e-08', EG2='0.88', EG='0.93', time_epoch_completed='1666597981.87', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='3.38e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1731' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:53:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 551176: <4FGL_J2225.6+2120_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:23 2022
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:24 2022
Terminated at Mon Oct 24 00:53:02 2022
Results reported at Mon Oct 24 00:53:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1731 336.414 21.3418 688003201 688262401 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.47 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             335.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            759 sec.

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

