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


Performing analysis on: 4FGL_J1111.8+4858_daily_bin1762
RA = 167.969, Dec = 48.9798
tmin = 696038401, tmax = 696297601
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='107751', job_status='RUN', time_executed='2023-01-25 00:51:20.931697', time_epoch_executed='1674636680.93' WHERE source_name='4FGL J1111.8+4858' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107751

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107751/ft1_4FGL_J1111.8+4858_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107751/ft2_4FGL_J1111.8+4858_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107751/ft1_4FGL_J1111.8+4858_daily_bin1762.fits outfile=/scratch/kocevski/107751/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1762.fits ra=167.969 dec=48.9798 rad=12.0 tmin=696038401.0 tmax=696297601.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.73
user 3.47
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107751/ft2_4FGL_J1111.8+4858_daily_bin1762.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/107751/ft1_filteredMKT_4FGL_J1111.8+4858_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/107751/ft1_filtered_4FGL_J1111.8+4858_daily_bin1762.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.53
user 0.33
sys 0.19

Number of photons that the gtmktime cut: 567

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107751/ft1_filtered_4FGL_J1111.8+4858_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107751/ft2_4FGL_J1111.8+4858_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107751/ltcube_696038401_696297601_4FGL_J1111.8+4858_daily_bin1762.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/107751/ft2_4FGL_J1111.8+4858_daily_bin1762.fits
.....................!
real 15.26
user 14.73
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107751/ft1_filtered_4FGL_J1111.8+4858_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107751/ft2_4FGL_J1111.8+4858_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107751/ltcube_696038401_696297601_4FGL_J1111.8+4858_daily_bin1762.fits outfile=/scratch/kocevski/107751/expmap_696038401_696297601_4FGL_J1111.8+4858_daily_bin1762.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/107751/ltcube_696038401_696297601_4FGL_J1111.8+4858_daily_bin1762.fits
.....................!
real 194.68
user 187.09
sys 4.77

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/107751/ft1_filtered_4FGL_J1111.8+4858_daily_bin1762.fits scfile=/scratch/kocevski/107751/ft2_4FGL_J1111.8+4858_daily_bin1762.fits outfile=/scratch/kocevski/107751/cmap_696038401_696297601_4FGL_J1111.8+4858_daily_bin1762.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107751/ft1_filtered_4FGL_J1111.8+4858_daily_bin1762.fits scfile=/scratch/kocevski/107751/ft2_4FGL_J1111.8+4858_daily_bin1762.fits outfile=/scratch/kocevski/107751/cmap_HighResolution_696038401_696297601_4FGL_J1111.8+4858_daily_bin1762.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.56
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0989       1.0000          .0000       .10000E+07
     2 'norm      '    5.5953       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38893E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .55039       1.0000          .0000       .10000E+07
     5 'norm      '    .58924       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10519       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89547E-02   1.0000          .0000       .10000E+07
     8 'norm      '    3.7232       1.0000          .0000       .10000E+07
     9 'Prefactor '    31.752       1.0000          .0000       .10000E+07
    10 'norm      '    1.5749       1.0000          .0000       .10000E+07
    11 'Prefactor '    15.395       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.526       1.0000          .0000       .10000E+07
    13 'Prefactor '    21.747       1.0000          .0000       .10000E+07
    14 'norm      '    .14300E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .87274       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.633       1.0000          .0000       .10000E+07
    17 'norm      '    1.8522       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12404E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .34694E-07   1.0000          .0000       .10000E+07
    20 'norm      '    7.9234       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.2135       1.0000          .0000       .10000E+07
    22 'Prefactor '    92.705       1.0000          .0000       .10000E+07
    23 'Prefactor '    .52902E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .19144       1.0000          .0000       .10000E+07
    25 'norm      '    .43404E-05   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.3161       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .62770       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=   6260.464     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2396 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1183        10.509       -.15077E-06   -.28460E-03
   2  norm          5.5899        3.0894       -.22047E-06    .11456E-02
   3  Prefactor     .92456E-05    18.916       -.52384E-05** at limit **
   4  Prefactor     .53408        5.3940       -.67295E-07    .15202E-02
   5  norm          .58824        1.5684        .31501E-06   -.13234E-02
   6  Prefactor      .0000        62.268       -.15432E-05** at limit **
   7  Prefactor     .22480E-05    18.742        .12398E-05** at limit **
   8  norm          3.7256        2.1257        .53770E-07    .26345E-02
   9  Prefactor     31.423        22.356       -.24317E-05    .76571E-01
  10  norm          1.5755        .37761       -.24765E-07    .13122E-01
  11  Prefactor     15.344        2.7913        .24059E-06    .93219E-02
  12  Prefactor     10.434        2.1670       -.33317E-06   -.25982E-01
  13  Prefactor     24.022        37.531        .25364E-06    .45094E-01
  14  norm          .58842E-08    13.994       -.42731E-06** at limit **
  15  Prefactor     .83281        9.6029        .16430E-05    .11182E-01
  16  Prefactor     20.735        2.1572        .13770E-06    .67853E-02
  17  norm          1.8537        2.5511       -.10086E-06    .66402E-02
  18  Prefactor     .45013E-05    26.689        .59446E-06** at limit **
  19  norm           .0000        .38672       -.61367E-07** at limit **
  20  norm          7.9126        8.4087       -.43831E-06    .13260E-02
  21  Prefactor     3.2124        3.4028       -.44504E-07   -.14011E-02
  22  Prefactor     92.938        22.392        .14551E-05   -.17874    
  23  Prefactor      .0000        7.0549       -.21155E-06** at limit **
  24  norm          .19898        3.2472       -.14371E-05** at limit **
  25  norm          .55511E-10    2.9902        .11110E-05** at limit **
  26  Normalizat    1.3165        .19980        .27491E-04    .77646E-04
  27  Prefactor     .62714        .24477       -.38580E-04    .14578E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11826
  norm       = 5.58994
  Prefactor  = 9.2456e-06
  Prefactor  = 0.534078
  norm       = 0.588239
  Prefactor  = 0
  Prefactor  = 2.24804e-06
  norm       = 3.72565
  Prefactor  = 31.4228
  norm       = 1.57548
  Prefactor  = 15.3445
  Prefactor  = 10.4339
  Prefactor  = 24.0215
  norm       = 5.88418e-09
  Prefactor  = 0.832811
  Prefactor  = 20.7346
  norm       = 1.85374
  Prefactor  = 4.50134e-06
  norm       = 0
  norm       = 7.91265
  Prefactor  = 3.21242
  Prefactor  = 92.9377
  Prefactor  = 0
  norm       = 0.19898
  norm       = 5.55112e-11
  Normalizat = 1.31647
  Prefactor  = 0.62714
 **********
 **   18 **HESSE 
 **********

 FCN=   6260.464     FROM HESSE     STATUS=OK           554 CALLS     2950 TOTAL
                     EDM=   .56E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1183        10.363        .11342E-02   -1.5687    
   2  norm          5.5899        3.0980        .42447E-03   -1.5661    
   3  Prefactor     .92456E-05    22.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .53408        5.3473        .73794E-03   -1.5693    
   5  norm          .58824        1.5824        .70198E-03   -1.5693    
   6  Prefactor      .0000        62.251        .13792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22480E-05    19.776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.7256        2.1369        .52308E-03   -1.5669    
   9  Prefactor     31.423        50.108        .17749E-03   -1.5596    
  10  norm          1.5755        .39165        .52117E-03   -1.5683    
  11  Prefactor     15.344        17.109        .25500E-03   -1.5630    
  12  Prefactor     10.434        16.659        .30858E-03   -1.5643    
  13  Prefactor     24.022        38.559        .21450E-03   -1.5610    
  14  norm          .58842E-08    13.963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .83281        10.910        .47663E-03   -1.5690    
  16  Prefactor     20.735        22.830        .22022E-03   -1.5617    
  17  norm          1.8537        2.5819        .76570E-03   -1.5681    
  18  Prefactor     .45013E-05    28.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .38845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.9126        8.5016        .35597E-03   -1.5652    
  21  Prefactor     3.2124        3.4035        .56490E-03   -1.5672    
  22  Prefactor     92.938        58.971        .10387E-03   -1.5515    
  23  Prefactor      .0000        7.0637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .19898        1.4189        .29769E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .55511E-10    2.9866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3165        .17325        .47566E-01   -.83076    
  27  Prefactor     .62714        .21294        .82925E-01   -1.0646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57377e-06
