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


Performing analysis on: 4FGL_J1119.0+1235_weekly_bin751
RA = 169.766, Dec = 12.5866
tmin = 693187201, tmax = 693792001
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='670310', job_status='RUN', time_executed='2022-12-27 00:57:47.825524', time_epoch_executed='1672131467.83' WHERE source_name='4FGL J1119.0+1235' and cadence='weekly' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670310

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670310/ft1_4FGL_J1119.0+1235_weekly_bin751.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670310/ft2_4FGL_J1119.0+1235_weekly_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670310/ft1_4FGL_J1119.0+1235_weekly_bin751.fits outfile=/scratch/kocevski/670310/ft1_filteredMKT_4FGL_J1119.0+1235_weekly_bin751.fits ra=169.766 dec=12.5866 rad=12.0 tmin=693187201.0 tmax=693792001.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 7.80
user 7.40
sys 0.28

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

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

Number of photons that the gtmktime cut: 1231

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/670310/ft1_filtered_4FGL_J1119.0+1235_weekly_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/670310/ft2_4FGL_J1119.0+1235_weekly_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/670310/ltcube_693187201_693792001_4FGL_J1119.0+1235_weekly_bin751.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/670310/ft2_4FGL_J1119.0+1235_weekly_bin751.fits
.....................!
real 34.13
user 33.33
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670310/ft1_filtered_4FGL_J1119.0+1235_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/670310/ft2_4FGL_J1119.0+1235_weekly_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/670310/ltcube_693187201_693792001_4FGL_J1119.0+1235_weekly_bin751.fits outfile=/scratch/kocevski/670310/expmap_693187201_693792001_4FGL_J1119.0+1235_weekly_bin751.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/670310/ltcube_693187201_693792001_4FGL_J1119.0+1235_weekly_bin751.fits
.....................!
real 195.05
user 188.05
sys 4.82

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/670310/ft1_filtered_4FGL_J1119.0+1235_weekly_bin751.fits scfile=/scratch/kocevski/670310/ft2_4FGL_J1119.0+1235_weekly_bin751.fits outfile=/scratch/kocevski/670310/cmap_693187201_693792001_4FGL_J1119.0+1235_weekly_bin751.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.64
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/670310/ft1_filtered_4FGL_J1119.0+1235_weekly_bin751.fits scfile=/scratch/kocevski/670310/ft2_4FGL_J1119.0+1235_weekly_bin751.fits outfile=/scratch/kocevski/670310/cmap_HighResolution_693187201_693792001_4FGL_J1119.0+1235_weekly_bin751.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.60
user 0.43
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8975       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.114       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7691       1.0000          .0000       .10000E+07
     4 'Prefactor '    18.177       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1626       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14544E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .73241       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.0023       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.2801       1.0000          .0000       .10000E+07
    10 'norm      '    1.6817       1.0000          .0000       .10000E+07
    11 'Prefactor '    .45737E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.0527       1.0000          .0000       .10000E+07
    13 'Prefactor '    .52587E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39302E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .15274E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    21.759       1.0000          .0000       .10000E+07
    17 'Normalizat'    .94639       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0902       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=   13635.85     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1044 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8923        2.2942        .29492E-07   -.17004E-03
   2  Prefactor     10.053        5.1548       -.94884E-08    .31040E-02
   3  Prefactor     1.8136        4.9023       -.72844E-06   -.60624E-03
   4  Prefactor     18.154        6.5290       -.71304E-08    .64816E-02
   5  Prefactor     1.1580        2.8641        .11448E-06    .45653E-03
   6  Prefactor     .49516E-07    1.5844        .46516E-06** at limit **
   7  norm          .73353        .66454       -.30676E-08   -.17495E-02
   8  Prefactor     4.8822        7.8840       -.33529E-06    .33722E-01
   9  Prefactor     2.2802        2.2844       -.23022E-06   -.17961E-03
  10  norm          1.6300        7.7308       -.21745E-06    .77133E-02
  11  Prefactor     .63222E-06    46.182        .10069E-05** at limit **
  12  Prefactor     2.0541        2.9774        .15606E-06    .34902E-03
  13  Prefactor     .55511E-09    21.000       -.10808E-05** at limit **
  14  Prefactor     .50793E-07    1.6579        .73170E-07** at limit **
  15  Prefactor     .55511E-10    20.850        .17177E-06** at limit **
  16  Prefactor     22.094        30.972        .36017E-06   -.27823E-02
  17  Normalizat    .94685        .13649        .56271E-05    .69347E-04
  18  Prefactor     1.0902        .12896       -.84917E-06    .57565E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.89234
  Prefactor  = 10.053
  Prefactor  = 1.81356
  Prefactor  = 18.1545
  Prefactor  = 1.158
  Prefactor  = 4.95159e-08
  norm       = 0.733534
  Prefactor  = 4.88225
  Prefactor  = 2.28022
  norm       = 1.62997
  Prefactor  = 6.32217e-07
  Prefactor  = 2.05406
  Prefactor  = 5.55112e-10
  Prefactor  = 5.07927e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 22.0943
  Normalizat = 0.946847
  Prefactor  = 1.09021
 **********
 **   18 **HESSE 
 **********

 FCN=   13635.85     FROM HESSE     STATUS=OK           294 CALLS     1338 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8923        2.3205        .51083E-03   -1.5669    
   2  Prefactor     10.053        5.1459        .31483E-03   -1.5645    
   3  Prefactor     1.8136        4.9509        .78707E-03   -1.5681    
   4  Prefactor     18.154        6.7664        .23464E-03   -1.5623    
   5  Prefactor     1.1580        3.2018        .69875E-02   -1.5686    
   6  Prefactor     .49516E-07    2.2056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .73353        .67086        .58115E-03   -1.5691    
   8  Prefactor     4.8822        9.0908        .44939E-03   -1.5664    
   9  Prefactor     2.2802        2.2823        .67970E-03   -1.5678    
  10  norm          1.6300        7.9260        .81194E-03   -1.5682    
  11  Prefactor     .63222E-06    2.0272        .92509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.0541        3.0015        .72119E-03   -1.5679    
  13  Prefactor     .55511E-09    20.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .50793E-07    2.3015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    20.388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.094        31.011        .21443E-03   -1.5614    
  17  Normalizat    .94685        .12022        .45492E-01   -.94833    
  18  Prefactor     1.0902        .11277        .37971E-01   -.89780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26885e-06
