/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 145 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 = 7323
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1110.5-1836_daily_bin330
RA = 167.641, Dec = -18.6058
tmin = 324864001, tmax = 325123201
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='582813', job_status='RUN', time_executed='2021-09-03 11:34:27.585295', time_epoch_executed='1630694067.59' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='330'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/582813

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/582813/ft1_4FGL_J1110.5-1836_daily_bin330.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/582813/ft2_4FGL_J1110.5-1836_daily_bin330.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/582813/ft1_4FGL_J1110.5-1836_daily_bin330.fits outfile=/scratch/kocevski/582813/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin330.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=324864001.0 tmax=325123201.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.74
user 5.50
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/582813/ft1_filtered_4FGL_J1110.5-1836_daily_bin330.fits" evtable="EVENTS" scfile=/scratch/kocevski/582813/ft2_4FGL_J1110.5-1836_daily_bin330.fits sctable="SC_DATA" outfile=/scratch/kocevski/582813/ltcube_324864001_325123201_4FGL_J1110.5-1836_daily_bin330.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/582813/ft2_4FGL_J1110.5-1836_daily_bin330.fits
.....................!
real 16.70
user 16.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/582813/ft1_filtered_4FGL_J1110.5-1836_daily_bin330.fits evtable="EVENTS" scfile=/scratch/kocevski/582813/ft2_4FGL_J1110.5-1836_daily_bin330.fits sctable="SC_DATA" expcube=/scratch/kocevski/582813/ltcube_324864001_325123201_4FGL_J1110.5-1836_daily_bin330.fits outfile=/scratch/kocevski/582813/expmap_324864001_325123201_4FGL_J1110.5-1836_daily_bin330.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/582813/ltcube_324864001_325123201_4FGL_J1110.5-1836_daily_bin330.fits
.....................!
real 189.73
user 185.18
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/582813/ft1_filtered_4FGL_J1110.5-1836_daily_bin330.fits scfile=/scratch/kocevski/582813/ft2_4FGL_J1110.5-1836_daily_bin330.fits outfile=/scratch/kocevski/582813/cmap_324864001_325123201_4FGL_J1110.5-1836_daily_bin330.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.53
user 0.39
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7192       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .99671E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    9.8656       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    83.052       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11824E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.159       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.5014       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.403       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.7555       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1199       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96693       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=   6262.571     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     2042 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0057        .26364E-07** at limit **
   2  Prefactor     .10000E-03    4.4814        .12920E-06** at limit **
   3  Prefactor     4.7223        11.280       -.25630E-05   -.16672E-03
   4  Prefactor     .10090E-03    2.6646        .16041E-05** at limit **
   5  norm          9.8637        8.2698        .35245E-05   -.53176E-04
   6  Prefactor     .10000E-03    38.613       -.38440E-04** at limit **
   7  Prefactor     83.065        96.906        .13468E-04    .14658E-03
   8  Prefactor     .10000E-03    10.292        .36704E-06** at limit **
   9  Prefactor     .10000E-03    7.7458        .34025E-06** at limit **
  10  Prefactor     .10000E-03    119.72       -.71563E-04** at limit **
  11  Prefactor     22.158        29.840       -.70344E-06   -.22213E-04
  12  Prefactor     .10000E-03    2.8691       -.16734E-06** at limit **
  13  Prefactor     .10000E-03    72.672        .65343E-04** at limit **
  14  norm          4.5010        1.5269       -.16668E-06   -.74972E-03
  15  Prefactor     .10000E-03    2.8117        .23891E-08** at limit **
  16  Prefactor     23.392        32.801       -.61322E-05   -.20980E-05
  17  Prefactor     .10000E-03    2.5914       -.10978E-06** at limit **
  18  norm          2.7553        3.0927       -.83204E-08    .83543E-05
  19  Normalizat    1.1201        .21334       -.12897E-05   -.12448E-03
  20  Prefactor     .96692        .13300        .40406E-06   -.33265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.7223
  Prefactor  = 0.000100902
  norm       = 9.86369
  Prefactor  = 0.000100002
  Prefactor  = 83.0653
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 22.1581
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 4.50104
  Prefactor  = 0.0001
  Prefactor  = 23.3924
  Prefactor  = 0.0001
  norm       = 2.75531
  Normalizat = 1.12006
  Prefactor  = 0.966924
 **********
 **   18 **HESSE 
 **********

 FCN=   6262.571     FROM HESSE     STATUS=OK           289 CALLS     2331 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0761        .17289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.4872        .16360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.7223        11.269        .18523E-03   -1.5273    
   4  Prefactor     .10090E-03    33.019        .24567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.8637        8.2680        .12758E-03   -1.5080    
   6  Prefactor     .10000E-03    39.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     83.065        97.403        .44076E-04   -1.3883    
   8  Prefactor     .10000E-03    10.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.7920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    120.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.158        29.860        .85089E-04   -1.4766    
  12  Prefactor     .10000E-03    2.8728        .13089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    72.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5010        1.5272        .54000E-04   -1.5284    
  15  Prefactor     .10000E-03    2.8171        .12957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.392        32.794        .82801E-04   -1.4740    
  17  Prefactor     .10000E-03    5.5333        .24777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.7553        3.0912        .14366E-03   -1.5376    
  19  Normalizat    1.1201        .25409        .29394E-03   -.89110    
  20  Prefactor     .96692        .15916        .19880E-03   -.93840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66836e-08
