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 82 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7485
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2222.8+1209_daily_bin1702
RA = 335.71, Dec = 12.1568
tmin = 680486401, tmax = 680745601
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='258962', job_status='RUN', time_executed='2022-07-29 01:37:04.049453', time_epoch_executed='1659083824.05' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258962

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258962/ft1_4FGL_J2222.8+1209_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258962/ft2_4FGL_J2222.8+1209_daily_bin1702.fits


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

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

Done.
real 2.99
user 2.75
sys 0.21

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

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

Number of photons that the gtmktime cut: 482

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258962/ft1_filtered_4FGL_J2222.8+1209_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/258962/ft2_4FGL_J2222.8+1209_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/258962/ltcube_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.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/258962/ft2_4FGL_J2222.8+1209_daily_bin1702.fits
.....................!
real 15.75
user 15.30
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258962/ft1_filtered_4FGL_J2222.8+1209_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258962/ft2_4FGL_J2222.8+1209_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/258962/ltcube_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.fits outfile=/scratch/kocevski/258962/expmap_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.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/258962/ltcube_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.fits
.....................!
real 194.23
user 187.58
sys 5.94

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/258962/ft1_filtered_4FGL_J2222.8+1209_daily_bin1702.fits scfile=/scratch/kocevski/258962/ft2_4FGL_J2222.8+1209_daily_bin1702.fits outfile=/scratch/kocevski/258962/cmap_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.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.60
user 0.42
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258962/ft1_filtered_4FGL_J2222.8+1209_daily_bin1702.fits scfile=/scratch/kocevski/258962/ft2_4FGL_J2222.8+1209_daily_bin1702.fits outfile=/scratch/kocevski/258962/cmap_HighResolution_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.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.57
user 0.38
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/258962/ft1_filtered_4FGL_J2222.8+1209_daily_bin1702.fits', '/scratch/kocevski/258962/ft2_4FGL_J2222.8+1209_daily_bin1702.fits', expMap='/scratch/kocevski/258962/expmap_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.fits', expCube='/scratch/kocevski/258962/ltcube_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/258962/Model_4FGL_J2222.8+1209_daily_bin1702.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  1.000e-04  1.000e+04 ( 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/258962/ft1_filtered_4FGL_J2222.8+1209_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/258962/ft2_4FGL_J2222.8+1209_daily_bin1702.fits
Exposure map: /scratch/kocevski/258962/expmap_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.fits
Exposure cube: /scratch/kocevski/258962/ltcube_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/258962/Model_4FGL_J2222.8+1209_daily_bin1702.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) = 5537.83838923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10143E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20197E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    41.706       1.0000         .10000E-03   10000.    
     6 'Prefactor '    45.049       1.0000         .10000E-03   10000.    
     7 'Prefactor '    65.601       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20270E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0305       1.0000         .10000E-03   10000.    
    12 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.8378       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7257       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .93949       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.0624       1.0000         .10000E-03   10000.    
    17 'norm      '    1.9623       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4091       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8466       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.3259       1.0000         .10000E-03   10000.    
    22 'Prefactor '    50.461       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.0292       1.0000         .10000E-03   10000.    
    24 'Prefactor '    18.250       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .95780       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .85726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5537.805     FROM MIGRAD    STATUS=CONVERGED    628 CALLS     3133 TOTAL
                     EDM=   .96E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7293        .11286E-06** at limit **
   2  Prefactor     .10000E-03    74.633        .79192E-06** at limit **
   3  Prefactor     .10001E-03    1659.6        .10474E-03** at limit **
   4  norm          .10000E-03    1.9613       -.73928E-07** at limit **
   5  norm          41.688        42.569       -.23156E-05   -.17774E-03
   6  Prefactor     45.044        37.838        .35922E-06   -.46373E-06
   7  Prefactor     65.599        45.639        .13028E-06   -.19878E-05
   8  norm          .10000E-03    .37293       -.45835E-07** at limit **
   9  Prefactor     .10000E-03    96.867       -.12399E-05** at limit **
  10  Prefactor     .10000E-03    342.13       -.49938E-05** at limit **
  11  Prefactor     9.0471        106.17       -.22016E-05   -.66038E-05
  12  norm          .10000E-03    4.8227       -.30434E-06** at limit **
  13  Prefactor     9.8395        15.572        .38205E-06   -.61254E-05
  14  Prefactor     2.7285        17.163        .30665E-05   -.59464E-05
  15  Prefactor     .93953        .32323        .24675E-08   -.34657E-04
  16  Prefactor     9.0627        11.749        .22245E-06   -.43113E-05
  17  norm          1.9623        1.3611        .28184E-07    .13357E-05
  18  Prefactor     3.4112        47.164        .63516E-06   -.10198E-05
  19  Prefactor     1.8481        13.212       -.78436E-06   -.12549E-04
  20  Prefactor     .10000E-03    10.003        .35034E-07** at limit **
  21  Prefactor     1.3259        .25395       -.18337E-07   -.15872E-04
  22  Prefactor     50.458        66.091        .25307E-06   -.43130E-06
  23  Prefactor     2.0295        7.1053        .48795E-05   -.27712E-04
  24  Prefactor     18.251        16.922       -.18390E-07   -.15290E-05
  25  Normalizat    .95761        .29944        .10175E-05   -.65238E-04
  26  Prefactor     .85731        .14122       -.10960E-05   -.54715E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  norm       = 0.0001
  norm       = 41.6876
  Prefactor  = 45.0444
  Prefactor  = 65.599
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.04706
  norm       = 0.0001
  Prefactor  = 9.83952
  Prefactor  = 2.72848
  Prefactor  = 0.939528
  Prefactor  = 9.06265
  norm       = 1.96234
  Prefactor  = 3.41119
  Prefactor  = 1.84809
  Prefactor  = 0.0001
  Prefactor  = 1.3259
  Prefactor  = 50.4579
  Prefactor  = 2.02946
  Prefactor  = 18.2514
  Normalizat = 0.95761
  Prefactor  = 0.857306
 **********
 **   18 **HESSE 
 **********

 FCN=   5537.805     FROM HESSE     STATUS=OK           460 CALLS     3593 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.9738        .18328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    74.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    1662.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.9806        .10171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          41.688        42.823        .62073E-04   -1.4416    
   6  Prefactor     45.044        37.107        .59734E-04   -1.4365    
   7  Prefactor     65.599        45.659        .49550E-04   -1.4086    
   8  norm          .10000E-03    .37959        .44306E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    97.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    343.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.0471        106.12        .13337E-03   -1.5106    
  12  norm          .10000E-03    4.9401        .31893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.8395        15.579        .12776E-03   -1.5081    
  14  Prefactor     2.7285        17.380        .24666E-03   -1.5378    
  15  Prefactor     .93953        .32385        .22711E-04   -1.5514    
  16  Prefactor     9.0627        11.784        .13314E-03   -1.5106    
  17  norm          1.9623        1.3601        .69146E-04   -1.5428    
  18  Prefactor     3.4112        47.234        .21910E-03   -1.5339    
  19  Prefactor     1.8481        13.047        .30687E-03   -1.5436    
  20  Prefactor     .10000E-03    10.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.3259        .25531        .14865E-04   -1.5478    
  22  Prefactor     50.458        66.112        .56455E-04   -1.4286    
  23  Prefactor     2.0295        7.1104        .14521E-02   -1.5423    
  24  Prefactor     18.251        16.915        .93755E-04   -1.4853    
  25  Normalizat    .95761        .35054        .38440E-03   -.94464    
  26  Prefactor     .85731        .16602        .20272E-03   -.97649    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.4701e-10
