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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1432
RA = 167.641, Dec = -18.6058
tmin = 610502401, tmax = 610761601
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='589975', job_status='RUN', time_executed='2021-09-03 11:57:38.754423', time_epoch_executed='1630695458.75' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589975

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589975/ft1_4FGL_J1110.5-1836_daily_bin1432.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589975/ft2_4FGL_J1110.5-1836_daily_bin1432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589975/ft1_4FGL_J1110.5-1836_daily_bin1432.fits outfile=/scratch/kocevski/589975/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1432.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=610502401.0 tmax=610761601.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.65
user 3.43
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/589975/ft1_filtered_4FGL_J1110.5-1836_daily_bin1432.fits" evtable="EVENTS" scfile=/scratch/kocevski/589975/ft2_4FGL_J1110.5-1836_daily_bin1432.fits sctable="SC_DATA" outfile=/scratch/kocevski/589975/ltcube_610502401_610761601_4FGL_J1110.5-1836_daily_bin1432.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/589975/ft2_4FGL_J1110.5-1836_daily_bin1432.fits
.....................!
real 16.79
user 16.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589975/ft1_filtered_4FGL_J1110.5-1836_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/589975/ft2_4FGL_J1110.5-1836_daily_bin1432.fits sctable="SC_DATA" expcube=/scratch/kocevski/589975/ltcube_610502401_610761601_4FGL_J1110.5-1836_daily_bin1432.fits outfile=/scratch/kocevski/589975/expmap_610502401_610761601_4FGL_J1110.5-1836_daily_bin1432.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/589975/ltcube_610502401_610761601_4FGL_J1110.5-1836_daily_bin1432.fits
.....................!
real 191.65
user 186.95
sys 4.20

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/589975/ft1_filtered_4FGL_J1110.5-1836_daily_bin1432.fits scfile=/scratch/kocevski/589975/ft2_4FGL_J1110.5-1836_daily_bin1432.fits outfile=/scratch/kocevski/589975/cmap_610502401_610761601_4FGL_J1110.5-1836_daily_bin1432.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589975/ft1_filtered_4FGL_J1110.5-1836_daily_bin1432.fits scfile=/scratch/kocevski/589975/ft2_4FGL_J1110.5-1836_daily_bin1432.fits outfile=/scratch/kocevski/589975/cmap_HighResolution_610502401_610761601_4FGL_J1110.5-1836_daily_bin1432.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/589975/ft1_filtered_4FGL_J1110.5-1836_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/589975/ft2_4FGL_J1110.5-1836_daily_bin1432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/589975/Model_4FGL_J1110.5-1836_daily_bin1432.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/589975/ft1_filtered_4FGL_J1110.5-1836_daily_bin1432.fits.....................!
real 67.62
user 66.28
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8420       1.0000         .10000E-03   10000.    
     5 'norm      '    8.7322       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.241       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4515       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .94354E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.0263       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19425E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.0616       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.325       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .45557E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.9497       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1698       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91227       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=   7452.500     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     1767 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2202        .19681E-06** at limit **
   2  Prefactor     .10000E-03    9.2496        .12037E-05** at limit **
   3  Prefactor     .10000E-03    6.8120        .53743E-06** at limit **
   4  Prefactor     2.8426        4.3034        .18634E-07    .43136E-03
   5  norm          8.7329        5.6265       -.66597E-07   -.39080E-04
   6  Prefactor     .10000E-03    13.775       -.18709E-05** at limit **
   7  Prefactor     11.212        53.728       -.23157E-06   -.49001E-05
   8  Prefactor     2.4559        8.7517       -.21436E-05   -.56222E-04
   9  Prefactor     .10000E-03    69.143        .11581E-04** at limit **
  10  Prefactor     .10000E-03    10.614       -.31369E-06** at limit **
  11  Prefactor     .10000E-03    15.775        .47396E-06** at limit **
  12  Prefactor     9.0249        8.3774        .11658E-06    .10279E-04
  13  Prefactor     .10000E-03    101.16       -.29023E-05** at limit **
  14  norm          1.0606        .86752       -.37566E-06   -.36999E-03
  15  Prefactor     14.326        10.271       -.27738E-06    .99046E-04
  16  Prefactor     .10000E-03    17.578       -.11930E-06** at limit **
  17  Prefactor     .10000E-03    5.6493        .16749E-05** at limit **
  18  norm          8.9485        6.4586       -.78668E-07    .27574E-04
  19  Normalizat    1.1700        .19914        .56593E-06   -.21263E-03
  20  Prefactor     .91203        .12138       -.57030E-06    .90077E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.84265
  norm       = 8.73289
  Prefactor  = 0.0001
  Prefactor  = 11.2119
  Prefactor  = 2.45593
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.0249
  Prefactor  = 0.0001
  norm       = 1.06065
  Prefactor  = 14.3256
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 8.94846
  Normalizat = 1.16996
  Prefactor  = 0.912027
 **********
 **   18 **HESSE 
 **********

 FCN=   7452.500     FROM HESSE     STATUS=OK           297 CALLS     2064 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.2280        .12563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.3345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.8396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.8426        4.5131        .10916E-02   -1.5371    
   5  norm          8.7329        5.6247        .13565E-03   -1.5117    
   6  Prefactor     .10000E-03    13.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.212        53.868        .11949E-03   -1.5038    
   8  Prefactor     2.4559        8.8139        .13063E-02   -1.5395    
   9  Prefactor     .10000E-03    69.843        .44345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.0249        8.3793        .13340E-03   -1.5107    
  13  Prefactor     .10000E-03    101.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0606        .84929        .70001E-04   -1.5502    
  15  Prefactor     14.326        10.253        .52912E-03   -1.4951    
  16  Prefactor     .10000E-03    17.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.9581        .32584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.9485        6.4538        .13398E-03   -1.5110    
  19  Normalizat    1.1700        .23391        .28358E-03   -.87536    
  20  Prefactor     .91203        .14150        .19784E-03   -.95722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90955e-10
