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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1755
RA = 169.766, Dec = 12.5866
tmin = 694224001, tmax = 694483201
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='820621', job_status='RUN', time_executed='2023-01-04 00:52:06.788292', time_epoch_executed='1672822326.79' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820621

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820621/ft1_4FGL_J1119.0+1235_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820621/ft2_4FGL_J1119.0+1235_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820621/ft1_4FGL_J1119.0+1235_daily_bin1755.fits outfile=/scratch/kocevski/820621/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1755.fits ra=169.766 dec=12.5866 rad=12.0 tmin=694224001.0 tmax=694483201.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.02
user 2.81
sys 0.20

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

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

Number of photons that the gtmktime cut: 303

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820621/ft1_filtered_4FGL_J1119.0+1235_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820621/ft2_4FGL_J1119.0+1235_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/820621/ltcube_694224001_694483201_4FGL_J1119.0+1235_daily_bin1755.fits outfile=/scratch/kocevski/820621/expmap_694224001_694483201_4FGL_J1119.0+1235_daily_bin1755.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/820621/ltcube_694224001_694483201_4FGL_J1119.0+1235_daily_bin1755.fits
.....................!
real 191.46
user 186.13
sys 4.94

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/820621/ft1_filtered_4FGL_J1119.0+1235_daily_bin1755.fits scfile=/scratch/kocevski/820621/ft2_4FGL_J1119.0+1235_daily_bin1755.fits outfile=/scratch/kocevski/820621/cmap_694224001_694483201_4FGL_J1119.0+1235_daily_bin1755.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.60
user 0.42
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3500       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3319       1.0000          .0000       .10000E+07
     3 'Prefactor '    .80861E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .38813E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    23.767       1.0000          .0000       .10000E+07
     6 'Prefactor '    32.689       1.0000          .0000       .10000E+07
     7 'norm      '    .63283E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    36.273       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20920E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .41976E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .26761E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.376       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.5937       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11545E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .20887E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .49177       1.0000          .0000       .10000E+07
    17 'Normalizat'    .99116       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0855       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=   3413.459     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1275 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2878        6.3227       -.16931E-07   -.33468E-03
   2  Prefactor     2.3760        4.3860        .25701E-06   -.14710E-01
   3  Prefactor     .24647E-07    18.215        .24559E-06** at limit **
   4  Prefactor     .12418E-06    8.2721       -.31997E-06** at limit **
   5  Prefactor     23.913        4.2282       -.15438E-07    .56896E-01
   6  Prefactor     33.005        9.7240        .11278E-08   -.14051    
   7  norm           .0000        .82121        .38848E-07** at limit **
   8  Prefactor     37.609        36.783       -.29176E-06    .39802E-01
   9  Prefactor     .56721E-06    2.9639       -.53691E-06** at limit **
  10  norm          .85432E-07    8.9959       -.71709E-06** at limit **
  11  Prefactor     .55511E-10    6.0267        .24669E-06** at limit **
  12  Prefactor     13.388        10.828       -.35229E-06   -.41753E-02
  13  Prefactor     .66314E-06    391.63        .21691E-05** at limit **
  14  Prefactor     .22204E-09    5.1893       -.12814E-06** at limit **
  15  Prefactor     .13878E-08    8.0135        .48365E-07** at limit **
  16  Prefactor     .11152E-05    68.277       -.89377E-06** at limit **
  17  Normalizat    .98960        .27542        .10388E-04   -.14949E-04
  18  Prefactor     1.0864        .26179       -.75548E-05   -.10308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.28779
  Prefactor  = 2.37598
  Prefactor  = 2.4647e-08
  Prefactor  = 1.24178e-07
  Prefactor  = 23.9131
  Prefactor  = 33.0051
  norm       = 0
  Prefactor  = 37.6092
  Prefactor  = 5.67213e-07
  norm       = 8.54317e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 13.3881
  Prefactor  = 6.63136e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 1.38778e-09
  Prefactor  = 1.11522e-06
  Normalizat = 0.989603
  Prefactor  = 1.08642
 **********
 **   18 **HESSE 
 **********

 FCN=   3413.459     FROM HESSE     STATUS=OK           274 CALLS     1549 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2878        6.3234        .36972E-03   -1.5654    
   2  Prefactor     2.3760        15.989        .67127E-03   -1.5677    
   3  Prefactor     .24647E-07    18.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12418E-06    9.5158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.913        22.393        .20517E-03   -1.5610    
   6  Prefactor     33.005        28.991        .17493E-03   -1.5593    
   7  norm           .0000        .81853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.609        37.966        .16606E-03   -1.5585    
   9  Prefactor     .56721E-06    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .85432E-07    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    6.0501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.388        11.667        .27361E-03   -1.5635    
  13  Prefactor     .66314E-06    392.25        .63329E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-09    5.2032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    8.0405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11152E-05    71.784        .79541E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .98960        .24561        .46056E-01   -.93380    
  18  Prefactor     1.0864        .22934        .38164E-01   -.89902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.30728e-07