Minuit parameter uncertainties:
  1  1.83182e-06
  2  6.50178e-06
  3  11.2744
  4  0.010923
  5  8.26899
  6  0.000538013
  7  97.5914
  8  2.37617e-06
  9  5.284e-07
  10  0.000500655
  11  29.8803
  12  6.3457e-07
  13  0.000888894
  14  1.52718
  15  5.90874e-06
  16  32.8189
  17  4.58228e-05
  18  3.09134
  19  0.254368
  20  0.159239
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  5.380e-04  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.669e-01  1.592e-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.120e+00  2.544e-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: 7.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/582813/likelihoodResults_324864001_325123201_4FGL_J1110.5-1836_daily_bin330.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) = 6262.57151052
delta logL = -0.000121812650832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6262.43219968
delta logL = 0.139189024439

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92212       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1877       1.0000          .0000       10.000    
     3 'Normalizat'    1.0909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97563       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=   6262.432     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      276 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .92122        48.998        .12888E-01    .12072E-02
   2  Index         3.1882        3.2446        .88432E-01    .20534E-03
   3  Normalizat    1.0909        .43402E-01    .67164E-01    .82291E-05
   4  Prefactor     .97567        .27525E-01    .45962E-01   -.40351E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.921215
  Index      = 3.18821
  Normalizat = 1.09091
  Prefactor  = 0.975667
 **********
 **   18 **HESSE 
 **********

 FCN=   6262.432     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      309 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .92122        174.66        .14320E-03   -1.5516    
   2  Index         3.1882        5.9216        .78691E-02   -.37080    
   3  Normalizat    1.0909        .20178        .29714E-03   -.90044    
   4  Prefactor     .97567        .12586        .19790E-03   -.93545    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.58166e-06
Minuit parameter uncertainties:
  1  25.4431
  2  9.09208
  3  0.201921
  4  0.125902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/582813': 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) = 6262.43219942
delta logL = 0.139189280055

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  9.212e-01  2.544e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  3.188e+00  9.092e+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:  9.757e-01  1.259e-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.091e+00  2.019e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/582813/cmap_HighResolution_324864001_325123201_4FGL_J1110.5-1836_daily_bin330.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.42e-03', job_status='DONE', photon_flux_upper_limit='7.26e-08', time_completed='2021-09-03 11:45:20.942399', job_id='582813', GAL2='0.98', fit_tolerance='1e-08', EG2='1.09', EG='1.12', time_epoch_completed='1630694720.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.39e-01', ts2='0.29', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='330' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 11:45:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 582813: <4FGL_J1110.5-1836_daily_bin330> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin330 167.641 -18.6058 324864001 325123201 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 :                                   652.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             256.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            831 sec.

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

