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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1096
RA = 169.766, Dec = 12.5866
tmin = 523411201, tmax = 523670401
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='666612', job_status='RUN', time_executed='2021-09-03 15:55:43.916837', time_epoch_executed='1630709743.92' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1096'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666612/ft1_4FGL_J1119.0+1235_daily_bin1096.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666612/ft2_4FGL_J1119.0+1235_daily_bin1096.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666612/ft1_4FGL_J1119.0+1235_daily_bin1096.fits outfile=/scratch/kocevski/666612/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1096.fits ra=169.766 dec=12.5866 rad=12.0 tmin=523411201.0 tmax=523670401.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.56
user 3.33
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666612/ft2_4FGL_J1119.0+1235_daily_bin1096.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/666612/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1096.fits evtable="EVENTS" outfile="/scratch/kocevski/666612/ft1_filtered_4FGL_J1119.0+1235_daily_bin1096.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666612/ft1_filtered_4FGL_J1119.0+1235_daily_bin1096.fits" evtable="EVENTS" scfile=/scratch/kocevski/666612/ft2_4FGL_J1119.0+1235_daily_bin1096.fits sctable="SC_DATA" outfile=/scratch/kocevski/666612/ltcube_523411201_523670401_4FGL_J1119.0+1235_daily_bin1096.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/666612/ft2_4FGL_J1119.0+1235_daily_bin1096.fits
.....................!
real 14.17
user 13.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666612/ft1_filtered_4FGL_J1119.0+1235_daily_bin1096.fits evtable="EVENTS" scfile=/scratch/kocevski/666612/ft2_4FGL_J1119.0+1235_daily_bin1096.fits sctable="SC_DATA" expcube=/scratch/kocevski/666612/ltcube_523411201_523670401_4FGL_J1119.0+1235_daily_bin1096.fits outfile=/scratch/kocevski/666612/expmap_523411201_523670401_4FGL_J1119.0+1235_daily_bin1096.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/666612/ltcube_523411201_523670401_4FGL_J1119.0+1235_daily_bin1096.fits
.....................!
real 196.03
user 190.69
sys 4.96

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/666612/ft1_filtered_4FGL_J1119.0+1235_daily_bin1096.fits scfile=/scratch/kocevski/666612/ft2_4FGL_J1119.0+1235_daily_bin1096.fits outfile=/scratch/kocevski/666612/cmap_523411201_523670401_4FGL_J1119.0+1235_daily_bin1096.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666612/ft1_filtered_4FGL_J1119.0+1235_daily_bin1096.fits scfile=/scratch/kocevski/666612/ft2_4FGL_J1119.0+1235_daily_bin1096.fits outfile=/scratch/kocevski/666612/cmap_HighResolution_523411201_523670401_4FGL_J1119.0+1235_daily_bin1096.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9812       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.942       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14870E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.821       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43205E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .39629       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .12125E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.790       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21500E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .10740E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9826       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10393E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.679       1.0000         .10000E-03   10000.    
    15 'Prefactor '    192.85       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.583       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .92118       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1247       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=   6134.049     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     1796 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9799        3.0632       -.54066E-06   -.28813E-03
   2  Prefactor     14.939        8.7288       -.99738E-06    .24161E-04
   3  Prefactor     .10001E-03    4.4604       -.19202E-06** at limit **
   4  Prefactor     26.802        15.115       -.28062E-05   -.43493E-03
   5  Prefactor     .10002E-03    9.3902        .22689E-05** at limit **
   6  Prefactor     .42021        8.3136       -.86863E-06   -.42647E-03
   7  Prefactor     .10000E-03    9.8758       -.58608E-05** at limit **
   8  norm          .10027E-03    .61659        .13774E-06** at limit **
   9  Prefactor     18.778        17.097       -.63125E-05    .43408E-04
  10  Prefactor     .10000E-03    7.2630       -.19341E-05** at limit **
  11  norm          .10000E-03    14.106       -.82361E-05** at limit **
  12  Prefactor     6.9757        11.531       -.72349E-06    .19581E-03
  13  Prefactor     .10000E-03    34.125       -.17819E-04** at limit **
  14  Prefactor     22.682        12.642       -.99649E-06    .76774E-04
  15  Prefactor     192.69        112.46       -.11278E-03    .10174E-04
  16  Prefactor     14.589        10.798        .36478E-05    .24438E-04
  17  Prefactor     .10000E-03    6.4007       -.26003E-06** at limit **
  18  Prefactor     .10000E-03    28.604        .21820E-04** at limit **
  19  Normalizat    .92123        .19734        .11512E-04    .41356E-04
  20  Prefactor     1.1244        .17483       -.18403E-05    .69728E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.97995
  Prefactor  = 14.9389
  Prefactor  = 0.000100006
  Prefactor  = 26.802
  Prefactor  = 0.000100021
  Prefactor  = 0.420211
  Prefactor  = 0.0001
  norm       = 0.00010027
  Prefactor  = 18.7784
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 6.97569
  Prefactor  = 0.0001
  Prefactor  = 22.6817
  Prefactor  = 192.689
  Prefactor  = 14.5891
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.921232
  Prefactor  = 1.12438
 **********
 **   18 **HESSE 
 **********

 FCN=   6134.049     FROM HESSE     STATUS=OK           299 CALLS     2095 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9799        3.0427        .13371E-03   -1.5363    
   2  Prefactor     14.939        8.7295        .10362E-03   -1.4935    
   3  Prefactor     .10001E-03    12.880        .31423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.802        13.824        .77353E-04   -1.4672    
   5  Prefactor     .10002E-03    33.296        .42245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .42021        54.454        .42316E-02   -1.5578    
   7  Prefactor     .10000E-03    9.8903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10027E-03    11.041        .11639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.778        17.062        .92398E-04   -1.4841    
  10  Prefactor     .10000E-03    39.411        .39128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    14.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9757        11.172        .15182E-03   -1.5180    
  13  Prefactor     .10000E-03    34.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.682        12.648        .84110E-04   -1.4755    
  15  Prefactor     192.69        112.48        .14543E-03   -1.2923    
  16  Prefactor     14.589        10.792        .10488E-03   -1.4944    
  17  Prefactor     .10000E-03    6.4077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    28.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .92123        .22753        .27896E-03   -.95718    
  20  Prefactor     1.1244        .20447        .24134E-03   -.88691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99863e-08
