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


Performing analysis on: 4FGL_J1111.8+4858_daily_bin1751
RA = 167.969, Dec = 48.9798
tmin = 693187201, tmax = 693446401
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='75233', job_status='RUN', time_executed='2022-12-23 00:31:53.886023', time_epoch_executed='1671784313.89' WHERE source_name='4FGL J1111.8+4858' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75233

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75233/ft1_4FGL_J1111.8+4858_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75233/ft2_4FGL_J1111.8+4858_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75233/ft1_4FGL_J1111.8+4858_daily_bin1751.fits outfile=/scratch/kocevski/75233/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1751.fits ra=167.969 dec=48.9798 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75233/ft2_4FGL_J1111.8+4858_daily_bin1751.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/75233/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/75233/ft1_filtered_4FGL_J1111.8+4858_daily_bin1751.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.16

Number of photons that the gtmktime cut: 613

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75233/ft1_filtered_4FGL_J1111.8+4858_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75233/ft2_4FGL_J1111.8+4858_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/75233/ltcube_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.fits outfile=/scratch/kocevski/75233/expmap_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.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/75233/ltcube_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.fits
.....................!
real 190.71
user 185.43
sys 4.90

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/75233/ft1_filtered_4FGL_J1111.8+4858_daily_bin1751.fits scfile=/scratch/kocevski/75233/ft2_4FGL_J1111.8+4858_daily_bin1751.fits outfile=/scratch/kocevski/75233/cmap_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75233/ft1_filtered_4FGL_J1111.8+4858_daily_bin1751.fits scfile=/scratch/kocevski/75233/ft2_4FGL_J1111.8+4858_daily_bin1751.fits outfile=/scratch/kocevski/75233/cmap_HighResolution_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/75233/ft1_filtered_4FGL_J1111.8+4858_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75233/ft2_4FGL_J1111.8+4858_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/75233/Model_4FGL_J1111.8+4858_daily_bin1751.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/75233/ft1_filtered_4FGL_J1111.8+4858_daily_bin1751.fits.....................!
real 55.60
user 54.25
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/75233/ft1_filtered_4FGL_J1111.8+4858_daily_bin1751.fits', '/scratch/kocevski/75233/ft2_4FGL_J1111.8+4858_daily_bin1751.fits', expMap='/scratch/kocevski/75233/expmap_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.fits', expCube='/scratch/kocevski/75233/ltcube_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/75233/Model_4FGL_J1111.8+4858_daily_bin1751.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/75233/ft1_filtered_4FGL_J1111.8+4858_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/75233/ft2_4FGL_J1111.8+4858_daily_bin1751.fits
Exposure map: /scratch/kocevski/75233/expmap_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.fits
Exposure cube: /scratch/kocevski/75233/ltcube_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/75233/Model_4FGL_J1111.8+4858_daily_bin1751.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) = 6612.50956164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13653E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.2167       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0033       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45981E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .23703E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79891E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .92049E-05   1.0000          .0000       .10000E+07
     8 'norm      '    3.6449       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.2451       1.0000          .0000       .10000E+07
    10 'norm      '    2.3629       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.3621       1.0000          .0000       .10000E+07
    12 'Prefactor '    .63406E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82515E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .39551E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .37730E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    17.350       1.0000          .0000       .10000E+07
    17 'norm      '    .10630E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14348E-01   1.0000          .0000       .10000E+07
    19 'norm      '    3.6473       1.0000          .0000       .10000E+07
    20 'norm      '    .15524E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .79447E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    51.580       1.0000          .0000       .10000E+07
    23 'Prefactor '    .85738       1.0000          .0000       .10000E+07
    24 'norm      '    .37332E-04   1.0000          .0000       .10000E+07
    25 'norm      '    3.6642       1.0000          .0000       .10000E+07
    26 'Normalizat'    .94766       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .95776       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=   6612.436     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     1886 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.9078        .14398E-07** at limit **
   2  norm          3.2161        1.9839        .43219E-08    .68077E-03
   3  Prefactor     .31686        570.70        .85571E-05    .66377E-02
   4  Prefactor      .0000        2.7407        .34588E-07** at limit **
   5  norm           .0000        .62059        .20117E-07** at limit **
   6  Prefactor     .84099E-07    11.110        .29169E-06** at limit **
   7  Prefactor     .23448E-06    11.023        .28966E-06** at limit **
   8  norm          3.6810        2.3495        .28069E-07    .21574E-02
   9  Prefactor     1.3809        25.010       -.16194E-05    .44428E-01
  10  norm          2.3624        .39721        .19074E-08    .49594E-02
  11  Prefactor     8.4933        17.323       -.63446E-07   -.34230E-02
  12  Prefactor      .0000        7.6174        .13861E-07** at limit **
  13  Prefactor     .12329E-06    11.108        .29129E-06** at limit **
  14  norm          .25008E-06    27.540       -.16710E-06** at limit **
  15  Prefactor      .0000        1.8615       -.28272E-07** at limit **
  16  Prefactor     17.967        18.767        .36358E-07   -.10545E-03
  17  norm           .0000        .76125        .63493E-08** at limit **
  18  Prefactor     .18422E-05    39.452       -.79832E-06** at limit **
  19  norm          3.6844        1.2898        .11111E-07    .35760E-02
  20  norm           .0000        2.5480        .24228E-08** at limit **
  21  Prefactor      .0000        1.9885        .86913E-08** at limit **
  22  Prefactor     46.411        44.745        .70076E-07   -.26143E-01
  23  Prefactor     .86367        13.955        .12952E-06   -.21727E-01
  24  norm           .0000        1.8025        .89832E-08** at limit **
  25  norm          3.7303        5.3117       -.12741E-08    .17714E-03
  26  Normalizat    .94911        .16794       -.24541E-06    .84910E-04
  27  Prefactor     .95764        .21772        .56648E-06    .70532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.2161
  Prefactor  = 0.316863
  Prefactor  = 0
  norm       = 0
  Prefactor  = 8.40994e-08
  Prefactor  = 2.34479e-07
  norm       = 3.681
  Prefactor  = 1.38091
  norm       = 2.36244
  Prefactor  = 8.4933
  Prefactor  = 0
  Prefactor  = 1.2329e-07
  norm       = 2.50078e-07
  Prefactor  = 0
  Prefactor  = 17.9671
  norm       = 0
  Prefactor  = 1.84225e-06
  norm       = 3.68436
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4109
  Prefactor  = 0.863672
  norm       = 0
  norm       = 3.73029
  Normalizat = 0.949114
  Prefactor  = 0.957642
 **********
 **   18 **HESSE 
 **********

 FCN=   6612.436     FROM HESSE     STATUS=OK           536 CALLS     2422 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.8512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.2161        1.9831        .56460E-03   -1.5672    
   3  Prefactor     .31686        593.55        .43882E-03   -1.5697    
   4  Prefactor      .0000        2.7307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .62102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .84099E-07    33.812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .23448E-06    33.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.6810        2.4410        .52889E-03   -1.5670    
   9  Prefactor     1.3809        191.99        .68558E-03   -1.5684    
  10  norm          2.3624        .39717        .46210E-03   -1.5677    
  11  Prefactor     8.4933        22.799        .32729E-03   -1.5650    
  12  Prefactor      .0000        7.6348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12329E-06    33.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .25008E-06    28.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.8583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.967        18.940        .24018E-03   -1.5623    
  17  norm           .0000        .76041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18422E-05    41.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.6844        1.2905        .52871E-03   -1.5670    
  20  norm           .0000        2.5528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.9750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     46.411        45.417        .13925E-03   -1.5572    
  23  Prefactor     .86367        32.619        .48753E-03   -1.5689    
  24  norm           .0000        1.7623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.7303        5.3240        .52744E-03   -1.5669    
  26  Normalizat    .94911        .14600        .45508E-01   -.94755    
  27  Prefactor     .95764        .18812        .45737E-01   -.94155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78075e-06
