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


Performing analysis on: 4FGL_J2222.8+1209_daily_bin1720
RA = 335.71, Dec = 12.1568
tmin = 685152001, tmax = 685411201
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='849882', job_status='RUN', time_executed='2022-09-21 00:58:37.868389', time_epoch_executed='1663747117.87' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849882

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849882/ft1_4FGL_J2222.8+1209_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849882/ft2_4FGL_J2222.8+1209_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849882/ft1_4FGL_J2222.8+1209_daily_bin1720.fits outfile=/scratch/kocevski/849882/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin1720.fits ra=335.71 dec=12.1568 rad=12.0 tmin=685152001.0 tmax=685411201.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.74
user 3.50
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849882/ft2_4FGL_J2222.8+1209_daily_bin1720.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/849882/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin1720.fits evtable="EVENTS" outfile="/scratch/kocevski/849882/ft1_filtered_4FGL_J2222.8+1209_daily_bin1720.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.50
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 508

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849882/ft1_filtered_4FGL_J2222.8+1209_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/849882/ft2_4FGL_J2222.8+1209_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/849882/ltcube_685152001_685411201_4FGL_J2222.8+1209_daily_bin1720.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/849882/ft2_4FGL_J2222.8+1209_daily_bin1720.fits
.....................!
real 14.87
user 14.43
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849882/ft1_filtered_4FGL_J2222.8+1209_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/849882/ft2_4FGL_J2222.8+1209_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/849882/ltcube_685152001_685411201_4FGL_J2222.8+1209_daily_bin1720.fits outfile=/scratch/kocevski/849882/expmap_685152001_685411201_4FGL_J2222.8+1209_daily_bin1720.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/849882/ltcube_685152001_685411201_4FGL_J2222.8+1209_daily_bin1720.fits
.....................!
real 191.26
user 185.90
sys 4.83

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/849882/ft1_filtered_4FGL_J2222.8+1209_daily_bin1720.fits scfile=/scratch/kocevski/849882/ft2_4FGL_J2222.8+1209_daily_bin1720.fits outfile=/scratch/kocevski/849882/cmap_685152001_685411201_4FGL_J2222.8+1209_daily_bin1720.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849882/ft1_filtered_4FGL_J2222.8+1209_daily_bin1720.fits scfile=/scratch/kocevski/849882/ft2_4FGL_J2222.8+1209_daily_bin1720.fits outfile=/scratch/kocevski/849882/cmap_HighResolution_685152001_685411201_4FGL_J2222.8+1209_daily_bin1720.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34972E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .30957       1.0000          .0000       .10000E+07
     3 'norm      '    .20332       1.0000          .0000       .10000E+07
     4 'norm      '    .24852E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    47.572       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37405       1.0000          .0000       .10000E+07
     7 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
     8 'Prefactor '    .63804E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .43397E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1448       1.0000          .0000       .10000E+07
    11 'Prefactor '    .73893E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48554       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.3625       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79444E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    53.137       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.7514       1.0000         .10000E-03   10000.    
    18 'Prefactor '    49.026       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23876E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3893       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .61334       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=   5700.464     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1635 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.2801       -.12197E-07** at limit **
   2  Prefactor     .17932E-02    1206.7        .53226E-05** at limit **
   3  norm          .20532        6.7361        .42613E-08** at limit **
   4  norm           .0000        18.565        .50415E-07** at limit **
   5  Prefactor     47.832        35.107       -.17943E-06   -.19170E-01
   6  Prefactor     .84377E-08    78.450       -.90459E-07** at limit **
   7  norm           .0000        .56071        .42989E-08** at limit **
   8  Prefactor     .27756E-09    20.387        .15909E-06** at limit **
   9  norm           .0000        2.1634       -.23166E-07** at limit **
  10  Prefactor     1.1271        38.465       -.88599E-06   -.53792E-03
  11  Prefactor      .0000        42.710        .50646E-08** at limit **
  12  Prefactor     .48556        .26590        .32837E-07   -.20272E-03
  13  Prefactor     .10000E-03    3.6034        .10047E-06** at limit **
  14  norm          6.3628        2.6761       -.34965E-08   -.24075E-02
  15  Prefactor      .0000        36.049        .71685E-08** at limit **
  16  Prefactor     53.163        2.2850       -.14158E-07    .20620    
  17  Prefactor     2.7514        .36026       -.11244E-07   -.25506E-03
  18  Prefactor     49.799        47.087       -.47769E-06   -.14332    
  19  Prefactor      .0000        2.8256        .19179E-07** at limit **
  20  Normalizat    1.3889        .33471        .26510E-05   -.13721E-04
  21  Prefactor     .61353        .15937       -.11363E-05   -.50995E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0.00179316
  norm       = 0.205321
  norm       = 0
  Prefactor  = 47.8323
  Prefactor  = 8.43769e-09
  norm       = 0
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 1.1271
  Prefactor  = 0
  Prefactor  = 0.485564
  Prefactor  = 0.0001
  norm       = 6.3628
  Prefactor  = 0
  Prefactor  = 53.1632
  Prefactor  = 2.75137
  Prefactor  = 49.7988
  Prefactor  = 0
  Normalizat = 1.38889
  Prefactor  = 0.613529
 **********
 **   18 **HESSE 
 **********

 FCN=   5700.464     FROM HESSE     STATUS=OK           371 CALLS     2006 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.2737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17932E-02    71.699        .17532E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .20532        1.5636        .50834E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        18.332        .16736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.832        35.403        .14500E-03   -1.5570    
   6  Prefactor     .84377E-08    78.426        .92556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .55605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    20.523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.1642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.1271        38.460        .10840E-02   -1.5687    
  11  Prefactor      .0000        12.934        .81438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .48556        .27279        .60689E-02   -1.5569    
  13  Prefactor     .10000E-03    3.6037        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.3628        2.7360        .39769E-03   -1.5658    
  15  Prefactor      .0000        36.160        .14518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     53.163        21.344        .13719E-03   -1.5562    
  17  Prefactor     2.7514        .36034        .35135E-02   -1.5376    
  18  Prefactor     49.799        92.616        .14283E-03   -1.5567    
  19  Prefactor      .0000        2.8353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3889        .28439        .74261E-01   -.80950    
  21  Prefactor     .61353        .13215        .41236E-01   -1.0702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59304e-06
