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


Performing analysis on: 4FGL_J1119.9-1007_daily_bin834
RA = 169.986, Dec = -10.1288
tmin = 455500801, tmax = 455760001
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='673896', job_status='RUN', time_executed='2021-09-03 16:14:38.389113', time_epoch_executed='1630710878.39' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='834'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673896

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673896/ft1_4FGL_J1119.9-1007_daily_bin834.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673896/ft2_4FGL_J1119.9-1007_daily_bin834.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673896/ft1_4FGL_J1119.9-1007_daily_bin834.fits outfile=/scratch/kocevski/673896/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin834.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=455500801.0 tmax=455760001.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.46
user 3.21
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/673896/ft1_filtered_4FGL_J1119.9-1007_daily_bin834.fits" evtable="EVENTS" scfile=/scratch/kocevski/673896/ft2_4FGL_J1119.9-1007_daily_bin834.fits sctable="SC_DATA" outfile=/scratch/kocevski/673896/ltcube_455500801_455760001_4FGL_J1119.9-1007_daily_bin834.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/673896/ft2_4FGL_J1119.9-1007_daily_bin834.fits
.....................!
real 16.45
user 16.00
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673896/ft1_filtered_4FGL_J1119.9-1007_daily_bin834.fits evtable="EVENTS" scfile=/scratch/kocevski/673896/ft2_4FGL_J1119.9-1007_daily_bin834.fits sctable="SC_DATA" expcube=/scratch/kocevski/673896/ltcube_455500801_455760001_4FGL_J1119.9-1007_daily_bin834.fits outfile=/scratch/kocevski/673896/expmap_455500801_455760001_4FGL_J1119.9-1007_daily_bin834.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/673896/ltcube_455500801_455760001_4FGL_J1119.9-1007_daily_bin834.fits
.....................!
real 192.94
user 187.77
sys 4.41

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/673896/ft1_filtered_4FGL_J1119.9-1007_daily_bin834.fits scfile=/scratch/kocevski/673896/ft2_4FGL_J1119.9-1007_daily_bin834.fits outfile=/scratch/kocevski/673896/cmap_455500801_455760001_4FGL_J1119.9-1007_daily_bin834.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/673896/ft1_filtered_4FGL_J1119.9-1007_daily_bin834.fits scfile=/scratch/kocevski/673896/ft2_4FGL_J1119.9-1007_daily_bin834.fits outfile=/scratch/kocevski/673896/cmap_HighResolution_455500801_455760001_4FGL_J1119.9-1007_daily_bin834.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.58
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/673896/ft1_filtered_4FGL_J1119.9-1007_daily_bin834.fits evtable="EVENTS" scfile=/scratch/kocevski/673896/ft2_4FGL_J1119.9-1007_daily_bin834.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/673896/Model_4FGL_J1119.9-1007_daily_bin834.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/673896/ft1_filtered_4FGL_J1119.9-1007_daily_bin834.fits.....................!
real 59.72
user 58.22
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.058       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.721       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.154       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.575       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    58.173       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4502       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15114       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    53.940       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .51564       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12828E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.0953       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.3840       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.990       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92483       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=   6007.420     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2774 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.057        8.9507       -.30496E-06    .79244E-05
   2  Prefactor     26.720        22.968       -.84344E-07    .34523E-05
   3  Prefactor     .10000E-03    32.400       -.31659E-05** at limit **
   4  Prefactor     12.157        18.509        .81855E-08    .82864E-05
   5  Prefactor     .10000E-03    5.6976       -.12266E-05** at limit **
   6  Prefactor     10.576        5.8903       -.49999E-06    .88836E-05
   7  Prefactor     .10000E-03    129.65        .23929E-05** at limit **
   8  norm          .10000E-03    4.6682       -.73007E-06** at limit **
   9  Prefactor     58.160        51.104       -.11951E-05   -.12117E-04
  10  norm          2.4503        1.4130        .13485E-06   -.72101E-04
  11  Prefactor     .12510        107.13       -.94716E-05    .39214E-05
  12  Prefactor     .10000E-03    23.406        .23374E-05** at limit **
  13  norm          54.062        47.625        .36615E-05    .63757E-05
  14  Prefactor     .51420        3.3759       -.17282E-05    .18604E-05
  15  Prefactor     .10000E-03    60.675        .69321E-05** at limit **
  16  Prefactor     .10000E-03    16.047        .29438E-06** at limit **
  17  norm          2.0947        5.8021        .11573E-05   -.77540E-05
  18  Prefactor     6.3839        3.9732       -.26353E-06   -.34700E-05
  19  Prefactor     .10000E-03    16.078       -.14544E-05** at limit **
  20  Prefactor     39.994        40.879       -.66379E-06    .12351E-04
  21  Prefactor     .10000E-03    10.067       -.60094E-06** at limit **
  22  Prefactor     .10000E-03    19.025       -.25328E-05** at limit **
  23  Normalizat    1.1731        .23241        .34304E-05   -.42390E-04
  24  Prefactor     .92484        .15105       -.11048E-06    .64904E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0569
  Prefactor  = 26.7202
  Prefactor  = 0.0001
  Prefactor  = 12.1567
  Prefactor  = 0.0001
  Prefactor  = 10.5765
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 58.1602
  norm       = 2.4503
  Prefactor  = 0.125103
  Prefactor  = 0.0001
  norm       = 54.0622
  Prefactor  = 0.5142
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.09468
  Prefactor  = 6.38391
  Prefactor  = 0.0001
  Prefactor  = 39.9936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17315
  Prefactor  = 0.924837
 **********
 **   18 **HESSE 
 **********

 FCN=   6007.420     FROM HESSE     STATUS=OK           403 CALLS     3177 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.057        8.9723        .12634E-03   -1.5074    
   2  Prefactor     26.720        22.970        .77498E-04   -1.4674    
   3  Prefactor     .10000E-03    32.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.157        18.575        .11490E-03   -1.5010    
   5  Prefactor     .10000E-03    5.7101        .18064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.576        5.9459        .12321E-03   -1.5057    
   7  Prefactor     .10000E-03    130.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.6823        .16345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     58.160        51.133        .26300E-03   -1.4181    
  10  norm          2.4503        1.4073        .65987E-04   -1.5395    
  11  Prefactor     .12510        156.99        .25154E-02   -1.5637    
  12  Prefactor     .10000E-03    24.172        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          54.062        56.756        .54613E-04   -1.4236    
  14  Prefactor     .51420        3.5109        .27066E-02   -1.5565    
  15  Prefactor     .10000E-03    61.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.0947        5.8254        .14257E-02   -1.5418    
  18  Prefactor     6.3839        3.9764        .11429E-03   -1.5203    
  19  Prefactor     .10000E-03    16.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     39.994        40.880        .63385E-04   -1.4442    
  21  Prefactor     .10000E-03    10.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    19.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1731        .27516        .29337E-03   -.87437    
  24  Prefactor     .92484        .17970        .22281E-03   -.95279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00946e-09