Minuit parameter uncertainties:
  1  6.80826
  2  3.09798
  3  0.0291645
  4  3.37986
  5  1.5824
  6  2.05153e-06
  7  0.0133352
  8  2.13694
  9  50.1088
  10  0.391647
  11  17.1088
  12  16.6589
  13  38.5592
  14  0.000572853
  15  6.02861
  16  22.8303
  17  2.58192
  18  0.0226835
  19  4.55114e-07
  20  8.50164
  21  3.40354
  22  58.9713
  23  1.53738e-05
  24  1.06271
  25  2.79002e-05
  26  0.173329
  27  0.213211
Done.

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

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  2.402e+01  3.856e+01  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:  6.271e-01  2.132e-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.316e+00  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/107751/likelihoodResults_696038401_696297601_4FGL_J1111.8+4858_daily_bin1762.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) = 6260.27852713
delta logL = 0.185488225189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6260.27410532
delta logL = 0.189910035013

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6260.274     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      310 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.514        91.180        .26378E-04    .12025E-03
   2  Index         1.3301        .73101        .11586E-01    .22705E-03
   3  Normalizat    1.3202        .19227        .20999E-03   -.14900E-03
   4  Prefactor     .62269        .24092        .36836E-03   -.51603E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.514
  Index      = 1.33007
  Normalizat = 1.32018
  Prefactor  = 0.622694
 **********
 **   18 **HESSE 
 **********

 FCN=   6260.274     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.514        89.043        .10551E-05   -1.5556    
   2  Index         1.3301        .71455        .23172E-02   -.82417    
   3  Normalizat    1.3202        .19238        .41998E-04   -.82966    
   4  Prefactor     .62269        .24107        .14734E-04   -1.0664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72733e-11
