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


Performing analysis on: 4FGL_J1351.0+0029_daily_bin1759
RA = 207.757, Dec = 0.4873
tmin = 695260801, tmax = 695520001
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='559778', job_status='RUN', time_executed='2023-01-16 01:17:28.186460', time_epoch_executed='1673860648.19' WHERE source_name='4FGL J1351.0+0029' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/559778

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/559778/ft1_4FGL_J1351.0+0029_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/559778/ft1_4FGL_J1351.0+0029_daily_bin1759.fits outfile=/scratch/kocevski/559778/ft1_filteredMKT_4FGL_J1351.0+0029_daily_bin1759.fits ra=207.757 dec=0.4873 rad=12.0 tmin=695260801.0 tmax=695520001.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.83
user 2.56
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.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/559778/ft1_filteredMKT_4FGL_J1351.0+0029_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/559778/ft1_filtered_4FGL_J1351.0+0029_daily_bin1759.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.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 1194

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/559778/ft1_filtered_4FGL_J1351.0+0029_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/559778/ltcube_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.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/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits
.....................!
real 16.77
user 16.32
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/559778/ft1_filtered_4FGL_J1351.0+0029_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/559778/ltcube_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.fits outfile=/scratch/kocevski/559778/expmap_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.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/559778/ltcube_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.fits
.....................!
real 192.81
user 186.46
sys 5.86

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

Setting source of interest to:
4FGL J1351.0+0029 @ 207.757 0.4873

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/559778/ft1_filtered_4FGL_J1351.0+0029_daily_bin1759.fits scfile=/scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits outfile=/scratch/kocevski/559778/cmap_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.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=207.757 yref=0.4873 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.59
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/559778/ft1_filtered_4FGL_J1351.0+0029_daily_bin1759.fits scfile=/scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits outfile=/scratch/kocevski/559778/cmap_HighResolution_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.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=207.757 yref=0.4873 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/559778/ft1_filtered_4FGL_J1351.0+0029_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/559778/Model_4FGL_J1351.0+0029_daily_bin1759.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/559778/ft1_filtered_4FGL_J1351.0+0029_daily_bin1759.fits.....................!
real 87.70
user 85.12
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/559778/ft1_filtered_4FGL_J1351.0+0029_daily_bin1759.fits', '/scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits', expMap='/scratch/kocevski/559778/expmap_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.fits', expCube='/scratch/kocevski/559778/ltcube_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/559778/Model_4FGL_J1351.0+0029_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1351.0+0029'

4FGL J1351.0+0029
   Spectrum: PowerLaw
252    Prefactor:  3.616e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
253        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  9.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/559778/ft1_filtered_4FGL_J1351.0+0029_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/559778/ft2_4FGL_J1351.0+0029_daily_bin1759.fits
Exposure map: /scratch/kocevski/559778/expmap_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.fits
Exposure cube: /scratch/kocevski/559778/ltcube_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/559778/Model_4FGL_J1351.0+0029_daily_bin1759.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) = 12589.3866048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.721       1.0000          .0000       .10000E+07
     2 'norm      '    .51190E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    22.477       1.0000          .0000       .10000E+07
     4 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
     5 'norm      '    2.2602       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11736E-01   1.0000          .0000       .10000E+07
     7 'norm      '    1.9302       1.0000          .0000       .10000E+07
     8 'Prefactor '    .60507E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .27162E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0181       1.0000          .0000       .10000E+07
    11 'norm      '    12.236       1.0000          .0000       .10000E+07
    12 'Prefactor '    .48046E-02   1.0000          .0000       .10000E+07
    13 'norm      '    27.929       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10029E-02   1.0000          .0000       .10000E+07
    15 'norm      '    13.044       1.0000          .0000       .10000E+07
    16 'norm      '    6.2825       1.0000          .0000       .10000E+07
    17 'norm      '    .22839E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    33.510       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2600       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0510       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12589.38     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1506 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.691        1.9802        .41058E-08    .45582E-01
   2  norm          .54123E-07    46.343       -.14437E-07** at limit **
   3  Prefactor     22.481        1.2163       -.12427E-08    .54807E-01
   4  Prefactor      .0000        1.8335       -.88993E-07** at limit **
   5  norm          2.2599        1.2830       -.65665E-08    .72707E-03
   6  Prefactor     .72942E-07    28.645       -.44653E-06** at limit **
   7  norm          1.9217        1.1006        .17678E-08    .42366E-02
   8  Prefactor      .0000        .89330       -.16255E-06** at limit **
   9  Prefactor     .11102E-09    4.9654        .28457E-06** at limit **
  10  Prefactor     2.0178        2.5688       -.32732E-07    .22533E-03
  11  norm          12.289        6.1660       -.35145E-07    .55990E-03
  12  Prefactor     .18319E-08    11.321       -.16934E-06** at limit **
  13  norm          27.933        3.5920       -.58130E-07    .20497E-02
  14  Prefactor     .55511E-10    4.3888        .23875E-06** at limit **
  15  norm          13.022        3.2820        .61366E-08   -.11242E-01
  16  norm          6.2395        5.4263        .80853E-07    .25616E-03
  17  norm          .31253E-07    20.870        .66584E-07** at limit **
  18  Prefactor     33.607        2.4501        .20096E-07   -.20038    
  19  Normalizat    1.2599        .20109       -.52518E-05    .14360E-04
  20  Prefactor     1.0511        .14192        .21617E-05    .19193E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.6908
  norm       = 5.41234e-08
  Prefactor  = 22.4806
  Prefactor  = 0
  norm       = 2.25991
  Prefactor  = 7.29417e-08
  norm       = 1.92167
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.01778
  norm       = 12.2888
  Prefactor  = 1.83187e-09
  norm       = 27.9327
  Prefactor  = 5.55112e-11
  norm       = 13.0222
  norm       = 6.23948
  norm       = 3.12528e-08
  Prefactor  = 33.6072
  Normalizat = 1.25988
  Prefactor  = 1.05108
 **********
 **   18 **HESSE 
 **********

 FCN=   12589.38     FROM HESSE     STATUS=OK           337 CALLS     1843 TOTAL
                     EDM=   .59E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.691        10.134        .20984E-03   -1.5613    
   2  norm          .54123E-07    6.3918        .10443E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.481        15.013        .21098E-03   -1.5613    
   4  Prefactor      .0000        1.8312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2599        1.2883        .68302E-03   -1.5678    
   6  Prefactor     .72942E-07    28.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.9217        41.757        .74732E-03   -1.5680    
   8  Prefactor      .0000        .89787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    5.0004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0178        2.5826        .72826E-03   -1.5680    
  11  norm          12.289        6.1757        .28612E-03   -1.5638    
  12  Prefactor     .18319E-08    11.237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          27.933        3.5964        .18926E-03   -1.5602    
  14  Prefactor     .55511E-10    4.4159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.022        9.3250        .27709E-03   -1.5636    
  16  norm          6.2395        5.4304        .40024E-03   -1.5658    
  17  norm          .31253E-07    20.731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     33.607        70.073        .17277E-03   -1.5592    
  19  Normalizat    1.2599        .17139        .69721E-01   -.84772    
  20  Prefactor     1.0511        .12009        .39849E-01   -.91046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85231e-06
