/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 109 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 = 7009
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1119.0+1235_daily_bin43
RA = 169.766, Dec = 12.5866
tmin = 250473601, tmax = 250732801
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='658411', job_status='RUN', time_executed='2021-09-03 15:33:50.165190', time_epoch_executed='1630708430.17' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='43'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658411

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658411/ft1_4FGL_J1119.0+1235_daily_bin43.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658411/ft2_4FGL_J1119.0+1235_daily_bin43.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658411/ft1_4FGL_J1119.0+1235_daily_bin43.fits outfile=/scratch/kocevski/658411/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin43.fits ra=169.766 dec=12.5866 rad=12.0 tmin=250473601.0 tmax=250732801.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 1.46
user 1.19
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/658411/ft2_4FGL_J1119.0+1235_daily_bin43.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/658411/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin43.fits evtable="EVENTS" outfile="/scratch/kocevski/658411/ft1_filtered_4FGL_J1119.0+1235_daily_bin43.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.74
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658411/ft1_filtered_4FGL_J1119.0+1235_daily_bin43.fits" evtable="EVENTS" scfile=/scratch/kocevski/658411/ft2_4FGL_J1119.0+1235_daily_bin43.fits sctable="SC_DATA" outfile=/scratch/kocevski/658411/ltcube_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.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/658411/ft2_4FGL_J1119.0+1235_daily_bin43.fits
.....................!
real 19.27
user 18.52
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658411/ft1_filtered_4FGL_J1119.0+1235_daily_bin43.fits evtable="EVENTS" scfile=/scratch/kocevski/658411/ft2_4FGL_J1119.0+1235_daily_bin43.fits sctable="SC_DATA" expcube=/scratch/kocevski/658411/ltcube_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.fits outfile=/scratch/kocevski/658411/expmap_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.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/658411/ltcube_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.fits
.....................!
real 195.20
user 188.27
sys 4.65

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/658411/ft1_filtered_4FGL_J1119.0+1235_daily_bin43.fits scfile=/scratch/kocevski/658411/ft2_4FGL_J1119.0+1235_daily_bin43.fits outfile=/scratch/kocevski/658411/cmap_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658411/ft1_filtered_4FGL_J1119.0+1235_daily_bin43.fits scfile=/scratch/kocevski/658411/ft2_4FGL_J1119.0+1235_daily_bin43.fits outfile=/scratch/kocevski/658411/cmap_HighResolution_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.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.62
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/658411/ft1_filtered_4FGL_J1119.0+1235_daily_bin43.fits', '/scratch/kocevski/658411/ft2_4FGL_J1119.0+1235_daily_bin43.fits', expMap='/scratch/kocevski/658411/expmap_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.fits', expCube='/scratch/kocevski/658411/ltcube_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/658411/Model_4FGL_J1119.0+1235_daily_bin43.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/658411/ft1_filtered_4FGL_J1119.0+1235_daily_bin43.fits
Spacecraft file(s): /scratch/kocevski/658411/ft2_4FGL_J1119.0+1235_daily_bin43.fits
Exposure map: /scratch/kocevski/658411/expmap_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.fits
Exposure cube: /scratch/kocevski/658411/ltcube_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/658411/Model_4FGL_J1119.0+1235_daily_bin43.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) = 5909.76374446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6737       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11651E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3296       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.380       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.094       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11038E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11152       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.9346       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10693E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .76937       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    81.371       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3825       1.0000         .10000E-03   10000.    
    15 'Prefactor '    65.225       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.817       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .76921       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85977       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=   5909.741     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2074 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6742        2.0698       -.25723E-06    .15245E-03
   2  Prefactor     .10000E-03    3.1345       -.13540E-06** at limit **
   3  Prefactor     .10000E-03    4.5847       -.16144E-05** at limit **
   4  Prefactor     3.3324        7.4845       -.74359E-06    .99468E-04
   5  Prefactor     10.384        9.8893       -.13156E-06    .15784E-03
   6  Prefactor     12.096        7.2766       -.48576E-06    .25663E-03
   7  Prefactor     .10000E-03    23.477       -.67681E-05** at limit **
   8  norm          .11472        .94271       -.63948E-06    .24793E-03
   9  Prefactor     6.9453        17.074        .11285E-04    .12248E-03
  10  Prefactor     .10000E-03    6.4579        .26367E-06** at limit **
  11  norm          .78835        1.4396        .57551E-06   -.27350E-02
  12  Prefactor     8.2911        7.6199        .89616E-07    .62964E-04
  13  Prefactor     81.341        42.528       -.28334E-04    .31149E-04
  14  Prefactor     2.3828        5.1759       -.52350E-06   -.10817E-02
  15  Prefactor     65.238        63.234        .15154E-04    .13410E-04
  16  Prefactor     16.820        9.0784       -.55568E-06   -.11151E-04
  17  Prefactor     .10000E-03    8.8522        .51510E-06** at limit **
  18  Prefactor     .10000E-03    23.091        .81626E-05** at limit **
  19  Normalizat    .76827        .16027        .68242E-05    .16840E-03
  20  Prefactor     .86062        .14386       -.18803E-05    .64979E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.67419
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.33241
  Prefactor  = 10.3835
  Prefactor  = 12.0964
  Prefactor  = 0.0001
  norm       = 0.114717
  Prefactor  = 6.94532
  Prefactor  = 0.0001
  norm       = 0.788353
  Prefactor  = 8.29109
  Prefactor  = 81.3405
  Prefactor  = 2.3828
  Prefactor  = 65.2384
  Prefactor  = 16.8198
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.768267
  Prefactor  = 0.860624
 **********
 **   18 **HESSE 
 **********

 FCN=   5909.741     FROM HESSE     STATUS=OK           297 CALLS     2371 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6742        2.0469        .11886E-03   -1.5449    
   2  Prefactor     .10000E-03    3.1818        .13284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.390        .31423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3324        7.4222        .22182E-03   -1.5343    
   5  Prefactor     10.384        9.8250        .12436E-03   -1.5063    
   6  Prefactor     12.096        7.2236        .11519E-03   -1.5012    
   7  Prefactor     .10000E-03    24.232        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11472        2.1931        .13740E-02   -1.5640    
   9  Prefactor     6.9453        17.058        .15235E-03   -1.5181    
  10  Prefactor     .10000E-03    6.6672        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .78835        11.723        .24650E-02   -1.5530    
  12  Prefactor     8.2911        7.6283        .13926E-03   -1.5132    
  13  Prefactor     81.341        42.908        .44525E-04   -1.3902    
  14  Prefactor     2.3828        5.2432        .12707E-02   -1.5399    
  15  Prefactor     65.238        63.263        .49692E-04   -1.4091    
  16  Prefactor     16.820        9.0777        .97665E-04   -1.4887    
  17  Prefactor     .10000E-03    8.9079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .76827        .18524        .23740E-03   -1.0126    
  20  Prefactor     .86062        .16768        .21744E-03   -.97531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73093e-08
