aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 200 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7548
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1765
RA = 169.766, Dec = 12.5866
tmin = 696816001, tmax = 697075201
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='632680', job_status='RUN', time_executed='2023-02-03 00:54:37.508861', time_epoch_executed='1675414477.51' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632680

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632680/ft1_4FGL_J1119.0+1235_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632680/ft2_4FGL_J1119.0+1235_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632680/ft1_4FGL_J1119.0+1235_daily_bin1765.fits outfile=/scratch/kocevski/632680/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1765.fits ra=169.766 dec=12.5866 rad=12.0 tmin=696816001.0 tmax=697075201.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.74
user 3.46
sys 0.24

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

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

Number of photons that the gtmktime cut: 533

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632680/ft1_filtered_4FGL_J1119.0+1235_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/632680/ft2_4FGL_J1119.0+1235_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/632680/ltcube_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.fits outfile=/scratch/kocevski/632680/expmap_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.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/632680/ltcube_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.fits
.....................!
real 194.84
user 187.58
sys 5.95

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/632680/ft1_filtered_4FGL_J1119.0+1235_daily_bin1765.fits scfile=/scratch/kocevski/632680/ft2_4FGL_J1119.0+1235_daily_bin1765.fits outfile=/scratch/kocevski/632680/cmap_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.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.58
user 0.39
sys 0.16

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/632680/ft1_filtered_4FGL_J1119.0+1235_daily_bin1765.fits', '/scratch/kocevski/632680/ft2_4FGL_J1119.0+1235_daily_bin1765.fits', expMap='/scratch/kocevski/632680/expmap_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.fits', expCube='/scratch/kocevski/632680/ltcube_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/632680/Model_4FGL_J1119.0+1235_daily_bin1765.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  0.000e+00  1.000e+06 ( 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 -5.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/632680/ft1_filtered_4FGL_J1119.0+1235_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/632680/ft2_4FGL_J1119.0+1235_daily_bin1765.fits
Exposure map: /scratch/kocevski/632680/expmap_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.fits
Exposure cube: /scratch/kocevski/632680/ltcube_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/632680/Model_4FGL_J1119.0+1235_daily_bin1765.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) = 6069.25982073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38693       1.0000          .0000       .10000E+07
     2 'Prefactor '    43.009       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42585E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.9420       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26703E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.625       1.0000          .0000       .10000E+07
     7 'norm      '    .14261E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10482E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24382E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .13123       1.0000          .0000       .10000E+07
    11 'Prefactor '    .77200E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.3544       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18151E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    21.503       1.0000          .0000       .10000E+07
    15 'Prefactor '    .24824E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10526E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .88837       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0083       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6069.226     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1372 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38285        2.5064        .21389E-06   -.11777E-03
   2  Prefactor     43.026        10.775       -.24715E-07    .13412E-03
   3  Prefactor     .30531E-08    5.4527       -.10337E-05** at limit **
   4  Prefactor     7.7668        10.500        .60321E-07   -.18452E-02
   5  Prefactor     .27964E-05    28.944       -.18266E-05** at limit **
   6  Prefactor     12.603        16.323        .22938E-07    .28479E-02
   7  norm           .0000        1.1173        .12984E-06** at limit **
   8  Prefactor     .49960E-08    11.591        .61037E-06** at limit **
   9  Prefactor     .34323E-05    25.536       -.10332E-05** at limit **
  10  norm          .16597E-01    1.8332       -.12100E-06** at limit **
  11  Prefactor     .12323E-07    21.356        .11705E-05** at limit **
  12  Prefactor     6.4099        11.773       -.46177E-06    .90937E-03
  13  Prefactor     .77210E-06    47.298       -.12384E-05** at limit **
  14  Prefactor     21.511        12.595       -.27562E-06    .96895E-03
  15  Prefactor     .38858E-09    23.923       -.16921E-05** at limit **
  16  Prefactor     .35583E-07    124.62       -.77362E-06** at limit **
  17  Normalizat    .88909        .21179       -.40173E-05    .48846E-04
  18  Prefactor     1.0082        .19550        .52143E-05    .12585E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.38285
  Prefactor  = 43.0263
  Prefactor  = 3.05311e-09
  Prefactor  = 7.76676
  Prefactor  = 2.79637e-06
  Prefactor  = 12.6031
  norm       = 0
  Prefactor  = 4.996e-09
  Prefactor  = 3.43231e-06
  norm       = 0.0165968
  Prefactor  = 1.23235e-08
  Prefactor  = 6.40986
  Prefactor  = 7.72105e-07
  Prefactor  = 21.5109
  Prefactor  = 3.88578e-10
  Prefactor  = 3.55826e-08
  Normalizat = 0.889089
  Prefactor  = 1.0082
 **********
 **   18 **HESSE 
 **********

 FCN=   6069.226     FROM HESSE     STATUS=OK           296 CALLS     1668 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38285        2.4954        .91016E-03   -1.5696    
   2  Prefactor     43.026        10.752        .15250E-03   -1.5577    
   3  Prefactor     .30531E-08    5.4421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7668        10.562        .35555E-03   -1.5652    
   5  Prefactor     .27964E-05    46.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.603        16.399        .28167E-03   -1.5637    
   7  norm           .0000        1.0903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-08    11.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .34323E-05    4.3232        .60405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .16597E-01    5.7175        .10246E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12323E-07    21.386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.4099        11.791        .39794E-03   -1.5657    
  13  Prefactor     .77210E-06    53.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.511        12.616        .21571E-03   -1.5615    
  15  Prefactor     .38858E-09    23.065        .16738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .35583E-07    125.38        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .88909        .18401        .44753E-01   -.96845    
  18  Prefactor     1.0082        .16778        .43585E-01   -.92457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.38098e-08
