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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1040
RA = 169.766, Dec = 12.5866
tmin = 508896001, tmax = 509155201
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='666522', job_status='RUN', time_executed='2021-09-03 15:55:16.197010', time_epoch_executed='1630709716.2' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1040'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666522

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666522/ft1_4FGL_J1119.0+1235_daily_bin1040.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666522/ft2_4FGL_J1119.0+1235_daily_bin1040.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666522/ft1_4FGL_J1119.0+1235_daily_bin1040.fits outfile=/scratch/kocevski/666522/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1040.fits ra=169.766 dec=12.5866 rad=12.0 tmin=508896001.0 tmax=509155201.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.75
user 3.48
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666522/ft1_filtered_4FGL_J1119.0+1235_daily_bin1040.fits" evtable="EVENTS" scfile=/scratch/kocevski/666522/ft2_4FGL_J1119.0+1235_daily_bin1040.fits sctable="SC_DATA" outfile=/scratch/kocevski/666522/ltcube_508896001_509155201_4FGL_J1119.0+1235_daily_bin1040.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/666522/ft2_4FGL_J1119.0+1235_daily_bin1040.fits
.....................!
real 14.42
user 14.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666522/ft1_filtered_4FGL_J1119.0+1235_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/666522/ft2_4FGL_J1119.0+1235_daily_bin1040.fits sctable="SC_DATA" expcube=/scratch/kocevski/666522/ltcube_508896001_509155201_4FGL_J1119.0+1235_daily_bin1040.fits outfile=/scratch/kocevski/666522/expmap_508896001_509155201_4FGL_J1119.0+1235_daily_bin1040.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/666522/ltcube_508896001_509155201_4FGL_J1119.0+1235_daily_bin1040.fits
.....................!
real 192.10
user 185.59
sys 5.67

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/666522/ft1_filtered_4FGL_J1119.0+1235_daily_bin1040.fits scfile=/scratch/kocevski/666522/ft2_4FGL_J1119.0+1235_daily_bin1040.fits outfile=/scratch/kocevski/666522/cmap_508896001_509155201_4FGL_J1119.0+1235_daily_bin1040.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.40
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.953       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0790       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0837       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8953       1.0000         .10000E-03   10000.    
     8 'norm      '    .42590       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.671       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4522       1.0000         .10000E-03   10000.    
    11 'norm      '    13.518       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    58.176       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.073       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .88564       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9907       1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.810       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .82652       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2951       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=   6669.198     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2154 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.953        7.2937        .56786E-07    .66412E-04
   2  Prefactor     1.0791        6.7070       -.15881E-05    .11031E-03
   3  Prefactor     .10000E-03    13.691       -.21605E-06** at limit **
   4  Prefactor     1.0881        58.325        .36464E-05   -.86252E-05
   5  Prefactor     .10000E-03    18.028       -.25430E-07** at limit **
   6  Prefactor     .10000E-03    8.7592       -.42361E-06** at limit **
   7  Prefactor     2.8715        65.920        .16971E-06    .14757E-04
   8  norm          .42606        .92101       -.47987E-06   -.36630E-03
   9  Prefactor     18.674        15.588        .23669E-07    .22694E-04
  10  Prefactor     3.4520        4.6243       -.38104E-07    .18299E-05
  11  norm          13.517        11.294        .10723E-06    .64151E-04
  12  Prefactor     .10000E-03    4.6439       -.11944E-06** at limit **
  13  Prefactor     58.173        46.135        .70660E-07    .21699E-04
  14  Prefactor     .10000E-03    7.7748       -.22713E-06** at limit **
  15  Prefactor     24.029        75.713        .20149E-05    .37068E-04
  16  Prefactor     .88264        7.3640       -.75135E-07    .27707E-04
  17  Prefactor     1.9787        26.228       -.13504E-05    .28163E-04
  18  Prefactor     44.817        72.548        .51205E-06    .20914E-05
  19  Normalizat    .82677        .19995       -.24211E-06    .17779E-03
  20  Prefactor     1.2948        .18218        .96211E-06    .24834E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.9529
  Prefactor  = 1.07907
  Prefactor  = 0.0001
  Prefactor  = 1.08815
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.87145
  norm       = 0.42606
  Prefactor  = 18.6739
  Prefactor  = 3.45199
  norm       = 13.5168
  Prefactor  = 0.0001
  Prefactor  = 58.1726
  Prefactor  = 0.0001
  Prefactor  = 24.0289
  Prefactor  = 0.882636
  Prefactor  = 1.97869
  Prefactor  = 44.817
  Normalizat = 0.826773
  Prefactor  = 1.29485
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.198     FROM HESSE     STATUS=OK           303 CALLS     2457 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.953        7.2837        .65929E-04   -1.4491    
   2  Prefactor     1.0791        6.4214        .39431E-03   -1.5500    
   3  Prefactor     .10000E-03    13.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0881        74.599        .44831E-02   -1.5499    
   5  Prefactor     .10000E-03    18.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.8980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8715        82.287        .23882E-03   -1.5369    
   8  norm          .42606        .86467        .11619E-02   -1.5577    
   9  Prefactor     18.674        15.583        .92691E-04   -1.4843    
  10  Prefactor     3.4520        4.6176        .19722E-03   -1.5336    
  11  norm          13.517        11.279        .10894E-03   -1.4972    
  12  Prefactor     .10000E-03    4.6597        .17188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     58.173        46.273        .52598E-04   -1.4181    
  14  Prefactor     .10000E-03    7.8332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     24.029        75.871        .81643E-04   -1.4727    
  16  Prefactor     .88264        17.724        .41299E-02   -1.5520    
  17  Prefactor     1.9787        25.794        .29365E-03   -1.5427    
  18  Prefactor     44.817        71.714        .59893E-04   -1.4368    
  19  Normalizat    .82677        .23349        .30286E-03   -.99083    
  20  Prefactor     1.2948        .21054        .23951E-03   -.83460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.50227e-08