Minuit parameter uncertainties:
  1  1.34832e-06
  2  1.34893e-05
  3  1.26513e-07
  4  4.51361
  5  5.62505
  6  3.52789e-05
  7  49.223
  8  8.81859
  9  0.000734098
  10  2.19123e-05
  11  1.94439e-05
  12  8.38037
  13  0.0003977
  14  0.849303
  15  10.2542
  16  1.25913e-05
  17  0.000239805
  18  6.4543
  19  0.234115
  20  0.141557
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  3.528e-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:  9.120e-01  1.416e-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.170e+00  2.341e-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.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/589975/likelihoodResults_610502401_610761601_4FGL_J1110.5-1836_daily_bin1432.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) = 7452.50069386
delta logL = -0.000346936604728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7452.50034996
delta logL = -3.0373903428e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9329       1.0000          .0000       10.000    
     3 'Normalizat'    1.1699       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91191       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=   7452.500     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8612        .90712E-02** at limit **
   2  Index         1.9190        5.0856        .50000        .76161E-05
   3  Normalizat    1.1700        .31219E-02    .64107E-01    .21844E-04
   4  Prefactor     .91202        .19593E-02    .45157E-01    .20460E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.91903
  Normalizat = 1.16997
  Prefactor  = 0.912024
 **********
 **   18 **HESSE 
 **********

 FCN=   7452.500     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    81.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9190        8.8219        .50000       -.66390    
   3  Normalizat    1.1700        .11714E-01    .28358E-03   -.87536    
   4  Prefactor     .91202        .73566E-02    .19784E-03   -.95722    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.69471e-07
Minuit parameter uncertainties:
  1  3.40528e-05
  2  212.228
  3  0.0117144
  4  0.00735659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589975': 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) = 7452.50034686
delta logL = 5.73872966925e-08

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  3.405e-05  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.919e+00  2.122e+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:  9.120e-01  7.357e-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.170e+00  1.171e-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/589975/cmap_HighResolution_610502401_610761601_4FGL_J1110.5-1836_daily_bin1432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-03', job_status='DONE', photon_flux_upper_limit='4.88e-08', time_completed='2021-09-03 12:09:32.057245', job_id='589975', GAL2='0.91', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1630696172.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.74e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1432' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:09:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 589975: <4FGL_J1110.5-1836_daily_bin1432> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1432 167.641 -18.6058 610502401 610761601 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.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            783 sec.

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

