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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1307
RA = 167.641, Dec = -18.6058
tmin = 578102401, tmax = 578361601
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='588513', job_status='RUN', time_executed='2021-09-03 11:54:52.266007', time_epoch_executed='1630695292.27' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588513

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588513/ft1_4FGL_J1110.5-1836_daily_bin1307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588513/ft2_4FGL_J1110.5-1836_daily_bin1307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588513/ft1_4FGL_J1110.5-1836_daily_bin1307.fits outfile=/scratch/kocevski/588513/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1307.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=578102401.0 tmax=578361601.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 5.10
user 4.82
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588513/ft1_filtered_4FGL_J1110.5-1836_daily_bin1307.fits" evtable="EVENTS" scfile=/scratch/kocevski/588513/ft2_4FGL_J1110.5-1836_daily_bin1307.fits sctable="SC_DATA" outfile=/scratch/kocevski/588513/ltcube_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.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/588513/ft2_4FGL_J1110.5-1836_daily_bin1307.fits
.....................!
real 17.20
user 16.70
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588513/ft1_filtered_4FGL_J1110.5-1836_daily_bin1307.fits evtable="EVENTS" scfile=/scratch/kocevski/588513/ft2_4FGL_J1110.5-1836_daily_bin1307.fits sctable="SC_DATA" expcube=/scratch/kocevski/588513/ltcube_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.fits outfile=/scratch/kocevski/588513/expmap_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.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/588513/ltcube_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.fits
.....................!
real 193.27
user 188.05
sys 4.50

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/588513/ft1_filtered_4FGL_J1110.5-1836_daily_bin1307.fits scfile=/scratch/kocevski/588513/ft2_4FGL_J1110.5-1836_daily_bin1307.fits outfile=/scratch/kocevski/588513/cmap_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588513/ft1_filtered_4FGL_J1110.5-1836_daily_bin1307.fits scfile=/scratch/kocevski/588513/ft2_4FGL_J1110.5-1836_daily_bin1307.fits outfile=/scratch/kocevski/588513/cmap_HighResolution_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.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.41
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/588513/ft1_filtered_4FGL_J1110.5-1836_daily_bin1307.fits', '/scratch/kocevski/588513/ft2_4FGL_J1110.5-1836_daily_bin1307.fits', expMap='/scratch/kocevski/588513/expmap_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.fits', expCube='/scratch/kocevski/588513/ltcube_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/588513/Model_4FGL_J1110.5-1836_daily_bin1307.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/588513/ft1_filtered_4FGL_J1110.5-1836_daily_bin1307.fits
Spacecraft file(s): /scratch/kocevski/588513/ft2_4FGL_J1110.5-1836_daily_bin1307.fits
Exposure map: /scratch/kocevski/588513/expmap_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.fits
Exposure cube: /scratch/kocevski/588513/ltcube_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/588513/Model_4FGL_J1110.5-1836_daily_bin1307.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8954.90072829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8563       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.115       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .58168       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.5224       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.344       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .23543E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .27147       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.983       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.2395       1.0000         .10000E-03   10000.    
    18 'norm      '    3.9904       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0106       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=   8954.785     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     1793 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8558        5.0121        .86041E-07    .30985E-05
   2  Prefactor     19.126        14.807        .79423E-07    .97283E-05
   3  Prefactor     .56032        6.8913       -.44540E-06   -.73226E-05
   4  Prefactor     .10000E-03    1.0842       -.95812E-08** at limit **
   5  norm          6.5222        5.1266        .95012E-07    .17199E-04
   6  Prefactor     26.344        17.012        .11911E-08   -.42289E-05
   7  Prefactor     .10000E-03    15.319        .15205E-05** at limit **
   8  Prefactor     .10000E-03    7.6300        .14847E-06** at limit **
   9  Prefactor     .10011E-03    8.3637       -.26869E-05** at limit **
  10  Prefactor     .10000E-03    15.471        .17078E-05** at limit **
  11  Prefactor     .10000E-03    23.719       -.20177E-05** at limit **
  12  Prefactor     .10000E-03    2.2100        .11775E-07** at limit **
  13  Prefactor     .10000E-03    13.496       -.20838E-05** at limit **
  14  norm          .27134        .68683        .24002E-06    .24872E-03
  15  Prefactor     .10000E-03    6.8929       -.10915E-06** at limit **
  16  Prefactor     17.982        19.527        .14190E-06    .52147E-05
  17  Prefactor     4.2392        4.4870        .22007E-05    .51935E-03
  18  norm          3.9904        4.3186       -.94655E-07    .37776E-04
  19  Normalizat    1.0434        .16809       -.33233E-06    .14608E-03
  20  Prefactor     1.0107        .10721       -.11247E-06    .18824E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.85582
  Prefactor  = 19.126
  Prefactor  = 0.560318
  Prefactor  = 0.0001
  norm       = 6.52223
  Prefactor  = 26.3436
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.271339
  Prefactor  = 0.0001
  Prefactor  = 17.9817
  Prefactor  = 4.23917
  norm       = 3.99037
  Normalizat = 1.04341
  Prefactor  = 1.01071
 **********
 **   18 **HESSE 
 **********

 FCN=   8954.785     FROM HESSE     STATUS=OK           297 CALLS     2090 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8558        5.0110        .16595E-03   -1.5224    
   2  Prefactor     19.126        14.501        .91610E-04   -1.4833    
   3  Prefactor     .56032        30.417        .44267E-02   -1.5558    
   4  Prefactor     .10000E-03    1.0942        .96202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.5222        5.1289        .15714E-03   -1.5197    
   6  Prefactor     26.344        17.011        .78050E-04   -1.4681    
   7  Prefactor     .10000E-03    15.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.6610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10011E-03    44.037        .46564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.2141        .13738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27134        .67985        .11909E-03   -1.5604    
  15  Prefactor     .10000E-03    7.1381        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.982        19.526        .94447E-04   -1.4860    
  17  Prefactor     4.2392        4.5533        .97849E-03   -1.5296    
  18  norm          3.9904        4.3126        .19825E-03   -1.5308    
  19  Normalizat    1.0434        .19669        .29099E-03   -.91590    
  20  Prefactor     1.0107        .12677        .19030E-03   -.92373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.4994e-08
