/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 188 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 = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1110.5-1836_daily_bin250
RA = 167.641, Dec = -18.6058
tmin = 304128001, tmax = 304387201
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='582689', job_status='RUN', time_executed='2021-09-03 11:34:46.409312', time_epoch_executed='1630694086.41' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/582689

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/582689/ft1_4FGL_J1110.5-1836_daily_bin250.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/582689/ft2_4FGL_J1110.5-1836_daily_bin250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/582689/ft1_4FGL_J1110.5-1836_daily_bin250.fits outfile=/scratch/kocevski/582689/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin250.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=304128001.0 tmax=304387201.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.52
user 3.28
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/582689/ft2_4FGL_J1110.5-1836_daily_bin250.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/582689/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin250.fits evtable="EVENTS" outfile="/scratch/kocevski/582689/ft1_filtered_4FGL_J1110.5-1836_daily_bin250.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.54
user 0.38
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/582689/ft1_filtered_4FGL_J1110.5-1836_daily_bin250.fits" evtable="EVENTS" scfile=/scratch/kocevski/582689/ft2_4FGL_J1110.5-1836_daily_bin250.fits sctable="SC_DATA" outfile=/scratch/kocevski/582689/ltcube_304128001_304387201_4FGL_J1110.5-1836_daily_bin250.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/582689/ft2_4FGL_J1110.5-1836_daily_bin250.fits
.....................!
real 18.06
user 17.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/582689/ft1_filtered_4FGL_J1110.5-1836_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/582689/ft2_4FGL_J1110.5-1836_daily_bin250.fits sctable="SC_DATA" expcube=/scratch/kocevski/582689/ltcube_304128001_304387201_4FGL_J1110.5-1836_daily_bin250.fits outfile=/scratch/kocevski/582689/expmap_304128001_304387201_4FGL_J1110.5-1836_daily_bin250.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/582689/ltcube_304128001_304387201_4FGL_J1110.5-1836_daily_bin250.fits
.....................!
real 193.36
user 188.69
sys 4.11

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/582689/ft1_filtered_4FGL_J1110.5-1836_daily_bin250.fits scfile=/scratch/kocevski/582689/ft2_4FGL_J1110.5-1836_daily_bin250.fits outfile=/scratch/kocevski/582689/cmap_304128001_304387201_4FGL_J1110.5-1836_daily_bin250.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/582689/ft1_filtered_4FGL_J1110.5-1836_daily_bin250.fits scfile=/scratch/kocevski/582689/ft2_4FGL_J1110.5-1836_daily_bin250.fits outfile=/scratch/kocevski/582689/cmap_HighResolution_304128001_304387201_4FGL_J1110.5-1836_daily_bin250.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.43
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/582689/ft1_filtered_4FGL_J1110.5-1836_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/582689/ft2_4FGL_J1110.5-1836_daily_bin250.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/582689/Model_4FGL_J1110.5-1836_daily_bin250.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/582689/ft1_filtered_4FGL_J1110.5-1836_daily_bin250.fits.....................!
real 59.37
user 57.97
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.250       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.626       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.350       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6352       1.0000         .10000E-03   10000.    
     5 'norm      '    36.065       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.548       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .19057E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.7637       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.520       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.7105       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.992       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.5330       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .71484       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=   5862.120     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     2012 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.251        9.1274       -.78139E-06   -.49765E-05
   2  Prefactor     12.625        17.866        .26901E-06   -.16473E-04
   3  Prefactor     13.351        15.636       -.92179E-06   -.35967E-03
   4  Prefactor     3.6353        4.8930       -.19065E-06   -.25041E-03
   5  norm          36.067        12.892        .45618E-07    .65869E-04
   6  Prefactor     17.461        31.486       -.31002E-04    .51228E-05
   7  Prefactor     .10002E-03    194.54       -.16962E-04** at limit **
   8  Prefactor     .10000E-03    11.264       -.40730E-06** at limit **
   9  Prefactor     9.7569        14.773       -.95038E-06    .11263E-04
  10  Prefactor     .10000E-03    44.260       -.53070E-04** at limit **
  11  Prefactor     .10000E-03    28.279        .54409E-05** at limit **
  12  Prefactor     17.522        13.415        .14057E-06   -.50098E-04
  13  Prefactor     .10000E-03    52.949        .63351E-04** at limit **
  14  norm          2.7110        1.7321        .23609E-06   -.72175E-03
  15  Prefactor     .10000E-03    6.8809       -.36497E-08** at limit **
  16  Prefactor     .10000E-03    9.8831        .23415E-06** at limit **
  17  Prefactor     .10000E-03    5.7188       -.24935E-06** at limit **
  18  norm          13.992        8.4491       -.93718E-06   -.47691E-04
  19  Normalizat    1.5326        .24839        .18411E-05   -.51464E-04
  20  Prefactor     .71501        .14352        .75665E-06    .15111E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2509
  Prefactor  = 12.6248
  Prefactor  = 13.3513
  Prefactor  = 3.63534
  norm       = 36.0665
  Prefactor  = 17.4609
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  Prefactor  = 9.75691
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5224
  Prefactor  = 0.0001
  norm       = 2.71099
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.9918
  Normalizat = 1.53265
  Prefactor  = 0.71501
 **********
 **   18 **HESSE 
 **********

 FCN=   5862.120     FROM HESSE     STATUS=OK           295 CALLS     2307 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.251        9.1301        .11445E-03   -1.5008    
   2  Prefactor     12.625        17.841        .11273E-03   -1.4997    
   3  Prefactor     13.351        15.624        .54813E-03   -1.4977    
   4  Prefactor     3.6353        4.8837        .18864E-03   -1.5327    
   5  norm          36.067        12.942        .66733E-04   -1.4506    
   6  Prefactor     17.461        31.476        .95610E-04   -1.4872    
   7  Prefactor     .10002E-03    194.46        .20272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.7569        14.774        .12824E-03   -1.5083    
  10  Prefactor     .10000E-03    44.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.522        13.418        .95685E-04   -1.4871    
  13  Prefactor     .10000E-03    53.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.7110        1.7286        .75677E-04   -1.5379    
  15  Prefactor     .10000E-03    6.9341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.8845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.7854        .17878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.992        8.4507        .10708E-03   -1.4960    
  19  Normalizat    1.5326        .29264        .28898E-03   -.76865    
  20  Prefactor     .71501        .16811        .23693E-03   -1.0294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70297e-10
