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


Performing analysis on: 4FGL_J1319.5-0045_daily_bin1773
RA = 199.877, Dec = -0.7613
tmin = 698889601, tmax = 699148801
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='790600', job_status='RUN', time_executed='2023-02-27 09:50:12.105175', time_epoch_executed='1677520212.11' WHERE source_name='4FGL J1319.5-0045' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790600

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790600/ft1_4FGL_J1319.5-0045_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790600/ft1_4FGL_J1319.5-0045_daily_bin1773.fits outfile=/scratch/kocevski/790600/ft1_filteredMKT_4FGL_J1319.5-0045_daily_bin1773.fits ra=199.877 dec=-0.7613 rad=12.0 tmin=698889601.0 tmax=699148801.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.17
user 2.73
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.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/790600/ft1_filteredMKT_4FGL_J1319.5-0045_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/790600/ft1_filtered_4FGL_J1319.5-0045_daily_bin1773.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 1.22
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 391

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790600/ft1_filtered_4FGL_J1319.5-0045_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/790600/ltcube_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.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/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits
.....................!
real 17.39
user 15.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790600/ft1_filtered_4FGL_J1319.5-0045_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/790600/ltcube_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.fits outfile=/scratch/kocevski/790600/expmap_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.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/790600/ltcube_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.fits
.....................!
real 192.60
user 185.91
sys 4.04

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 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J1319.5-0045 @ 199.877 -0.7613

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/790600/ft1_filtered_4FGL_J1319.5-0045_daily_bin1773.fits scfile=/scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits outfile=/scratch/kocevski/790600/cmap_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.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=199.877 yref=-0.7613 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790600/ft1_filtered_4FGL_J1319.5-0045_daily_bin1773.fits scfile=/scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits outfile=/scratch/kocevski/790600/cmap_HighResolution_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.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=199.877 yref=-0.7613 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/790600/ft1_filtered_4FGL_J1319.5-0045_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790600/Model_4FGL_J1319.5-0045_daily_bin1773.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/790600/ft1_filtered_4FGL_J1319.5-0045_daily_bin1773.fits.....................!
real 41.58
user 40.26
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/790600/ft1_filtered_4FGL_J1319.5-0045_daily_bin1773.fits', '/scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits', expMap='/scratch/kocevski/790600/expmap_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.fits', expCube='/scratch/kocevski/790600/ltcube_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/790600/Model_4FGL_J1319.5-0045_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1319.5-0045'

4FGL J1319.5-0045
   Spectrum: PowerLaw
300    Prefactor:  2.809e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.401e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.099e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/790600/ft1_filtered_4FGL_J1319.5-0045_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/790600/ft2_4FGL_J1319.5-0045_daily_bin1773.fits
Exposure map: /scratch/kocevski/790600/expmap_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.fits
Exposure cube: /scratch/kocevski/790600/ltcube_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/790600/Model_4FGL_J1319.5-0045_daily_bin1773.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) = 4500.63618152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13562E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .17225E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.6249       1.0000          .0000       .10000E+07
     4 'Prefactor '    69.387       1.0000          .0000       .10000E+07
     5 'norm      '    .42323E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .51929       1.0000          .0000       .10000E+07
     7 'Prefactor '    70.881       1.0000          .0000       .10000E+07
     8 'norm      '    24.120       1.0000          .0000       .10000E+07
     9 'norm      '    3.8971       1.0000          .0000       .10000E+07
    10 'Prefactor '    23.515       1.0000          .0000       .10000E+07
    11 'Prefactor '    .36736       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21580E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .58897E-04   1.0000          .0000       .10000E+07
    14 'norm      '    1.6245       1.0000          .0000       .10000E+07
    15 'norm      '    .21505E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26035E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27621E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.169       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4597       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4500.309     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1540 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.9224       -.56482E-07** at limit **
   2  norm           .0000        2.8559       -.17646E-07** at limit **
   3  Prefactor     2.8074        15.346       -.47236E-07   -.31436E-02
   4  Prefactor     60.707        72.931       -.52527E-06    .34327E-04
   5  norm          .55900E-07    11.646        .18679E-07** at limit **
   6  norm          .53469        .31927        .19183E-07    .78363E-02
   7  Prefactor     52.024        98.524       -.55532E-06   -.24013E-02
   8  norm          25.225        10.618        .54422E-07   -.33739E-01
   9  norm          3.8552        9.7957       -.94779E-07   -.74680E-03
  10  Prefactor     23.456        14.743        .10132E-08   -.38618E-01
  11  Prefactor     .44409E-09    227.02       -.80949E-06** at limit **
  12  Prefactor     .55511E-10    8.4922       -.48900E-07** at limit **
  13  Prefactor     .16653E-09    24.636        .17026E-08** at limit **
  14  norm          1.6119        1.8928       -.55151E-08    .12906E-04
  15  norm          .12002E-06    10.549        .21516E-07** at limit **
  16  Prefactor      .0000        3.8115        .38752E-07** at limit **
  17  Prefactor     .13600E-07    14.804       -.50621E-07** at limit **
  18  Prefactor     10.106        7.6312       -.56326E-08   -.74848E-01
  19  Normalizat    1.4626        .33886       -.11959E-05    .12397E-05
  20  Prefactor     .85958        .23133        .14576E-05    .10985E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.80737
  Prefactor  = 60.707
  norm       = 5.58997e-08
  norm       = 0.534691
  Prefactor  = 52.0244
  norm       = 25.2246
  norm       = 3.85516
  Prefactor  = 23.4563
  Prefactor  = 4.44089e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  norm       = 1.61188
  norm       = 1.20015e-07
  Prefactor  = 0
  Prefactor  = 1.36002e-08
  Prefactor  = 10.1062
  Normalizat = 1.46258
  Prefactor  = 0.859583
 **********
 **   18 **HESSE 
 **********

 FCN=   4500.309     FROM HESSE     STATUS=OK           339 CALLS     1879 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.9289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.8407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8074        15.424        .62920E-03   -1.5674    
   4  Prefactor     60.707        73.110        .12006E-03   -1.5552    
   5  norm          .55900E-07    13.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .53469        .32363        .61750E-03   -1.5693    
   7  Prefactor     52.024        99.508        .11878E-03   -1.5564    
   8  norm          25.225        19.492        .20366E-03   -1.5608    
   9  norm          3.8552        9.8656        .51085E-03   -1.5669    
  10  Prefactor     23.456        15.563        .20627E-03   -1.5611    
  11  Prefactor     .44409E-09    21.908        .11222E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    8.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16653E-09    24.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6119        1.9162        .82979E-03   -1.5683    
  15  norm          .12002E-06    13.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.7703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .13600E-07    14.924        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.106        15.764        .31397E-03   -1.5644    
  19  Normalizat    1.4626        .28745        .65107E-01   -.78835    
  20  Prefactor     .85958        .19321        .44455E-01   -.97568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0692e-07
