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


Performing analysis on: 4FGL_J2222.8+1209_daily_bin1780
RA = 335.71, Dec = 12.1568
tmin = 700704001, tmax = 700963201
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='79233', job_status='RUN', time_executed='2023-03-20 01:52:55.512777', time_epoch_executed='1679302375.51' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79233

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79233/ft1_4FGL_J2222.8+1209_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79233/ft2_4FGL_J2222.8+1209_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79233/ft1_4FGL_J2222.8+1209_daily_bin1780.fits outfile=/scratch/kocevski/79233/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin1780.fits ra=335.71 dec=12.1568 rad=12.0 tmin=700704001.0 tmax=700963201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.09
user 3.86
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/79233/ft2_4FGL_J2222.8+1209_daily_bin1780.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/79233/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/79233/ft1_filtered_4FGL_J2222.8+1209_daily_bin1780.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.48
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 537

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79233/ft1_filtered_4FGL_J2222.8+1209_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/79233/ft2_4FGL_J2222.8+1209_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/79233/ltcube_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.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/79233/ft2_4FGL_J2222.8+1209_daily_bin1780.fits
.....................!
real 12.21
user 11.89
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79233/ft1_filtered_4FGL_J2222.8+1209_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/79233/ft2_4FGL_J2222.8+1209_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/79233/ltcube_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.fits outfile=/scratch/kocevski/79233/expmap_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.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/79233/ltcube_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.fits
.....................!
real 190.29
user 185.45
sys 4.53

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/79233/ft1_filtered_4FGL_J2222.8+1209_daily_bin1780.fits scfile=/scratch/kocevski/79233/ft2_4FGL_J2222.8+1209_daily_bin1780.fits outfile=/scratch/kocevski/79233/cmap_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79233/ft1_filtered_4FGL_J2222.8+1209_daily_bin1780.fits scfile=/scratch/kocevski/79233/ft2_4FGL_J2222.8+1209_daily_bin1780.fits outfile=/scratch/kocevski/79233/cmap_HighResolution_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/79233/ft1_filtered_4FGL_J2222.8+1209_daily_bin1780.fits', '/scratch/kocevski/79233/ft2_4FGL_J2222.8+1209_daily_bin1780.fits', expMap='/scratch/kocevski/79233/expmap_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.fits', expCube='/scratch/kocevski/79233/ltcube_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/79233/Model_4FGL_J2222.8+1209_daily_bin1780.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/79233/ft1_filtered_4FGL_J2222.8+1209_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/79233/ft2_4FGL_J2222.8+1209_daily_bin1780.fits
Exposure map: /scratch/kocevski/79233/expmap_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.fits
Exposure cube: /scratch/kocevski/79233/ltcube_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/79233/Model_4FGL_J2222.8+1209_daily_bin1780.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) = 5772.87898698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11967E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14669E-02   1.0000          .0000       .10000E+07
     3 'norm      '    3.0521       1.0000          .0000       .10000E+07
     4 'norm      '    6.7317       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1186       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.1404       1.0000          .0000       .10000E+07
     7 'norm      '    .55184E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .21012E-04   1.0000          .0000       .10000E+07
     9 'norm      '    16.117       1.0000          .0000       .10000E+07
    10 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.6584       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.0900       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11027E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    3.6195       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14352E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.9778       1.0000          .0000       .10000E+07
    17 'Prefactor '    .42904E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .86799E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    23.316       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0212       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92149       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=   5772.124     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     1702 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79936E-08    1.9556        .42118E-02** at limit **
   2  Prefactor     .33751E-07    17.610        .42118E-03** at limit **
   3  norm          3.0430        2.3466        .58047E-03    .12549E-02
   4  norm          7.0158        15.752        .38650E-03    .24641E-02
   5  Prefactor     5.4743        35.281        .44415E-03   -.59579E-03
   6  Prefactor     .27478E-07    113.05        .10883E-02** at limit **
   7  norm           .0000        1.1292        .42118E-03** at limit **
   8  Prefactor     .72997E-07    15.011        .42118E-03** at limit **
   9  norm          16.172        8.6381        .24921E-03   -.42494E-03
  10  Prefactor     .11213E-07    13.690        .42118E-03** at limit **
  11  Prefactor     5.3906        14.769        .42206E-03    .15549E-01
  12  Prefactor     5.0902        .58017        .41517E-02   -.10625E-02
  13  Prefactor     .10000E-03    9.0644        .90781E-01** at limit **
  14  norm          3.6174        2.7068        .53082E-03   -.27882E-02
  15  Prefactor     .68279E-08    10.936        .42118E-03** at limit **
  16  Prefactor     10.089        18.970        .31698E-03    .13715E-02
  17  Prefactor     .43030E-01    .11707        .90125E-02    .38810E-02
  18  Prefactor     .49960E-09    51.719        .14298E-02** at limit **
  19  Prefactor     22.877        15.264        .20715E-03    .38790E-02
  20  Normalizat    1.0219        .28584        .86962E-01    .46786E-04
  21  Prefactor     .92165        .14498        .45278E-01    .72036E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.99361e-09
  Prefactor  = 3.37508e-08
  norm       = 3.04302
  norm       = 7.01578
  Prefactor  = 5.47431
  Prefactor  = 2.7478e-08
  norm       = 0
  Prefactor  = 7.29972e-08
  norm       = 16.1715
  Prefactor  = 1.12133e-08
  Prefactor  = 5.39055
  Prefactor  = 5.09025
  Prefactor  = 0.000100002
  norm       = 3.6174
  Prefactor  = 6.82787e-09
  Prefactor  = 10.0889
  Prefactor  = 0.0430299
  Prefactor  = 4.996e-10
  Prefactor  = 22.877
  Normalizat = 1.02186
  Prefactor  = 0.921646
 **********
 **   18 **HESSE 
 **********

 FCN=   5772.124     FROM HESSE     STATUS=OK           329 CALLS     2031 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79936E-08    3.0408        .31140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33751E-07    17.610        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.0430        2.3439        .97214E-05   -1.5673    
   4  norm          7.0158        15.729        .15460E-04   -1.5655    
   5  Prefactor     5.4743        35.140        .17766E-04   -1.5661    
   6  Prefactor     .27478E-07    113.54        .21767E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.1608        .78735E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72997E-07    15.014        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.172        8.6388        .99685E-05   -1.5628    
  10  Prefactor     .11213E-07    13.707        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3906        14.764        .16882E-04   -1.5662    
  12  Prefactor     5.0902        .57459        .18345E-04   -1.5257    
  13  Prefactor     .10000E-03    51.310        .43978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.6174        2.7051        .10120E-04   -1.5670    
  15  Prefactor     .68279E-08    10.936        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.089        18.936        .12679E-04   -1.5644    
  17  Prefactor     .43030E-01    .11223        .40918E-03   -1.5667    
  18  Prefactor     .49960E-09    51.831        .28597E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.877        15.204        .82859E-05   -1.5612    
  20  Normalizat    1.0219        .33643        .38508E-03   -.92302    
  21  Prefactor     .92165        .17228        .20927E-03   -.95389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71886e-08
