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


Performing analysis on: 4FGL_J1111.8+4858_daily_bin1778
RA = 167.969, Dec = 48.9798
tmin = 700185601, tmax = 700444801
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='958539', job_status='RUN', time_executed='2023-03-14 00:42:29.955705', time_epoch_executed='1678779749.96' WHERE source_name='4FGL J1111.8+4858' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/958539

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/958539/ft1_4FGL_J1111.8+4858_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/958539/ft1_4FGL_J1111.8+4858_daily_bin1778.fits outfile=/scratch/kocevski/958539/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1778.fits ra=167.969 dec=48.9798 rad=12.0 tmin=700185601.0 tmax=700444801.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.92
user 3.71
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.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/958539/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/958539/ft1_filtered_4FGL_J1111.8+4858_daily_bin1778.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 568

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/958539/ft1_filtered_4FGL_J1111.8+4858_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/958539/ltcube_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.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/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits
.....................!
real 11.86
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/958539/ft1_filtered_4FGL_J1111.8+4858_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/958539/ltcube_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.fits outfile=/scratch/kocevski/958539/expmap_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.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/958539/ltcube_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.fits
.....................!
real 192.16
user 187.65
sys 4.16

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

Setting source of interest to:
4FGL J1111.8+4858 @ 167.969 48.9798

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/958539/ft1_filtered_4FGL_J1111.8+4858_daily_bin1778.fits scfile=/scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits outfile=/scratch/kocevski/958539/cmap_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.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=167.969 yref=48.9798 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/958539/ft1_filtered_4FGL_J1111.8+4858_daily_bin1778.fits scfile=/scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits outfile=/scratch/kocevski/958539/cmap_HighResolution_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.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=167.969 yref=48.9798 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/958539/ft1_filtered_4FGL_J1111.8+4858_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/958539/Model_4FGL_J1111.8+4858_daily_bin1778.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/958539/ft1_filtered_4FGL_J1111.8+4858_daily_bin1778.fits.....................!
real 54.27
user 52.92
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/958539/ft1_filtered_4FGL_J1111.8+4858_daily_bin1778.fits', '/scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits', expMap='/scratch/kocevski/958539/expmap_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.fits', expCube='/scratch/kocevski/958539/ltcube_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/958539/Model_4FGL_J1111.8+4858_daily_bin1778.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1111.8+4858'

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  2.239e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
373        Index:  1.825e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  5.853e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/958539/ft1_filtered_4FGL_J1111.8+4858_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/958539/ft2_4FGL_J1111.8+4858_daily_bin1778.fits
Exposure map: /scratch/kocevski/958539/expmap_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.fits
Exposure cube: /scratch/kocevski/958539/ltcube_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/958539/Model_4FGL_J1111.8+4858_daily_bin1778.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) = 6166.5840163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15009       1.0000          .0000       .10000E+07
     2 'norm      '    3.3654       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38304E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54020E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.4648       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15388       1.0000          .0000       .10000E+07
     7 'Prefactor '    80.024       1.0000          .0000       .10000E+07
     8 'norm      '    .86597E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10240E-03   1.0000          .0000       .10000E+07
    10 'norm      '    1.9400       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.979       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24193E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12300       1.0000          .0000       .10000E+07
    14 'norm      '    .39552E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.037       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13515E-02   1.0000          .0000       .10000E+07
    17 'norm      '    3.1016       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.6789       1.0000          .0000       .10000E+07
    19 'norm      '    .35559       1.0000          .0000       .10000E+07
    20 'norm      '    .56867E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .73695E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    85.655       1.0000          .0000       .10000E+07
    23 'Prefactor '    32.452       1.0000          .0000       .10000E+07
    24 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    25 'norm      '    13.139       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0278       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .88250       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6166.578     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     2410 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18765        26.311        .10464E-04** at limit **
   2  norm          3.3662        1.9486       -.95264E-08    .14464E-02
   3  Prefactor     .58475E-06    6.5054        .64420E-07** at limit **
   4  Prefactor      .0000        4.0533        .14473E-06** at limit **
   5  norm          1.4654        1.4270        .11113E-06    .12193E-02
   6  Prefactor     .22204E-09    54.665       -.23668E-06** at limit **
   7  Prefactor     80.913        71.489        .32075E-05   -.72917E-02
   8  norm           .0000        .86371       -.20427E-06** at limit **
   9  Prefactor     .26995E-06    21.457       -.75080E-06** at limit **
  10  norm          1.9401        .38605        .61677E-08   -.74179E-02
  11  Prefactor     13.059        2.0829        .28538E-08   -.11113E-01
  12  Prefactor     .26645E-08    12.024       -.17313E-05** at limit **
  13  Prefactor     .13878E-08    49.410        .40215E-05** at limit **
  14  norm          .54984E-06    7.1673        .67936E-06** at limit **
  15  Prefactor     10.031        6.2697        .68457E-06    .58677E-02
  16  Prefactor     .77049E-07    18.369        .26577E-05** at limit **
  17  norm          3.0823        2.9379        .40143E-07   -.10855E-02
  18  Prefactor     10.344        76.103       -.15938E-05    .14922E-02
  19  norm          .34825        .87061       -.32876E-06   -.95581E-02
  20  norm           .0000        7.1306       -.33146E-06** at limit **
  21  Prefactor      .0000        3.1581       -.25857E-06** at limit **
  22  Prefactor     85.834        30.119       -.14028E-05    .20618E-01
  23  Prefactor     32.511        5.9317       -.16004E-06   -.15844    
  24  norm          .55511E-10    .75153       -.27538E-06** at limit **
  25  norm          13.147        9.7545       -.38223E-06    .18575E-02
  26  Normalizat    1.0267        .18078        .49682E-06   -.87309E-04
  27  Prefactor     .88266        .22708       -.97001E-05   -.84024E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.187653
  norm       = 3.36619
  Prefactor  = 5.84754e-07
  Prefactor  = 0
  norm       = 1.4654
  Prefactor  = 2.22045e-10
  Prefactor  = 80.913
  norm       = 0
  Prefactor  = 2.69951e-07
  norm       = 1.9401
  Prefactor  = 13.0594
  Prefactor  = 2.66454e-09
  Prefactor  = 1.38778e-09
  norm       = 5.49838e-07
  Prefactor  = 10.0305
  Prefactor  = 7.70495e-08
  norm       = 3.08234
  Prefactor  = 10.3445
  norm       = 0.348255
  norm       = 0
  Prefactor  = 0
  Prefactor  = 85.8336
  Prefactor  = 32.5111
  norm       = 5.55112e-11
  norm       = 13.1474
  Normalizat = 1.02671
  Prefactor  = 0.882656
 **********
 **   18 **HESSE 
 **********

 FCN=   6166.578     FROM HESSE     STATUS=OK           550 CALLS     2960 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18765        3.2881        .76790E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.3662        1.9474        .55137E-03   -1.5671    
   3  Prefactor     .58475E-06    13.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.0288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4654        1.4458        .88819E-03   -1.5684    
   6  Prefactor     .22204E-09    54.516        .12662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     80.913        77.442        .11179E-03   -1.5528    
   8  norm           .0000        .86348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .26995E-06    22.069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9401        .38568        .47901E-03   -1.5680    
  11  Prefactor     13.059        20.621        .27778E-03   -1.5636    
  12  Prefactor     .26645E-08    12.058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13878E-08    49.361        .13348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .54984E-06    13.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.031        6.3297        .31604E-03   -1.5645    
  16  Prefactor     .77049E-07    18.575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0823        2.9776        .57555E-03   -1.5673    
  18  Prefactor     10.344        107.02        .34001E-03   -1.5644    
  19  norm          .34825        1.1020        .24981E-02   -1.5696    
  20  norm           .0000        7.1237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        3.1430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     85.834        81.995        .10806E-03   -1.5523    
  23  Prefactor     32.511        22.934        .17556E-03   -1.5594    
  24  norm          .55511E-10    .75145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          13.147        9.7908        .27608E-03   -1.5635    
  26  Normalizat    1.0267        .15858        .42387E-01   -.92141    
  27  Prefactor     .88266        .19668        .68855E-01   -.96750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47456e-07
