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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin22
RA = 169.766, Dec = 12.5866
tmin = 245030401, tmax = 245289601
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='658379', job_status='RUN', time_executed='2021-09-03 15:34:15.809189', time_epoch_executed='1630708455.81' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='22'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658379

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658379/ft1_4FGL_J1119.0+1235_daily_bin22.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658379/ft2_4FGL_J1119.0+1235_daily_bin22.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658379/ft1_4FGL_J1119.0+1235_daily_bin22.fits outfile=/scratch/kocevski/658379/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin22.fits ra=169.766 dec=12.5866 rad=12.0 tmin=245030401.0 tmax=245289601.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.48
user 1.29
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/658379/ft2_4FGL_J1119.0+1235_daily_bin22.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/658379/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin22.fits evtable="EVENTS" outfile="/scratch/kocevski/658379/ft1_filtered_4FGL_J1119.0+1235_daily_bin22.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.37
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658379/ft1_filtered_4FGL_J1119.0+1235_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/658379/ft2_4FGL_J1119.0+1235_daily_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/658379/ltcube_245030401_245289601_4FGL_J1119.0+1235_daily_bin22.fits outfile=/scratch/kocevski/658379/expmap_245030401_245289601_4FGL_J1119.0+1235_daily_bin22.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/658379/ltcube_245030401_245289601_4FGL_J1119.0+1235_daily_bin22.fits
.....................!
real 194.38
user 188.51
sys 5.34

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/658379/ft1_filtered_4FGL_J1119.0+1235_daily_bin22.fits scfile=/scratch/kocevski/658379/ft2_4FGL_J1119.0+1235_daily_bin22.fits outfile=/scratch/kocevski/658379/cmap_245030401_245289601_4FGL_J1119.0+1235_daily_bin22.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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658379/ft1_filtered_4FGL_J1119.0+1235_daily_bin22.fits scfile=/scratch/kocevski/658379/ft2_4FGL_J1119.0+1235_daily_bin22.fits outfile=/scratch/kocevski/658379/cmap_HighResolution_245030401_245289601_4FGL_J1119.0+1235_daily_bin22.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3893       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.147       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.183       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4107       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.5702       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9839       1.0000         .10000E-03   10000.    
    11 'norm      '    15.185       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2078       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    232.38       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1265       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.069       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10627E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .85989       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1521       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=   5331.431     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2070 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3893        4.0299       -.23141E-06   -.21921E-03
   2  Prefactor     .10000E-03    1.6307       -.25491E-07** at limit **
   3  Prefactor     .10000E-03    2.1345        .69969E-07** at limit **
   4  Prefactor     .10000E-03    5.6751       -.55603E-07** at limit **
   5  Prefactor     23.144        13.273       -.84649E-06    .84069E-04
   6  Prefactor     16.184        11.577        .22321E-06    .10003E-04
   7  Prefactor     .10000E-03    31.794       -.29866E-05** at limit **
   8  norm          1.4114        1.4009        .46310E-07   -.18496E-03
   9  Prefactor     6.4966        20.709       -.31316E-04   -.28138E-04
  10  Prefactor     5.9836        9.7490       -.78313E-07   -.86415E-05
  11  norm          15.184        11.471       -.23021E-06    .24140E-04
  12  Prefactor     1.2053        15.600       -.57108E-05   -.59416E-03
  13  Prefactor     .10000E-03    12.528        .17656E-05** at limit **
  14  Prefactor     .10000E-03    11.971       -.18706E-05** at limit **
  15  Prefactor     232.35        134.76       -.18766E-04    .26978E-05
  16  Prefactor     4.1249        9.8107       -.32718E-06   -.13319E-03
  17  Prefactor     14.057        17.298       -.21005E-05   -.68558E-04
  18  Prefactor     .10000E-03    61.817        .19978E-04** at limit **
  19  Normalizat    .86007        .19242        .44541E-05    .12631E-03
  20  Prefactor     1.1521        .18455        .15660E-05    .16787E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.38933
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.1439
  Prefactor  = 16.1842
  Prefactor  = 0.0001
  norm       = 1.41139
  Prefactor  = 6.49662
  Prefactor  = 5.98363
  norm       = 15.1845
  Prefactor  = 1.20532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 232.347
  Prefactor  = 4.12494
  Prefactor  = 14.0567
  Prefactor  = 0.0001
  Normalizat = 0.860069
  Prefactor  = 1.15205
 **********
 **   18 **HESSE 
 **********

 FCN=   5331.431     FROM HESSE     STATUS=OK           293 CALLS     2363 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3893        4.0280        .13455E-03   -1.5289    
   2  Prefactor     .10000E-03    1.6370        .91051E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.1366        .10416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.7101        .16978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.144        13.253        .83257E-04   -1.4745    
   6  Prefactor     16.184        11.571        .99561E-04   -1.4903    
   7  Prefactor     .10000E-03    32.549        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4114        1.3792        .81497E-04   -1.5470    
   9  Prefactor     6.4966        20.630        .15656E-03   -1.5198    
  10  Prefactor     5.9836        9.6223        .16415E-03   -1.5219    
  11  norm          15.184        11.468        .10278E-03   -1.4928    
  12  Prefactor     1.2053        15.908        .41204E-03   -1.5488    
  13  Prefactor     .10000E-03    12.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     232.35        134.46        .13275E-03   -1.2647    
  16  Prefactor     4.1249        9.7886        .19844E-03   -1.5302    
  17  Prefactor     14.057        17.301        .10678E-03   -1.4958    
  18  Prefactor     .10000E-03    61.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .86007        .22208        .26973E-03   -.97878    
  20  Prefactor     1.1521        .21401        .23455E-03   -.87820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50208e-09
