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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin1749
RA = 214.029, Dec = 13.347
tmin = 692668801, tmax = 692928001
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='954289', job_status='RUN', time_executed='2022-12-17 00:51:51.577095', time_epoch_executed='1671267111.58' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/954289

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/954289/ft1_4FGL_J1416.1+1320_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/954289/ft1_4FGL_J1416.1+1320_daily_bin1749.fits outfile=/scratch/kocevski/954289/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1749.fits ra=214.029 dec=13.347 rad=12.0 tmin=692668801.0 tmax=692928001.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.67
user 3.44
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.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/954289/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/954289/ft1_filtered_4FGL_J1416.1+1320_daily_bin1749.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.49
user 0.36
sys 0.13

Number of photons that the gtmktime cut: 611

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/954289/ft1_filtered_4FGL_J1416.1+1320_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/954289/ltcube_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.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/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits
.....................!
real 12.04
user 11.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/954289/ft1_filtered_4FGL_J1416.1+1320_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/954289/ltcube_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.fits outfile=/scratch/kocevski/954289/expmap_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.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/954289/ltcube_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.fits
.....................!
real 189.97
user 185.01
sys 4.64

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 142 point sources and 0 extended sources

Setting source of interest to:
4FGL J1416.1+1320 @ 214.029 13.347

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/954289/ft1_filtered_4FGL_J1416.1+1320_daily_bin1749.fits scfile=/scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits outfile=/scratch/kocevski/954289/cmap_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.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=214.029 yref=13.347 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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/954289/ft1_filtered_4FGL_J1416.1+1320_daily_bin1749.fits scfile=/scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits outfile=/scratch/kocevski/954289/cmap_HighResolution_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.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=214.029 yref=13.347 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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/954289/ft1_filtered_4FGL_J1416.1+1320_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/954289/Model_4FGL_J1416.1+1320_daily_bin1749.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/954289/ft1_filtered_4FGL_J1416.1+1320_daily_bin1749.fits.....................!
real 51.19
user 49.82
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/954289/ft1_filtered_4FGL_J1416.1+1320_daily_bin1749.fits', '/scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits', expMap='/scratch/kocevski/954289/expmap_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.fits', expCube='/scratch/kocevski/954289/ltcube_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/954289/Model_4FGL_J1416.1+1320_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1416.1+1320'

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  8.909e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/954289/ft1_filtered_4FGL_J1416.1+1320_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/954289/ft2_4FGL_J1416.1+1320_daily_bin1749.fits
Exposure map: /scratch/kocevski/954289/expmap_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.fits
Exposure cube: /scratch/kocevski/954289/ltcube_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/954289/Model_4FGL_J1416.1+1320_daily_bin1749.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) = 6784.70021999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12269E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.1757       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13230E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7772       1.0000          .0000       .10000E+07
     5 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18939E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .54088E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .74054E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19135E-03   1.0000          .0000       .10000E+07
    10 'norm      '    4.6886       1.0000          .0000       .10000E+07
    11 'norm      '    6.7847       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14112E-01   1.0000          .0000       .10000E+07
    13 'norm      '    3.4423       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.9952       1.0000          .0000       .10000E+07
    15 'Prefactor '    .72946E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .11298E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2537       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78849       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6784.600     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1041 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17764E-08    18.002       -.74788E-05** at limit **
   2  Prefactor     4.1849        4.6323       -.12527E-06    .12075E-02
   3  Prefactor      .0000        5.1636       -.26366E-06** at limit **
   4  Prefactor     4.8252        7.9454       -.25542E-06    .11588E-02
   5  Prefactor     .55511E-10    5.3990       -.93029E-06** at limit **
   6  Prefactor     .38858E-09    6.1142        .36743E-05** at limit **
   7  Prefactor     .55511E-10    13.348        .87194E-05** at limit **
   8  norm          .18319E-08    54.031       -.16349E-04** at limit **
   9  Prefactor     .66613E-09    3.5826       -.63787E-06** at limit **
  10  norm          4.6879        2.3509        .13153E-06    .52100E-02
  11  norm          6.7851        3.1022       -.46435E-07   -.43639E-02
  12  Prefactor     .16653E-09    38.596        .16835E-04** at limit **
  13  norm          3.5078        9.8842        .49853E-06   -.40966E-03
  14  Prefactor     1.9613        1.0909        .21076E-06    .79845E-03
  15  Prefactor     .93503E-06    1.2107       -.21662E-05** at limit **
  16  Prefactor     .55511E-10    11.078        .10083E-05** at limit **
  17  Normalizat    1.2537        .22892        .15998E-04    .10430E-03
  18  Prefactor     .78845        .16792       -.16626E-04    .48264E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77636e-09
  Prefactor  = 4.18488
  Prefactor  = 0
  Prefactor  = 4.8252
  Prefactor  = 5.55112e-11
  Prefactor  = 3.88578e-10
  Prefactor  = 5.55112e-11
  norm       = 1.83187e-09
  Prefactor  = 6.66134e-10
  norm       = 4.68788
  norm       = 6.78506
  Prefactor  = 1.66533e-10
  norm       = 3.50785
  Prefactor  = 1.96129
  Prefactor  = 9.3503e-07
  Prefactor  = 5.55112e-11
  Normalizat = 1.25372
  Prefactor  = 0.788449
 **********
 **   18 **HESSE 
 **********

 FCN=   6784.600     FROM HESSE     STATUS=OK           282 CALLS     1323 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17764E-08    17.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.1849        4.6366        .49297E-03   -1.5667    
   3  Prefactor      .0000        5.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8252        7.9620        .46008E-03   -1.5664    
   5  Prefactor     .55511E-10    5.4196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .38858E-09    6.1189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    13.357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .18319E-08    53.460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .66613E-09    3.5815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.6879        2.3532        .46450E-03   -1.5665    
  11  norm          6.7851        3.1107        .38497E-03   -1.5656    
  12  Prefactor     .16653E-09    38.552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.5078        9.9282        .54489E-03   -1.5671    
  14  Prefactor     1.9613        42.668        .73307E-03   -1.5680    
  15  Prefactor     .93503E-06    13.137        .10996E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    11.079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2537        .18696        .55940E-01   -.84959    
  18  Prefactor     .78845        .13730        .43567E-01   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51457e-08