Minuit parameter uncertainties:
  1  7.2839
  2  5.26525
  3  1.14046e-05
  4  18.0421
  5  3.27498e-05
  6  3.66455e-06
  7  30.7893
  8  0.864696
  9  15.5864
  10  4.61809
  11  11.2811
  12  1.23224e-06
  13  46.3011
  14  5.47118e-06
  15  76.1783
  16  7.91279
  17  14.2955
  18  71.8528
  19  0.233776
  20  0.210678
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.352e+01  1.128e+01  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.295e+00  2.107e-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.268e-01  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.94
Ra Dec: 169.766 12.587
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.04e-08 +/- 3.37e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.02e-05

TS (Fixed Index): 2.94
Ra Dec: 169.766 12.587
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666522/likelihoodResults_508896001_509155201_4FGL_J1119.0+1235_daily_bin1040.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) = 6669.08142462
delta logL = 0.11674166892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6669.08037173
delta logL = 0.117794559257

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.205       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0295       1.0000          .0000       5.0000    
     3 'Normalizat'    .83854       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2891       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6669.080     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      264 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.201        11.881        .11023E-03    .81066E-04
   2  alpha         2.0292        .77818        .22064E-01    .16589E-04
   3  Normalizat    .83832        .21565        .30098E-03    .58227E-03
   4  Prefactor     1.2892        .20846        .23997E-03    .65518E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.2006
  alpha      = 2.02916
  Normalizat = 0.838323
  Prefactor  = 1.2892
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.080     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.201        12.031        .44092E-05   -1.4981    
   2  alpha         2.0292        .78764        .88258E-03   -.18947    
   3  Normalizat    .83832        .21583        .60196E-04   -.98663    
   4  Prefactor     1.2892        .20861        .47994E-04   -.83629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92974e-10
Minuit parameter uncertainties:
  1  12.033
  2  0.801813
  3  0.216055
  4  0.208749
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666522': 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) = 6669.08036991
delta logL = 0.117796380909

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.320e+01  1.203e+01  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.029e+00  8.018e-01  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.289e+00  2.087e-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.383e-01  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.17
Ra Dec: 169.766 12.587
Photon Index (Free Index): 2.03 +/- 0.80
Photon Flux (Free Index): 2.93e-08 +/- 3.54e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.05e-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/666522/cmap_HighResolution_508896001_509155201_4FGL_J1119.0+1235_daily_bin1040.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-05', comment='SUCCESS', photon_flux='4.04e-08', energy_flux2='1.22e-05', photon_flux_error='3.37e-08', dlogl='1.18e-01', energy_flux='1.22e-05', photon_flux2='2.93e-08', job_status='DONE', time_completed='2021-09-03 16:06:32.462421', photon_index_error2='0.80', photon_index2='2.03', ts='2.94', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='1.05e-05', EG='0.83', time_epoch_completed='1630710392.46', return_code='0', job_id='666522', GAL2='1.29', EG2='0.84', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='3.54e-08', ts2='3.17', photon_index='2.41' WHERE bin_id='1040' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:06:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 666522: <4FGL_J1119.0+1235_daily_bin1040> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin1040> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 15:51:13 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 15:52:38 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:38 2021
Terminated at Fri Sep  3 16:06:33 2021
Results reported at Fri Sep  3 16:06:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1040 169.766 12.5866 508896001 509155201 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 :                                   667.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            920 sec.

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

