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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin895
RA = 167.641, Dec = -18.6058
tmin = 471312001, tmax = 471571201
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='586913', job_status='RUN', time_executed='2021-09-03 11:48:57.198355', time_epoch_executed='1630694937.2' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='895'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/586913

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/586913/ft1_4FGL_J1110.5-1836_daily_bin895.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/586913/ft2_4FGL_J1110.5-1836_daily_bin895.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/586913/ft1_4FGL_J1110.5-1836_daily_bin895.fits outfile=/scratch/kocevski/586913/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin895.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=471312001.0 tmax=471571201.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.15
user 4.85
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/586913/ft2_4FGL_J1110.5-1836_daily_bin895.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/586913/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin895.fits evtable="EVENTS" outfile="/scratch/kocevski/586913/ft1_filtered_4FGL_J1110.5-1836_daily_bin895.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.53
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/586913/ft1_filtered_4FGL_J1110.5-1836_daily_bin895.fits" evtable="EVENTS" scfile=/scratch/kocevski/586913/ft2_4FGL_J1110.5-1836_daily_bin895.fits sctable="SC_DATA" outfile=/scratch/kocevski/586913/ltcube_471312001_471571201_4FGL_J1110.5-1836_daily_bin895.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/586913/ft2_4FGL_J1110.5-1836_daily_bin895.fits
.....................!
real 16.77
user 16.23
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/586913/ft1_filtered_4FGL_J1110.5-1836_daily_bin895.fits evtable="EVENTS" scfile=/scratch/kocevski/586913/ft2_4FGL_J1110.5-1836_daily_bin895.fits sctable="SC_DATA" expcube=/scratch/kocevski/586913/ltcube_471312001_471571201_4FGL_J1110.5-1836_daily_bin895.fits outfile=/scratch/kocevski/586913/expmap_471312001_471571201_4FGL_J1110.5-1836_daily_bin895.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/586913/ltcube_471312001_471571201_4FGL_J1110.5-1836_daily_bin895.fits
.....................!
real 194.46
user 187.58
sys 4.49

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/586913/ft1_filtered_4FGL_J1110.5-1836_daily_bin895.fits scfile=/scratch/kocevski/586913/ft2_4FGL_J1110.5-1836_daily_bin895.fits outfile=/scratch/kocevski/586913/cmap_471312001_471571201_4FGL_J1110.5-1836_daily_bin895.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.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/586913/ft1_filtered_4FGL_J1110.5-1836_daily_bin895.fits evtable="EVENTS" scfile=/scratch/kocevski/586913/ft2_4FGL_J1110.5-1836_daily_bin895.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/586913/Model_4FGL_J1110.5-1836_daily_bin895.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/586913/ft1_filtered_4FGL_J1110.5-1836_daily_bin895.fits.....................!
real 61.47
user 59.52
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    81.147       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10782E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .98839       1.0000         .10000E-03   10000.    
     5 'norm      '    12.710       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    106.53       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0512       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3262       1.0000         .10000E-03   10000.    
    10 'Prefactor '    46.703       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16520E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1660       1.0000         .10000E-03   10000.    
    14 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.669       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .35162       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2793       1.0000         .10000E-03   10000.    
    18 'norm      '    3.5439       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .76638       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0644       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=   6522.014     FROM MIGRAD    STATUS=CONVERGED    756 CALLS     2394 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7535        .13052E-02** at limit **
   2  Prefactor     81.140        28.321        .44586E-04   -.10821E-03
   3  Prefactor     .10000E-03    15.010        .18142E-02** at limit **
   4  Prefactor     .99033        7.9648        .41253E-02    .24485E-03
   5  norm          12.708        6.4335        .11236E-03   -.42092E-04
   6  Prefactor     .10000E-03    10.393        .18142E-02** at limit **
   7  Prefactor     106.55        77.530        .38963E-04   -.86367E-04
   8  Prefactor     7.0189        28.454        .15107E-03    .34240E-04
   9  Prefactor     5.3567        22.349        .17415E-03   -.77425E-04
  10  Prefactor     46.728        61.522        .58672E-04   -.10618E-03
  11  Prefactor     .10001E-03    97.488        .36285E-03** at limit **
  12  Prefactor     .10000E-03    3.6929        .15141E-02** at limit **
  13  Prefactor     3.1945        67.954        .22778E-03    .67530E-04
  14  norm          .10000E-03    .53940        .11314E-03** at limit **
  15  Prefactor     14.675        10.473        .10458E-03   -.46714E-03
  16  Prefactor     .23829        37.161        .13012        .10745E-03
  17  Prefactor     7.2768        5.8994        .14866E-03   -.98496E-04
  18  norm          3.5435        3.3417        .69882E-03   -.23766E-03
  19  Normalizat    .76642        .25966        .34471E-03   -.63566E-03
  20  Prefactor     1.0645        .15515        .18687E-03   -.40476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 81.1404
  Prefactor  = 0.0001
  Prefactor  = 0.990326
  norm       = 12.7084
  Prefactor  = 0.0001
  Prefactor  = 106.549
  Prefactor  = 7.01889
  Prefactor  = 5.35673
  Prefactor  = 46.7283
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 3.19454
  norm       = 0.0001
  Prefactor  = 14.6749
  Prefactor  = 0.238293
  Prefactor  = 7.27684
  norm       = 3.54353
  Normalizat = 0.766424
  Prefactor  = 1.06451
 **********
 **   18 **HESSE 
 **********

 FCN=   6522.014     FROM HESSE     STATUS=OK           283 CALLS     2677 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.7538        .26105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     81.140        28.315        .89173E-05   -1.3904    
   3  Prefactor     .10000E-03    15.011        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .99033        7.8747        .16501E-03   -1.5509    
   5  norm          12.708        6.4328        .44943E-05   -1.4995    
   6  Prefactor     .10000E-03    10.393        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     106.55        77.528        .77926E-05   -1.3640    
   8  Prefactor     7.0189        28.299        .60429E-05   -1.5178    
   9  Prefactor     5.3567        22.240        .69658E-05   -1.5245    
  10  Prefactor     46.728        61.510        .11734E-04   -1.4340    
  11  Prefactor     .10001E-03    97.493        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.6931        .30282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.1945        67.945        .91111E-05   -1.5350    
  14  norm          .10000E-03    .53940        .22627E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.675        10.470        .41830E-05   -1.4942    
  16  Prefactor     .23829        35.926        .13314       -1.5610    
  17  Prefactor     7.2768        5.8983        .59466E-05   -1.5168    
  18  norm          3.5435        3.3414        .27953E-04   -1.5331    
  19  Normalizat    .76642        .25936        .68941E-04   -1.0133    
  20  Prefactor     1.0645        .15526        .37375E-04   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04568e-09
