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

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

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

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

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

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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1382
RA = 167.641, Dec = -18.6058
tmin = 597542401, tmax = 597801601
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='588621', job_status='RUN', time_executed='2021-09-03 11:55:38.053089', time_epoch_executed='1630695338.05' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1382'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588621

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588621/ft1_4FGL_J1110.5-1836_daily_bin1382.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588621/ft1_4FGL_J1110.5-1836_daily_bin1382.fits outfile=/scratch/kocevski/588621/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1382.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=597542401.0 tmax=597801601.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.59
user 3.34
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.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/588621/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1382.fits evtable="EVENTS" outfile="/scratch/kocevski/588621/ft1_filtered_4FGL_J1110.5-1836_daily_bin1382.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588621/ft1_filtered_4FGL_J1110.5-1836_daily_bin1382.fits" evtable="EVENTS" scfile=/scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits sctable="SC_DATA" outfile=/scratch/kocevski/588621/ltcube_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.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/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits
.....................!
real 16.91
user 16.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588621/ft1_filtered_4FGL_J1110.5-1836_daily_bin1382.fits evtable="EVENTS" scfile=/scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits sctable="SC_DATA" expcube=/scratch/kocevski/588621/ltcube_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.fits outfile=/scratch/kocevski/588621/expmap_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.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/588621/ltcube_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.fits
.....................!
real 192.02
user 186.64
sys 4.94

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1110.5-1836 @ 167.641 -18.6058

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/588621/ft1_filtered_4FGL_J1110.5-1836_daily_bin1382.fits scfile=/scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits outfile=/scratch/kocevski/588621/cmap_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.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.641 yref=-18.6058 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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588621/ft1_filtered_4FGL_J1110.5-1836_daily_bin1382.fits scfile=/scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits outfile=/scratch/kocevski/588621/cmap_HighResolution_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.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.641 yref=-18.6058 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588621/ft1_filtered_4FGL_J1110.5-1836_daily_bin1382.fits evtable="EVENTS" scfile=/scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588621/Model_4FGL_J1110.5-1836_daily_bin1382.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/588621/ft1_filtered_4FGL_J1110.5-1836_daily_bin1382.fits.....................!
real 69.73
user 68.10
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/588621/ft1_filtered_4FGL_J1110.5-1836_daily_bin1382.fits', '/scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits', expMap='/scratch/kocevski/588621/expmap_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.fits', expCube='/scratch/kocevski/588621/ltcube_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/588621/Model_4FGL_J1110.5-1836_daily_bin1382.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1110.5-1836'

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  4.578e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/588621/ft1_filtered_4FGL_J1110.5-1836_daily_bin1382.fits
Spacecraft file(s): /scratch/kocevski/588621/ft2_4FGL_J1110.5-1836_daily_bin1382.fits
Exposure map: /scratch/kocevski/588621/expmap_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.fits
Exposure cube: /scratch/kocevski/588621/ltcube_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/588621/Model_4FGL_J1110.5-1836_daily_bin1382.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) = 7445.59643177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4297       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.1605       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10702E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.901       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.6381       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .49281E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    36.219       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.9277       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3640       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1219       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7445.594     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     2023 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4303        7.3464        .33363E-06   -.59858E-04
   2  Prefactor     .10000E-03    10.792       -.49714E-07** at limit **
   3  Prefactor     .10000E-03    17.710       -.10798E-05** at limit **
   4  Prefactor     .10000E-03    2.5294        .16385E-07** at limit **
   5  norm          2.1605        4.7009        .13631E-05    .21471E-03
   6  Prefactor     .10000E-03    15.793        .11171E-05** at limit **
   7  Prefactor     42.890        82.715       -.28130E-05   -.98874E-04
   8  Prefactor     .10001E-03    32.173        .45755E-05** at limit **
   9  Prefactor     .10000E-03    5.7860        .26802E-07** at limit **
  10  Prefactor     .10001E-03    40.343       -.51458E-05** at limit **
  11  Prefactor     .10000E-03    16.993       -.13912E-06** at limit **
  12  Prefactor     5.6387        13.587        .21688E-06   -.25807E-04
  13  Prefactor     .10000E-03    21.184       -.11391E-05** at limit **
  14  norm          .48902E-01    .50658        .32470E-07   -.20624E-03
  15  Prefactor     36.218        13.456        .42578E-07   -.51026E-04
  16  Prefactor     .10000E-03    37.316        .15986E-05** at limit **
  17  Prefactor     .10000E-03    4.5582       -.19445E-07** at limit **
  18  norm          5.9276        6.3232        .22903E-05   -.96330E-03
  19  Normalizat    1.3640        .23212       -.18164E-06   -.68917E-04
  20  Prefactor     1.1219        .14089       -.27762E-06   -.57897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.43027
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.16046
  Prefactor  = 0.000100001
  Prefactor  = 42.8898
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 5.63869
  Prefactor  = 0.000100001
  norm       = 0.0489016
  Prefactor  = 36.2184
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.92762
  Normalizat = 1.36404
  Prefactor  = 1.12186
 **********
 **   18 **HESSE 
 **********

 FCN=   7445.594     FROM HESSE     STATUS=OK           289 CALLS     2312 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4303        7.3388        .21841E-03   -1.5338    
   2  Prefactor     .10000E-03    10.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5516        .13398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.1605        4.6984        .26829E-03   -1.5414    
   6  Prefactor     .10000E-03    16.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.890        83.860        .61205E-04   -1.4397    
   8  Prefactor     .10001E-03    34.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.7964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    42.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.6387        13.584        .16918E-03   -1.5233    
  13  Prefactor     .10000E-03    21.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .48902E-01    2.8791        .11762E-02   -1.5664    
  15  Prefactor     36.218        13.498        .66592E-04   -1.4504    
  16  Prefactor     .10000E-03    37.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.6047        .17989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.9276        6.7682        .82467E-03   -1.5221    
  19  Normalizat    1.3640        .27291        .31868E-03   -.81674    
  20  Prefactor     1.1219        .16606        .21394E-03   -.88771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02339e-08
