/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 79 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1119.9-1007_daily_bin310
RA = 169.986, Dec = -10.1288
tmin = 319680001, tmax = 319939201
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='670676', job_status='RUN', time_executed='2021-09-03 16:05:40.124701', time_epoch_executed='1630710340.12' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='310'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670676

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670676/ft1_4FGL_J1119.9-1007_daily_bin310.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670676/ft2_4FGL_J1119.9-1007_daily_bin310.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670676/ft1_4FGL_J1119.9-1007_daily_bin310.fits outfile=/scratch/kocevski/670676/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin310.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=319680001.0 tmax=319939201.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.50
user 3.29
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/670676/ft1_filtered_4FGL_J1119.9-1007_daily_bin310.fits" evtable="EVENTS" scfile=/scratch/kocevski/670676/ft2_4FGL_J1119.9-1007_daily_bin310.fits sctable="SC_DATA" outfile=/scratch/kocevski/670676/ltcube_319680001_319939201_4FGL_J1119.9-1007_daily_bin310.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/670676/ft2_4FGL_J1119.9-1007_daily_bin310.fits
.....................!
real 17.37
user 16.95
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670676/ft1_filtered_4FGL_J1119.9-1007_daily_bin310.fits evtable="EVENTS" scfile=/scratch/kocevski/670676/ft2_4FGL_J1119.9-1007_daily_bin310.fits sctable="SC_DATA" expcube=/scratch/kocevski/670676/ltcube_319680001_319939201_4FGL_J1119.9-1007_daily_bin310.fits outfile=/scratch/kocevski/670676/expmap_319680001_319939201_4FGL_J1119.9-1007_daily_bin310.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/670676/ltcube_319680001_319939201_4FGL_J1119.9-1007_daily_bin310.fits
.....................!
real 192.58
user 186.65
sys 5.46

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/670676/ft1_filtered_4FGL_J1119.9-1007_daily_bin310.fits scfile=/scratch/kocevski/670676/ft2_4FGL_J1119.9-1007_daily_bin310.fits outfile=/scratch/kocevski/670676/cmap_319680001_319939201_4FGL_J1119.9-1007_daily_bin310.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/670676/ft1_filtered_4FGL_J1119.9-1007_daily_bin310.fits scfile=/scratch/kocevski/670676/ft2_4FGL_J1119.9-1007_daily_bin310.fits outfile=/scratch/kocevski/670676/cmap_HighResolution_319680001_319939201_4FGL_J1119.9-1007_daily_bin310.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.57
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/670676/ft1_filtered_4FGL_J1119.9-1007_daily_bin310.fits evtable="EVENTS" scfile=/scratch/kocevski/670676/ft2_4FGL_J1119.9-1007_daily_bin310.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/670676/Model_4FGL_J1119.9-1007_daily_bin310.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/670676/ft1_filtered_4FGL_J1119.9-1007_daily_bin310.fits....................!
real 61.86
user 59.93
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8875       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12539E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    173.71       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10377E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.5303       1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.127       1.0000         .10000E-03   10000.    
    10 'norm      '    4.6956       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10354E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.135       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    42.909       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4678       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.583       1.0000         .10000E-03   10000.    
    21 'Prefactor '    57.493       1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.924       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2259       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95522       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6251.198     FROM MIGRAD    STATUS=CONVERGED    952 CALLS     3123 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8873        7.0237        .13445E-03    .51327E-04
   2  Prefactor     .10000E-03    35.054        .18142E-02** at limit **
   3  Prefactor     173.71        112.38        .30617E-04   -.58595E-04
   4  Prefactor     .10000E-03    12.969        .18142E-02** at limit **
   5  Prefactor     .10000E-03    11.078        .18142E-02** at limit **
   6  Prefactor     .10000E-03    3.0145        .13337E-02** at limit **
   7  Prefactor     .10000E-03    56.328        .18142E-02** at limit **
   8  norm          7.5377        9.7622        .14614E-03   -.59432E-04
   9  Prefactor     34.128        36.770        .68596E-04    .33147E-06
  10  norm          4.6953        1.5646        .54577E-04    .90196E-04
  11  Prefactor     .10000E-03    11.553        .40949E-01** at limit **
  12  Prefactor     .10000E-03    2.7580        .12810E-02** at limit **
  13  norm          10.146        17.155        .12586E-03   -.14841E-03
  14  Prefactor     .10000E-03    .97167        .75644E-03** at limit **
  15  Prefactor     42.936        38.382        .61200E-04   -.63345E-04
  16  Prefactor     .10000E-03    9.1975        .18142E-02** at limit **
  17  norm          .10000E-03    4.9742        .17138E-02** at limit **
  18  Prefactor     3.4625        5.1072        .96299E-03    .23346E-03
  19  Prefactor     .10000E-03    40.270        .36285E-03** at limit **
  20  Prefactor     20.568        49.224        .88285E-04   -.14809E-04
  21  Prefactor     57.483        28.709        .52908E-04   -.21488E-04
  22  Prefactor     29.909        39.112        .73243E-04   -.44952E-04
  23  Normalizat    1.2260        .28853        .30330E-03    .35761E-03
  24  Prefactor     .95520        .18676        .22924E-03    .11079E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.88727
  Prefactor  = 0.0001
  Prefactor  = 173.713
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.53773
  Prefactor  = 34.1276
  norm       = 4.69534
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 10.1458
  Prefactor  = 0.0001
  Prefactor  = 42.9365
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.46254
  Prefactor  = 0.000100001
  Prefactor  = 20.5685
  Prefactor  = 57.4828
  Prefactor  = 29.9095
  Normalizat = 1.226
  Prefactor  = 0.955201
 **********
 **   18 **HESSE 
 **********

 FCN=   6251.198     FROM HESSE     STATUS=OK           385 CALLS     3508 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8873        7.0235        .53779E-05   -1.5112    
   2  Prefactor     .10000E-03    35.059        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     173.71        112.37        .61233E-05   -1.3064    
   4  Prefactor     .10000E-03    12.972        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.0150        .26673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    56.333        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.5377        9.7257        .58458E-05   -1.5159    
   9  Prefactor     34.128        36.769        .13719E-04   -1.4539    
  10  norm          4.6953        1.5646        .21831E-05   -1.5275    
  11  Prefactor     .10000E-03    7.6100        .52479E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.7581        .25620E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.146        17.051        .50345E-05   -1.5071    
  14  Prefactor     .10000E-03    .97175        .15129E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     42.936        38.312        .12240E-04   -1.4397    
  16  Prefactor     .10000E-03    9.1976        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.9753        .34276E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.4625        5.0990        .38520E-04   -1.5336    
  19  Prefactor     .10000E-03    40.272        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.568        49.186        .35314E-05   -1.4801    
  21  Prefactor     57.483        28.705        .21163E-05   -1.4190    
  22  Prefactor     29.909        39.113        .14649E-04   -1.4614    
  23  Normalizat    1.2260        .28892        .60661E-04   -.85803    
  24  Prefactor     .95520        .18699        .91694E-05   -.94238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.60805e-10
