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


Performing analysis on: 4FGL_J2222.8+1209_daily_bin1767
RA = 335.71, Dec = 12.1568
tmin = 697334401, tmax = 697593601
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='90134', job_status='RUN', time_executed='2023-02-09 01:57:44.700162', time_epoch_executed='1675936664.7' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90134

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90134/ft1_4FGL_J2222.8+1209_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90134/ft1_4FGL_J2222.8+1209_daily_bin1767.fits outfile=/scratch/kocevski/90134/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin1767.fits ra=335.71 dec=12.1568 rad=12.0 tmin=697334401.0 tmax=697593601.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.38
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.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/90134/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/90134/ft1_filtered_4FGL_J2222.8+1209_daily_bin1767.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.15

Number of photons that the gtmktime cut: 789

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90134/ft1_filtered_4FGL_J2222.8+1209_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/90134/ltcube_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.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/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits
.....................!
real 15.88
user 15.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90134/ft1_filtered_4FGL_J2222.8+1209_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/90134/ltcube_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.fits outfile=/scratch/kocevski/90134/expmap_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.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/90134/ltcube_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.fits
.....................!
real 193.02
user 187.33
sys 4.93

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2222.8+1209 @ 335.71 12.1568

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/90134/ft1_filtered_4FGL_J2222.8+1209_daily_bin1767.fits scfile=/scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits outfile=/scratch/kocevski/90134/cmap_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.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=335.71 yref=12.1568 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90134/ft1_filtered_4FGL_J2222.8+1209_daily_bin1767.fits scfile=/scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits outfile=/scratch/kocevski/90134/cmap_HighResolution_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.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=335.71 yref=12.1568 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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90134/ft1_filtered_4FGL_J2222.8+1209_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90134/Model_4FGL_J2222.8+1209_daily_bin1767.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/90134/ft1_filtered_4FGL_J2222.8+1209_daily_bin1767.fits.....................!
real 81.90
user 80.39
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90134/ft1_filtered_4FGL_J2222.8+1209_daily_bin1767.fits', '/scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits', expMap='/scratch/kocevski/90134/expmap_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.fits', expCube='/scratch/kocevski/90134/ltcube_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90134/Model_4FGL_J2222.8+1209_daily_bin1767.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/90134/ft1_filtered_4FGL_J2222.8+1209_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/90134/ft2_4FGL_J2222.8+1209_daily_bin1767.fits
Exposure map: /scratch/kocevski/90134/expmap_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.fits
Exposure cube: /scratch/kocevski/90134/ltcube_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90134/Model_4FGL_J2222.8+1209_daily_bin1767.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) = 8136.28378672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9806       1.0000          .0000       .10000E+07
     2 'Prefactor '    .21897E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .23981E-07   1.0000          .0000       .10000E+07
     4 'norm      '    .57924E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.604       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19922E-01   1.0000          .0000       .10000E+07
     7 'norm      '    1.7435       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33208E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .11590E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6836       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8756       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.3297       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5648       1.0000         .10000E-03   10000.    
    14 'norm      '    1.2499       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38489E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.5804       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2695       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.824       1.0000          .0000       .10000E+07
    19 'Prefactor '    .13928E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    .88168       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91585       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=   8136.274     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1575 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9818        1.8503       -.11333E-06   -.69356E-03
   2  Prefactor     .55511E-10    14.191        .85647E-06** at limit **
   3  norm           .0000        .57063        .39308E-06** at limit **
   4  norm           .0000        5.7488       -.33190E-06** at limit **
   5  Prefactor     14.680        3.7836       -.15464E-06    .43004E-01
   6  Prefactor      .0000        17.752       -.21493E-06** at limit **
   7  norm          1.7431        1.0668       -.60784E-08   -.53410E-03
   8  Prefactor     .99920E-09    9.6343       -.22229E-06** at limit **
   9  norm           .0000        1.7119        .43933E-07** at limit **
  10  Prefactor     5.6805        1.3755       -.40836E-07    .19029E-02
  11  Prefactor     1.9279        12.398        .13537E-05    .61423E-03
  12  Prefactor     4.3306        .43072        .97868E-07    .35849E-04
  13  Prefactor     3.4661        5.4360       -.16795E-05   -.67971E-05
  14  norm          1.2496        1.1318       -.16680E-06    .14134E-02
  15  Prefactor     .66613E-09    9.1649        .12029E-05** at limit **
  16  Prefactor     4.6100        11.093       -.15198E-05   -.31550E-02
  17  Prefactor     1.2697        .21900       -.17708E-06   -.25003E-03
  18  Prefactor     19.527        58.080        .32488E-06   -.26925E-02
  19  Prefactor      .0000        2.4679        .38561E-07** at limit **
  20  Normalizat    .88062        .28285        .54172E-05    .70807E-05
  21  Prefactor     .91609        .14173        .13027E-05    .15663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.98185
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 0
  Prefactor  = 14.6797
  Prefactor  = 0
  norm       = 1.74311
  Prefactor  = 9.99201e-10
  norm       = 0
  Prefactor  = 5.68047
  Prefactor  = 1.92795
  Prefactor  = 4.33056
  Prefactor  = 3.46614
  norm       = 1.24958
  Prefactor  = 6.66134e-10
  Prefactor  = 4.61
  Prefactor  = 1.26972
  Prefactor  = 19.5273
  Prefactor  = 0
  Normalizat = 0.880619
  Prefactor  = 0.916088
 **********
 **   18 **HESSE 
 **********

 FCN=   8136.274     FROM HESSE     STATUS=OK           357 CALLS     1932 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9818        1.9044        .73620E-03   -1.5680    
   2  Prefactor     .55511E-10    14.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .56992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        5.7490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.680        29.460        .26184E-03   -1.5631    
   6  Prefactor      .0000        17.726        .17042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.7431        1.0724        .79410E-04   -1.5682    
   8  Prefactor     .99920E-09    9.6283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.7110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.6805        15.161        .42110E-03   -1.5660    
  11  Prefactor     1.9279        12.344        .76003E-03   -1.5680    
  12  Prefactor     4.3306        .44220        .39681E-02   -1.5292    
  13  Prefactor     3.4661        5.4434        .53514E-02   -1.5336    
  14  norm          1.2496        1.1328        .10001E-03   -1.5686    
  15  Prefactor     .66613E-09    9.1662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.6100        11.115        .47009E-03   -1.5665    
  17  Prefactor     1.2697        .21878        .37640E-02   -1.5483    
  18  Prefactor     19.527        57.731        .23057E-03   -1.5620    
  19  Prefactor      .0000        2.4690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .88062        .24127        .89056E-01   -.97145    
  21  Prefactor     .91609        .11980        .45207E-01   -.95581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22489e-07