Minuit parameter uncertainties:
  1  7.34072
  2  5.31538e-06
  3  0.000200528
  4  2.35884e-06
  5  4.69923
  6  0.000287454
  7  84.0921
  8  0.00106508
  9  4.33199e-06
  10  0.00156139
  11  2.48944e-05
  12  13.5912
  13  0.000229955
  14  0.749718
  15  13.4992
  16  0.000434175
  17  1.17426e-06
  18  6.76909
  19  0.273196
  20  0.166141
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.875e-04  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
609    Prefactor:  1.122e+00  1.661e-01  0.000e+00  1.000e+01 ( 1.000e+00)
610        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
611        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
608   Normalization:  1.364e+00  2.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 167.641 -18.606
Photon Flux Upper Limit: 5.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588621/likelihoodResults_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.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) = 7445.59457189
delta logL = -0.000296602848721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7445.5942757
delta logL = -4.18582203565e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1096       1.0000          .0000       10.000    
     3 'Normalizat'    1.3640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1219       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7445.594     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      233 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1910        .90712E-02** at limit **
   2  Index         2.0865        5.9813        .50000        .12574E-04
   3  Normalizat    1.3640        .34691E-02    .72021E-01    .47507E-04
   4  Prefactor     1.1219        .21494E-02    .36810E-01    .21989E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.08654
  Normalizat = 1.36404
  Prefactor  = 1.12186
 **********
 **   18 **HESSE 
 **********

 FCN=   7445.594     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0865        8.9500        .50000       -.62204    
   3  Normalizat    1.3640        .10657E-01    .31868E-03   -.81674    
   4  Prefactor     1.1219        .66104E-02    .21394E-03   -.88771    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.52528e-08
Minuit parameter uncertainties:
  1  0.000382523
  2  92.9173
  3  0.0106568
  4  0.00661045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588621': 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) = 7445.59427563
delta logL = -3.42954990629e-07

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  3.825e-04  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  2.087e+00  9.292e+01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
609    Prefactor:  1.122e+00  6.610e-03  0.000e+00  1.000e+01 ( 1.000e+00)
610        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
611        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
608   Normalization:  1.364e+00  1.066e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 167.641 -18.606

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/588621/cmap_HighResolution_597542401_597801601_4FGL_J1110.5-1836_daily_bin1382.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-03', job_status='DONE', photon_flux_upper_limit='5.61e-08', time_completed='2021-09-03 12:07:34.033081', job_id='588621', GAL2='1.12', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1630696054.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='-3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1382' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:07:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 588621: <4FGL_J1110.5-1836_daily_bin1382> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin1382> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 11:51:20 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:54:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 11:54:52 2021
Terminated at Fri Sep  3 12:07:34 2021
Results reported at Fri Sep  3 12:07:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1382 167.641 -18.6058 597542401 597801601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1110.5-1836 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   701.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            974 sec.

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