Minuit parameter uncertainties:
  1  1.57101
  2  1.94743
  3  0.00560988
  4  1.04525e-05
  5  1.44579
  6  0.000211914
  7  77.4434
  8  2.64557e-06
  9  0.00488175
  10  0.38568
  11  20.621
  12  0.000358443
  13  0.000527673
  14  0.00545955
  15  6.32972
  16  0.00239232
  17  2.97755
  18  66.5466
  19  1.10201
  20  3.35338e-06
  21  7.31539e-06
  22  81.9961
  23  22.9343
  24  1.189e-05
  25  9.79083
  26  0.158648
  27  0.196834
Done.

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

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  1.388e-09  5.277e-04  0.000e+00  1.000e+06 ( 1.000e-15)
373        Index:  1.825e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  5.853e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.827e-01  1.968e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.027e+00  1.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 167.969 48.980
Photon Flux Upper Limit: 3.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/958539/likelihoodResults_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.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) = 6166.587259
delta logL = -0.00967228320678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6166.57758695
delta logL = -2.32698766922e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23197E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .32956E-01   1.0000          .0000       10.000    
     3 'Normalizat'    1.0268       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88253       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6166.578     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      254 TOTAL
                     EDM=   .22E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    .19279        .42118E-03** at limit **
   2  Index         2.1383        5.4546        .32623        .34849E-10
   3  Normalizat    1.0267        .31558E-03    .42497E-01   -.19424E-03
   4  Prefactor     .88266        .40745E-03    .68855E-01   -.13621E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 2.13834
  Normalizat = 1.02671
  Prefactor  = 0.882656
 **********
 **   18 **HESSE 
 **********

 FCN=   6166.578     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      285 TOTAL
                     EDM=   .55E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .27636        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1383        5.9898        .50000       -.60935    
   3  Normalizat    1.0267        .37755E-03    .22158E-03   -.92141    
   4  Prefactor     .88266        .48689E-03    .30461E-03   -.96750    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.47399e-14
Minuit parameter uncertainties:
  1  1.51288e-05
  2  4635.35
  3  0.00037755
  4  0.000486889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/958539': 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): 102
logL (Free Index) = 6166.57758672
delta logL = -2.72848410532e-12

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  2.220e-10  1.513e-05  0.000e+00  1.000e+06 ( 1.000e-15)
373        Index:  2.138e+00  4.635e+03  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  5.853e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.827e-01  4.869e-04  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.027e+00  3.775e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 167.969 48.980

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/958539/cmap_HighResolution_700185601_700444801_4FGL_J1111.8+4858_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-03', job_status='DONE', photon_flux_upper_limit='3.93e-08', time_completed='2023-03-14 00:54:53.419906', job_id='958539', GAL2='0.88', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1678780493.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-2.73e-12', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1778' AND source_name='4FGL J1111.8+4858' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:54:53 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 958539: <4FGL_J1111.8+4858_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1111.8+4858_daily_bin1778> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 00:40:18 2023
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:40:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:40:19 2023
Terminated at Tue Mar 14 00:54:54 2023
Results reported at Tue Mar 14 00:54:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1111.8+4858_daily_bin1778 167.969 48.9798 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1111.8+4858 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   745.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            876 sec.

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

