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 97 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_J1458.6+3722_daily_bin1709
RA = 224.673, Dec = 37.3726
tmin = 682300801, tmax = 682560001
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='153827', job_status='RUN', time_executed='2022-09-16 18:44:58.867292', time_epoch_executed='1663379098.87' WHERE source_name='4FGL J1458.6+3722' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153827

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153827/ft1_4FGL_J1458.6+3722_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153827/ft2_4FGL_J1458.6+3722_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153827/ft1_4FGL_J1458.6+3722_daily_bin1709.fits outfile=/scratch/kocevski/153827/ft1_filteredMKT_4FGL_J1458.6+3722_daily_bin1709.fits ra=224.673 dec=37.3726 rad=12.0 tmin=682300801.0 tmax=682560001.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.15
user 2.92
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153827/ft2_4FGL_J1458.6+3722_daily_bin1709.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/153827/ft1_filteredMKT_4FGL_J1458.6+3722_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/153827/ft1_filtered_4FGL_J1458.6+3722_daily_bin1709.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.45
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 538

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153827/ft1_filtered_4FGL_J1458.6+3722_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/153827/ft2_4FGL_J1458.6+3722_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/153827/ltcube_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.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/153827/ft2_4FGL_J1458.6+3722_daily_bin1709.fits
.....................!
real 12.77
user 12.34
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153827/ft1_filtered_4FGL_J1458.6+3722_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/153827/ft2_4FGL_J1458.6+3722_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/153827/ltcube_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.fits outfile=/scratch/kocevski/153827/expmap_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.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/153827/ltcube_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.fits
.....................!
real 158.71
user 151.93
sys 4.75

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/153827/ft1_filtered_4FGL_J1458.6+3722_daily_bin1709.fits scfile=/scratch/kocevski/153827/ft2_4FGL_J1458.6+3722_daily_bin1709.fits outfile=/scratch/kocevski/153827/cmap_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.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.50
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153827/ft1_filtered_4FGL_J1458.6+3722_daily_bin1709.fits scfile=/scratch/kocevski/153827/ft2_4FGL_J1458.6+3722_daily_bin1709.fits outfile=/scratch/kocevski/153827/cmap_HighResolution_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.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.59
user 0.35
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153827/ft1_filtered_4FGL_J1458.6+3722_daily_bin1709.fits', '/scratch/kocevski/153827/ft2_4FGL_J1458.6+3722_daily_bin1709.fits', expMap='/scratch/kocevski/153827/expmap_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.fits', expCube='/scratch/kocevski/153827/ltcube_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153827/Model_4FGL_J1458.6+3722_daily_bin1709.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/153827/ft1_filtered_4FGL_J1458.6+3722_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/153827/ft2_4FGL_J1458.6+3722_daily_bin1709.fits
Exposure map: /scratch/kocevski/153827/expmap_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.fits
Exposure cube: /scratch/kocevski/153827/ltcube_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153827/Model_4FGL_J1458.6+3722_daily_bin1709.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) = 6113.59732164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2984       1.0000          .0000       .10000E+07
     2 'Prefactor '    31.980       1.0000          .0000       .10000E+07
     3 'norm      '    3.8149       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.362       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19565E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    23.302       1.0000          .0000       .10000E+07
     7 'norm      '    .16206E-04   1.0000          .0000       .10000E+07
     8 'norm      '    9.2047       1.0000          .0000       .10000E+07
     9 'Prefactor '    160.72       1.0000          .0000       .10000E+07
    10 'norm      '    .35451E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.7268       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.9683       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.0749       1.0000          .0000       .10000E+07
    14 'norm      '    2.7865       1.0000          .0000       .10000E+07
    15 'norm      '    .51859       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15742E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .69393E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .79158E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22423E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .19878E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    37.637       1.0000          .0000       .10000E+07
    23 'norm      '    .27472E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .28455E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .97367       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .92210       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=   6113.494     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2276 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.7109        9.9548       -.30531E-05   -.67058E-01
   2  Prefactor     32.421        16.139       -.31437E-05   -.11534    
   3  norm          3.8594        4.4640        .23581E-06   -.12117E-02
   4  Prefactor     11.303        7.3833        .53774E-06    .61260E-01
   5  Prefactor     .22204E-08    13.104       -.25978E-05** at limit **
   6  Prefactor     23.286        7.1503        .36817E-07   -.18421E-02
   7  norm          .64948E-08    6.8505       -.61390E-05** at limit **
   8  norm          9.2517        1.4392        .20210E-06    .10954E-01
   9  Prefactor     163.05        56.820        .21367E-05   -.20816E-01
  10  norm          .14433E-08    4.1996        .24355E-06** at limit **
  11  Prefactor     8.5775        3.3458       -.59908E-06   -.39404E-01
  12  Prefactor     6.9777        6.6670       -.57808E-06    .44262E-03
  13  Prefactor     3.0875        5.2600       -.30972E-07   -.17767E-02
  14  norm          2.7895        1.7777        .20296E-06   -.14189E-03
  15  norm          .52498        2.7127       -.37355E-07   -.47578E-03
  16  Prefactor      .0000        3.0765        .12607E-05** at limit **
  17  Prefactor     .16653E-09    14.192       -.20589E-05** at limit **
  18  Prefactor     .18135E-06    2.9595        .31016E-05** at limit **
  19  Prefactor     .35527E-08    4.6526        .28444E-05** at limit **
  20  norm           .0000        .51378        .59877E-06** at limit **
  21  Prefactor      .0000        3.7365        .36578E-06** at limit **
  22  Prefactor     37.082        23.187        .48912E-05   -.16232    
  23  norm          .22204E-07    4.2303        .41474E-05** at limit **
  24  Prefactor     .79492E-07    5.0546       -.41280E-05** at limit **
  25  Normalizat    .97081        .22964        .16345E-04    .15770E-04
  26  Prefactor     .92338        .22163       -.28623E-04    .35433E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.71088
  Prefactor  = 32.421
  norm       = 3.85936
  Prefactor  = 11.3027
  Prefactor  = 2.22045e-09
  Prefactor  = 23.2864
  norm       = 6.4948e-09
  norm       = 9.25169
  Prefactor  = 163.048
  norm       = 1.44329e-09
  Prefactor  = 8.57748
  Prefactor  = 6.97767
  Prefactor  = 3.08753
  norm       = 2.78954
  norm       = 0.524979
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 1.81355e-07
  Prefactor  = 3.55271e-09
  norm       = 0
  Prefactor  = 0
  Prefactor  = 37.0816
  norm       = 2.22045e-08
  Prefactor  = 7.9492e-08
  Normalizat = 0.970811
  Prefactor  = 0.923379
 **********
 **   18 **HESSE 
 **********

 FCN=   6113.494     FROM HESSE     STATUS=OK           508 CALLS     2784 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.7109        25.303        .32842E-03   -1.5646    
   2  Prefactor     32.421        27.295        .17686E-03   -1.5594    
   3  norm          3.8594        4.5636        .51652E-03   -1.5669    
   4  Prefactor     11.303        18.081        .29696E-03   -1.5641    
   5  Prefactor     .22204E-08    13.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.286        7.1479        .20721E-03   -1.5611    
   7  norm          .64948E-08    7.1271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.2517        10.004        .33010E-03   -1.5647    
   9  Prefactor     163.05        56.959        .78887E-04   -1.5453    
  10  norm          .14433E-08    4.2028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.5775        18.004        .33907E-03   -1.5649    
  12  Prefactor     6.9777        6.7999        .37981E-03   -1.5655    
  13  Prefactor     3.0875        5.2748        .57819E-03   -1.5673    
  14  norm          2.7895        1.7916        .60930E-03   -1.5675    
  15  norm          .52498        2.7215        .76861E-03   -1.5693    
  16  Prefactor      .0000        3.0744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16653E-09    15.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18135E-06    6.0590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35527E-08    4.6644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .50863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        3.7351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     37.082        33.128        .16302E-03   -1.5586    
  23  norm          .22204E-07    6.5209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .79492E-07    5.6080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .97081        .20196        .45836E-01   -.94015    
  26  Prefactor     .92338        .18756        .45286E-01   -.95329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81258e-06