Minuit parameter uncertainties:
  1  1.27565e-05
  2  28.3197
  3  0.000130348
  4  5.58589
  5  6.43318
  6  1.06561e-05
  7  77.6022
  8  28.21
  9  21.8437
  10  61.594
  11  0.00140964
  12  2.1515e-05
  13  29.5032
  14  1.30066e-05
  15  10.4709
  16  5.85418
  17  5.89873
  18  3.34159
  19  0.259775
  20  0.155323
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.066e-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:  1.065e+00  1.553e-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:  7.664e-01  2.598e-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.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/586913/likelihoodResults_471312001_471571201_4FGL_J1110.5-1836_daily_bin895.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) = 6522.01411826
delta logL = -0.000455487928775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6522.01366372
delta logL = -9.47994521994e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12664E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9101       1.0000          .0000       10.000    
     3 'Normalizat'    .76640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0645       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=   6522.014     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      238 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10119E-03    54.376        .18142E-02** at limit **
   2  Index         1.8541        5.3227        .50000        .22721E-04
   3  Normalizat    .76643        .11050E-01    .34471E-03    .11708E-04
   4  Prefactor     1.0645        .70056E-02    .18687E-03   -.80305E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101195
  Index      = 1.85412
  Normalizat = 0.766434
  Prefactor  = 1.0645
 **********
 **   18 **HESSE 
 **********

 FCN=   6522.014     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10119E-03    243.46        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8541        9.0205        .50000       -.68049    
   3  Normalizat    .76643        .23860E-01    .13788E-04   -1.0133    
   4  Prefactor     1.0645        .15127E-01    .37374E-04   -.90609    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.254e-08
Minuit parameter uncertainties:
  1  0.0342501
  2  260.651
  3  0.0238607
  4  0.0151268
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/586913': 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) = 6522.0136622
delta logL = 5.71584678255e-07

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.012e-04  3.425e-02  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.854e+00  2.607e+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:  1.065e+00  1.513e-02  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:  7.664e-01  2.386e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/586913/cmap_HighResolution_471312001_471571201_4FGL_J1110.5-1836_daily_bin895.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2021-09-03 12:00:40.126232', job_id='586913', GAL2='1.06', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1630695640.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.72e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='895' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:00:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 586913: <4FGL_J1110.5-1836_daily_bin895> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin895> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep  3 11:46:22 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:46:46 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:46:46 2021
Terminated at Fri Sep  3 12:00:40 2021
Results reported at Fri Sep  3 12:00:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin895 167.641 -18.6058 471312001 471571201 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 :                                   694.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            858 sec.

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