Minuit parameter uncertainties:
  1  0.000355578
  2  4.63659
  3  2.23943e-05
  4  7.96201
  5  2.97606e-05
  6  0.000100023
  7  6.47253e-05
  8  0.000629671
  9  9.58971e-05
  10  2.35321
  11  3.1107
  12  0.000168862
  13  9.92821
  14  18.296
  15  0.00700956
  16  3.74349e-05
  17  0.187057
  18  0.137361
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  5.551e-11  6.473e-05  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  7.884e-01  1.374e-01  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  1.254e+00  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.029 13.347
Photon Flux Upper Limit: 6.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/954289/likelihoodResults_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.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) = 6784.60057869
delta logL = -8.12957368908e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6784.60049739
delta logL = -1.34605215862e-10

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6784.600     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      229 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .12999        .42118E-03** at limit **
   2  Index         2.9973        6.5933        .41195        .27597E-10
   3  Normalizat    1.2537        .48625E-03    .55940E-01    .24130E-04
   4  Prefactor     .78846        .35990E-03    .43567E-01    .61968E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 2.99733
  Normalizat = 1.25371
  Prefactor  = 0.788455
 **********
 **   18 **HESSE 
 **********

 FCN=   6784.600     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      260 TOTAL
                     EDM=   .98E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    .42926        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9973        5.1199        .50000       -.41210    
   3  Normalizat    1.2537        .88154E-03    .24737E-03   -.84959    
   4  Prefactor     .78846        .65254E-03    .22407E-03   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.75714e-13
Minuit parameter uncertainties:
  1  2.37223e-05
  2  14162.9
  3  0.000881541
  4  0.000652545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/954289': 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) = 6784.60049739
delta logL = -6.63931132294e-10

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  3.331e-10  2.372e-05  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.997e+00  1.416e+04  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  7.885e-01  6.525e-04  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  1.254e+00  8.815e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.029 13.347

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/954289/cmap_HighResolution_692668801_692928001_4FGL_J1416.1+1320_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-03', job_status='DONE', photon_flux_upper_limit='6.36e-08', time_completed='2022-12-17 00:59:50.078622', job_id='954289', GAL2='0.79', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1671267590.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='-6.64e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1749' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:59:50 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 954289: <4FGL_J1416.1+1320_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin1749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Dec 17 00:50:17 2022
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:50:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:50:18 2022
Terminated at Sat Dec 17 00:59:50 2022
Results reported at Sat Dec 17 00:59:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin1749 214.029 13.347 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1416.1+1320 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   481.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            573 sec.

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

