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


Performing analysis on: 4FGL_J0318.7+2135_daily_bin1742
RA = 49.6946, Dec = 21.5968
tmin = 690854401, tmax = 691113601
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='217530', job_status='RUN', time_executed='2022-11-26 00:15:45.667320', time_epoch_executed='1669450545.67' WHERE source_name='4FGL J0318.7+2135' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217530

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217530/ft1_4FGL_J0318.7+2135_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217530/ft1_4FGL_J0318.7+2135_daily_bin1742.fits outfile=/scratch/kocevski/217530/ft1_filteredMKT_4FGL_J0318.7+2135_daily_bin1742.fits ra=49.6946 dec=21.5968 rad=12.0 tmin=690854401.0 tmax=691113601.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 2.88
user 2.65
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.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/217530/ft1_filteredMKT_4FGL_J0318.7+2135_daily_bin1742.fits evtable="EVENTS" outfile="/scratch/kocevski/217530/ft1_filtered_4FGL_J0318.7+2135_daily_bin1742.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: 30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217530/ft1_filtered_4FGL_J0318.7+2135_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217530/ltcube_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.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/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits
.....................!
real 13.64
user 13.25
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217530/ft1_filtered_4FGL_J0318.7+2135_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217530/ltcube_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.fits outfile=/scratch/kocevski/217530/expmap_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.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/217530/ltcube_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.fits
.....................!
real 191.22
user 185.03
sys 5.79

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

Setting source of interest to:
4FGL J0318.7+2135 @ 49.6946 21.5968

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/217530/ft1_filtered_4FGL_J0318.7+2135_daily_bin1742.fits scfile=/scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits outfile=/scratch/kocevski/217530/cmap_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.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=49.6946 yref=21.5968 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217530/ft1_filtered_4FGL_J0318.7+2135_daily_bin1742.fits scfile=/scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits outfile=/scratch/kocevski/217530/cmap_HighResolution_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.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=49.6946 yref=21.5968 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217530/ft1_filtered_4FGL_J0318.7+2135_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217530/Model_4FGL_J0318.7+2135_daily_bin1742.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/217530/ft1_filtered_4FGL_J0318.7+2135_daily_bin1742.fits..............................!
real 18.72
user 17.40
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217530/ft1_filtered_4FGL_J0318.7+2135_daily_bin1742.fits', '/scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits', expMap='/scratch/kocevski/217530/expmap_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.fits', expCube='/scratch/kocevski/217530/ltcube_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217530/Model_4FGL_J0318.7+2135_daily_bin1742.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0318.7+2135'

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.601e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/217530/ft1_filtered_4FGL_J0318.7+2135_daily_bin1742.fits
Spacecraft file(s): /scratch/kocevski/217530/ft2_4FGL_J0318.7+2135_daily_bin1742.fits
Exposure map: /scratch/kocevski/217530/expmap_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.fits
Exposure cube: /scratch/kocevski/217530/ltcube_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217530/Model_4FGL_J0318.7+2135_daily_bin1742.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 378.667232141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 373.958463936

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10678E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10436E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    43.407       1.0000          .0000       .10000E+07
     4 'norm      '    .28405E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.8967       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.7863       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15484E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .87737       1.0000          .0000       .10000E+07
     9 'norm      '    .19390       1.0000          .0000       .10000E+07
    10 'norm      '    .88476E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .26753E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    152.89       1.0000          .0000       .10000E+07
    13 'norm      '    61.930       1.0000          .0000       .10000E+07
    14 'norm      '    131.62       1.0000          .0000       .10000E+07
    15 'norm      '    .69149E-01   1.0000          .0000       .10000E+07
    16 'norm      '    7.8549       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.1358       1.0000          .0000       .10000E+07
    18 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   373.9504     FROM MIGRAD    STATUS=CONVERGED    131 CALLS      453 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25979E-07    66.017        .17247E-05** at limit **
   2  norm           .0000        2.8748        .62203E-07** at limit **
   3  Prefactor     44.842        22.151        .16551E-06   -.63858E-01
   4  norm           .0000        1.2698        .39543E-06** at limit **
   5  Prefactor     .14106E-05    425.13       -.13658E-05** at limit **
   6  Prefactor     .49401E-03    450.96       -.31399E-06** at limit **
   7  Prefactor     .55511E-10    13.489        .46673E-06** at limit **
   8  Prefactor     .35151E-02    77.491       -.33696E-06** at limit **
   9  norm          .28464E-05    387.30       -.27600E-05** at limit **
  10  norm          .55511E-10    122.08       -.27077E-05** at limit **
  11  Prefactor     .11102E-09    80.906       -.65493E-06** at limit **
  12  Prefactor     152.43        6.8263        .13523E-07    .27543    
  13  norm          62.090        1.9127        .13999E-08    .45628E-01
  14  norm          130.80        7.9073       -.90540E-08    .18350E-01
  15  norm          .13683E-06    404.45        .60682E-05** at limit **
  16  norm          7.8549        1.0020         .0000         .0000    
  17  Prefactor     9.1358        1.0015         .0000         .0000    
  18  Normalizat    .10000E-01    .37782       -.13058E-04** at limit **
  19  Prefactor     .84542        .20044       -.94082E-05   -.26581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.59792e-08
  norm       = 0
  Prefactor  = 44.8419
  norm       = 0
  Prefactor  = 1.41065e-06
  Prefactor  = 0.00049401
  Prefactor  = 5.55112e-11
  Prefactor  = 0.00351511
  norm       = 2.84639e-06
  norm       = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 152.429
  norm       = 62.0898
  norm       = 130.803
  norm       = 1.36835e-07
  norm       = 7.85489
  Prefactor  = 9.13585
  Normalizat = 0.01
  Prefactor  = 0.845417
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   373.9504     FROM HESSE     STATUS=FAILED        71 CALLS      524 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25979E-07    66.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.8739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     44.842        52.616        .15180E-03   -1.5574    
   4  norm           .0000        1.2650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14106E-05    526.95        .75502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .49401E-03    555.37        .45963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    13.504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .35151E-02    492.30        .47337E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .28464E-05    382.14        .11885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    121.92        .14250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    80.735        .16627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     152.43        271.89        .80881E-04   -1.5461    
  13  norm          62.090        62.610        .12708E-03   -1.5550    
  14  norm          130.80        100.05        .87169E-04   -1.5479    
  15  norm          .13683E-06    404.34        .14846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          30645.        30637.         .0000       -1.5652    
  17  Prefactor     9.1358        1.0015         .0000       -1.5648    
  18  Normalizat    .10000E-01    .25769       -.13058E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .84542        1.1921       -.94082E-05   -.98075    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.09222e-10
