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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1493
RA = 167.641, Dec = -18.6058
tmin = 626313601, tmax = 626572801
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='590073', job_status='RUN', time_executed='2021-09-03 12:01:34.442608', time_epoch_executed='1630695694.44' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1493'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590073

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590073/ft1_4FGL_J1110.5-1836_daily_bin1493.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590073/ft2_4FGL_J1110.5-1836_daily_bin1493.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590073/ft1_4FGL_J1110.5-1836_daily_bin1493.fits outfile=/scratch/kocevski/590073/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1493.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=626313601.0 tmax=626572801.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 4.51
user 4.26
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590073/ft1_filtered_4FGL_J1110.5-1836_daily_bin1493.fits" evtable="EVENTS" scfile=/scratch/kocevski/590073/ft2_4FGL_J1110.5-1836_daily_bin1493.fits sctable="SC_DATA" outfile=/scratch/kocevski/590073/ltcube_626313601_626572801_4FGL_J1110.5-1836_daily_bin1493.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/590073/ft2_4FGL_J1110.5-1836_daily_bin1493.fits
.....................!
real 17.60
user 17.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590073/ft1_filtered_4FGL_J1110.5-1836_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/590073/ft2_4FGL_J1110.5-1836_daily_bin1493.fits sctable="SC_DATA" expcube=/scratch/kocevski/590073/ltcube_626313601_626572801_4FGL_J1110.5-1836_daily_bin1493.fits outfile=/scratch/kocevski/590073/expmap_626313601_626572801_4FGL_J1110.5-1836_daily_bin1493.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/590073/ltcube_626313601_626572801_4FGL_J1110.5-1836_daily_bin1493.fits
.....................!
real 193.08
user 188.01
sys 4.57

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/590073/ft1_filtered_4FGL_J1110.5-1836_daily_bin1493.fits scfile=/scratch/kocevski/590073/ft2_4FGL_J1110.5-1836_daily_bin1493.fits outfile=/scratch/kocevski/590073/cmap_626313601_626572801_4FGL_J1110.5-1836_daily_bin1493.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590073/ft1_filtered_4FGL_J1110.5-1836_daily_bin1493.fits scfile=/scratch/kocevski/590073/ft2_4FGL_J1110.5-1836_daily_bin1493.fits outfile=/scratch/kocevski/590073/cmap_HighResolution_626313601_626572801_4FGL_J1110.5-1836_daily_bin1493.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590073/ft1_filtered_4FGL_J1110.5-1836_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/590073/ft2_4FGL_J1110.5-1836_daily_bin1493.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590073/Model_4FGL_J1110.5-1836_daily_bin1493.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/590073/ft1_filtered_4FGL_J1110.5-1836_daily_bin1493.fits.....................!
real 58.35
user 56.95
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99745E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8315       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.644       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.512       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11493E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .53074       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.312       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.471       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.727       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.3970       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4647       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .82385       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=   5978.573     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     2091 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    97.801        .82176E-05** at limit **
   2  Prefactor     .10000E-03    6.0865        .15932E-06** at limit **
   3  Prefactor     4.8319        13.846       -.25064E-05   -.48454E-04
   4  Prefactor     .10000E-03    2.3568        .73994E-06** at limit **
   5  norm          .10000E-03    3.2396        .62241E-06** at limit **
   6  Prefactor     20.643        29.714        .56772E-06    .57404E-05
   7  Prefactor     .10000E-03    66.392       -.26566E-05** at limit **
   8  Prefactor     16.515        16.030        .64122E-06    .14658E-04
   9  Prefactor     .10000E-03    6.4929       -.15600E-06** at limit **
  10  Prefactor     .10000E-03    328.50        .30433E-05** at limit **
  11  Prefactor     .10000E-03    13.354        .44203E-06** at limit **
  12  Prefactor     .54004        9.6594        .58658E-06    .57243E-04
  13  Prefactor     10.311        31.895       -.34319E-06   -.31265E-05
  14  norm          .10000E-03    .56594       -.12477E-07** at limit **
  15  Prefactor     21.471        11.363        .84293E-06    .62775E-04
  16  Prefactor     12.725        28.974       -.38520E-06   -.80916E-05
  17  Prefactor     .10000E-03    3.5134       -.14910E-06** at limit **
  18  norm          7.3968        8.6700        .94381E-06    .14503E-04
  19  Normalizat    1.4648        .24644        .15919E-05   -.27085E-03
  20  Prefactor     .82387        .15006       -.26004E-05   -.69466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.83186
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.6425
  Prefactor  = 0.0001
  Prefactor  = 16.5152
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.540037
  Prefactor  = 10.311
  norm       = 0.0001
  Prefactor  = 21.4712
  Prefactor  = 12.7251
  Prefactor  = 0.0001
  norm       = 7.39685
  Normalizat = 1.46477
  Prefactor  = 0.823866
 **********
 **   18 **HESSE 
 **********

 FCN=   5978.573     FROM HESSE     STATUS=OK           297 CALLS     2388 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    93.706        .40669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.0964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8319        13.781        .18302E-03   -1.5268    
   4  Prefactor     .10000E-03    2.3910        .11624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.2601        .13602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.643        29.738        .88155E-04   -1.4799    
   7  Prefactor     .10000E-03    66.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.515        16.121        .98564E-04   -1.4895    
   9  Prefactor     .10000E-03    6.5041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    337.82        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .54004        59.251        .45233E-02   -1.5561    
  13  Prefactor     10.311        31.822        .12477E-03   -1.5066    
  14  norm          .10000E-03    1.0015        .11245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.471        11.526        .86441E-04   -1.4781    
  16  Prefactor     12.725        28.962        .11228E-03   -1.4994    
  17  Prefactor     .10000E-03    3.5299        .14150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.3968        8.6173        .14747E-03   -1.5164    
  19  Normalizat    1.4648        .28406        .28053E-03   -.78773    
  20  Prefactor     .82387        .16832        .21806E-03   -.98855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08284e-10