Minuit parameter uncertainties:
  1  4.02828
  2  4.52391e-06
  3  5.94318e-06
  4  2.11593e-05
  5  13.2547
  6  11.5725
  7  0.000124385
  8  1.37923
  9  20.6525
  10  9.62478
  11  11.4699
  12  8.76018
  13  2.06006e-05
  14  8.49277e-05
  15  134.637
  16  9.79242
  17  17.307
  18  7.4652e-05
  19  0.222313
  20  0.214169
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.518e+01  1.147e+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.152e+00  2.142e-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.601e-01  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.63
Ra Dec: 169.766 12.587
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.54e-08 +/- 3.43e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.04e-05

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

Saving results to:
/scratch/kocevski/658379/likelihoodResults_245030401_245289601_4FGL_J1119.0+1235_daily_bin22.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) = 5331.21562266
delta logL = 0.215237787555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5331.21375651
delta logL = 0.217103942049

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.862       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8679       1.0000          .0000       5.0000    
     3 'Normalizat'    .87936       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1418       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=   5331.214     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      260 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.859        12.717        .10390E-03   -.38627E-04
   2  alpha         1.8676        .80968        .19851E-01    .16569E-04
   3  Normalizat    .87919        .21484        .26708E-03    .42488E-03
   4  Prefactor     1.1418        .21272        .23544E-03    .42637E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.8588
  alpha      = 1.86763
  Normalizat = 0.879193
  Prefactor  = 1.14175
 **********
 **   18 **HESSE 
 **********

 FCN=   5331.214     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.859        12.897        .41558E-05   -1.4937    
   2  alpha         1.8676        .82072        .79406E-03   -.25572    
   3  Normalizat    .87919        .21502        .53417E-04   -.97195    
   4  Prefactor     1.1418        .21286        .47088E-04   -.88143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74418e-10
Minuit parameter uncertainties:
  1  12.8993
  2  0.837344
  3  0.215225
  4  0.213023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658379': 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) = 5331.21375499
delta logL = 0.217105454238

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.486e+01  1.290e+01  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  1.868e+00  8.373e-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.142e+00  2.130e-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.792e-01  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.06
Ra Dec: 169.766 12.587
Photon Index (Free Index): 1.87 +/- 0.84
Photon Flux (Free Index): 2.98e-08 +/- 3.43e-08
Energy Flux (Free Index): 1.47e-05 +/- 1.18e-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/658379/cmap_HighResolution_245030401_245289601_4FGL_J1119.0+1235_daily_bin22.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.72e-05', comment='SUCCESS', photon_flux='4.54e-08', energy_flux2='1.47e-05', photon_flux_error='3.43e-08', dlogl='2.17e-01', energy_flux='1.37e-05', photon_flux2='2.98e-08', job_status='DONE', time_completed='2021-09-03 15:44:12.618249', photon_index_error2='0.84', photon_index2='1.87', ts='3.63', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='1.18e-05', EG='0.86', time_epoch_completed='1630709052.62', return_code='0', job_id='658379', GAL2='1.14', EG2='0.88', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='3.43e-08', ts2='4.06', photon_index='2.41' WHERE bin_id='22' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 15:44:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 658379: <4FGL_J1119.0+1235_daily_bin22> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin22 169.766 12.5866 245030401 245289601 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 :                                   595.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             313.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            761 sec.

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