Minuit parameter uncertainties:
  1  1.95484
  2  10.7516
  3  0.000257936
  4  10.5618
  5  0.0228557
  6  16.3991
  7  1.98789e-06
  8  0.000481945
  9  0.00770417
  10  0.616092
  11  0.00102699
  12  11.7915
  13  0.0128423
  14  12.6157
  15  0.000187264
  16  0.00422295
  17  0.184139
  18  0.167867
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.660e-02  6.161e-01  0.000e+00  1.000e+06 ( 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 -5.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.008e+00  1.679e-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.891e-01  1.841e-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.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.25e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632680/likelihoodResults_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.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) = 6069.22580221
delta logL = 6.17323530605e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6068.80889167
delta logL = 0.416916709694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68343       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .82468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0469       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=   6068.809     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      327 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68336        .50508       -.67941E-08    .13908E-02
   2  alpha         5.0000        3.3024       -.82803E-05** at limit **
   3  Normalizat    .82470        .18459        .41308E-07    .21527E-03
   4  Prefactor     1.0469        .17125       -.12748E-07    .65045E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.683362
  alpha      = 5
  Normalizat = 0.824703
  Prefactor  = 1.04686
 **********
 **   18 **HESSE 
 **********

 FCN=   6068.809     FROM HESSE     STATUS=OK            33 CALLS      360 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68336        .85593        .73115E-05   -1.5691    
   2  alpha         5.0000        3.7577        .92471E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .82470        .21558        .27170E-03   -.99159    
   4  Prefactor     1.0469        .19931        .23128E-03   -.91183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83867e-10
Minuit parameter uncertainties:
  1  0.855928
  2  2.15863e-05
  3  0.215805
  4  0.19945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632680': 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) = 6068.80889163
delta logL = 0.416916749401

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  6.834e-01  8.559e-01  0.000e+00  1.000e+06 ( 1.000e-12)
288        alpha:  5.000e+00  2.159e-05  0.000e+00  5.000e+00 ( 1.000e+00)
289         beta:  2.294e-01  0.000e+00 -5.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.047e+00  1.995e-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.247e-01  2.158e-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/632680/cmap_HighResolution_696816001_697075201_4FGL_J1119.0+1235_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.25e-05', job_status='DONE', photon_flux_upper_limit='7.45e-08', time_completed='2023-02-03 01:04:14.608451', job_id='632680', GAL2='1.05', fit_tolerance='1e-08', EG2='0.82', EG='0.89', time_epoch_completed='1675415054.61', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.17e-01', ts2='0.91', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1765' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:04:14 PST 2023


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

Job <4FGL_J1119.0+1235_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:50:18 2023
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:51:02 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:51:02 2023
Terminated at Fri Feb  3 01:04:15 2023
Results reported at Fri Feb  3 01:04:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1765 169.766 12.5866 696816001 697075201 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 :                                   578.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            837 sec.

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

