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


Performing analysis on: 4FGL_J1119.9-1007_daily_bin1437
RA = 169.986, Dec = -10.1288
tmin = 611798401, tmax = 612057601
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='677419', job_status='RUN', time_executed='2021-09-03 16:23:14.592609', time_epoch_executed='1630711394.59' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='1437'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677419

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677419/ft1_4FGL_J1119.9-1007_daily_bin1437.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677419/ft1_4FGL_J1119.9-1007_daily_bin1437.fits outfile=/scratch/kocevski/677419/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1437.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=611798401.0 tmax=612057601.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.56
user 3.30
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.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/677419/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1437.fits evtable="EVENTS" outfile="/scratch/kocevski/677419/ft1_filtered_4FGL_J1119.9-1007_daily_bin1437.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677419/ft1_filtered_4FGL_J1119.9-1007_daily_bin1437.fits" evtable="EVENTS" scfile=/scratch/kocevski/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.fits sctable="SC_DATA" outfile=/scratch/kocevski/677419/ltcube_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.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/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.fits
.....................!
real 17.87
user 17.43
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677419/ft1_filtered_4FGL_J1119.9-1007_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.fits sctable="SC_DATA" expcube=/scratch/kocevski/677419/ltcube_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.fits outfile=/scratch/kocevski/677419/expmap_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.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/677419/ltcube_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.fits
.....................!
real 194.97
user 188.53
sys 5.90

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/677419/ft1_filtered_4FGL_J1119.9-1007_daily_bin1437.fits scfile=/scratch/kocevski/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.fits outfile=/scratch/kocevski/677419/cmap_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.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.63
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677419/ft1_filtered_4FGL_J1119.9-1007_daily_bin1437.fits scfile=/scratch/kocevski/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.fits outfile=/scratch/kocevski/677419/cmap_HighResolution_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.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.62
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677419/ft1_filtered_4FGL_J1119.9-1007_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677419/Model_4FGL_J1119.9-1007_daily_bin1437.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/677419/ft1_filtered_4FGL_J1119.9-1007_daily_bin1437.fits.....................!
real 51.21
user 49.74
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/677419/ft1_filtered_4FGL_J1119.9-1007_daily_bin1437.fits', '/scratch/kocevski/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.fits', expMap='/scratch/kocevski/677419/expmap_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.fits', expCube='/scratch/kocevski/677419/ltcube_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/677419/Model_4FGL_J1119.9-1007_daily_bin1437.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/677419/ft1_filtered_4FGL_J1119.9-1007_daily_bin1437.fits
Spacecraft file(s): /scratch/kocevski/677419/ft2_4FGL_J1119.9-1007_daily_bin1437.fits
Exposure map: /scratch/kocevski/677419/expmap_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.fits
Exposure cube: /scratch/kocevski/677419/ltcube_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/677419/Model_4FGL_J1119.9-1007_daily_bin1437.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) = 5052.42038739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0664       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3225       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9193       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.953       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12696E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.526       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10303E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0248       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.840       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5954       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.363       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.9511       1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.073       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .21396E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74674       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1540       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=   5052.330     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2370 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0653        8.2235       -.15641E-06   -.32185E-03
   2  Prefactor     7.3562        54.515        .80075E-05    .17072E-03
   3  Prefactor     5.6358        1277.0       -.40520E-04   -.18705E-04
   4  Prefactor     31.959        21.217       -.13525E-05   -.40556E-03
   5  Prefactor     .10000E-03    22.381        .78222E-06** at limit **
   6  Prefactor     .10000E-03    2.0036       -.19383E-06** at limit **
   7  Prefactor     .10000E-03    72.970       -.24562E-06** at limit **
   8  norm          11.525        11.786       -.66124E-06   -.28613E-03
   9  Prefactor     .10000E-03    46.567        .37125E-06** at limit **
  10  norm          .10000E-03    1.4145        .31610E-05** at limit **
  11  Prefactor     8.0257        5.5005       -.21310E-06   -.35138E-04
  12  Prefactor     29.837        15.395        .43693E-06   -.30054E-03
  13  norm          .10000E-03    14.571       -.88702E-07** at limit **
  14  Prefactor     1.5954        1.5544       -.59019E-07    .30120E-04
  15  Prefactor     .10000E-03    10.441       -.12584E-06** at limit **
  16  Prefactor     18.352        26.088       -.59441E-06   -.24875E-04
  17  norm          .10000E-03    2.0260       -.27096E-06** at limit **
  18  Prefactor     6.9519        4.5832        .51537E-07    .52607E-03
  19  Prefactor     32.072        19.763       -.19532E-06    .12516E-03
  20  Prefactor     .10000E-03    59.184        .14084E-05** at limit **
  21  Prefactor     .10000E-03    164.40       -.40608E-04** at limit **
  22  Prefactor     .10000E-03    25.888       -.27821E-05** at limit **
  23  Normalizat    .74670        .25162        .22094E-05    .11429E-03
  24  Prefactor     1.1541        .16928        .10347E-05    .22125E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.06525
  Prefactor  = 7.35622
  Prefactor  = 5.63577
  Prefactor  = 31.9593
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.5252
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 8.02565
  Prefactor  = 29.8371
  norm       = 0.0001
  Prefactor  = 1.59537
  Prefactor  = 0.0001
  Prefactor  = 18.3522
  norm       = 0.0001
  Prefactor  = 6.95188
  Prefactor  = 32.072
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Normalizat = 0.746701
  Prefactor  = 1.15409
 **********
 **   18 **HESSE 
 **********

 FCN=   5052.330     FROM HESSE     STATUS=OK           399 CALLS     2769 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0653        8.3245        .89319E-03   -1.5258    
   2  Prefactor     7.3562        57.379        .14822E-03   -1.5165    
   3  Prefactor     5.6358        1435.6        .16505E-02   -1.5233    
   4  Prefactor     31.959        21.268        .70885E-04   -1.4577    
   5  Prefactor     .10000E-03    22.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.0141        .98181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    73.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.525        11.767        .11800E-03   -1.5029    
   9  Prefactor     .10000E-03    46.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.4081        .12868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.0257        5.4935        .12719E-03   -1.5141    
  12  Prefactor     29.837        15.339        .73345E-04   -1.4615    
  13  norm          .10000E-03    14.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.5954        1.5682        .85062E-04   -1.5455    
  15  Prefactor     .10000E-03    10.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.352        26.097        .93466E-04   -1.4851    
  17  norm          .10000E-03    2.0301        .98825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.9519        4.5603        .57728E-03   -1.5181    
  19  Prefactor     32.072        19.755        .70753E-04   -1.4575    
  20  Prefactor     .10000E-03    59.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    159.64        .61773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    25.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .74670        .28162        .34899E-03   -1.0208    
  24  Prefactor     1.1541        .19252        .20267E-03   -.87756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62825e-09
