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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1246
RA = 167.641, Dec = -18.6058
tmin = 562291201, tmax = 562550401
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='588426', job_status='RUN', time_executed='2021-09-03 11:52:50.150842', time_epoch_executed='1630695170.15' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1246'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588426

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588426/ft1_4FGL_J1110.5-1836_daily_bin1246.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588426/ft2_4FGL_J1110.5-1836_daily_bin1246.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588426/ft1_4FGL_J1110.5-1836_daily_bin1246.fits outfile=/scratch/kocevski/588426/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1246.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=562291201.0 tmax=562550401.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.69
user 3.42
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588426/ft1_filtered_4FGL_J1110.5-1836_daily_bin1246.fits" evtable="EVENTS" scfile=/scratch/kocevski/588426/ft2_4FGL_J1110.5-1836_daily_bin1246.fits sctable="SC_DATA" outfile=/scratch/kocevski/588426/ltcube_562291201_562550401_4FGL_J1110.5-1836_daily_bin1246.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/588426/ft2_4FGL_J1110.5-1836_daily_bin1246.fits
.....................!
real 16.48
user 16.01
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588426/ft1_filtered_4FGL_J1110.5-1836_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/588426/ft2_4FGL_J1110.5-1836_daily_bin1246.fits sctable="SC_DATA" expcube=/scratch/kocevski/588426/ltcube_562291201_562550401_4FGL_J1110.5-1836_daily_bin1246.fits outfile=/scratch/kocevski/588426/expmap_562291201_562550401_4FGL_J1110.5-1836_daily_bin1246.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/588426/ltcube_562291201_562550401_4FGL_J1110.5-1836_daily_bin1246.fits
.....................!
real 193.94
user 187.65
sys 5.59

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/588426/ft1_filtered_4FGL_J1110.5-1836_daily_bin1246.fits scfile=/scratch/kocevski/588426/ft2_4FGL_J1110.5-1836_daily_bin1246.fits outfile=/scratch/kocevski/588426/cmap_562291201_562550401_4FGL_J1110.5-1836_daily_bin1246.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.61
user 0.40
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588426/ft1_filtered_4FGL_J1110.5-1836_daily_bin1246.fits scfile=/scratch/kocevski/588426/ft2_4FGL_J1110.5-1836_daily_bin1246.fits outfile=/scratch/kocevski/588426/cmap_HighResolution_562291201_562550401_4FGL_J1110.5-1836_daily_bin1246.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.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588426/ft1_filtered_4FGL_J1110.5-1836_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/588426/ft2_4FGL_J1110.5-1836_daily_bin1246.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588426/Model_4FGL_J1110.5-1836_daily_bin1246.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/588426/ft1_filtered_4FGL_J1110.5-1836_daily_bin1246.fits.....................!
real 53.85
user 52.37
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4225       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.2469       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    129.42       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.298       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17952E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9211       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10283E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.220       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.1392       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4328       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.516       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.0178       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0627       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0299       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=   5225.468     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     2019 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4224        8.6126        .72734E-06   -.19092E-03
   2  Prefactor     .10000E-03    19.281        .92002E-05** at limit **
   3  Prefactor     .10000E-03    41.681       -.35305E-07** at limit **
   4  Prefactor     .10000E-03    5.1012       -.76500E-07** at limit **
   5  norm          2.2464        4.5954       -.37372E-06   -.45663E-03
   6  Prefactor     .10000E-03    22.962       -.31277E-05** at limit **
   7  Prefactor     129.44        150.64        .15377E-04    .14955E-04
   8  Prefactor     12.289        20.477        .15717E-05   -.58044E-03
   9  Prefactor     .10102E-03    13.066        .27333E-05** at limit **
  10  Prefactor     3.9065        377.34       -.61891E-04   -.25154E-04
  11  Prefactor     .10000E-03    79.447       -.81995E-05** at limit **
  12  Prefactor     11.217        25.606       -.19780E-05    .11968E-04
  13  Prefactor     .10000E-03    18.752       -.70573E-05** at limit **
  14  norm          1.1389        1.3090       -.39530E-06   -.79807E-03
  15  Prefactor     5.4334        9.0631        .10387E-05   -.11337E-03
  16  Prefactor     17.515        35.523       -.14451E-05   -.56777E-05
  17  Prefactor     4.0171        8.3890       -.14467E-05   -.11789E-03
  18  norm          .10000E-03    4.4834       -.65823E-07** at limit **
  19  Normalizat    1.0626        .24857       -.45739E-06   -.11750E-03
  20  Prefactor     1.0299        .15219        .48405E-06   -.19977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.42238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.24642
  Prefactor  = 0.0001
  Prefactor  = 129.437
  Prefactor  = 12.2894
  Prefactor  = 0.000101015
  Prefactor  = 3.90654
  Prefactor  = 0.0001
  Prefactor  = 11.217
  Prefactor  = 0.0001
  norm       = 1.13892
  Prefactor  = 5.43336
  Prefactor  = 17.5151
  Prefactor  = 4.01714
  norm       = 0.0001
  Normalizat = 1.06262
  Prefactor  = 1.02995
 **********
 **   18 **HESSE 
 **********

 FCN=   5225.468     FROM HESSE     STATUS=OK           293 CALLS     2312 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4224        8.5910        .19150E-03   -1.5287    
   2  Prefactor     .10000E-03    19.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    42.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.1408        .15940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2464        4.5870        .21386E-03   -1.5408    
   6  Prefactor     .10000E-03    23.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     129.44        150.74        .35391E-04   -1.3428    
   8  Prefactor     12.289        16.897        .11423E-03   -1.5007    
   9  Prefactor     .10102E-03    77.754        .40640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9065        375.50        .20373E-03   -1.5313    
  11  Prefactor     .10000E-03    79.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.217        25.594        .11960E-03   -1.5038    
  13  Prefactor     .10000E-03    18.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1389        1.2803        .83677E-04   -1.5495    
  15  Prefactor     5.4334        9.0315        .17240E-03   -1.5242    
  16  Prefactor     17.515        35.510        .95698E-04   -1.4871    
  17  Prefactor     4.0171        8.3980        .20119E-03   -1.5307    
  18  norm          .10000E-03    4.5048        .14948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0626        .29253        .31386E-03   -.90961    
  20  Prefactor     1.0299        .17959        .20065E-03   -.91738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33508e-08
