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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1748
RA = 214.623, Dec = 35.7192
tmin = 692409601, tmax = 692668801
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='887853', job_status='RUN', time_executed='2022-12-14 00:46:15.422490', time_epoch_executed='1671007575.42' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887853

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887853/ft1_4FGL_J1418.4+3543_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887853/ft1_4FGL_J1418.4+3543_daily_bin1748.fits outfile=/scratch/kocevski/887853/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1748.fits ra=214.623 dec=35.7192 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.34
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.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/887853/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/887853/ft1_filtered_4FGL_J1418.4+3543_daily_bin1748.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.87
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 668

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887853/ft1_filtered_4FGL_J1418.4+3543_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/887853/ltcube_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.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/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits
.....................!
real 12.39
user 11.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887853/ft1_filtered_4FGL_J1418.4+3543_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/887853/ltcube_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.fits outfile=/scratch/kocevski/887853/expmap_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.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/887853/ltcube_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.fits
.....................!
real 190.29
user 185.50
sys 4.44

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

Setting source of interest to:
4FGL J1418.4+3543 @ 214.623 35.7192

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/887853/ft1_filtered_4FGL_J1418.4+3543_daily_bin1748.fits scfile=/scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits outfile=/scratch/kocevski/887853/cmap_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.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.623 yref=35.7192 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887853/ft1_filtered_4FGL_J1418.4+3543_daily_bin1748.fits scfile=/scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits outfile=/scratch/kocevski/887853/cmap_HighResolution_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.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.623 yref=35.7192 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/887853/ft1_filtered_4FGL_J1418.4+3543_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887853/Model_4FGL_J1418.4+3543_daily_bin1748.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/887853/ft1_filtered_4FGL_J1418.4+3543_daily_bin1748.fits.....................!
real 53.36
user 52.03
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/887853/ft1_filtered_4FGL_J1418.4+3543_daily_bin1748.fits', '/scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits', expMap='/scratch/kocevski/887853/expmap_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.fits', expCube='/scratch/kocevski/887853/ltcube_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/887853/Model_4FGL_J1418.4+3543_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4+3543'

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  4.095e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/887853/ft1_filtered_4FGL_J1418.4+3543_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/887853/ft2_4FGL_J1418.4+3543_daily_bin1748.fits
Exposure map: /scratch/kocevski/887853/expmap_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.fits
Exposure cube: /scratch/kocevski/887853/ltcube_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/887853/Model_4FGL_J1418.4+3543_daily_bin1748.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) = 7160.78620162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24669E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12663E-02   1.0000          .0000       .10000E+07
     3 'norm      '    3.7103       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.5871       1.0000          .0000       .10000E+07
     5 'norm      '    37.383       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.645       1.0000          .0000       .10000E+07
     7 'norm      '    2.1815       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31299E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1902       1.0000          .0000       .10000E+07
    10 'Prefactor '    31.161       1.0000          .0000       .10000E+07
    11 'norm      '    7.9254       1.0000          .0000       .10000E+07
    12 'norm      '    .55733E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    64.352       1.0000          .0000       .10000E+07
    14 'norm      '    .19834E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .36469       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.1151       1.0000          .0000       .10000E+07
    17 'norm      '    4.9725       1.0000          .0000       .10000E+07
    18 'Prefactor '    .31975E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    .79008       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7160.785     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1572 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12113E-06    14.946        .30268E-06** at limit **
   2  Prefactor     .28422E-07    7.7602        .78266E-07** at limit **
   3  norm          3.7086        1.3768       -.68108E-07   -.74055E-02
   4  Prefactor     2.5776        3.2822       -.19392E-06   -.26257E-02
   5  norm          37.376        1.0897        .28933E-08    .95149E-03
   6  Prefactor     14.650        1.6684        .14070E-08    .19351E-01
   7  norm          2.1906        3.6902       -.15715E-06   -.19898E-02
   8  Prefactor     .20223E-06    10.419        .14728E-08** at limit **
   9  Prefactor     5.1139        6.7135        .81377E-07    .14915E-01
  10  Prefactor     31.190        5.6654        .37905E-07    .39922E-02
  11  norm          7.8501        9.2969        .10224E-06    .15095E-01
  12  norm          .11102E-09    3.3247        .87668E-08** at limit **
  13  Prefactor     64.476        4.6660        .18627E-08   -.33880    
  14  norm           .0000        2.3956        .91253E-07** at limit **
  15  Prefactor     .36001        .69222        .96430E-08   -.23327E-02
  16  Prefactor     3.1220        5.1779        .21654E-07    .12055E-03
  17  norm          4.9695        1.8005       -.35555E-07   -.25781E-02
  18  Prefactor     .22204E-09    28.210       -.17998E-06** at limit **
  19  Normalizat    .78978        .19159        .71501E-05    .50665E-04
  20  Prefactor     1.0679        .21728       -.58873E-05   -.28595E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.21125e-07
  Prefactor  = 2.84217e-08
  norm       = 3.70858
  Prefactor  = 2.57764
  norm       = 37.3761
  Prefactor  = 14.6499
  norm       = 2.19064
  Prefactor  = 2.02227e-07
  Prefactor  = 5.11394
  Prefactor  = 31.1899
  norm       = 7.85012
  norm       = 1.11022e-10
  Prefactor  = 64.4763
  norm       = 0
  Prefactor  = 0.360008
  Prefactor  = 3.12196
  norm       = 4.96948
  Prefactor  = 2.22045e-10
  Normalizat = 0.789779
  Prefactor  = 1.06793
 **********
 **   18 **HESSE 
 **********

 FCN=   7160.785     FROM HESSE     STATUS=OK           337 CALLS     1909 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12113E-06    15.051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .28422E-07    7.7782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.7086        1.3776        .52403E-03   -1.5669    
   4  Prefactor     2.5776        3.3038        .63416E-03   -1.5676    
   5  norm          37.376        17.364        .16357E-03   -1.5586    
   6  Prefactor     14.650        21.540        .26147E-03   -1.5631    
   7  norm          2.1906        3.7246        .69670E-03   -1.5678    
   8  Prefactor     .20223E-06    10.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.1139        14.423        .44101E-03   -1.5663    
  10  Prefactor     31.190        5.6721        .17917E-03   -1.5596    
  11  norm          7.8501        13.178        .35593E-03   -1.5652    
  12  norm          .11102E-09    3.3075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     64.476        33.386        .12467E-03   -1.5547    
  14  norm           .0000        2.3943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .36001        5.7919        .93697E-02   -1.5696    
  16  Prefactor     3.1220        5.2015        .57423E-03   -1.5673    
  17  norm          4.9695        1.8094        .45076E-03   -1.5663    
  18  Prefactor     .22204E-09    28.196        .16348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .78978        .17015        .43481E-01   -1.0045    
  20  Prefactor     1.0679        .18300        .59606E-01   -.90498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00824e-06