Minuit parameter uncertainties:
  1  0.000311487
  2  0.00154202
  3  2.34393
  4  15.7291
  5  27.7396
  6  0.00353326
  7  1.775e-08
  8  0.00209406
  9  8.63884
  10  0.000783753
  11  14.7637
  12  0.574589
  13  0.000600006
  14  2.70507
  15  0.00054563
  16  18.9361
  17  0.112232
  18  0.000316741
  19  15.2039
  20  0.337136
  21  0.172384
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.121e-08  7.838e-04  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.216e-01  1.724e-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.022e+00  3.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/79233/likelihoodResults_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.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) = 5772.15977739
delta logL = -0.0357827742073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5772.12399501
delta logL = -3.98134034185e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28493E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.4069       1.0000          .0000       10.000    
     3 'Normalizat'    1.0220       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92162       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5772.124     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      213 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.919        .42118E-03** at limit **
   2  Index         2.5094        1.3212        .95218E-04     .0000    
   3  Normalizat    1.0219        1.2584       -.12291E-04   -.22843E-03
   4  Prefactor     .92164        1.2655       -.44243E-05   -.45619E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.50943
  Normalizat = 1.02186
  Prefactor  = 0.921645
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5772.124     FROM HESSE     STATUS=FAILED         9 CALLS      222 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .70985        1.9180        .95218E-04   -.52142    
   3  Normalizat    1.0219        1.2584       -.12291E-04   -.92302    
   4  Prefactor     .92164        1.2655       -.44243E-05   -.95389    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.05455e-10
Minuit parameter uncertainties:
  1  1.84514e-05
  2  1.34257
  3  1.29819
  4  1.30976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79233': 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): 101
logL (Free Index) = 5772.12399461
delta logL = 3.27418092638e-10

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  0.000e+00  1.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.509e+00  1.343e+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.216e-01  1.310e+00  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.022e+00  1.298e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/79233/cmap_HighResolution_700704001_700963201_4FGL_J2222.8+1209_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2023-03-20 02:01:42.626266', job_id='79233', GAL2='0.92', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1679302902.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.27e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1780' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 02:01:42 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 79233: <4FGL_J2222.8+1209_daily_bin1780> in cluster <slac> Done

Job <4FGL_J2222.8+1209_daily_bin1780> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Mar 20 01:50:16 2023
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:50:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:50:17 2023
Terminated at Mon Mar 20 02:01:43 2023
Results reported at Mon Mar 20 02:01:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2222.8+1209_daily_bin1780 335.71 12.1568 700704001 700963201 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 :                                   530.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            687 sec.

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

