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


Performing analysis on: 4FGL_J1458.6+3722_daily_bin1715
RA = 224.673, Dec = 37.3726
tmin = 683856001, tmax = 684115201
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='155234', job_status='RUN', time_executed='2022-09-16 18:45:43.739926', time_epoch_executed='1663379143.74' WHERE source_name='4FGL J1458.6+3722' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155234

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/155234/ft1_4FGL_J1458.6+3722_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/155234/ft1_4FGL_J1458.6+3722_daily_bin1715.fits outfile=/scratch/kocevski/155234/ft1_filteredMKT_4FGL_J1458.6+3722_daily_bin1715.fits ra=224.673 dec=37.3726 rad=12.0 tmin=683856001.0 tmax=684115201.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.49
user 3.26
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.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/155234/ft1_filteredMKT_4FGL_J1458.6+3722_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/155234/ft1_filtered_4FGL_J1458.6+3722_daily_bin1715.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 574

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/155234/ft1_filtered_4FGL_J1458.6+3722_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/155234/ltcube_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.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/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits
.....................!
real 14.98
user 14.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155234/ft1_filtered_4FGL_J1458.6+3722_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/155234/ltcube_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.fits outfile=/scratch/kocevski/155234/expmap_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.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/155234/ltcube_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.fits
.....................!
real 195.53
user 189.51
sys 5.56

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