Minuit parameter uncertainties:
  1  0.00270034
  2  0.000940148
  3  1.37764
  4  3.30379
  5  17.3637
  6  21.5399
  7  3.72456
  8  0.00292408
  9  14.4227
  10  5.67206
  11  13.1777
  12  3.93763e-05
  13  33.3865
  14  9.50322e-06
  15  2.88799
  16  5.20154
  17  1.80939
  18  0.000157415
  19  0.170263
  20  0.183105
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  2.191e+00  3.725e+00  0.000e+00  1.000e+06 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.068e+00  1.831e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.898e-01  1.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 214.623 35.719
Photon Flux Upper Limit: 6.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887853/likelihoodResults_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.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) = 7160.30098063
delta logL = 0.484265993352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7160.27466007
delta logL = 0.510586558906

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4931       1.0000          .0000       .10000E+07
     2 'alpha     '    3.2025       1.0000          .0000       5.0000    
     3 'Normalizat'    .74226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7160.275     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      252 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4929        5.9420        .88302E-05   -.13672E-01
   2  alpha         3.2027        3.7581        .15993E-01   -.82305E-04
   3  Normalizat    .74221        .20031        .26828E-03   -.33109E-03
   4  Prefactor     1.1029        .22862        .25973E-03   -.38731E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.49293
  alpha      = 3.20273
  Normalizat = 0.742212
  Prefactor  = 1.10289
 **********
 **   18 **HESSE 
 **********

 FCN=   7160.275     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4929        2.9731        .35321E-06   -1.5684    
   2  alpha         3.2027        1.2491        .63972E-03    .28493    
   3  Normalizat    .74221        .19404        .10731E-04   -1.0225    
   4  Prefactor     1.1029        .22106        .51946E-04   -.89374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7975e-10
Minuit parameter uncertainties:
  1  2.97306
  2  1.31384
  3  0.19422
  4  0.221239
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887853': 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) = 7160.27466
delta logL = 0.510586625554

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.493e+00  2.973e+00  0.000e+00  1.000e+06 ( 1.000e-12)
284        alpha:  3.203e+00  1.314e+00  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  6.612e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.103e+00  2.212e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.422e-01  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 214.623 35.719
Photon Index (Free Index): 3.20 +/- 1.31
Photon Flux (Free Index): 4.90e-08 +/- 4.79e-08
Energy Flux (Free Index): 9.36e-06 +/- 8.61e-06

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/887853/cmap_HighResolution_692409601_692668801_4FGL_J1418.4+3543_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.83e-05', comment='SUCCESS', energy_flux2='9.36e-06', dlogl='5.11e-01', photon_flux2='4.90e-08', job_status='DONE', time_completed='2022-12-14 00:56:31.284951', photon_index_error2='1.31', photon_index2='3.20', ts='0.47', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='6.73e-08', energy_flux_error2='8.61e-06', EG='0.79', time_epoch_completed='1671008191.29', return_code='0', job_id='887853', GAL2='1.10', EG2='0.74', return_code2='0', photon_flux_error2='4.79e-08', ts2='1.55', photon_index='2.02' WHERE bin_id='1748' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:56:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 887853: <4FGL_J1418.4+3543_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:45:20 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:45:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:45:21 2022
Terminated at Wed Dec 14 00:56:32 2022
Results reported at Wed Dec 14 00:56:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1748 214.623 35.7192 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4+3543 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   616.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            672 sec.

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