Minuit parameter uncertainties:
  1  8.97349
  2  22.9776
  3  9.94168e-05
  4  18.584
  5  7.72089e-06
  6  5.94626
  7  0.000252305
  8  1.08603e-05
  9  51.1721
  10  1.40736
  11  8.88316
  12  0.000167442
  13  56.8129
  14  2.68721
  15  2.46997e-05
  16  2.90348e-06
  17  5.82695
  18  3.9766
  19  2.76807e-05
  20  40.9081
  21  7.59922e-06
  22  5.29361e-05
  23  0.275496
  24  0.179817
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  2.523e-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:  9.248e-01  1.798e-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.173e+00  2.755e-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: 9.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/673896/likelihoodResults_455500801_455760001_4FGL_J1119.9-1007_daily_bin834.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) = 6007.41954356
delta logL = -3.63607414329e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6007.41950724
delta logL = -4.50836523669e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1169       1.0000          .0000       10.000    
     3 'Normalizat'    1.1732       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92484       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=   6007.420     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      240 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9294.1        .90712E-02** at limit **
   2  Index         2.1815        8.8590        .50000       -.50215E-05
   3  Normalizat    1.1732        .65156E-01    .66312E-01    .30800E-04
   4  Prefactor     .92484        .44743E-01    .45321E-01    .50575E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.18151
  Normalizat = 1.17315
  Prefactor  = 0.924836
 **********
 **   18 **HESSE 
 **********

 FCN=   6007.420     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9881.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1815        5.9403        .50000       -.59886    
   3  Normalizat    1.1732        .86123E-01    .29336E-03   -.87437    
   4  Prefactor     .92484        .59204E-01    .22281E-03   -.95279    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49681e-08
Minuit parameter uncertainties:
  1  0.0176104
  2  50.2041
  3  0.0861336
  4  0.0592079
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673896': 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) = 6007.41950716
delta logL = 3.29564500134e-08

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.761e-02  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.182e+00  5.020e+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.248e-01  5.921e-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.173e+00  8.613e-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/673896/cmap_HighResolution_455500801_455760001_4FGL_J1119.9-1007_daily_bin834.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.57e-03', job_status='DONE', photon_flux_upper_limit='9.96e-08', time_completed='2021-09-03 16:26:45.083098', job_id='673896', GAL2='0.92', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1630711605.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.30e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='834' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:26:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0014>
Subject: Job 673896: <4FGL_J1119.9-1007_daily_bin834> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin834> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep  3 16:11:22 2021
Job was executed on host(s) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:12:30 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:12:30 2021
Terminated at Fri Sep  3 16:26:45 2021
Results reported at Fri Sep  3 16:26:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin834 169.986 -10.1288 455500801 455760001 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 :                                   723.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            923 sec.

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

