/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 90 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 = 7386
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1119.9-1007_daily_bin1205
RA = 169.986, Dec = -10.1288
tmin = 551664001, tmax = 551923201
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='677035', job_status='RUN', time_executed='2021-09-03 16:23:09.691868', time_epoch_executed='1630711389.69' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='1205'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677035

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677035/ft1_4FGL_J1119.9-1007_daily_bin1205.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677035/ft1_4FGL_J1119.9-1007_daily_bin1205.fits outfile=/scratch/kocevski/677035/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1205.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=551664001.0 tmax=551923201.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.81
user 3.57
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.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/677035/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1205.fits evtable="EVENTS" outfile="/scratch/kocevski/677035/ft1_filtered_4FGL_J1119.9-1007_daily_bin1205.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677035/ft1_filtered_4FGL_J1119.9-1007_daily_bin1205.fits" evtable="EVENTS" scfile=/scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits sctable="SC_DATA" outfile=/scratch/kocevski/677035/ltcube_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.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/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits
.....................!
real 13.79
user 13.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677035/ft1_filtered_4FGL_J1119.9-1007_daily_bin1205.fits evtable="EVENTS" scfile=/scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits sctable="SC_DATA" expcube=/scratch/kocevski/677035/ltcube_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.fits outfile=/scratch/kocevski/677035/expmap_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.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/677035/ltcube_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.fits
.....................!
real 193.13
user 187.74
sys 4.08

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

Setting source of interest to:
4FGL J1119.9-1007 @ 169.986 -10.1288

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/677035/ft1_filtered_4FGL_J1119.9-1007_daily_bin1205.fits scfile=/scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits outfile=/scratch/kocevski/677035/cmap_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.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.986 yref=-10.1288 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677035/ft1_filtered_4FGL_J1119.9-1007_daily_bin1205.fits scfile=/scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits outfile=/scratch/kocevski/677035/cmap_HighResolution_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.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.986 yref=-10.1288 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677035/ft1_filtered_4FGL_J1119.9-1007_daily_bin1205.fits evtable="EVENTS" scfile=/scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677035/Model_4FGL_J1119.9-1007_daily_bin1205.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/677035/ft1_filtered_4FGL_J1119.9-1007_daily_bin1205.fits.....................!
real 56.15
user 54.64
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/677035/ft1_filtered_4FGL_J1119.9-1007_daily_bin1205.fits', '/scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits', expMap='/scratch/kocevski/677035/expmap_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.fits', expCube='/scratch/kocevski/677035/ltcube_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/677035/Model_4FGL_J1119.9-1007_daily_bin1205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1119.9-1007'

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  4.961e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.154e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/677035/ft1_filtered_4FGL_J1119.9-1007_daily_bin1205.fits
Spacecraft file(s): /scratch/kocevski/677035/ft2_4FGL_J1119.9-1007_daily_bin1205.fits
Exposure map: /scratch/kocevski/677035/expmap_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.fits
Exposure cube: /scratch/kocevski/677035/ltcube_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/677035/Model_4FGL_J1119.9-1007_daily_bin1205.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) = 5708.25573559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1831       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10930E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.128       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.6947       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10284E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14852E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .23748E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    88.539       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5387       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13826E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .47633E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.535       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9740       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.798       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0767       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93346       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5708.208     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2823 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1819        6.9936        .65274E-06   -.40942E-04
   2  Prefactor     .10000E-03    9.4776        .14424E-06** at limit **
   3  Prefactor     .10000E-03    55.873        .14773E-05** at limit **
   4  Prefactor     23.125        23.601       -.10320E-05    .63016E-04
   5  Prefactor     .10000E-03    10.773        .76472E-06** at limit **
   6  Prefactor     5.6941        7.0863        .66996E-06    .22829E-03
   7  Prefactor     .10000E-03    42.099       -.65092E-06** at limit **
   8  norm          .10000E-03    5.8745        .29515E-06** at limit **
   9  Prefactor     .10000E-03    17.790       -.16726E-07** at limit **
  10  norm          .10000E-03    .51814       -.14352E-06** at limit **
  11  Prefactor     .10025E-03    24.573        .46285E-05** at limit **
  12  Prefactor     .10051E-03    95.396       -.13842E-04** at limit **
  13  norm          88.533        45.003        .53383E-06    .29932E-03
  14  Prefactor     1.5386        2.1860        .13354E-06   -.37938E-06
  15  Prefactor     .10000E-03    111.71        .68941E-05** at limit **
  16  Prefactor     .10000E-03    39.207       -.12123E-05** at limit **
  17  norm          .10000E-03    17.178       -.68157E-05** at limit **
  18  Prefactor     23.544        8.3199       -.86311E-07   -.63060E-04
  19  Prefactor     5.9525        27.938        .35139E-06   -.99711E-05
  20  Prefactor     .10000E-03    32.794       -.34857E-06** at limit **
  21  Prefactor     .10000E-03    30.556        .11899E-05** at limit **
  22  Prefactor     35.794        48.792        .11080E-05   -.25423E-04
  23  Normalizat    1.0771        .23010       -.21704E-05   -.28238E-03
  24  Prefactor     .93348        .14887        .13060E-06   -.19638E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.18189
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.1249
  Prefactor  = 0.0001
  Prefactor  = 5.69407
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100255
  Prefactor  = 0.000100506
  norm       = 88.5328
  Prefactor  = 1.53859
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.5436
  Prefactor  = 5.95253
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.7938
  Normalizat = 1.07706
  Prefactor  = 0.93348
 **********
 **   18 **HESSE 
 **********

 FCN=   5708.208     FROM HESSE     STATUS=OK           397 CALLS     3220 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1819        7.0158        .16145E-03   -1.5211    
   2  Prefactor     .10000E-03    9.4894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    56.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.125        23.667        .83290E-04   -1.4746    
   5  Prefactor     .10000E-03    10.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.6941        7.1054        .16832E-03   -1.5231    
   7  Prefactor     .10000E-03    42.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.8938        .17884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .90763        .10384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10025E-03    53.173        .33940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10051E-03    139.14        .34102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          88.533        45.718        .42700E-04   -1.3823    
  14  Prefactor     1.5386        2.1632        .12996E-03   -1.5460    
  15  Prefactor     .10000E-03    111.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    39.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    17.405        .35525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.544        8.0303        .82568E-04   -1.4737    
  19  Prefactor     5.9525        27.624        .16428E-03   -1.5220    
  20  Prefactor     .10000E-03    32.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    30.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     35.794        48.776        .66981E-04   -1.4511    
  23  Normalizat    1.0771        .27782        .29502E-03   -.90492    
  24  Prefactor     .93348        .17980        .21115E-03   -.94981    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.42932e-09