Minuit parameter uncertainties:
  1  1.8325e-05
  2  1.98308
  3  27.4307
  4  1.06134e-05
  5  2.62658e-06
  6  0.00337244
  7  0.00561272
  8  2.44101
  9  32.5661
  10  0.397168
  11  22.7989
  12  9.55176e-07
  13  0.00407854
  14  0.00535204
  15  3.7475e-06
  16  18.9401
  17  1.05656e-06
  18  0.0174026
  19  1.29048
  20  2.75948e-06
  21  3.53024e-06
  22  45.4175
  23  10.6156
  24  3.02044e-06
  25  5.32404
  26  0.146064
  27  0.188245
Done.

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

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  1.233e-07  4.079e-03  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:  9.576e-01  1.882e-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:  9.491e-01  1.461e-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.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75233/likelihoodResults_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.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): 102
logL (Free Index) = 6612.45040566
delta logL = -0.0141520279367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6612.43625385
delta logL = -2.21592017624e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51930E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.5341       1.0000          .0000       10.000    
     3 'Normalizat'    .94909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95761       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=   6612.436     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      195 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    46.811       -.18189E-05** at limit **
   2  Index         1.2652        6.8217        .35696E-04    .50373E-12
   3  Normalizat    .94911        .16466        .83425E-05    .28745E-04
   4  Prefactor     .95764        .21618       -.59277E-05    .29263E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.26519
  Normalizat = 0.949114
  Prefactor  = 0.957642
 **********
 **   18 **HESSE 
 **********

 FCN=   6612.436     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .60E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    62.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2652        5.4098        .50000       -.84348    
   3  Normalizat    .94911        .14186        .45526E-01   -.94755    
   4  Prefactor     .95764        .18630        .45735E-01   -.94155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0126e-12
Minuit parameter uncertainties:
  1  0.000175761
  2  3.83192
  3  0.14192
  4  0.186421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75233': 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) = 6612.43625363
delta logL = 1.82899384527e-09

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  1.110e-10  1.758e-04  0.000e+00  1.000e+06 ( 1.000e-15)
373        Index:  1.265e+00  3.832e+00  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:  9.576e-01  1.864e-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:  9.491e-01  1.419e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/75233/cmap_HighResolution_693187201_693446401_4FGL_J1111.8+4858_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-03', job_status='DONE', photon_flux_upper_limit='3.28e-08', time_completed='2022-12-23 00:43:43.991615', job_id='75233', GAL2='0.96', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1671785023.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.83e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1751' AND source_name='4FGL J1111.8+4858' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:43:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 75233: <4FGL_J1111.8+4858_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1111.8+4858_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 00:30:24 2022
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:30:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:30:25 2022
Terminated at Fri Dec 23 00:43:44 2022
Results reported at Fri Dec 23 00:43:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1111.8+4858_daily_bin1751 167.969 48.9798 693187201 693446401 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 :                                   712.01 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             303.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            800 sec.

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

