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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1762
RA = 169.766, Dec = 12.5866
tmin = 696038401, tmax = 696297601
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='107764', job_status='RUN', time_executed='2023-01-25 00:53:23.919710', time_epoch_executed='1674636803.92' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107764

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107764/ft1_4FGL_J1119.0+1235_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107764/ft2_4FGL_J1119.0+1235_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107764/ft1_4FGL_J1119.0+1235_daily_bin1762.fits outfile=/scratch/kocevski/107764/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1762.fits ra=169.766 dec=12.5866 rad=12.0 tmin=696038401.0 tmax=696297601.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.75
user 3.49
sys 0.23

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

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

Number of photons that the gtmktime cut: 550

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107764/ft1_filtered_4FGL_J1119.0+1235_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107764/ft2_4FGL_J1119.0+1235_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107764/ltcube_696038401_696297601_4FGL_J1119.0+1235_daily_bin1762.fits outfile=/scratch/kocevski/107764/expmap_696038401_696297601_4FGL_J1119.0+1235_daily_bin1762.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/107764/ltcube_696038401_696297601_4FGL_J1119.0+1235_daily_bin1762.fits
.....................!
real 193.77
user 187.63
sys 5.64

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/107764/ft1_filtered_4FGL_J1119.0+1235_daily_bin1762.fits scfile=/scratch/kocevski/107764/ft2_4FGL_J1119.0+1235_daily_bin1762.fits outfile=/scratch/kocevski/107764/cmap_696038401_696297601_4FGL_J1119.0+1235_daily_bin1762.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=169.766 yref=12.5866 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107764/ft1_filtered_4FGL_J1119.0+1235_daily_bin1762.fits scfile=/scratch/kocevski/107764/ft2_4FGL_J1119.0+1235_daily_bin1762.fits outfile=/scratch/kocevski/107764/cmap_HighResolution_696038401_696297601_4FGL_J1119.0+1235_daily_bin1762.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.57
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59035       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.411       1.0000          .0000       .10000E+07
     3 'Prefactor '    .66549E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.113       1.0000          .0000       .10000E+07
     5 'Prefactor '    17.753       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18780       1.0000          .0000       .10000E+07
     7 'norm      '    1.3386       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.9364       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.4367       1.0000          .0000       .10000E+07
    10 'norm      '    9.1028       1.0000          .0000       .10000E+07
    11 'Prefactor '    .92144E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    9.5492       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13304E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .45672       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.4102       1.0000          .0000       .10000E+07
    16 'Prefactor '    .21231E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .75444       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3038       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=   6338.519     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     1245 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58655        2.0947       -.92817E-06   -.16912E-02
   2  Prefactor     17.516        8.4735        .15085E-07    .14623E-01
   3  Prefactor     .55511E-10    2.0809        .42486E-06** at limit **
   4  Prefactor     10.722        9.7936       -.14813E-05   -.75870E-02
   5  Prefactor     18.091        6.7895       -.28425E-06   -.82271E-01
   6  Prefactor     .81102E-07    49.502        .19932E-06** at limit **
   7  norm          1.3335        1.1979       -.21473E-06    .23477E-02
   8  Prefactor     6.8611        4.9655       -.12515E-05    .27523E-02
   9  Prefactor     5.3441        6.3292        .71738E-08   -.32139E-03
  10  norm          9.2761        4.1446       -.91296E-06   -.30532E-01
  11  Prefactor     .55511E-10    4.5003       -.38293E-07** at limit **
  12  Prefactor     9.5329        2.4121        .25329E-06    .36051E-01
  13  Prefactor     .80552E-06    19.560        .20334E-05** at limit **
  14  Prefactor     .38843        15.642       -.40830E-05    .19587E-01
  15  Prefactor     4.4069        4.8413        .16381E-05    .49481E-01
  16  Prefactor     .71460E-06    22.642       -.18181E-05** at limit **
  17  Normalizat    .75509        .21135        .51317E-05    .19246E-03
  18  Prefactor     1.3036        .20385        .31029E-05    .20662E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.586551
  Prefactor  = 17.5161
  Prefactor  = 5.55112e-11
  Prefactor  = 10.7221
  Prefactor  = 18.0905
  Prefactor  = 8.11018e-08
  norm       = 1.33354
  Prefactor  = 6.86105
  Prefactor  = 5.34405
  norm       = 9.27607
  Prefactor  = 5.55112e-11
  Prefactor  = 9.53293
  Prefactor  = 8.05522e-07
  Prefactor  = 0.388428
  Prefactor  = 4.40688
  Prefactor  = 7.14595e-07
  Normalizat = 0.755091
  Prefactor  = 1.30357
 **********
 **   18 **HESSE 
 **********

 FCN=   6338.519     FROM HESSE     STATUS=OK           292 CALLS     1537 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58655        2.1141        .70097E-03   -1.5693    
   2  Prefactor     17.516        8.7781        .23976E-03   -1.5624    
   3  Prefactor     .55511E-10    2.0890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.722        15.783        .30028E-03   -1.5642    
   5  Prefactor     18.091        16.914        .23743E-03   -1.5623    
   6  Prefactor     .81102E-07    48.956        .11997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3335        1.2152        .94736E-03   -1.5685    
   8  Prefactor     6.8611        14.400        .38069E-03   -1.5656    
   9  Prefactor     5.3441        6.3155        .43072E-03   -1.5662    
  10  norm          9.2761        11.230        .33195E-03   -1.5647    
  11  Prefactor     .55511E-10    4.5494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.5329        9.1626        .32405E-03   -1.5646    
  13  Prefactor     .80552E-06    22.644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .38843        7.2030        .83188E-02   -1.5695    
  15  Prefactor     4.4069        10.293        .47931E-03   -1.5666    
  16  Prefactor     .71460E-06    24.909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .75509        .18439        .67366E-01   -1.0176    
  18  Prefactor     1.3036        .17351        .51526E-01   -.83201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62397e-07