Minuit parameter uncertainties:
  1  5.01134
  2  14.504
  3  8.26035
  4  1.75138e-07
  5  5.12925
  6  17.0145
  7  3.83982e-05
  8  3.07372e-06
  9  0.00439943
  10  4.28761e-05
  11  9.59109e-05
  12  4.44248e-07
  13  5.56279e-05
  14  0.679874
  15  6.39419e-06
  16  19.5333
  17  4.55363
  18  4.31296
  19  0.196824
  20  0.126803
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  2.634e+01  1.701e+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:  1.011e+00  1.268e-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.043e+00  1.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.43
Ra Dec: 167.641 -18.606
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.46e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.26e-05

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) = 8953.77924117
delta logL = 1.00562699398

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8953.7792344
delta logL = 1.00563376049

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.669       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3856       1.0000          .0000       10.000    
     3 'Normalizat'    1.0520       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0094       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=   8953.779     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      308 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.674        29.898        .60667E-04   -.23987E-05
   2  Index         1.3857        .39646        .90529E-02    .94813E-05
   3  Normalizat    1.0521        .19426        .28991E-03   -.90977E-05
   4  Prefactor     1.0094        .12608        .19043E-03    .47761E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.6736
  Index      = 1.38571
  Normalizat = 1.05206
  Prefactor  = 1.00942
 **********
 **   18 **HESSE 
 **********

 FCN=   8953.779     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .40E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.674        29.881        .12133E-04   -1.4385    
   2  Index         1.3857        .39635        .36212E-03   -.80793    
   3  Normalizat    1.0521        .19445        .11596E-04   -.91306    
   4  Prefactor     1.0094        .12620        .76171E-05   -.92416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02334e-13
Minuit parameter uncertainties:
  1  29.8912
  2  0.397229
  3  0.194585
  4  0.126242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588513': 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) = 8953.7792342
delta logL = 1.00563396046

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  4.367e+01  2.989e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.386e+00  3.972e-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.009e+00  1.262e-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.052e+00  1.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.44
Ra Dec: 167.641 -18.606
Photon Index (Free Index): 1.39 +/- 0.40
Photon Flux (Free Index): 1.32e-08 +/- 1.17e-08
Energy Flux (Free Index): 6.11e-05 +/- 6.22e-05

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/588513/cmap_HighResolution_578102401_578361601_4FGL_J1110.5-1836_daily_bin1307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.46e-08', energy_flux2='6.11e-05', photon_flux_error='1.59e-08', dlogl='1.01e+00', energy_flux='1.95e-05', photon_flux2='1.32e-08', job_status='DONE', time_completed='2021-09-03 12:06:37.369660', photon_index_error2='0.40', photon_index2='1.39', ts='11.43', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='6.22e-05', EG='1.04', time_epoch_completed='1630695997.37', return_code='0', job_id='588513', GAL2='1.01', EG2='1.05', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='1.17e-08', ts2='13.44', photon_index='1.95' WHERE bin_id='1307' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:06:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 588513: <4FGL_J1110.5-1836_daily_bin1307> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin1307> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 11:51:12 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:53:25 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:53:25 2021
Terminated at Fri Sep  3 12:06:38 2021
Results reported at Fri Sep  3 12:06:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1307 167.641 -18.6058 578102401 578361601 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 :                                   697.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            926 sec.

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