Minuit parameter uncertainties:
  1  1.23568e-06
  2  0.717133
  3  1.13322
  4  1.36369e-05
  5  35.4029
  6  0.00162832
  7  6.05744e-07
  8  0.000147559
  9  3.54005e-06
  10  13.168
  11  1.40875e-05
  12  0.272792
  13  2.43256e-06
  14  2.73599
  15  3.73582e-05
  16  21.3438
  17  0.360338
  18  92.6187
  19  7.59676e-06
  20  0.284711
  21  0.132216
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.127e+00  1.317e+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:  6.135e-01  1.322e-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.389e+00  2.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/849882/likelihoodResults_685152001_685411201_4FGL_J2222.8+1209_daily_bin1720.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) = 5700.41457342
delta logL = 0.0494220807286

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5700.41042102
delta logL = 0.0535744743192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5481       1.0000          .0000       .10000E+07
     2 'Index     '    3.2361       1.0000          .0000       10.000    
     3 'Normalizat'    1.3673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61876       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5700.410     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      244 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5472        21.331        .27401E-04   -.58439E-02
   2  Index         3.2362        3.2257        .11163E-01   -.15745E-03
   3  Normalizat    1.3672        .33571        .33073E-03   -.52774E-03
   4  Prefactor     .61878        .16046        .22890E-03   -.53807E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.54718
  Index      = 3.23624
  Normalizat = 1.36723
  Prefactor  = 0.61878
 **********
 **   18 **HESSE 
 **********

 FCN=   5700.410     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5472        8.6980        .10960E-05   -1.5683    
   2  Index         3.2362        2.1807        .44651E-03   -.36051    
   3  Normalizat    1.3672        .33551        .66147E-04   -.81581    
   4  Prefactor     .61878        .16015        .45780E-04   -1.0680    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52486e-09
Minuit parameter uncertainties:
  1  7.33686
  2  2.26859
  3  0.336046
  4  0.160264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849882': 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) = 5700.410421
delta logL = 0.0535744946901

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.547e+00  7.337e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.236e+00  2.269e+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:  6.188e-01  1.603e-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.367e+00  3.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/849882/cmap_HighResolution_685152001_685411201_4FGL_J2222.8+1209_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.39e-07', time_completed='2022-09-21 01:07:38.562870', job_id='849882', GAL2='0.62', fit_tolerance='1e-08', EG2='1.37', EG='1.39', time_epoch_completed='1663747658.56', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='5.36e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1720' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:07:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 849882: <4FGL_J2222.8+1209_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2222.8+1209_daily_bin1720> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Sep 21 00:55:16 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:56:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:56:18 2022
Terminated at Wed Sep 21 01:07:39 2022
Results reported at Wed Sep 21 01:07:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2222.8+1209_daily_bin1720 335.71 12.1568 685152001 685411201 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 :                                   542.40 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            743 sec.

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

