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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin95
RA = 169.766, Dec = 12.5866
tmin = 263952001, tmax = 264211201
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='658493', job_status='RUN', time_executed='2021-09-03 15:36:27.564557', time_epoch_executed='1630708587.56' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658493

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658493/ft1_4FGL_J1119.0+1235_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658493/ft2_4FGL_J1119.0+1235_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658493/ft1_4FGL_J1119.0+1235_daily_bin95.fits outfile=/scratch/kocevski/658493/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin95.fits ra=169.766 dec=12.5866 rad=12.0 tmin=263952001.0 tmax=264211201.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.75
user 1.52
sys 0.18

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658493/ft1_filtered_4FGL_J1119.0+1235_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/658493/ft2_4FGL_J1119.0+1235_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/658493/ltcube_263952001_264211201_4FGL_J1119.0+1235_daily_bin95.fits outfile=/scratch/kocevski/658493/expmap_263952001_264211201_4FGL_J1119.0+1235_daily_bin95.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/658493/ltcube_263952001_264211201_4FGL_J1119.0+1235_daily_bin95.fits
.....................!
real 193.19
user 185.69
sys 4.74

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/658493/ft1_filtered_4FGL_J1119.0+1235_daily_bin95.fits scfile=/scratch/kocevski/658493/ft2_4FGL_J1119.0+1235_daily_bin95.fits outfile=/scratch/kocevski/658493/cmap_263952001_264211201_4FGL_J1119.0+1235_daily_bin95.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658493/ft1_filtered_4FGL_J1119.0+1235_daily_bin95.fits scfile=/scratch/kocevski/658493/ft2_4FGL_J1119.0+1235_daily_bin95.fits outfile=/scratch/kocevski/658493/cmap_HighResolution_263952001_264211201_4FGL_J1119.0+1235_daily_bin95.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1780       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.2211       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.495       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.0677       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8191       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.190       1.0000         .10000E-03   10000.    
    11 'norm      '    12.779       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.0059       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .76746       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1252       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=   5640.145     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     1705 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1777        3.8268       -.26930E-06   -.10139E-03
   2  Prefactor     6.2209        5.7436       -.12683E-06   -.83510E-04
   3  Prefactor     .10000E-03    2.1507        .36176E-07** at limit **
   4  Prefactor     .10000E-03    12.126        .89057E-05** at limit **
   5  Prefactor     15.493        12.684       -.88681E-07   -.50547E-03
   6  Prefactor     .10000E-03    6.1243        .96639E-07** at limit **
   7  Prefactor     8.0655        15.472       -.37493E-06   -.17406E-03
   8  norm          1.8191        1.3688        .18962E-07   -.39603E-04
   9  Prefactor     .10000E-03    10.346       -.34474E-05** at limit **
  10  Prefactor     13.190        7.5298        .33300E-07   -.29276E-04
  11  norm          12.778        14.185        .19909E-06   -.19923E-03
  12  Prefactor     .10000E-03    3.2687       -.47160E-06** at limit **
  13  Prefactor     .10000E-03    20.483       -.76983E-05** at limit **
  14  Prefactor     .10000E-03    3.2514        .46051E-06** at limit **
  15  Prefactor     .10000E-03    27.668        .18559E-04** at limit **
  16  Prefactor     2.0059        3.6679        .19901E-05   -.23234E-02
  17  Prefactor     .10000E-03    15.299       -.67987E-05** at limit **
  18  Prefactor     .10000E-03    43.109       -.12622E-04** at limit **
  19  Normalizat    .76749        .17825       -.75741E-07   -.24049E-04
  20  Prefactor     1.1251        .16931       -.49976E-07    .43254E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.17774
  Prefactor  = 6.22086
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4931
  Prefactor  = 0.0001
  Prefactor  = 8.06554
  norm       = 1.81911
  Prefactor  = 0.0001
  Prefactor  = 13.1897
  norm       = 12.7785
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 2.00594
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 0.767488
  Prefactor  = 1.12512
 **********
 **   18 **HESSE 
 **********

 FCN=   5640.145     FROM HESSE     STATUS=OK           291 CALLS     1996 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1777        3.8281        .97364E-04   -1.5136    
   2  Prefactor     6.2209        5.7442        .16095E-03   -1.5209    
   3  Prefactor     .10000E-03    2.1544        .10755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.493        12.663        .50875E-03   -1.4921    
   6  Prefactor     .10000E-03    6.1797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.0655        15.467        .14116E-03   -1.5140    
   8  norm          1.8191        1.3562        .71926E-04   -1.5438    
   9  Prefactor     .10000E-03    10.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.190        7.5354        .11029E-03   -1.4981    
  11  norm          12.778        14.263        .56027E-03   -1.4993    
  12  Prefactor     .10000E-03    3.2755        .13259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.2631        .13224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    27.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0059        7.3712        .14618E-02   -1.5425    
  17  Prefactor     .10000E-03    15.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    43.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .76749        .20193        .26532E-03   -1.0129    
  20  Prefactor     1.1251        .19181        .22120E-03   -.88668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51987e-08