Minuit parameter uncertainties:
  1  25.3038
  2  27.2946
  3  4.56359
  4  18.0813
  5  0.000352633
  6  7.14792
  7  0.000430787
  8  10.0036
  9  56.9587
  10  0.000157101
  11  18.0046
  12  6.79988
  13  5.2748
  14  1.79159
  15  2.39059
  16  9.33046e-06
  17  9.51497e-05
  18  0.00209658
  19  0.000258253
  20  1.54283e-06
  21  5.98272e-06
  22  33.1279
  23  0.000761293
  24  0.00133545
  25  0.202115
  26  0.187696
Done.

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

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  6.978e+00  6.800e+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:  9.234e-01  1.877e-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:  9.708e-01  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.12
Ra Dec: 224.673 37.373
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.65e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.19e-05

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) = 6113.16716349
delta logL = 0.327265558461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6113.16710318
delta logL = 0.327325868263

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6616       1.0000          .0000       .10000E+07
     2 'Index     '    1.6607       1.0000          .0000       10.000    
     3 'Normalizat'    .98415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91631       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=   6113.167     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      240 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6749        19.411        .34035E-03   -.32738E-03
   2  Index         1.6608        1.1999        .20975       -.15480E-05
   3  Normalizat    .98415        .18983        .45968E-01    .17068E-04
   4  Prefactor     .91630        .18570        .45213E-01    .15371E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.67492
  Index      = 1.66075
  Normalizat = 0.98415
  Prefactor  = 0.916304
 **********
 **   18 **HESSE 
 **********

 FCN=   6113.167     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .71E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6749        8.5462        .13614E-04   -1.5649    
   2  Index         1.6608        .62627        .10796E-01   -.73132    
   3  Normalizat    .98415        .21685        .25804E-03   -.93563    
   4  Prefactor     .91630        .21588        .26414E-03   -.95574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.14371e-14
