/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 219 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 = 7349
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1477
RA = 167.641, Dec = -18.6058
tmin = 622166401, tmax = 622425601
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='590047', job_status='RUN', time_executed='2021-09-03 12:01:22.223663', time_epoch_executed='1630695682.22' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1477'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590047

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590047/ft1_4FGL_J1110.5-1836_daily_bin1477.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590047/ft1_4FGL_J1110.5-1836_daily_bin1477.fits outfile=/scratch/kocevski/590047/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1477.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=622166401.0 tmax=622425601.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.69
user 3.45
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.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/590047/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1477.fits evtable="EVENTS" outfile="/scratch/kocevski/590047/ft1_filtered_4FGL_J1110.5-1836_daily_bin1477.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590047/ft1_filtered_4FGL_J1110.5-1836_daily_bin1477.fits" evtable="EVENTS" scfile=/scratch/kocevski/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.fits sctable="SC_DATA" outfile=/scratch/kocevski/590047/ltcube_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.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/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.fits
.....................!
real 16.53
user 16.11
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590047/ft1_filtered_4FGL_J1110.5-1836_daily_bin1477.fits evtable="EVENTS" scfile=/scratch/kocevski/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.fits sctable="SC_DATA" expcube=/scratch/kocevski/590047/ltcube_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.fits outfile=/scratch/kocevski/590047/expmap_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.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/590047/ltcube_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.fits
.....................!
real 191.44
user 186.63
sys 4.28

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/590047/ft1_filtered_4FGL_J1110.5-1836_daily_bin1477.fits scfile=/scratch/kocevski/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.fits outfile=/scratch/kocevski/590047/cmap_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590047/ft1_filtered_4FGL_J1110.5-1836_daily_bin1477.fits scfile=/scratch/kocevski/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.fits outfile=/scratch/kocevski/590047/cmap_HighResolution_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590047/ft1_filtered_4FGL_J1110.5-1836_daily_bin1477.fits evtable="EVENTS" scfile=/scratch/kocevski/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590047/Model_4FGL_J1110.5-1836_daily_bin1477.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/590047/ft1_filtered_4FGL_J1110.5-1836_daily_bin1477.fits.....................!
real 64.91
user 63.46
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/590047/ft1_filtered_4FGL_J1110.5-1836_daily_bin1477.fits', '/scratch/kocevski/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.fits', expMap='/scratch/kocevski/590047/expmap_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.fits', expCube='/scratch/kocevski/590047/ltcube_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/590047/Model_4FGL_J1110.5-1836_daily_bin1477.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/590047/ft1_filtered_4FGL_J1110.5-1836_daily_bin1477.fits
Spacecraft file(s): /scratch/kocevski/590047/ft2_4FGL_J1110.5-1836_daily_bin1477.fits
Exposure map: /scratch/kocevski/590047/expmap_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.fits
Exposure cube: /scratch/kocevski/590047/ltcube_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/590047/Model_4FGL_J1110.5-1836_daily_bin1477.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) = 6790.38555405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6684       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .29918       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10111       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.353       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.954       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.419       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7809       1.0000         .10000E-03   10000.    
    13 'Prefactor '    76.223       1.0000         .10000E-03   10000.    
    14 'norm      '    .11087E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    42.740       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15677E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    20.537       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .97082       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1118       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=   6790.334     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2145 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6685        6.7681       -.35427E-06   -.26696E-03
   2  Prefactor     .10000E-03    9.6360        .65282E-06** at limit **
   3  Prefactor     .34987        61.393        .11759E-04   -.61682E-04
   4  Prefactor     .10000E-03    5.6586        .17396E-06** at limit **
   5  norm          .95201E-01    11.119        .43097E-05    .29048E-04
   6  Prefactor     .10000E-03    10.619       -.99771E-07** at limit **
   7  Prefactor     15.260        58.532       -.11906E-04   -.12543E-03
   8  Prefactor     20.955        14.739       -.25130E-07   -.19657E-05
   9  Prefactor     .10000E-03    3.3467        .14008E-07** at limit **
  10  Prefactor     .10000E-03    52.748        .11415E-05** at limit **
  11  Prefactor     12.417        35.318       -.20587E-06   -.71746E-05
  12  Prefactor     5.7830        13.479        .26305E-06   -.17056E-04
  13  Prefactor     76.186        52.921       -.16962E-05   -.26193E-03
  14  norm          .10000E-03    .64995        .83975E-06** at limit **
  15  Prefactor     42.738        14.301        .18418E-06   -.25370E-03
  16  Prefactor     .10000E-03    20.253       -.15688E-06** at limit **
  17  Prefactor     .10000E-03    8.5952       -.19941E-06** at limit **
  18  norm          20.538        7.9640        .89089E-08   -.46852E-04
  19  Normalizat    .97083        .23608        .43215E-06   -.20449E-03
  20  Prefactor     1.1118        .14191       -.10667E-06   -.32100E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66851
  Prefactor  = 0.0001
  Prefactor  = 0.349868
  Prefactor  = 0.0001
  norm       = 0.0952011
  Prefactor  = 0.0001
  Prefactor  = 15.2601
  Prefactor  = 20.955
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.417
  Prefactor  = 5.78296
  Prefactor  = 76.186
  norm       = 0.000100001
  Prefactor  = 42.7379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.5384
  Normalizat = 0.970828
  Prefactor  = 1.11179
 **********
 **   18 **HESSE 
 **********

 FCN=   6790.334     FROM HESSE     STATUS=OK           293 CALLS     2438 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6685        6.8191        .93129E-03   -1.5276    
   2  Prefactor     .10000E-03    9.6888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .34987        76.935        .43758E-02   -1.5590    
   4  Prefactor     .10000E-03    5.7928        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .95201E-01    32.797        .30447E-02   -1.5646    
   6  Prefactor     .10000E-03    10.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.260        60.644        .10222E-03   -1.4926    
   8  Prefactor     20.955        14.745        .87500E-04   -1.4792    
   9  Prefactor     .10000E-03    3.3471        .14722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    52.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.417        35.217        .11367E-03   -1.5003    
  12  Prefactor     5.7830        13.425        .16705E-03   -1.5227    
  13  Prefactor     76.186        53.548        .22996E-03   -1.3960    
  14  norm          .10000E-03    .77675        .11049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     42.738        14.327        .61320E-04   -1.4400    
  16  Prefactor     .10000E-03    20.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.9586        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          20.538        7.9644        .88382E-04   -1.4801    
  19  Normalizat    .97083        .27616        .34273E-03   -.94014    
  20  Prefactor     1.1118        .16727        .19979E-03   -.89091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05333e-08