Minuit parameter uncertainties:
  1  2.60252e-05
  2  2.88359e-06
  3  0.00781082
  4  1.77371e-06
  5  42.8542
  6  37.126
  7  45.6831
  8  5.43377e-07
  9  8.85013e-05
  10  0.000252463
  11  62.1095
  12  1.49399e-05
  13  15.5854
  14  13.7782
  15  0.323853
  16  11.7875
  17  1.36017
  18  25.4108
  19  9.82368
  20  2.59153e-06
  21  0.255313
  22  66.2087
  23  7.11336
  24  16.9195
  25  0.351384
  26  0.166115
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  9.840e+00  1.559e+01  1.000e-04  1.000e+04 ( 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:  8.573e-01  1.661e-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.576e-01  3.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/258962/likelihoodResults_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.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) = 5537.77470218
delta logL = 0.0305303764162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5537.76838982
delta logL = 0.0368427335252

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.785       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1057       1.0000          .0000       10.000    
     3 'Normalizat'    .96639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85472       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=   5537.768     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.769        18.824        .29173E-02    .24700E-03
   2  Index         2.1024        1.0948        .25214E-01    .24201E-03
   3  Normalizat    .96660        .27214        .86455E-01    .18908E-04
   4  Prefactor     .85467        .13697        .44425E-01    .12365E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7695
  Index      = 2.10244
  Normalizat = 0.966601
  Prefactor  = 0.854673
 **********
 **   18 **HESSE 
 **********

 FCN=   5537.768     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .57E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.769        18.365        .58347E-03   -1.5022    
   2  Index         2.1024        1.0709        .50429E-02   -.61813    
   3  Normalizat    .96660        .31824        .38281E-03   -.94158    
   4  Prefactor     .85467        .16065        .20300E-03   -.97743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.74807e-13
Minuit parameter uncertainties:
  1  18.3738
  2  1.08363
  3  0.318862
  4  0.160738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258962': 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) = 5537.76838436
delta logL = 0.0368481917467

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.177e+01  1.837e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.102e+00  1.084e+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:  8.547e-01  1.607e-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.666e-01  3.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.65
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/258962/cmap_HighResolution_680486401_680745601_4FGL_J2222.8+1209_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.37e-02', job_status='DONE', photon_flux_upper_limit='1.77e-07', time_completed='2022-07-29 01:48:05.173354', job_id='258962', GAL2='0.85', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1659084485.17', return_code2='0', ts='0.65', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.68e-02', ts2='0.72', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1702' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:48:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 258962: <4FGL_J2222.8+1209_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2222.8+1209_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:20 2022
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:35:33 2022
Terminated at Fri Jul 29 01:48:06 2022
Results reported at Fri Jul 29 01:48:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2222.8+1209_daily_bin1702 335.71 12.1568 680486401 680745601 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 :                                   662.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            766 sec.

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