Minuit parameter uncertainties:
  1  3.82823
  2  5.74468
  3  1.44624e-06
  4  0.00014947
  5  12.665
  6  2.18049e-06
  7  15.4747
  8  1.35625
  9  6.80872e-05
  10  7.53596
  11  14.2673
  12  5.60141e-06
  13  0.000217167
  14  4.93658e-06
  15  0.000626908
  16  7.37454
  17  0.000138859
  18  0.000512268
  19  0.20213
  20  0.19193
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.278e+01  1.427e+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.125e+00  1.919e-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.675e-01  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/658493/likelihoodResults_263952001_264211201_4FGL_J1119.0+1235_daily_bin95.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) = 5639.13800918
delta logL = 1.00673997085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5639.13398163
delta logL = 1.01076752264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4313       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.9672       1.0000          .0000       5.0000    
     3 'Normalizat'    .68909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1765       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=   5639.134     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      278 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4306        8.6423        .10427E-03    .11959E-02
   2  alpha         3.9673        1.1519        .17317E-02    .80652E-04
   3  Normalizat    .68910        .20198        .27878E-03   -.70141E-04
   4  Prefactor     1.1765        .19510        .21685E-03   -.17195E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.43064
  alpha      = 3.96728
  Normalizat = 0.6891
  Prefactor  = 1.17649
 **********
 **   18 **HESSE 
 **********

 FCN=   5639.134     FROM HESSE     STATUS=OK            23 CALLS      301 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4306        8.2464        .41707E-05   -1.5242    
   2  alpha         3.9673        1.1052        .69267E-04    .62724    
   3  Normalizat    .68910        .20215        .11151E-04   -1.0432    
   4  Prefactor     1.1765        .19519        .43371E-04   -.87058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33797e-10
Minuit parameter uncertainties:
  1  8.24808
  2  1.16914
  3  0.202365
  4  0.19531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658493': 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) = 5639.13398162
delta logL = 1.01076753065

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  5.431e+00  8.248e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  3.967e+00  1.169e+00  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.176e+00  1.953e-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.891e-01  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.21
Ra Dec: 169.766 12.587
Photon Index (Free Index): 3.97 +/- 1.17
Photon Flux (Free Index): 9.46e-08 +/- 6.30e-08
Energy Flux (Free Index): 1.53e-05 +/- 1.01e-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/658493/cmap_HighResolution_263952001_264211201_4FGL_J1119.0+1235_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-05', comment='SUCCESS', energy_flux2='1.53e-05', dlogl='1.01e+00', photon_flux2='9.46e-08', job_status='DONE', time_completed='2021-09-03 15:46:00.527915', photon_index_error2='1.17', photon_index2='3.97', ts='0.96', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.01e-05', EG='0.77', time_epoch_completed='1630709160.53', return_code='0', job_id='658493', GAL2='1.18', EG2='0.69', return_code2='0', photon_flux_error2='6.30e-08', ts2='3.21', photon_index='2.41' WHERE bin_id='95' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 15:46:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 658493: <4FGL_J1119.0+1235_daily_bin95> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin95 169.766 12.5866 263952001 264211201 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 :                                   568.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             242.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            859 sec.

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