Minuit parameter uncertainties:
  1  3.98523e-06
  2  1.10804e-05
  3  13.1608
  4  73.1113
  5  0.00172412
  6  0.323628
  7  99.5108
  8  19.4921
  9  9.86563
  10  15.5627
  11  0.000202764
  12  3.22912e-05
  13  0.000134997
  14  1.91617
  15  0.00255904
  16  1.82046e-06
  17  0.000900478
  18  15.764
  19  0.28777
  20  0.193363
Done.

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

Extracting fit parameters...

4FGL J1319.5-0045
   Spectrum: PowerLaw
300    Prefactor:  4.441e-10  2.028e-04  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.401e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.099e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  8.596e-01  1.934e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.463e+00  2.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.877 -0.761
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.09e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790600/likelihoodResults_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.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) = 4500.31159672
delta logL = -0.0029637582038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4499.87101178
delta logL = 0.437621188814

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3297       1.0000          .0000       .10000E+07
     2 'Index     '    3.9048       1.0000          .0000       10.000    
     3 'Normalizat'    1.3583       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90278       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4499.871     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      234 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3365        74.613        .67162E-03    .47412E-02
   2  Index         3.9051        3.9324        .11272        .11935E-03
   3  Normalizat    1.3585        .83783E-01    .67082E-01   -.81185E-05
   4  Prefactor     .90263        .56821E-01    .45040E-01   -.10363E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33651
  Index      = 3.90506
  Normalizat = 1.35851
  Prefactor  = 0.902626
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3365        27.992        .11131E-04   -1.5677    
   2  Index         3.9051        3.1626        .60337E-02   -.22078    
   3  Normalizat    1.3585        .34937        .29676E-03   -.81836    
   4  Prefactor     .90263        .23516        .24486E-03   -.96049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80772e-10
Minuit parameter uncertainties:
  1  16.1746
  2  3.44079
  3  0.349986
  4  0.23542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790600': 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) = 4499.87100646
delta logL = 0.437626504046

Extracting fit parameters...

4FGL J1319.5-0045
   Spectrum: PowerLaw
300    Prefactor:  2.337e+00  1.617e+01  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  3.905e+00  3.441e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.099e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.026e-01  2.354e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.359e+00  3.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.877 -0.761

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/790600/cmap_HighResolution_698889601_699148801_4FGL_J1319.5-0045_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', job_status='DONE', photon_flux_upper_limit='1.41e-07', time_completed='2023-02-27 09:58:06.018107', job_id='790600', GAL2='0.90', fit_tolerance='1e-08', EG2='1.36', EG='1.46', time_epoch_completed='1677520686.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.38e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1773' AND source_name='4FGL J1319.5-0045' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 09:58:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 790600: <4FGL_J1319.5-0045_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1319.5-0045_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 09:45:22 2023
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:45:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:45:24 2023
Terminated at Mon Feb 27 09:58:07 2023
Results reported at Mon Feb 27 09:58:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1319.5-0045_daily_bin1773 199.877 -0.7613 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1319.5-0045 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   471.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             229.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            765 sec.

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