Minuit parameter uncertainties:
  1  0.00262984
  2  4.38662e-06
  3  52.6166
  4  8.36658e-06
  5  0.0545331
  6  1.04768
  7  4.81307e-05
  8  2.63119
  9  0.0659652
  10  0.000124517
  11  0.000171014
  12  271.91
  13  62.611
  14  100.053
  15  0.0148763
  16  1.00204
  17  1.00151
  18  4.02711e-09
  19  1.23196
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 373.950363836

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  1.110e-10  1.710e-04  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  2.063e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  8.454e-01  1.232e+00  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.000e-02  4.027e-09  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.695 21.597
Photon Flux Upper Limit: 1.99e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.50e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217530/likelihoodResults_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.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) = 373.956280608
delta logL = -0.00591677233263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 373.950365623
delta logL = -1.78701299092e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   373.9504     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      241 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        63.039        .42118E-03** at limit **
   2  Index         .86800        .73329        .48646E-04     .0000    
   3  Normalizat    .10000E-01    .25505       -.50536E-04** at limit **
   4  Prefactor     .84542        1.1925        .46399E-05   -.88739E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.867996
  Normalizat = 0.01
  Prefactor  = 0.845417
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   373.9504     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        63.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .19396E-01    .99121        .48646E-04   -.97269    
   3  Normalizat    .10000E-01    .25505       -.50536E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .84542        1.1925        .46399E-05   -.98075    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.47957e-13
Minuit parameter uncertainties:
  1  8.14535e-05
  2  0.741842
  3  2.65783e-07
  4  1.23244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217530': 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): 101
logL (Free Index) = 373.950363836
delta logL = 2.27373675443e-12

Extracting fit parameters...

4FGL J0318.7+2135
   Spectrum: PowerLaw
312    Prefactor:  0.000e+00  8.145e-05  0.000e+00  1.000e+06 ( 1.000e-13)
313        Index:  8.680e-01  7.418e-01  0.000e+00  1.000e+01 (-1.000e+00)
314        Scale:  2.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  8.454e-01  1.232e+00  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.000e-02  2.658e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.695 21.597

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/217530/cmap_HighResolution_690854401_691113601_4FGL_J0318.7+2135_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-01', job_status='DONE', photon_flux_upper_limit='1.99e-06', time_completed='2022-11-26 00:21:10.128091', job_id='217530', GAL2='0.85', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1669450870.13', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.85', dlogl='2.27e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1742' AND source_name='4FGL J0318.7+2135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:21:10 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 217530: <4FGL_J0318.7+2135_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0318.7+2135_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:05:09 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:15:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:15:16 2022
Terminated at Sat Nov 26 00:21:10 2022
Results reported at Sat Nov 26 00:21:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0318.7+2135_daily_bin1742 49.6946 21.5968 690854401 691113601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0318.7+2135 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   325.48 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             518.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   354 sec.
    Turnaround time :                            961 sec.

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