Minuit parameter uncertainties:
  1  0.000377502
  2  1.87621e-05
  3  13.7899
  4  1.04314e-05
  5  7.67082e-06
  6  29.7596
  7  8.13672e-05
  8  16.1252
  9  5.87082e-06
  10  0.000494098
  11  1.40483e-05
  12  11.3238
  13  31.8741
  14  9.87255e-06
  15  11.5275
  16  28.9936
  17  1.83619e-06
  18  8.61874
  19  0.284364
  20  0.168422
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  2.064e+01  2.976e+01  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:  8.239e-01  1.684e-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.465e+00  2.844e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/590073/likelihoodResults_626313601_626572801_4FGL_J1110.5-1836_daily_bin1493.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) = 5978.10414742
delta logL = 0.469190988979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5978.10225223
delta logL = 0.47108618324

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4374       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1292       1.0000          .0000       10.000    
     3 'Normalizat'    1.4054       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84722       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=   5978.102     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      329 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4062        55.168        .65519E-02   -.43675E-03
   2  Index         3.1346        2.6242        .82907E-01    .76103E-04
   3  Normalizat    1.4052        .75611E-01    .64497E-01   -.20867E-03
   4  Prefactor     .84740        .43366E-01    .44329E-01   -.28686E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.40622
  Index      = 3.1346
  Normalizat = 1.40515
  Prefactor  = 0.847402
 **********
 **   18 **HESSE 
 **********

 FCN=   5978.102     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      358 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4062        105.50        .10818E-03   -1.5398    
   2  Index         3.1346        6.5344        .43666E-02   -.38233    
   3  Normalizat    1.4052        .26493        .28529E-03   -.80480    
   4  Prefactor     .84740        .15433        .21528E-03   -.98004    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.30419e-09
Minuit parameter uncertainties:
  1  31.9248
  2  4.75979
  3  0.265189
  4  0.154414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590073': 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) = 5978.10224365
delta logL = 0.471094764059

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  2.406e+00  3.192e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  3.135e+00  4.760e+00  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:  8.474e-01  1.544e-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.405e+00  2.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 167.641 -18.606
Photon Index (Free Index): 3.13 +/- 4.76
Photon Flux (Free Index): 6.28e-08 +/- 9.12e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.46e-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/590073/cmap_HighResolution_626313601_626572801_4FGL_J1110.5-1836_daily_bin1493.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.94e-03', comment='SUCCESS', energy_flux2='1.18e-05', dlogl='4.71e-01', photon_flux2='6.28e-08', job_status='DONE', time_completed='2021-09-03 12:12:31.756872', photon_index_error2='4.76', photon_index2='3.13', ts='0.70', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='9.29e-08', energy_flux_error2='1.46e-05', EG='1.46', time_epoch_completed='1630696351.76', return_code='0', job_id='590073', GAL2='0.85', EG2='1.41', return_code2='102', photon_flux_error2='9.12e-08', ts2='1.67', photon_index='1.95' WHERE bin_id='1493' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:12:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 590073: <4FGL_J1110.5-1836_daily_bin1493> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1493 167.641 -18.6058 626313601 626572801 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 :                                   642.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            955 sec.

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