Minuit parameter uncertainties:
  1  8.32637
  2  41.1441
  3  184.561
  4  21.2727
  5  0.000150654
  6  1.5497e-05
  7  0.000343825
  8  11.7697
  9  0.00011645
  10  5.41484e-05
  11  5.49389
  12  15.3406
  13  1.16264e-05
  14  1.56821
  15  3.08591e-05
  16  26.113
  17  1.96437e-05
  18  4.56053
  19  19.7588
  20  0.000204363
  21  0.00175796
  22  0.000179463
  23  0.28217
  24  0.19264
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  3.438e-04  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:  1.154e+00  1.926e-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:  7.467e-01  2.822e-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: 7.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677419/likelihoodResults_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.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) = 5052.33036578
delta logL = -6.49680305287e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5052.3303009
delta logL = -8.53824531077e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10571E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3564       1.0000          .0000       10.000    
     3 'Normalizat'    .74670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1541       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=   5052.330     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      245 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.099        .90712E-02** at limit **
   2  Index         2.3399        5.4585        .50000        .19013E-05
   3  Normalizat    .74670        .44698E-02    .78825E-01    .45595E-05
   4  Prefactor     1.1541        .31767E-02    .35819E-01   -.45708E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.33994
  Normalizat = 0.746701
  Prefactor  = 1.15408
 **********
 **   18 **HESSE 
 **********

 FCN=   5052.330     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    293.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3399        8.5314        .50000       -.56098    
   3  Normalizat    .74670        .12114E-01    .34898E-03   -1.0208    
   4  Prefactor     1.1541        .86284E-02    .20267E-03   -.87756    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71639e-08
Minuit parameter uncertainties:
  1  0.000378876
  2  285.676
  3  0.0121135
  4  0.00862839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677419': 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) = 5052.33030085
delta logL = -3.62833816325e-08

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  3.789e-04  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.340e+00  2.857e+02  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:  1.154e+00  8.628e-03  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:  7.467e-01  1.211e-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/677419/cmap_HighResolution_611798401_612057601_4FGL_J1119.9-1007_daily_bin1437.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-03', job_status='DONE', photon_flux_upper_limit='7.91e-08', time_completed='2021-09-03 16:37:33.486422', job_id='677419', GAL2='1.15', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630712253.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-3.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1437' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:37:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 677419: <4FGL_J1119.9-1007_daily_bin1437> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1437> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 16:21:36 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:21:55 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:55 2021
Terminated at Fri Sep  3 16:37:34 2021
Results reported at Fri Sep  3 16:37:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1437 169.986 -10.1288 611798401 612057601 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 :                                   637.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             269.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            958 sec.

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