Setting source of interest to:
4FGL J1458.6+3722 @ 224.673 37.3726

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/155234/ft1_filtered_4FGL_J1458.6+3722_daily_bin1715.fits scfile=/scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits outfile=/scratch/kocevski/155234/cmap_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.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=224.673 yref=37.3726 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/155234/ft1_filtered_4FGL_J1458.6+3722_daily_bin1715.fits scfile=/scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits outfile=/scratch/kocevski/155234/cmap_HighResolution_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.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=224.673 yref=37.3726 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/155234/ft1_filtered_4FGL_J1458.6+3722_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/155234/Model_4FGL_J1458.6+3722_daily_bin1715.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/155234/ft1_filtered_4FGL_J1458.6+3722_daily_bin1715.fits.....................!
real 47.91
user 46.58
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/155234/ft1_filtered_4FGL_J1458.6+3722_daily_bin1715.fits', '/scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits', expMap='/scratch/kocevski/155234/expmap_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.fits', expCube='/scratch/kocevski/155234/ltcube_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/155234/Model_4FGL_J1458.6+3722_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1458.6+3722'

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  1.413e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.185e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/155234/ft1_filtered_4FGL_J1458.6+3722_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/155234/ft2_4FGL_J1458.6+3722_daily_bin1715.fits
Exposure map: /scratch/kocevski/155234/expmap_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.fits
Exposure cube: /scratch/kocevski/155234/ltcube_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/155234/Model_4FGL_J1458.6+3722_daily_bin1715.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) = 6166.84031284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29159E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.021       1.0000          .0000       .10000E+07
     3 'norm      '    .61649E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7426       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21324E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.3085       1.0000          .0000       .10000E+07
     7 'norm      '    .23937E-02   1.0000          .0000       .10000E+07
     8 'norm      '    3.9460       1.0000          .0000       .10000E+07
     9 'Prefactor '    29.858       1.0000          .0000       .10000E+07
    10 'norm      '    13.561       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5042       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.0263       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.8508       1.0000          .0000       .10000E+07
    14 'norm      '    .20539E-08   1.0000          .0000       .10000E+07
    15 'norm      '    .44114E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    20.392       1.0000          .0000       .10000E+07
    17 'Prefactor '    .24657       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.3469       1.0000          .0000       .10000E+07
    19 'Prefactor '    .18827E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .39609E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.3701       1.0000          .0000       .10000E+07
    22 'Prefactor '    10.492       1.0000          .0000       .10000E+07
    23 'norm      '    10.366       1.0000          .0000       .10000E+07
    24 'Prefactor '    .22153E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .84600       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6166.816     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     2219 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90877E-06    38.692        .11190E-05** at limit **
   2  Prefactor     12.137        1.0564        .10122E-07   -.92054E-02
   3  norm          .55511E-10    1.3638       -.18583E-06** at limit **
   4  Prefactor     4.6805        9.1356        .10118E-05    .14607E-01
   5  Prefactor     .83267E-09    5.1450        .86136E-06** at limit **
   6  Prefactor     9.3343        4.4839        .29654E-06    .14956E-02
   7  norm          .44520E-07    5.4544        .10377E-05** at limit **
   8  norm          3.9903        5.7214       -.97176E-06   -.38654E-02
   9  Prefactor     30.440        6.2803        .47219E-06   -.20955    
  10  norm          13.561        1.9311        .26002E-06    .38033E-01
  11  Prefactor     2.5001        5.5642       -.35684E-06   -.26386E-02
  12  Prefactor     9.0530        7.9568        .14012E-05    .22238E-01
  13  Prefactor     4.8543        3.5674        .34515E-06    .10082E-02
  14  norm          .11102E-09    .58482       -.13034E-06** at limit **
  15  norm          .22204E-09    2.4857        .16922E-06** at limit **
  16  Prefactor     20.393        2.9951        .24363E-06   -.25534E-01
  17  Prefactor     .49921E-06    38.122        .63897E-05** at limit **
  18  Prefactor     4.3801        1.2136        .19298E-06   -.75092E-02
  19  Prefactor     .11102E-09    3.0948       -.11984E-05** at limit **
  20  norm          .48850E-08    1.5964        .76234E-06** at limit **
  21  Prefactor     9.3831        7.1147       -.24082E-07   -.42027E-02
  22  Prefactor     10.265        2.2369        .31364E-06   -.36298E-01
  23  norm          10.402        1.1825       -.43662E-07   -.18381E-02
  24  Prefactor     .98477E-07    12.855        .12729E-05** at limit **
  25  Normalizat    .84507        .20855       -.17830E-04   -.41809E-04
  26  Prefactor     1.1293        .21551        .89993E-05   -.80850E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.08773e-07
  Prefactor  = 12.1371
  norm       = 5.55112e-11
  Prefactor  = 4.6805
  Prefactor  = 8.32667e-10
  Prefactor  = 9.33429
  norm       = 4.45199e-08
  norm       = 3.99026
  Prefactor  = 30.4404
  norm       = 13.5611
  Prefactor  = 2.50013
  Prefactor  = 9.05298
  Prefactor  = 4.85433
  norm       = 1.11022e-10
  norm       = 2.22045e-10
  Prefactor  = 20.3931
  Prefactor  = 4.99212e-07
  Prefactor  = 4.38005
  Prefactor  = 1.11022e-10
  norm       = 4.88498e-09
  Prefactor  = 9.38308
  Prefactor  = 10.2646
  norm       = 10.402
  Prefactor  = 9.84768e-08
  Normalizat = 0.845071
  Prefactor  = 1.12932
 **********
 **   18 **HESSE 
 **********

 FCN=   6166.816     FROM HESSE     STATUS=OK           520 CALLS     2739 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90877E-06    39.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.137        20.218        .28868E-03   -1.5638    
   3  norm          .55511E-10    1.3884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.6805        9.3268        .46179E-03   -1.5665    
   5  Prefactor     .83267E-09    10.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.3343        4.4953        .32824E-03   -1.5647    
   7  norm          .44520E-07    10.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.9903        5.7943        .50757E-03   -1.5668    
   9  Prefactor     30.440        34.678        .18304E-03   -1.5598    
  10  norm          13.561        8.2532        .27173E-03   -1.5634    
  11  Prefactor     2.5001        5.6152        .64550E-03   -1.5676    
  12  Prefactor     9.0530        8.1366        .33336E-03   -1.5648    
  13  Prefactor     4.8543        3.5709        .45650E-03   -1.5664    
  14  norm          .11102E-09    .59979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .22204E-09    2.8493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.393        9.7489        .22151E-03   -1.5618    
  17  Prefactor     .49921E-06    38.837        .10999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.3801        18.269        .48289E-03   -1.5666    
  19  Prefactor     .11102E-09    3.7170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .48850E-08    .59910        .31923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.3831        7.8293        .32715E-03   -1.5647    
  22  Prefactor     10.265        26.060        .30908E-03   -1.5644    
  23  norm          10.402        15.279        .31096E-03   -1.5643    
  24  Prefactor     .98477E-07    12.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .84507        .17973        .44208E-01   -.98418    
  26  Prefactor     1.1293        .18038        .53570E-01   -.88535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07099e-06