Minuit parameter uncertainties:
  1  9.13115
  2  17.8486
  3  15.6284
  4  4.88419
  5  12.9433
  6  31.5056
  7  0.004244
  8  2.12757e-06
  9  14.779
  10  8.3637e-06
  11  3.16248e-05
  12  13.42
  13  3.49296e-05
  14  1.72862
  15  2.68444e-06
  16  3.45338e-06
  17  1.13092e-05
  18  8.4514
  19  0.292967
  20  0.168234
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.746e+01  3.151e+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:  7.150e-01  1.682e-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.533e+00  2.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/582689/likelihoodResults_304128001_304387201_4FGL_J1110.5-1836_daily_bin250.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) = 5861.14592844
delta logL = 0.974562749124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5861.1389552
delta logL = 0.981535986846

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0536       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2458       1.0000          .0000       10.000    
     3 'Normalizat'    1.4272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74859       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=   5861.139     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      263 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0460        39.882        .58041E-02    .63007E-03
   2  Index         3.2467        1.9597        .91386E-01    .24184E-03
   3  Normalizat    1.4272        .78379E-01    .67193E-01    .43039E-04
   4  Prefactor     .74856        .43029E-01    .43044E-01   -.94871E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.04601
  Index      = 3.2467
  Normalizat = 1.42723
  Prefactor  = 0.748557
 **********
 **   18 **HESSE 
 **********

 FCN=   5861.139     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      296 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0460        78.067        .93736E-04   -1.5359    
   2  Index         3.2467        3.3117        .31947E-02   -.35828    
   3  Normalizat    1.4272        .32400        .29725E-03   -.79844    
   4  Prefactor     .74856        .17825        .23180E-03   -1.0165    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.10287e-10
Minuit parameter uncertainties:
  1  30.8855
  2  3.67855
  3  0.324472
  4  0.178382
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/582689': 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) = 5861.13895464
delta logL = 0.981536540145

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  3.046e+00  3.089e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  3.247e+00  3.679e+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:  7.486e-01  1.784e-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.427e+00  3.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.48
Ra Dec: 167.641 -18.606
Photon Index (Free Index): 3.25 +/- 3.68
Photon Flux (Free Index): 1.12e-07 +/- 1.46e-07
Energy Flux (Free Index): 2.01e-05 +/- 1.58e-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/582689/cmap_HighResolution_304128001_304387201_4FGL_J1110.5-1836_daily_bin250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.37e-03', comment='SUCCESS', energy_flux2='2.01e-05', dlogl='9.82e-01', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-03 11:45:11.192962', photon_index_error2='3.68', photon_index2='3.25', ts='0.43', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='9.86e-08', energy_flux_error2='1.58e-05', EG='1.53', time_epoch_completed='1630694711.19', return_code='0', job_id='582689', GAL2='0.75', EG2='1.43', return_code2='102', photon_flux_error2='1.46e-07', ts2='2.48', photon_index='1.95' WHERE bin_id='250' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 11:45:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 582689: <4FGL_J1110.5-1836_daily_bin250> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin250> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep  3 11:31:19 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:31:29 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:31:29 2021
Terminated at Fri Sep  3 11:45:11 2021
Results reported at Fri Sep  3 11:45:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin250 167.641 -18.6058 304128001 304387201 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 :                                   624.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             269.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            832 sec.

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