Minuit parameter uncertainties:
  1  10.134
  2  0.00117607
  3  15.0126
  4  4.43397e-06
  5  1.28825
  6  0.0028898
  7  17.9159
  8  4.72326e-07
  9  4.24907e-05
  10  2.58259
  11  6.17573
  12  0.000287695
  13  3.59636
  14  2.47535e-05
  15  9.32497
  16  5.43041
  17  0.00160996
  18  70.0742
  19  0.171468
  20  0.12012
Done.

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

Extracting fit parameters...

4FGL J1351.0+0029
   Spectrum: PowerLaw
252    Prefactor:  1.110e-10  4.249e-05  0.000e+00  1.000e+06 ( 1.000e-13)
253        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  9.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.051e+00  1.201e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  1.260e+00  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 207.757 0.487
Photon Flux Upper Limit: 3.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/559778/likelihoodResults_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.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) = 12589.3815727
delta logL = -0.000739013221391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12589.3808338
delta logL = -9.37725417316e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12589.38     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      264 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13323E-08    .49572E-01    .42118E-03** at limit **
   2  Index         2.7507        8.3875        .50000        .11369E-08
   3  Normalizat    1.2599        .50211E-03    .69721E-01    .16316E-03
   4  Prefactor     1.0511        .35861E-03    .39846E-01    .21856E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.33227e-09
  Index      = 2.75069
  Normalizat = 1.25989
  Prefactor  = 1.05108
 **********
 **   18 **HESSE 
 **********

 FCN=   12589.38     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      297 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13323E-08    .30231        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7507        8.5724        .50000       -.46661    
   3  Normalizat    1.2599        .12375E-02    .30848E-03   -.84772    
   4  Prefactor     1.0511        .88471E-03    .23743E-03   -.91046    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.69452e-11
Minuit parameter uncertainties:
  1  3.98551e-05
  2  6837.85
  3  0.00123747
  4  0.000884708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/559778': 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): 102
logL (Free Index) = 12589.3808337
delta logL = -1.94631866179e-10

Extracting fit parameters...

4FGL J1351.0+0029
   Spectrum: PowerLaw
252    Prefactor:  1.332e-09  3.986e-05  0.000e+00  1.000e+06 ( 1.000e-13)
253        Index:  2.751e+00  6.838e+03  0.000e+00  1.000e+01 (-1.000e+00)
254        Scale:  9.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.051e+00  8.847e-04  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  1.260e+00  1.237e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 207.757 0.487

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/559778/cmap_HighResolution_695260801_695520001_4FGL_J1351.0+0029_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', job_status='DONE', photon_flux_upper_limit='3.96e-08', time_completed='2023-01-16 01:29:47.860361', job_id='559778', GAL2='1.05', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1673861387.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-1.95e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1759' AND source_name='4FGL J1351.0+0029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:29:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 559778: <4FGL_J1351.0+0029_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1351.0+0029_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 01:15:24 2023
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:16:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:16:04 2023
Terminated at Mon Jan 16 01:29:48 2023
Results reported at Mon Jan 16 01:29:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.0+0029_daily_bin1759 207.757 0.4873 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.0+0029 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   740.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             325.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            864 sec.

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