Minuit parameter uncertainties:
  1  7.02413
  2  0.000159845
  3  112.507
  4  5.82785e-05
  5  0.000138626
  6  1.06779e-05
  7  2.77146e-05
  8  9.72775
  9  36.7937
  10  1.5646
  11  0.000209436
  12  1.20653e-05
  13  17.0593
  14  2.72383e-06
  15  38.3344
  16  1.15306e-05
  17  7.73602e-05
  18  5.09963
  19  0.000390396
  20  49.2832
  21  28.7116
  22  39.1464
  23  0.289299
  24  0.18712
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  2.771e-05  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.552e-01  1.871e-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.226e+00  2.893e-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.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670676/likelihoodResults_319680001_319939201_4FGL_J1119.9-1007_daily_bin310.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) = 6251.19774934
delta logL = -8.44909345687e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6251.19766538
delta logL = -5.31031218998e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11489E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3617       1.0000          .0000       10.000    
     3 'Normalizat'    1.2260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95520       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6251.198     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      282 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10264E-03    11.932        .18142E-01** at limit **
   2  Index         2.2833        8.8323        .50000        .78003E-05
   3  Normalizat    1.2260        .29143E-02    .30331E-03    .11560E-03
   4  Prefactor     .95520        .19836E-02    .22923E-03    .68986E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102637
  Index      = 2.28334
  Normalizat = 1.22599
  Prefactor  = 0.955203
 **********
 **   18 **HESSE 
 **********

 FCN=   6251.198     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10264E-03    117.25        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2833        5.8393        .50000       -.57440    
   3  Normalizat    1.2260        .91297E-02    .12132E-04   -.85803    
   4  Prefactor     .95520        .62140E-02    .91693E-05   -.94238    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.4107e-10
Minuit parameter uncertainties:
  1  0.0352384
  2  217.262
  3  0.00912968
  4  0.00621401
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670676': 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) = 6251.19766507
delta logL = -2.16397893382e-07

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.026e-04  3.524e-02  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.283e+00  2.173e+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:  9.552e-01  6.214e-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:  1.226e+00  9.130e-03  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/670676/cmap_HighResolution_319680001_319939201_4FGL_J1119.9-1007_daily_bin310.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', job_status='DONE', photon_flux_upper_limit='7.69e-08', time_completed='2021-09-03 16:18:35.614521', job_id='670676', GAL2='0.96', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1630711115.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-2.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='310' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:18:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 670676: <4FGL_J1119.9-1007_daily_bin310> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin310> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 16:02:13 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:04:12 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:04:12 2021
Terminated at Fri Sep  3 16:18:36 2021
Results reported at Fri Sep  3 16:18:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin310 169.986 -10.1288 319680001 319939201 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 :                                   770.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            983 sec.

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

