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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1133
RA = 169.766, Dec = 12.5866
tmin = 533001601, tmax = 533260801
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='666664', job_status='RUN', time_executed='2021-09-03 15:56:18.785187', time_epoch_executed='1630709778.79' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666664

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666664/ft1_4FGL_J1119.0+1235_daily_bin1133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666664/ft2_4FGL_J1119.0+1235_daily_bin1133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666664/ft1_4FGL_J1119.0+1235_daily_bin1133.fits outfile=/scratch/kocevski/666664/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1133.fits ra=169.766 dec=12.5866 rad=12.0 tmin=533001601.0 tmax=533260801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.53
user 3.29
sys 0.22

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666664/ft1_filtered_4FGL_J1119.0+1235_daily_bin1133.fits" evtable="EVENTS" scfile=/scratch/kocevski/666664/ft2_4FGL_J1119.0+1235_daily_bin1133.fits sctable="SC_DATA" outfile=/scratch/kocevski/666664/ltcube_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.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/666664/ft2_4FGL_J1119.0+1235_daily_bin1133.fits
.....................!
real 15.62
user 15.24
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666664/ft1_filtered_4FGL_J1119.0+1235_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/666664/ft2_4FGL_J1119.0+1235_daily_bin1133.fits sctable="SC_DATA" expcube=/scratch/kocevski/666664/ltcube_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.fits outfile=/scratch/kocevski/666664/expmap_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.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/666664/ltcube_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.fits
.....................!
real 191.26
user 186.65
sys 3.99

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 189 point sources and 0 extended sources

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/666664/ft1_filtered_4FGL_J1119.0+1235_daily_bin1133.fits scfile=/scratch/kocevski/666664/ft2_4FGL_J1119.0+1235_daily_bin1133.fits outfile=/scratch/kocevski/666664/cmap_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=169.766 yref=12.5866 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666664/ft1_filtered_4FGL_J1119.0+1235_daily_bin1133.fits scfile=/scratch/kocevski/666664/ft2_4FGL_J1119.0+1235_daily_bin1133.fits outfile=/scratch/kocevski/666664/cmap_HighResolution_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=169.766 yref=12.5866 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666664/ft1_filtered_4FGL_J1119.0+1235_daily_bin1133.fits', '/scratch/kocevski/666664/ft2_4FGL_J1119.0+1235_daily_bin1133.fits', expMap='/scratch/kocevski/666664/expmap_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.fits', expCube='/scratch/kocevski/666664/ltcube_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666664/Model_4FGL_J1119.0+1235_daily_bin1133.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/666664/ft1_filtered_4FGL_J1119.0+1235_daily_bin1133.fits
Spacecraft file(s): /scratch/kocevski/666664/ft2_4FGL_J1119.0+1235_daily_bin1133.fits
Exposure map: /scratch/kocevski/666664/expmap_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.fits
Exposure cube: /scratch/kocevski/666664/ltcube_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666664/Model_4FGL_J1119.0+1235_daily_bin1133.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) = 6707.46687623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1794       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.431       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3716       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.014       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .51447       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6691       1.0000         .10000E-03   10000.    
     8 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10191E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .40195E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.296       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6347       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.370       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .92833       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1259       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6707.458     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2100 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1782        4.3860        .21174E-06   -.18808E-04
   2  Prefactor     19.426        7.7327       -.89132E-07   -.17137E-03
   3  Prefactor     2.3742        9.4312       -.26979E-05   -.32121E-03
   4  Prefactor     .10013E-03    9.3275        .37172E-05** at limit **
   5  Prefactor     12.001        10.058       -.98296E-06   -.56881E-03
   6  Prefactor     .49492        20.387       -.31168E-05   -.25762E-03
   7  Prefactor     5.6590        11.081       -.13478E-05   -.28563E-03
   8  norm          .10000E-03    .58716        .73225E-07** at limit **
   9  Prefactor     .10000E-03    11.822       -.10871E-06** at limit **
  10  Prefactor     .10000E-03    1.9159       -.39316E-08** at limit **
  11  norm          .10120E-03    23.417       -.54672E-05** at limit **
  12  Prefactor     .10004E-03    10.287        .17144E-05** at limit **
  13  Prefactor     29.293        42.443        .11856E-05    .19021E-03
  14  Prefactor     2.6364        8.8916       -.71724E-06    .64011E-04
  15  Prefactor     .10000E-03    40.147       -.80678E-06** at limit **
  16  Prefactor     .10000E-03    5.0821       -.62946E-07** at limit **
  17  Prefactor     10.389        15.787        .24704E-06    .12382E-04
  18  Prefactor     .10001E-03    59.675        .56134E-05** at limit **
  19  Normalizat    .92872        .17894       -.99869E-06   -.13464E-03
  20  Prefactor     1.1252        .16237        .59622E-06   -.23913E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.17821
  Prefactor  = 19.4263
  Prefactor  = 2.3742
  Prefactor  = 0.000100133
  Prefactor  = 12.0009
  Prefactor  = 0.494925
  Prefactor  = 5.65898
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000101203
  Prefactor  = 0.000100041
  Prefactor  = 29.2933
  Prefactor  = 2.63638
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.3892
  Prefactor  = 0.000100011
  Normalizat = 0.928722
  Prefactor  = 1.12523
 **********
 **   18 **HESSE 
 **********

 FCN=   6707.458     FROM HESSE     STATUS=OK           299 CALLS     2399 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1782        4.3669        .11549E-03   -1.5136    
   2  Prefactor     19.426        7.7470        .90861E-04   -1.4826    
   3  Prefactor     2.3742        9.2634        .26605E-03   -1.5400    
   4  Prefactor     .10013E-03    52.442        .33389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.001        10.064        .11557E-03   -1.5015    
   6  Prefactor     .49492        35.001        .41560E-02   -1.5567    
   7  Prefactor     5.6590        11.125        .16871E-03   -1.5232    
   8  norm          .10000E-03    2.0613        .12106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.9208        .11069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10120E-03    98.092        .40664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10004E-03    18.836        .37909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     29.293        41.857        .74021E-04   -1.4625    
  14  Prefactor     2.6364        8.8801        .25121E-03   -1.5383    
  15  Prefactor     .10000E-03    40.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.1213        .18028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.389        15.767        .12442E-03   -1.5063    
  18  Prefactor     .10001E-03    60.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .92872        .20341        .26274E-03   -.95458    
  20  Prefactor     1.1252        .18780        .23547E-03   -.88664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74237e-08