Minuit parameter uncertainties:
  1  6.32344
  2  12.327
  3  0.00134988
  4  0.00217384
  5  22.3935
  6  28.9911
  7  3.28653e-07
  8  37.9662
  9  0.00484201
  10  0.00187904
  11  3.29992e-05
  12  11.6674
  13  0.0322587
  14  6.77495e-05
  15  0.000212381
  16  0.0178949
  17  0.245892
  18  0.229553
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  8.543e-08  1.879e-03  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.086e+00  2.296e-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.896e-01  2.459e-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: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/820621/likelihoodResults_694224001_694483201_4FGL_J1119.0+1235_daily_bin1755.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) = 3413.45897906
delta logL = -0.000137607984016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3412.48526069
delta logL = 0.973580760341

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6923       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .83058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1807       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.

 FCN=   3412.485     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      257 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6916        1.9893        .80877E-03    .30900E-02
   2  alpha         5.0000        3.1543        .46267    ** at limit **
   3  Normalizat    .83012        .24426        .63465E-01    .69411E-04
   4  Prefactor     1.1814        .22714        .52189E-01    .11958E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.69162
  alpha      = 5
  Normalizat = 0.830123
  Prefactor  = 1.18142
 **********
 **   18 **HESSE 
 **********

 FCN=   3412.485     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6916        1.3944        .56637E-05   -1.5682    
   2  alpha         5.0000        .86644        .41356E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .83012        .29182        .28073E-03   -.98961    
   4  Prefactor     1.1814        .27154        .23073E-03   -.86905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06611e-11
Minuit parameter uncertainties:
  1  1.39436
  2  8.46082e-06
  3  0.292377
  4  0.271858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820621': 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) = 3412.48525508
delta logL = 0.973586370026

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.692e+00  1.394e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        alpha:  5.000e+00  8.461e-06  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.181e+00  2.719e-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.301e-01  2.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.21
Ra Dec: 169.766 12.587
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.19e-07 +/- 9.74e-08
Energy Flux (Free Index): 1.65e-05 +/- 1.36e-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/820621/cmap_HighResolution_694224001_694483201_4FGL_J1119.0+1235_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-05', comment='SUCCESS', energy_flux2='1.65e-05', dlogl='9.74e-01', photon_flux2='1.19e-07', job_status='DONE', time_completed='2023-01-04 00:59:40.814619', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.36e-05', EG='0.99', time_epoch_completed='1672822780.81', return_code='0', job_id='820621', GAL2='1.18', EG2='0.83', return_code2='0', photon_flux_error2='9.74e-08', ts2='2.21', photon_index='2.41' WHERE bin_id='1755' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:59:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 820621: <4FGL_J1119.0+1235_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 00:50:24 2023
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:51:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:51:23 2023
Terminated at Wed Jan  4 00:59:41 2023
Results reported at Wed Jan  4 00:59:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1755 169.766 12.5866 694224001 694483201 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 :                                   456.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   498 sec.
    Turnaround time :                            557 sec.

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