Minuit parameter uncertainties:
  1  7.0167
  2  9.98568e-06
  3  0.000275333
  4  23.6765
  5  0.000127
  6  7.10649
  7  2.98846e-06
  8  1.99542e-05
  9  1.18621e-06
  10  1.31187e-05
  11  0.0073647
  12  0.0168234
  13  45.7359
  14  2.16335
  15  0.000652322
  16  6.51243e-05
  17  0.000151732
  18  8.03071
  19  25.6655
  20  5.14303e-05
  21  8.73131e-06
  22  48.8305
  23  0.278196
  24  0.17991
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  2.988e-06  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.154e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  9.335e-01  1.799e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.077e+00  2.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 169.986 -10.129
Photon Flux Upper Limit: 8.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677035/likelihoodResults_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.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) = 5708.20769933
delta logL = -0.000112837698907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5708.20758693
delta logL = -4.42993041361e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13186E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0952       1.0000          .0000       10.000    
     3 'Normalizat'    1.0771       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5708.208     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      233 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1092.2        .90712E-02** at limit **
   2  Index         2.1108        7.3235        .50000       -.33883E-05
   3  Normalizat    1.0771        .30137E-01    .66687E-01   -.14408E-04
   4  Prefactor     .93348        .20343E-01    .45430E-01   -.63941E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.11076
  Normalizat = 1.07706
  Prefactor  = 0.933478
 **********
 **   18 **HESSE 
 **********

 FCN=   5708.208     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6753.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1108        8.7525        .50000       -.61609    
   3  Normalizat    1.0771        .62887E-01    .29502E-03   -.90492    
   4  Prefactor     .93348        .42488E-01    .21115E-03   -.94981    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.53475e-09
Minuit parameter uncertainties:
  1  0.00135325
  2  40.7456
  3  0.062891
  4  0.0424899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677035': 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) = 5708.20758653
delta logL = -3.7523022911e-08

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.353e-03  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.111e+00  4.075e+01  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  9.335e-01  4.249e-02  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.077e+00  6.289e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 169.986 -10.129

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/677035/cmap_HighResolution_551664001_551923201_4FGL_J1119.9-1007_daily_bin1205.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-03', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2021-09-03 16:35:02.392000', job_id='677035', GAL2='0.93', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630712102.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-3.75e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1205' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:35:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 677035: <4FGL_J1119.9-1007_daily_bin1205> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1205> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 16:21:11 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:21:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 16:21:18 2021
Terminated at Fri Sep  3 16:35:03 2021
Results reported at Fri Sep  3 16:35:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1205 169.986 -10.1288 551664001 551923201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1119.9-1007 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   696.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            832 sec.

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