Minuit parameter uncertainties:
  1  0.0119669
  2  20.2184
  3  2.07436e-05
  4  9.32685
  5  0.000188469
  6  4.49528
  7  0.00136833
  8  5.79434
  9  34.6781
  10  8.25325
  11  5.61522
  12  8.13662
  13  3.5709
  14  1.63502e-05
  15  5.16353e-05
  16  9.74886
  17  0.00880643
  18  17.8905
  19  3.56386e-05
  20  0.000107911
  21  7.82933
  22  26.0606
  23  15.2786
  24  0.00225775
  25  0.179855
  26  0.180479
Done.

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

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  9.053e+00  8.137e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.185e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.129e+00  1.805e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  8.451e-01  1.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.98
Ra Dec: 224.673 37.373
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 3.43e-08 +/- 3.08e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.43e-05

TS (Fixed Index): 1.98
Ra Dec: 224.673 37.373
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/155234/likelihoodResults_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.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) = 6166.09382663
delta logL = 0.721790978554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6166.06594732
delta logL = 0.749670289331

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6166.066     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      256 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5503        15.351        .85215E-03    .54814E-02
   2  Index         3.3094        2.1829        .98954E-01    .17917E-03
   3  Normalizat    .78043        .48689E-01    .43355E-01    .20570E-04
   4  Prefactor     1.1794        .51106E-01    .52573E-01    .37309E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.55029
  Index      = 3.30939
  Normalizat = 0.78043
  Prefactor  = 1.17939
 **********
 **   18 **HESSE 
 **********

 FCN=   6166.066     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      289 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5503        30.408        .59669E-05   -1.5683    
   2  Index         3.3094        3.4678        .36697E-02   -.34492    
   3  Normalizat    .78043        .20710        .26113E-03   -1.0080    
   4  Prefactor     1.1794        .21786        .23244E-03   -.86968    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.94097e-10
Minuit parameter uncertainties:
  1  13.732
  2  3.89889
  3  0.207309
  4  0.218024
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155234': 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) = 6166.06594367
delta logL = 0.74967393414

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  1.550e+00  1.373e+01  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  3.309e+00  3.899e+00  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  1.637e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.179e+00  2.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.804e-01  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 224.673 37.373
Photon Index (Free Index): 3.31 +/- 3.90
Photon Flux (Free Index): 7.01e-08 +/- 5.20e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.37e-05

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/155234/cmap_HighResolution_683856001_684115201_4FGL_J1458.6+3722_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.66e-03', comment='SUCCESS', photon_flux='3.43e-08', energy_flux2='1.23e-05', photon_flux_error='3.08e-08', dlogl='7.50e-01', energy_flux='1.59e-05', photon_flux2='7.01e-08', job_status='DONE', time_completed='2022-09-16 18:56:56.487745', photon_index_error2='3.90', photon_index2='3.31', ts='1.98', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.37e-05', EG='0.85', time_epoch_completed='1663379816.49', return_code='0', job_id='155234', GAL2='1.18', EG2='0.78', return_code2='102', energy_flux_error='1.43e-05', photon_flux_error2='5.20e-08', ts2='3.63', photon_index='2.18' WHERE bin_id='1715' AND source_name='4FGL J1458.6+3722' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:56:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 155234: <4FGL_J1458.6+3722_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1458.6+3722_daily_bin1715> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:45:15 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:45:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:45:18 2022
Terminated at Fri Sep 16 18:56:57 2022
Results reported at Fri Sep 16 18:56:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1458.6+3722_daily_bin1715 224.673 37.3726 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1458.6+3722 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   674.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            702 sec.

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

