/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 138 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 = 7471
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1103.0+1157_daily_bin86
RA = 165.772, Dec = 11.9654
tmin = 261619201, tmax = 261878401
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='436769', job_status='RUN', time_executed='2021-09-03 03:49:13.852412', time_epoch_executed='1630666153.85' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='86'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436769

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436769/ft1_4FGL_J1103.0+1157_daily_bin86.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436769/ft1_4FGL_J1103.0+1157_daily_bin86.fits outfile=/scratch/kocevski/436769/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin86.fits ra=165.772 dec=11.9654 rad=12.0 tmin=261619201.0 tmax=261878401.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 1.45
user 1.24
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.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/436769/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin86.fits evtable="EVENTS" outfile="/scratch/kocevski/436769/ft1_filtered_4FGL_J1103.0+1157_daily_bin86.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436769/ft1_filtered_4FGL_J1103.0+1157_daily_bin86.fits" evtable="EVENTS" scfile=/scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits sctable="SC_DATA" outfile=/scratch/kocevski/436769/ltcube_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.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/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits
.....................!
real 12.83
user 12.50
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436769/ft1_filtered_4FGL_J1103.0+1157_daily_bin86.fits evtable="EVENTS" scfile=/scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits sctable="SC_DATA" expcube=/scratch/kocevski/436769/ltcube_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.fits outfile=/scratch/kocevski/436769/expmap_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.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/436769/ltcube_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.fits
.....................!
real 190.80
user 186.05
sys 4.36

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1103.0+1157 @ 165.772 11.9654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/436769/ft1_filtered_4FGL_J1103.0+1157_daily_bin86.fits scfile=/scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits outfile=/scratch/kocevski/436769/cmap_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.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=165.772 yref=11.9654 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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436769/ft1_filtered_4FGL_J1103.0+1157_daily_bin86.fits scfile=/scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits outfile=/scratch/kocevski/436769/cmap_HighResolution_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.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=165.772 yref=11.9654 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436769/ft1_filtered_4FGL_J1103.0+1157_daily_bin86.fits evtable="EVENTS" scfile=/scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436769/Model_4FGL_J1103.0+1157_daily_bin86.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/436769/ft1_filtered_4FGL_J1103.0+1157_daily_bin86.fits.....................!
real 77.73
user 76.29
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/436769/ft1_filtered_4FGL_J1103.0+1157_daily_bin86.fits', '/scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits', expMap='/scratch/kocevski/436769/expmap_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.fits', expCube='/scratch/kocevski/436769/ltcube_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/436769/Model_4FGL_J1103.0+1157_daily_bin86.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1103.0+1157'

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.011e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/436769/ft1_filtered_4FGL_J1103.0+1157_daily_bin86.fits
Spacecraft file(s): /scratch/kocevski/436769/ft2_4FGL_J1103.0+1157_daily_bin86.fits
Exposure map: /scratch/kocevski/436769/expmap_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.fits
Exposure cube: /scratch/kocevski/436769/ltcube_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/436769/Model_4FGL_J1103.0+1157_daily_bin86.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) = 8860.41171216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0421       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5424       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.143       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3139       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0591       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1076       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5810       1.0000         .10000E-03   10000.    
    13 'norm      '    .10717E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.572       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .85788       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8859.923     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1389 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9703        .42919E-06** at limit **
   2  Prefactor     6.0408        2.8450       -.44300E-06   -.32276E-03
   3  Prefactor     2.5462        4.3386       -.26150E-06   -.65216E-03
   4  Prefactor     .10000E-03    1.9361       -.34467E-06** at limit **
   5  Prefactor     .10000E-03    2.3180       -.67678E-06** at limit **
   6  Prefactor     14.149        8.5158        .51759E-05    .12294E-02
   7  norm          1.3139        .43124       -.51238E-07   -.52547E-03
   8  Prefactor     .10000E-03    2.1568        .87368E-07** at limit **
   9  Prefactor     1.0300        7.7011       -.79698E-05    .10298E-02
  10  norm          .10000E-03    .34835       -.55191E-07** at limit **
  11  Prefactor     9.1192        16.296        .20218E-04   -.28865E-04
  12  Prefactor     5.5698        5.7209        .12795E-05    .20808E-03
  13  norm          .10000E-03    11.162        .11594E-05** at limit **
  14  Prefactor     .10000E-03    5.0183       -.19536E-05** at limit **
  15  Prefactor     15.572        28.100        .66174E-06   -.25722E-05
  16  Normalizat    .85795        .14960       -.14205E-05    .71370E-03
  17  Prefactor     1.2055        .13931       -.73554E-06    .60076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.04082
  Prefactor  = 2.5462
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.149
  norm       = 1.31394
  Prefactor  = 0.0001
  Prefactor  = 1.03002
  norm       = 0.0001
  Prefactor  = 9.11922
  Prefactor  = 5.56978
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.5724
  Normalizat = 0.857952
  Prefactor  = 1.20551
 **********
 **   18 **HESSE 
 **********

 FCN=   8859.923     FROM HESSE     STATUS=OK           223 CALLS     1612 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0408        2.8498        .10369E-03   -1.5216    
   3  Prefactor     2.5462        4.3288        .24450E-03   -1.5389    
   4  Prefactor     .10000E-03    1.9475        .12786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.3267        .13986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.149        8.5462        .10650E-03   -1.4955    
   7  norm          1.3139        .43079        .34282E-04   -1.5479    
   8  Prefactor     .10000E-03    2.1698        .13490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.0300        24.775        .46269E-02   -1.5505    
  10  norm          .10000E-03    .64138        .10764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.1192        16.141        .13280E-03   -1.5104    
  12  Prefactor     5.5698        5.7123        .17006E-03   -1.5236    
  13  norm          .10000E-03    11.426        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.0366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.572        28.118        .10150E-03   -1.4919    
  16  Normalizat    .85795        .17285        .26675E-03   -.97954    
  17  Prefactor     1.2055        .16296        .22428E-03   -.86162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1766e-08