Minuit parameter uncertainties:
  1  8.59342
  2  2.04789e-05
  3  7.4625e-05
  4  1.3851e-05
  5  4.58774
  6  0.000155418
  7  151.194
  8  16.9039
  9  0.0177948
  10  77.1023
  11  0.000143658
  12  25.6194
  13  1.04588e-05
  14  1.28035
  15  9.03376
  16  35.5531
  17  8.40042
  18  7.19826e-07
  19  0.292972
  20  0.179694
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.554e-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:  1.030e+00  1.797e-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.063e+00  2.930e-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: 8.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588426/likelihoodResults_562291201_562550401_4FGL_J1110.5-1836_daily_bin1246.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) = 5225.46800672
delta logL = -0.000206709753911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5225.46779997
delta logL = 4.04988895752e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0294       1.0000          .0000       10.000    
     3 'Normalizat'    1.0626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0299       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=   5225.468     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      232 TOTAL
                     EDM=   .69E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    658.12        .90712E-02** at limit **
   2  Index         2.0380        7.1889        .50000       -.31875E-05
   3  Normalizat    1.0626        .33665E-01    .70932E-01    .82384E-05
   4  Prefactor     1.0299        .21340E-01    .41263E-01   -.32135E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.03799
  Normalizat = 1.06262
  Prefactor  = 1.02995
 **********
 **   18 **HESSE 
 **********

 FCN=   5225.468     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1008.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0380        5.6571        .50000       -.63404    
   3  Normalizat    1.0626        .42652E-01    .31386E-03   -.90961    
   4  Prefactor     1.0299        .27072E-01    .20065E-03   -.91738    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.80064e-09
Minuit parameter uncertainties:
  1  0.00100227
  2  26.8889
  3  0.0426535
  4  0.0270727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588426': 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) = 5225.46779995
delta logL = 5.63704816159e-08

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.002e-03  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  2.038e+00  2.689e+01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
609    Prefactor:  1.030e+00  2.707e-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:  1.063e+00  4.265e-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/588426/cmap_HighResolution_562291201_562550401_4FGL_J1110.5-1836_daily_bin1246.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.21e-03', job_status='DONE', photon_flux_upper_limit='8.31e-08', time_completed='2021-09-03 12:03:07.488824', job_id='588426', GAL2='1.03', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630695787.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='5.64e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1246' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:03:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 588426: <4FGL_J1110.5-1836_daily_bin1246> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1246 167.641 -18.6058 562291201 562550401 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 :                                   581.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   627 sec.
    Turnaround time :                            722 sec.

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