Minuit parameter uncertainties:
  1  6.82021
  2  3.03916e-05
  3  10.3884
  4  1.44558e-06
  5  3.53411
  6  2.05059e-05
  7  60.8905
  8  14.748
  9  1.81049e-07
  10  0.000146565
  11  35.2756
  12  13.4324
  13  53.5823
  14  4.42361e-05
  15  14.3284
  16  3.22215e-05
  17  2.50823e-05
  18  7.96482
  19  0.276567
  20  0.167352
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.051e-05  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.112e+00  1.674e-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:  9.708e-01  2.766e-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: 4.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590047/likelihoodResults_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.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) = 6790.33448036
delta logL = -0.000446953226856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6790.33403506
delta logL = -1.64890388987e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11250E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9197       1.0000          .0000       10.000    
     3 'Normalizat'    .97124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1115       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6790.334     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10158E-03    84.974        .18142E-02** at limit **
   2  Index         1.8609        7.5986        .50000        .16345E-04
   3  Normalizat    .97083        .15275E-01    .34273E-03    .13733E-04
   4  Prefactor     1.1118        .95209E-02    .19979E-03    .17868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101578
  Index      = 1.86095
  Normalizat = 0.970829
  Prefactor  = 1.11179
 **********
 **   18 **HESSE 
 **********

 FCN=   6790.334     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10158E-03    379.73        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8609        5.6260        .50000       -.67874    
   3  Normalizat    .97083        .33402E-01    .13709E-04   -.94014    
   4  Prefactor     1.1118        .20818E-01    .79916E-05   -.89091    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.53782e-08
Minuit parameter uncertainties:
  1  0.0492697
  2  543.381
  3  0.0334025
  4  0.0208178
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590047': 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) = 6790.33403308
delta logL = 3.27554516844e-07

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.016e-04  4.927e-02  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.861e+00  5.434e+02  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.112e+00  2.082e-02  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:  9.708e-01  3.340e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/590047/cmap_HighResolution_622166401_622425601_4FGL_J1110.5-1836_daily_bin1477.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-03', job_status='DONE', photon_flux_upper_limit='4.92e-08', time_completed='2021-09-03 12:12:48.349255', job_id='590047', GAL2='1.11', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1630696368.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.28e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1477' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:12:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 590047: <4FGL_J1110.5-1836_daily_bin1477> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin1477> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 11:56:36 2021
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:57:34 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:57:34 2021
Terminated at Fri Sep  3 12:12:49 2021
Results reported at Fri Sep  3 12:12:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1477 167.641 -18.6058 622166401 622425601 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 :                                   679.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            973 sec.

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

