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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1063
RA = 169.766, Dec = 12.5866
tmin = 514857601, tmax = 515116801
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='666556', job_status='RUN', time_executed='2021-09-03 15:56:27.876222', time_epoch_executed='1630709787.88' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1063'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666556

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666556/ft1_4FGL_J1119.0+1235_daily_bin1063.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666556/ft1_4FGL_J1119.0+1235_daily_bin1063.fits outfile=/scratch/kocevski/666556/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1063.fits ra=169.766 dec=12.5866 rad=12.0 tmin=514857601.0 tmax=515116801.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.53
user 3.30
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.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/666556/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1063.fits evtable="EVENTS" outfile="/scratch/kocevski/666556/ft1_filtered_4FGL_J1119.0+1235_daily_bin1063.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.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666556/ft1_filtered_4FGL_J1119.0+1235_daily_bin1063.fits" evtable="EVENTS" scfile=/scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits sctable="SC_DATA" outfile=/scratch/kocevski/666556/ltcube_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.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/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits
.....................!
real 15.33
user 14.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666556/ft1_filtered_4FGL_J1119.0+1235_daily_bin1063.fits evtable="EVENTS" scfile=/scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits sctable="SC_DATA" expcube=/scratch/kocevski/666556/ltcube_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.fits outfile=/scratch/kocevski/666556/expmap_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.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/666556/ltcube_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.fits
.....................!
real 190.75
user 186.07
sys 4.13

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

Setting source of interest to:
4FGL J1119.0+1235 @ 169.766 12.5866

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/666556/ft1_filtered_4FGL_J1119.0+1235_daily_bin1063.fits scfile=/scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits outfile=/scratch/kocevski/666556/cmap_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.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=169.766 yref=12.5866 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666556/ft1_filtered_4FGL_J1119.0+1235_daily_bin1063.fits scfile=/scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits outfile=/scratch/kocevski/666556/cmap_HighResolution_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.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=169.766 yref=12.5866 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/666556/ft1_filtered_4FGL_J1119.0+1235_daily_bin1063.fits evtable="EVENTS" scfile=/scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/666556/Model_4FGL_J1119.0+1235_daily_bin1063.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/666556/ft1_filtered_4FGL_J1119.0+1235_daily_bin1063.fits.....................!
real 52.13
user 50.71
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666556/ft1_filtered_4FGL_J1119.0+1235_daily_bin1063.fits', '/scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits', expMap='/scratch/kocevski/666556/expmap_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.fits', expCube='/scratch/kocevski/666556/ltcube_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666556/Model_4FGL_J1119.0+1235_daily_bin1063.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1119.0+1235'

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  3.793e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.405e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
289         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
290           Eb:  5.376e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/666556/ft1_filtered_4FGL_J1119.0+1235_daily_bin1063.fits
Spacecraft file(s): /scratch/kocevski/666556/ft2_4FGL_J1119.0+1235_daily_bin1063.fits
Exposure map: /scratch/kocevski/666556/expmap_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.fits
Exposure cube: /scratch/kocevski/666556/ltcube_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666556/Model_4FGL_J1119.0+1235_daily_bin1063.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) = 5300.72627956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3936       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.147       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6132       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8947       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10513E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14299E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.564       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12038E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.103       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18621E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.0479       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14256E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16031E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .91612       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0985       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5300.637     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2065 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3936        4.0848       -.22920E-06   -.76278E-04
   2  Prefactor     17.149        8.4314       -.24734E-05   -.19505E-04
   3  Prefactor     3.6085        11.506        .24224E-05   -.13920E-03
   4  Prefactor     5.9036        10.630       -.34287E-05   -.14096E-03
   5  Prefactor     .10000E-03    11.886        .17222E-06** at limit **
   6  Prefactor     .10000E-03    30.498        .11190E-06** at limit **
   7  Prefactor     10.557        15.552        .24394E-05   -.45384E-05
   8  norm          .10000E-03    .58861        .32305E-07** at limit **
   9  Prefactor     .10003E-03    18.627       -.83224E-06** at limit **
  10  Prefactor     .10000E-03    2.2869       -.12412E-07** at limit **
  11  norm          .10000E-03    3.1051       -.12129E-07** at limit **
  12  Prefactor     10.104        8.5147        .33318E-06   -.69395E-05
  13  Prefactor     .10000E-03    16.796        .53942E-06** at limit **
  14  Prefactor     .10000E-03    4.6924        .22519E-08** at limit **
  15  Prefactor     .10000E-03    112.72        .46600E-05** at limit **
  16  Prefactor     9.0784        10.948        .17420E-05   -.43437E-04
  17  Prefactor     .10000E-03    15.780       -.70808E-06** at limit **
  18  Prefactor     .10000E-03    74.458       -.29363E-05** at limit **
  19  Normalizat    .91622        .19632        .97368E-06    .10805E-04
  20  Prefactor     1.0985        .18367       -.30099E-06    .75216E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.39363
  Prefactor  = 17.1492
  Prefactor  = 3.60846
  Prefactor  = 5.90362
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.557
  norm       = 0.0001
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.1036
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.07842
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.916221
  Prefactor  = 1.09846
 **********
 **   18 **HESSE 
 **********

 FCN=   5300.637     FROM HESSE     STATUS=OK           301 CALLS     2366 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3936        4.0672        .11027E-03   -1.5202    
   2  Prefactor     17.149        8.4447        .96721E-04   -1.4879    
   3  Prefactor     3.6085        11.284        .21256E-03   -1.5328    
   4  Prefactor     5.9036        10.768        .16540E-03   -1.5222    
   5  Prefactor     .10000E-03    11.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    31.570        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.557        15.509        .12327E-03   -1.5058    
   8  norm          .10000E-03    .60950        .10897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10003E-03    24.137        .89291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.2900        .10752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.1090        .12529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.104        8.5157        .12606E-03   -1.5072    
  13  Prefactor     .10000E-03    16.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.7168        .15401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    112.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.0784        10.900        .13324E-03   -1.5105    
  17  Prefactor     .10000E-03    15.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    74.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .91622        .22494        .26234E-03   -.95892    
  20  Prefactor     1.0985        .21053        .23385E-03   -.89516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72759e-10