Minuit parameter uncertainties:
  1  2.11408
  2  8.77815
  3  2.15389e-05
  4  15.7832
  5  16.9145
  6  0.00398544
  7  1.2152
  8  14.4002
  9  6.31548
  10  11.2297
  11  3.31707e-05
  12  9.16265
  13  0.00854181
  14  3.34537
  15  10.2929
  16  0.00843817
  17  0.184539
  18  0.173586
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  9.276e+00  1.123e+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.304e+00  1.736e-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.551e-01  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/107764/likelihoodResults_696038401_696297601_4FGL_J1119.0+1235_daily_bin1762.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) = 6338.36149053
delta logL = 0.157046550714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6338.34753941
delta logL = 0.17099767541

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7407       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0397       1.0000          .0000       5.0000    
     3 'Normalizat'    .73461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3161       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=   6338.348     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      254 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7376        10.857        .14407E-04    .16208E-02
   2  alpha         3.0399        1.1793        .24227E-01    .68098E-05
   3  Normalizat    .73463        .21342        .30185E-03    .61842E-04
   4  Prefactor     1.3161        .20612        .22684E-03    .16485E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.73757
  alpha      = 3.03988
  Normalizat = 0.734627
  Prefactor  = 1.3161
 **********
 **   18 **HESSE 
 **********

 FCN=   6338.348     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7376        10.067        .57629E-06   -1.5652    
   2  alpha         3.0399        1.0986        .96909E-03    .21767    
   3  Normalizat    .73463        .21344        .12074E-04   -1.0254    
   4  Prefactor     1.3161        .20605        .45368E-04   -.82830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.17401e-11
Minuit parameter uncertainties:
  1  10.0672
  2  1.13958
  3  0.213687
  4  0.206178
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107764': 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) = 6338.34753935
delta logL = 0.170997734843

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  7.738e+00  1.007e+01  0.000e+00  1.000e+06 ( 1.000e-12)
288        alpha:  3.040e+00  1.140e+00  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.316e+00  2.062e-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.346e-01  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.30
Ra Dec: 169.766 12.587
Photon Index (Free Index): 3.04 +/- 1.14
Photon Flux (Free Index): 4.39e-08 +/- 4.94e-08
Energy Flux (Free Index): 9.31e-06 +/- 9.55e-06

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/107764/cmap_HighResolution_696038401_696297601_4FGL_J1119.0+1235_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', comment='SUCCESS', energy_flux2='9.31e-06', dlogl='1.71e-01', photon_flux2='4.39e-08', job_status='DONE', time_completed='2023-01-25 01:02:52.464451', photon_index_error2='1.14', photon_index2='3.04', ts='0.94', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='9.55e-06', EG='0.76', time_epoch_completed='1674637372.46', return_code='0', job_id='107764', GAL2='1.32', EG2='0.73', return_code2='0', photon_flux_error2='4.94e-08', ts2='1.30', photon_index='2.41' WHERE bin_id='1762' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:02:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 107764: <4FGL_J1119.0+1235_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:18 2023
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:51:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:51:25 2023
Terminated at Wed Jan 25 01:02:53 2023
Results reported at Wed Jan 25 01:02:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1762 169.766 12.5866 696038401 696297601 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 :                                   570.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            755 sec.

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