Minuit parameter uncertainties:
  1  1.90443
  2  4.4239e-05
  3  1.31582e-06
  4  1.67403e-05
  5  29.4602
  6  1.11137e-05
  7  1.07239
  8  0.000193906
  9  3.31618e-06
  10  15.1614
  11  9.75693
  12  0.442196
  13  5.44418
  14  1.13276
  15  0.000153087
  16  11.1155
  17  0.218783
  18  57.7322
  19  1.17262e-06
  20  0.24157
  21  0.119834
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  5.680e+00  1.516e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.161e-01  1.198e-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.806e-01  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/90134/likelihoodResults_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.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) = 8135.99573629
delta logL = 0.278213371806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8135.96231915
delta logL = 0.311630506896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6775       1.0000          .0000       .10000E+07
     2 'Index     '    3.2391       1.0000          .0000       10.000    
     3 'Normalizat'    .84383       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92671       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=   8135.962     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      239 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6582        113.80        .52645E-03    .70399E-02
   2  Index         3.2412        3.3522        .13652        .16111E-03
   3  Normalizat    .84341        .63151E-01    .90649E-01    .35312E-04
   4  Prefactor     .92687        .32211E-01    .45345E-01    .60518E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.65821
  Index      = 3.24119
  Normalizat = 0.843413
  Prefactor  = 0.926872
 **********
 **   18 **HESSE 
 **********

 FCN=   8135.962     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6582        12.823        .19758E-04   -1.5670    
   2  Index         3.2412        1.6050        .73854E-02   -.35945    
   3  Normalizat    .84341        .27040        .40154E-03   -.98478    
   4  Prefactor     .92687        .14143        .20281E-03   -.95208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49964e-08
Minuit parameter uncertainties:
  1  12.8235
  2  1.63823
  3  0.270829
  4  0.141482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90134': 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) = 8135.96231461
delta logL = 0.311635045759

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  3.658e+00  1.282e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.241e+00  1.638e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.269e-01  1.415e-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.434e-01  2.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 335.710 12.157

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/90134/cmap_HighResolution_697334401_697593601_4FGL_J2222.8+1209_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2023-02-09 02:08:27.452554', job_id='90134', GAL2='0.93', fit_tolerance='1e-08', EG2='0.84', EG='0.88', time_epoch_completed='1675937307.45', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.12e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1767' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 02:08:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 90134: <4FGL_J2222.8+1209_daily_bin1767> in cluster <slac> Done

Job <4FGL_J2222.8+1209_daily_bin1767> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Feb  9 01:55:21 2023
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:57:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:57:03 2023
Terminated at Thu Feb  9 02:08:28 2023
Results reported at Thu Feb  9 02:08:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2222.8+1209_daily_bin1767 335.71 12.1568 697334401 697593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2222.8+1209 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   644.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            787 sec.

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