Minuit parameter uncertainties:
  1  4.36708
  2  7.74738
  3  9.26895
  4  0.00529364
  5  10.0655
  6  8.32839
  7  11.1289
  8  4.30238e-05
  9  1.47259e-05
  10  1.94889e-06
  11  0.0217615
  12  0.001766
  13  41.8991
  14  8.88453
  15  0.000175891
  16  1.15798e-06
  17  15.7728
  18  0.00161817
  19  0.203577
  20  0.187907
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.287e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/666664/likelihoodResults_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.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) = 6707.45836253
delta logL = -4.74629323435e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6706.88507985
delta logL = 0.573235218857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77862       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .86146       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1635       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6706.885     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      423 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77787        31.189        .12360E-01   -.29981E-03
   2  alpha         5.0000        4.9395        .46268    ** at limit **
   3  Normalizat    .86122        .85811E-01    .44407E-01   -.99153E-04
   4  Prefactor     1.1637        .75078E-01    .52486E-01   -.17307E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.777869
  alpha      = 5
  Normalizat = 0.861216
  Prefactor  = 1.1637
 **********
 **   18 **HESSE 
 **********

 FCN=   6706.885     FROM HESSE     STATUS=OK            35 CALLS      458 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77787        1.0287        .70561E-03   -1.5532    
   2  alpha         5.0000        3.8438        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .86122        .20078        .27173E-03   -.97837    
   4  Prefactor     1.1637        .19040        .23205E-03   -.87456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88756e-10
Minuit parameter uncertainties:
  1  1.02874
  2  6.08428e-05
  3  0.200952
  4  0.190509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666664': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6706.88507536
delta logL = 0.573239700728

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
592   Normalization:  8.612e-01  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.24
Ra Dec: 169.766 12.587
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.46e-08 +/- 7.18e-08
Energy Flux (Free Index): 7.60e-06 +/- 1.00e-05

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/666664/cmap_HighResolution_533001601_533260801_4FGL_J1119.0+1235_daily_bin1133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.48e-05', comment='SUCCESS', energy_flux2='7.60e-06', dlogl='5.73e-01', photon_flux2='5.46e-08', job_status='DONE', time_completed='2021-09-03 16:07:44.246155', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='8.21e-08', energy_flux_error2='1.00e-05', EG='0.93', time_epoch_completed='1630710464.25', return_code='0', job_id='666664', GAL2='1.16', EG2='0.86', return_code2='0', photon_flux_error2='7.18e-08', ts2='1.24', photon_index='2.41' WHERE bin_id='1133' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:07:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 666664: <4FGL_J1119.0+1235_daily_bin1133> in cluster <slac> Done

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

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            983 sec.

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