Minuit parameter uncertainties:
  1  2.32054
  2  5.14593
  3  4.95088
  4  6.76641
  5  3.20185
  6  0.000660972
  7  0.670862
  8  9.09087
  9  2.28232
  10  7.18866
  11  0.00226418
  12  3.00152
  13  0.000216738
  14  0.000683659
  15  6.98685e-05
  16  31.0109
  17  0.120257
  18  0.112795
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.630e+00  7.189e+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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.090e+00  1.128e-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.468e-01  1.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 169.766 12.587
Photon Flux Upper Limit: 5.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670310/likelihoodResults_693187201_693792001_4FGL_J1119.0+1235_weekly_bin751.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) = 13635.7813519
delta logL = 0.0672291454339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13635.7215961
delta logL = 0.126984876033

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25159       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .92697       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1042       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=   13635.72     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      318 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25150        .55623        .10009E-04   -.59769E-02
   2  alpha         5.0000        4.8339        .50000    ** at limit **
   3  Normalizat    .92688        .13695        .25544E-03   -.28413E-03
   4  Prefactor     1.1043        .13080        .23244E-03    .98995E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.251497
  alpha      = 5
  Normalizat = 0.926883
  Prefactor  = 1.10433
 **********
 **   18 **HESSE 
 **********

 FCN=   13635.72     FROM HESSE     STATUS=OK            29 CALLS      347 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25150        .54982        .40035E-06   -1.5698    
   2  alpha         5.0000        4.8154        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .92688        .13712        .10217E-04   -.95522    
   4  Prefactor     1.1043        .13094        .92975E-05   -.89328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20344e-10
Minuit parameter uncertainties:
  1  0.549823
  2  6.29077e-05
  3  0.137175
  4  0.13098
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670310': 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) = 13635.7215951
delta logL = 0.126985960163

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  2.515e-01  5.498e-01  0.000e+00  1.000e+06 ( 1.000e-12)
288        alpha:  5.000e+00  6.291e-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.104e+00  1.310e-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.269e-01  1.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 169.766 12.587

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/670310/cmap_HighResolution_693187201_693792001_4FGL_J1119.0+1235_weekly_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-05', job_status='DONE', photon_flux_upper_limit='5.23e-08', time_completed='2022-12-27 01:11:54.790840', job_id='670310', GAL2='1.10', fit_tolerance='1e-08', EG2='0.93', EG='0.95', time_epoch_completed='1672132314.79', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.27e-01', ts2='0.35', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='751' AND source_name='4FGL J1119.0+1235' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 27 01:11:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 670310: <4FGL_J1119.0+1235_weekly_bin751> in cluster <slac> Done

Job <4FGL_J1119.0+1235_weekly_bin751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec 27 00:55:23 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 27 00:56:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 27 00:56:22 2022
Terminated at Tue Dec 27 01:11:55 2022
Results reported at Tue Dec 27 01:11:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_weekly_bin751 169.766 12.5866 693187201 693792001 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 :                                   839.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             336.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            992 sec.

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