Minuit parameter uncertainties:
  1  4.06741
  2  8.44532
  3  11.2904
  4  10.772
  5  6.82731e-05
  6  0.000245849
  7  15.5149
  8  3.77153e-06
  9  0.00173944
  10  1.05416e-06
  11  9.50985e-09
  12  8.51667
  13  6.64143e-06
  14  2.99892e-06
  15  0.000109377
  16  10.9023
  17  4.17797e-05
  18  0.000108173
  19  0.225168
  20  0.210691
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.000e-04  9.510e-09  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.405e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
289         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
290           Eb:  5.376e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.098e+00  2.107e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.162e-01  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 169.766 12.587
Photon Flux Upper Limit: 4.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666556/likelihoodResults_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.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) = 5300.63865332
delta logL = -0.00151572032246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5300.63713757
delta logL = 3.61214915756e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3974       1.0000          .0000       5.0000    
     3 'Normalizat'    .91623       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0985       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+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=   5300.637     FROM MIGRAD    STATUS=FAILED        98 CALLS      233 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    173.95        .12561E-01** at limit **
   2  alpha         1.3047        4.2241        .50000       -.43340E-06
   3  Normalizat    .91622        .33728E-01    .26234E-03    .89099E-04
   4  Prefactor     1.0985        .32788E-01    .23385E-03    .12090E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5300.637     FROM SIMPLEX   STATUS=UNCHANGED    214 CALLS      447 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    173.95        .31154E-03** at limit **
   2  alpha         1.3047        4.2241        .40161E-06   -.43340E-06
   3  Normalizat    .91622        .33728E-01    .86708E-09    .89099E-04
   4  Prefactor     1.0985        .32788E-01    .11478E-09    .12090E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5300.637     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      482 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    868.26        .13885E-02** at limit **
   2  alpha         1.3046        3.1502        .50000       -.18485E-07
   3  Normalizat    .91622        .14380        .10494E-04    .88622E-04
   4  Prefactor     1.0985        .13980        .46770E-04    .12023E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.30459
  Normalizat = 0.916222
  Prefactor  = 1.09846
 **********
 **   18 **HESSE 
 **********

 FCN=   5300.637     FROM HESSE     STATUS=OK            29 CALLS      511 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.1294        .27770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3046        4.2970        .50000       -.49856    
   3  Normalizat    .91622        .21545        .20987E-05   -.95892    
   4  Prefactor     1.0985        .20945        .93540E-05   -.89516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08384e-11
Minuit parameter uncertainties:
  1  2.30658e-06
  2  256.949
  3  0.215649
  4  0.209609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666556': 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): 0
logL (Free Index) = 5300.63713435
delta logL = 3.25719520333e-06

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.000e-04  2.307e-06  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  1.305e+00  2.569e+02  0.000e+00  5.000e+00 ( 1.000e+00)
289         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
290           Eb:  5.376e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.098e+00  2.096e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.162e-01  2.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 169.766 12.587

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/666556/cmap_HighResolution_514857601_515116801_4FGL_J1119.0+1235_daily_bin1063.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-05', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2021-09-03 16:06:45.381748', job_id='666556', GAL2='1.10', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1630710405.38', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='3.26e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1063' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:06:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 666556: <4FGL_J1119.0+1235_daily_bin1063> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin1063> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 15:51:16 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 15:52:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 15:52:45 2021
Terminated at Fri Sep  3 16:06:45 2021
Results reported at Fri Sep  3 16:06:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1063 169.766 12.5866 514857601 515116801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1119.0+1235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   604.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            929 sec.

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