Minuit parameter uncertainties:
  1  2.047
  2  1.74887e-05
  3  0.000134603
  4  7.42426
  5  9.82656
  6  7.22417
  7  3.3938e-05
  8  1.00277
  9  17.0699
  10  2.49889e-05
  11  6.08123
  12  7.62922
  13  42.9245
  14  5.24423
  15  63.3287
  16  9.07849
  17  6.5141e-06
  18  3.28775e-06
  19  0.185391
  20  0.167779
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  7.884e-01  6.081e+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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.606e-01  1.678e-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:  7.683e-01  1.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/658411/likelihoodResults_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.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): 0
logL (Free Index) = 5909.0966078
delta logL = 0.644444064752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5908.91855998
delta logL = 0.822491886093

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0614       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .67530       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91743       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=   5908.919     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0607        32.196        .11881E-01    .82786E-03
   2  alpha         5.0000        3.8161        .46349    ** at limit **
   3  Normalizat    .67556        .16662        .41960E-01    .12403E-04
   4  Prefactor     .91720        .95679E-01    .45227E-01    .62425E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0607
  alpha      = 5
  Normalizat = 0.675565
  Prefactor  = 0.9172
 **********
 **   18 **HESSE 
 **********

 FCN=   5908.919     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .71E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0607        .90300        .60517E-04   -1.5502    
   2  alpha         5.0000        1.0911        .59951E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .67556        .18548        .25149E-03   -1.0487    
   4  Prefactor     .91720        .17261        .21126E-03   -.95543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06768e-13
Minuit parameter uncertainties:
  1  0.903007
  2  4.86225e-08
  3  0.185655
  4  0.172714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658411': 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) = 5908.9185582
delta logL = 0.82249366585

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.061e+00  9.030e-01  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  5.000e+00  4.862e-08  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:  9.172e-01  1.727e-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:  6.756e-01  1.857e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.90
Ra Dec: 169.766 12.587
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.44e-08 +/- 6.31e-08
Energy Flux (Free Index): 1.04e-05 +/- 8.80e-06

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/658411/cmap_HighResolution_250473601_250732801_4FGL_J1119.0+1235_daily_bin43.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.85e-05', comment='SUCCESS', energy_flux2='1.04e-05', dlogl='8.22e-01', photon_flux2='7.44e-08', job_status='DONE', time_completed='2021-09-03 15:44:08.497046', photon_index_error2='0.00', photon_index2='5.00', ts='0.02', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='6.15e-08', energy_flux_error2='8.80e-06', EG='0.77', time_epoch_completed='1630709048.5', return_code='0', job_id='658411', GAL2='0.92', EG2='0.68', return_code2='0', photon_flux_error2='6.31e-08', ts2='1.90', photon_index='2.41' WHERE bin_id='43' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 15:44:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 658411: <4FGL_J1119.0+1235_daily_bin43> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin43> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 15:31:36 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 15:31:51 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:31:51 2021
Terminated at Fri Sep  3 15:44:09 2021
Results reported at Fri Sep  3 15:44:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin43 169.766 12.5866 250473601 250732801 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 :                                   612.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            753 sec.

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