Minuit parameter uncertainties:
  1  3.43154e-06
  2  2.84987
  3  4.32934
  4  5.09939e-06
  5  5.43963e-06
  6  8.54693
  7  0.430793
  8  2.95199e-06
  9  10.1073
  10  1.6737e-05
  11  16.1488
  12  5.71283
  13  8.41869e-06
  14  8.1006e-06
  15  28.1422
  16  0.172959
  17  0.163027
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.000e-04  1.674e-05  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.206e+00  1.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  8.580e-01  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 165.772 11.965
Photon Flux Upper Limit: 4.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/436769/likelihoodResults_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.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) = 8859.92999091
delta logL = -0.00746308151611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8859.92253323
delta logL = -5.40294786333e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10440E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2919       1.0000          .0000       5.0000    
     3 'Normalizat'    .85815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8859.923     FROM MIGRAD    STATUS=FAILED       104 CALLS      263 TOTAL
                     EDM=   .46E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.627        .10779E-02** at limit **
   2  alpha         2.1365        2.6995        .50000        .79010E-05
   3  Normalizat    .85795        .15514E-01    .26675E-03    .58870E-03
   4  Prefactor     1.2055        .15257E-01    .22428E-03    .73401E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8859.923     FROM SIMPLEX   STATUS=UNCHANGED    168 CALLS      431 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.627        .12955E-03** at limit **
   2  alpha         2.1365        2.6995        .52583E-05    .79010E-05
   3  Normalizat    .85795        .15514E-01    .43115E-07    .58870E-03
   4  Prefactor     1.2055        .15257E-01    .96118E-08    .73401E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8859.850     FROM MIGRAD    STATUS=FAILED       119 CALLS      550 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12752E-01    3.4349        .43117E-03    .76583E-01
   2  alpha         .37757        4.8070        .50000        .11064E-03
   3  Normalizat    .85553        .46716E-01    .10670E-04    .28896E-03
   4  Prefactor     1.2066        .45894E-01    .89714E-05    .40399E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0127515
  alpha      = 0.377567
  Normalizat = 0.855535
  Prefactor  = 1.20664
 **********
 **   18 **HESSE 
 **********

 FCN=   8859.850     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      579 TOTAL
                     EDM=   .26E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12752E-01    6.5139        .86234E-04   -1.5685    
   2  alpha         .37757        4.7575        .75652E-01   -2.1276    
   3  Normalizat    .85553        .10613        .21340E-05   -.98041    
   4  Prefactor     1.2066        .10408        .17943E-05   -.86127    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.58947e-05
Minuit parameter uncertainties:
  1  0.574207
  2  12.1042
  3  0.106158
  4  0.104096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436769': 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): 1
logL (Free Index) = 8859.85031538
delta logL = 0.0722124561489

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.275e-02  5.742e-01  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  3.776e-01  1.210e+01  0.000e+00  5.000e+00 ( 1.000e+00)
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.207e+00  1.041e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  8.555e-01  1.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 165.772 11.965

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/436769/cmap_HighResolution_261619201_261878401_4FGL_J1103.0+1157_daily_bin86.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-05', job_status='DONE', photon_flux_upper_limit='4.24e-08', time_completed='2021-09-03 04:00:16.683622', job_id='436769', GAL2='1.21', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1630666816.68', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='7.22e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='86' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:00:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 436769: <4FGL_J1103.0+1157_daily_bin86> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin86> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 03:46:27 2021
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 03:46:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 03:46:47 2021
Terminated at Fri Sep  3 04:00:17 2021
Results reported at Fri Sep  3 04:00:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin86 165.772 11.9654 261619201 261878401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1103.0+1157 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   660.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            830 sec.

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