Minuit parameter uncertainties:
  1  89.0453
  2  0.719933
  3  0.192486
  4  0.241467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107751': 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) = 6260.27410502
delta logL = 0.189910338276

Extracting fit parameters...

4FGL J1111.8+4858
   Spectrum: PowerLaw
372    Prefactor:  5.751e+01  8.905e+01  0.000e+00  1.000e+06 ( 1.000e-15)
373        Index:  1.330e+00  7.199e-01  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:  6.227e-01  2.415e-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.320e+00  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.08
Ra Dec: 167.969 48.980
Photon Index (Free Index): 1.33 +/- 0.72
Photon Flux (Free Index): 3.51e-09 +/- 5.40e-09
Energy Flux (Free Index): 1.95e-05 +/- 4.27e-05

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/107751/cmap_HighResolution_696038401_696297601_4FGL_J1111.8+4858_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-03', comment='SUCCESS', energy_flux2='1.95e-05', dlogl='1.90e-01', photon_flux2='3.51e-09', job_status='DONE', time_completed='2023-01-25 01:04:03.304143', photon_index_error2='0.72', photon_index2='1.33', ts='0.70', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', photon_flux_upper_limit='3.40e-08', energy_flux_error2='4.27e-05', EG='1.32', time_epoch_completed='1674637443.3', return_code='0', job_id='107751', GAL2='0.62', EG2='1.32', return_code2='0', photon_flux_error2='5.40e-09', ts2='1.08', photon_index='1.82' WHERE bin_id='1762' AND source_name='4FGL J1111.8+4858' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:04:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 107751: <4FGL_J1111.8+4858_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1111.8+4858_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:17 2023
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:51:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:51:10 2023
Terminated at Wed Jan 25 01:04:04 2023
Results reported at Wed Jan 25 01:04:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1111.8+4858_daily_bin1762 167.969 48.9798 696038401 696297601 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 :                                   757.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             352.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            827 sec.

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