Minuit parameter uncertainties:
  1  3.04287
  2  8.73022
  3  0.00054914
  4  13.8253
  5  0.0016752
  6  9.57479
  7  1.21668e-05
  8  0.00345307
  9  17.0668
  10  0.00071239
  11  0.000128126
  12  11.1753
  13  0.000125388
  14  12.6492
  15  112.609
  16  10.7935
  17  4.32733e-06
  18  1.69452e-05
  19  0.227765
  20  0.204616
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.000e-04  1.281e-04  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.124e+00  2.046e-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.212e-01  2.278e-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: 7.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666612/likelihoodResults_523411201_523670401_4FGL_J1119.0+1235_daily_bin1096.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) = 6134.04952311
delta logL = -0.000330329714416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6134.04919243
delta logL = 3.49111360265e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4587       1.0000          .0000       5.0000    
     3 'Normalizat'    .92124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1244       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=   6133.865     FROM MIGRAD    STATUS=CONVERGED    163 CALLS      311 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53800        1.4332        .36285E-02    .11170E-02
   2  alpha         5.0000        4.9134        .50000    ** at limit **
   3  Normalizat    .87214        .22831        .27896E-02   -.87296E-04
   4  Prefactor     1.1528        .20757        .24134E-03   -.93243E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.537996
  alpha      = 5
  Normalizat = 0.872139
  Prefactor  = 1.1528
 **********
 **   18 **HESSE 
 **********

 FCN=   6133.865     FROM HESSE     STATUS=OK            31 CALLS      342 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53800        1.0003        .90571E-04   -1.5561    
   2  alpha         5.0000        4.2187        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .87214        .23000        .11158E-03   -.97446    
   4  Prefactor     1.1528        .20898        .48268E-04   -.87796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19773e-11
Minuit parameter uncertainties:
  1  1.00031
  2  1.40764e-05
  3  0.230257
  4  0.209128
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666612': 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) = 6133.86539585
delta logL = 0.183796931147

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  5.380e-01  1.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  5.000e+00  1.408e-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.153e+00  2.091e-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.721e-01  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 169.766 12.587

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/666612/cmap_HighResolution_523411201_523670401_4FGL_J1119.0+1235_daily_bin1096.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', job_status='DONE', photon_flux_upper_limit='7.21e-08', time_completed='2021-09-03 16:06:04.111550', job_id='666612', GAL2='1.15', fit_tolerance='1e-08', EG2='0.87', EG='0.92', time_epoch_completed='1630710364.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.84e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1096' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:06:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 666612: <4FGL_J1119.0+1235_daily_bin1096> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1096 169.766 12.5866 523411201 523670401 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 :                                   616.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            885 sec.

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