Minuit parameter uncertainties:
  1  8.54626
  2  0.62926
  3  0.217048
  4  0.216087
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153827': 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) = 6113.16710195
delta logL = 0.327327094268

Extracting fit parameters...

4FGL J1458.6+3722
   Spectrum: PowerLaw
277    Prefactor:  8.675e+00  8.546e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  1.661e+00  6.293e-01  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:  9.163e-01  2.161e-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:  9.842e-01  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.78
Ra Dec: 224.673 37.373
Photon Index (Free Index): 1.66 +/- 0.63
Photon Flux (Free Index): 1.35e-08 +/- 1.87e-08
Energy Flux (Free Index): 2.50e-05 +/- 3.62e-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/153827/cmap_HighResolution_682300801_682560001_4FGL_J1458.6+3722_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.65e-08', energy_flux2='2.50e-05', photon_flux_error='2.58e-08', dlogl='3.27e-01', energy_flux='1.22e-05', photon_flux2='1.35e-08', job_status='DONE', time_completed='2022-09-16 18:53:20.931765', photon_index_error2='0.63', photon_index2='1.66', ts='4.12', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='3.62e-05', EG='0.97', time_epoch_completed='1663379600.93', return_code='0', job_id='153827', GAL2='0.92', EG2='0.98', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='1.87e-08', ts2='4.78', photon_index='2.18' WHERE bin_id='1709' AND source_name='4FGL J1458.6+3722' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:53:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 153827: <4FGL_J1458.6+3722_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1458.6+3722_daily_bin1709> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 18:40:21 2022
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:43:13 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:43:13 2022
Terminated at Fri Sep 16 18:53:21 2022
Results reported at Fri Sep 16 18:53:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1458.6+3722_daily_bin1709 224.673 37.3726 682300801 682560001 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 :                                   498.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            780 sec.

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

