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


Performing analysis on: 4FGL_J0713.8+1935_daily_bin1717
RA = 108.465, Dec = 19.5879
tmin = 684374401, tmax = 684633601
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='51152', job_status='RUN', time_executed='2022-09-16 12:56:42.130412', time_epoch_executed='1663358202.13' WHERE source_name='4FGL J0713.8+1935' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51152

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51152/ft1_4FGL_J0713.8+1935_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51152/ft1_4FGL_J0713.8+1935_daily_bin1717.fits outfile=/scratch/kocevski/51152/ft1_filteredMKT_4FGL_J0713.8+1935_daily_bin1717.fits ra=108.465 dec=19.5879 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.01
user 4.72
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.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/51152/ft1_filteredMKT_4FGL_J0713.8+1935_daily_bin1717.fits evtable="EVENTS" outfile="/scratch/kocevski/51152/ft1_filtered_4FGL_J0713.8+1935_daily_bin1717.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.34
sys 0.16

Number of photons that the gtmktime cut: 1796

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51152/ft1_filtered_4FGL_J0713.8+1935_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/51152/ltcube_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.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/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits
.....................!
real 13.62
user 13.19
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51152/ft1_filtered_4FGL_J0713.8+1935_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/51152/ltcube_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.fits outfile=/scratch/kocevski/51152/expmap_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.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/51152/ltcube_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.fits
.....................!
real 194.62
user 187.70
sys 5.05

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
Extended source IC 443 in ROI with RadialGaussian spatial model.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template.
Added 164 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0713.8+1935 @ 108.465 19.5879

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/51152/ft1_filtered_4FGL_J0713.8+1935_daily_bin1717.fits scfile=/scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits outfile=/scratch/kocevski/51152/cmap_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.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=108.465 yref=19.5879 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.65
user 0.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51152/ft1_filtered_4FGL_J0713.8+1935_daily_bin1717.fits scfile=/scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits outfile=/scratch/kocevski/51152/cmap_HighResolution_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.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=108.465 yref=19.5879 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/51152/ft1_filtered_4FGL_J0713.8+1935_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/51152/Model_4FGL_J0713.8+1935_daily_bin1717.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
adding source IC 443
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/51152/ft1_filtered_4FGL_J0713.8+1935_daily_bin1717.fits.....................!
real 255.45
user 253.61
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51152/ft1_filtered_4FGL_J0713.8+1935_daily_bin1717.fits', '/scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits', expMap='/scratch/kocevski/51152/expmap_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.fits', expCube='/scratch/kocevski/51152/ltcube_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51152/Model_4FGL_J0713.8+1935_daily_bin1717.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0713.8+1935'

4FGL J0713.8+1935
   Spectrum: LogParabola
266         norm:  8.175e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
267        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.056e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  5.687e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/51152/ft1_filtered_4FGL_J0713.8+1935_daily_bin1717.fits
Spacecraft file(s): /scratch/kocevski/51152/ft2_4FGL_J0713.8+1935_daily_bin1717.fits
Exposure map: /scratch/kocevski/51152/expmap_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.fits
Exposure cube: /scratch/kocevski/51152/ltcube_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51152/Model_4FGL_J0713.8+1935_daily_bin1717.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) = 16879.9530042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.665       1.0000          .0000       .10000E+07
     2 'Prefactor '    .66087E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .89919E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .33991E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    10.002       1.0000          .0000       .10000E+07
     6 'norm      '    35.935       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0068       1.0000          .0000       .10000E+07
     8 'norm      '    .11539E-05   1.0000          .0000       .10000E+07
     9 'norm      '    7.0846       1.0000          .0000       .10000E+07
    10 'norm      '    .60990E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56835E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10274E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .33682E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    13.653       1.0000          .0000       .10000E+07
    15 'norm      '    .18278       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0524       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0027       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16879.87     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      982 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.963        9.5826       -.15660E-05    .32818E-02
   2  Prefactor     .55511E-10    13.368       -.62717E-07** at limit **
   3  norm           .0000        4.0863        .17952E-05** at limit **
   4  Prefactor     .55511E-10    49.411        .81510E-05** at limit **
   5  Prefactor     10.003        9.7207       -.17789E-06   -.71722E-03
   6  norm          35.939        9.5854        .86802E-06    .80838E-02
   7  Prefactor     1.0134        .83168        .24594E-06   -.74191E-02
   8  norm           .0000        .55149       -.19427E-06** at limit **
   9  norm          7.0840        2.1493        .90329E-07   -.22407E-03
  10  norm          .55511E-10    9.0772        .87138E-06** at limit **
  11  Prefactor      .0000        21.899        .28925E-06** at limit **
  12  Prefactor      .0000        9.8841       -.11158E-05** at limit **
  13  Prefactor     .16653E-09    61.989       -.80838E-05** at limit **
  14  Prefactor     13.748        4.8580       -.84134E-07   -.14211E-02
  15  norm          .55511E-10    36.268       -.38486E-06** at limit **
  16  Normalizat    1.0519        .20861       -.22390E-04    .20361E-04
  17  Prefactor     1.0027        .83890E-01    .92327E-05    .23543E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9625
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 10.0028
  norm       = 35.9386
  Prefactor  = 1.01339
  norm       = 0
  norm       = 7.084
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 13.7481
  norm       = 5.55112e-11
  Normalizat = 1.05186
  Prefactor  = 1.00266
 **********
 **   18 **HESSE 
 **********

 FCN=   16879.87     FROM HESSE     STATUS=OK           255 CALLS     1237 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.963        13.794        .30655E-03   -1.5642    
   2  Prefactor     .55511E-10    13.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        4.0900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    49.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.003        9.8023        .31660E-03   -1.5645    
   6  norm          35.939        13.337        .16684E-03   -1.5588    
   7  Prefactor     1.0134        9.1994        .44005E-03   -1.5688    
   8  norm           .0000        .54541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.0840        2.1501        .37665E-03   -1.5655    
  10  norm          .55511E-10    8.8545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        21.885        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.8813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16653E-09    61.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.748        4.8455        .27082E-03   -1.5634    
  15  norm          .55511E-10    36.248        .12091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0519        .19737        .11891       -.91313    
  17  Prefactor     1.0027        .77617E-01    .44747E-01   -.92641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37828e-09
Minuit parameter uncertainties:
  1  13.7939
  2  5.33035e-05
  3  1.33512e-05
  4  9.21127e-05
  5  9.8023
  6  13.337
  7  6.10659
  8  8.64194e-07
  9  2.15008
  10  3.70207e-05
  11  3.82229e-05
  12  2.65712e-05
  13  0.000206604
  14  4.84547
  15  0.000107213
  16  0.197513
  17  0.0776252
Done.

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

Extracting fit parameters...

4FGL J0713.8+1935
   Spectrum: LogParabola
266         norm:  3.594e+01  1.334e+01  0.000e+00  1.000e+06 ( 1.000e-12)
267        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.056e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  5.687e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.003e+00  7.763e-02  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.052e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.78
Ra Dec: 108.465 19.588
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 4.67e-08
Energy Flux (Fixed Index): 4.38e-05 +/- 1.63e-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) = 16879.6446639
delta logL = 0.2231730327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16879.6392499
delta logL = 0.22858704194

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16879.64     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      212 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 43.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.338        12.049        .12178E-06   -.12025E-01
   2  alpha         2.0148        .28491       -.53534E-05   -.26591E-03
   3  Normalizat    1.0751        .18694        .12171E-06    .28428E-03
   4  Prefactor     .99790        .76468E-01   -.13175E-06    .71657E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 36.3378
  alpha      = 2.01477
  Normalizat = 1.07515
  Prefactor  = 0.997895
 **********
 **   18 **HESSE 
 **********

 FCN=   16879.64     FROM HESSE     STATUS=OK            29 CALLS      241 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.338        13.871        .66364E-05   -1.5587    
   2  alpha         2.0148        .37052        .15522E-01   -.19533    
   3  Normalizat    1.0751        .20286        .52287E-03   -.90554    
   4  Prefactor     .99790        .82950E-01    .22239E-03   -.92800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15436e-09
Minuit parameter uncertainties:
  1  13.8714
  2  0.371943
  3  0.203002
  4  0.082961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51152': 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) = 16879.6392486
delta logL = 0.228588362916

Extracting fit parameters...

4FGL J0713.8+1935
   Spectrum: LogParabola
266         norm:  3.634e+01  1.387e+01  0.000e+00  1.000e+06 ( 1.000e-12)
267        alpha:  2.015e+00  3.719e-01  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  1.056e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  5.687e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  9.979e-01  8.296e-02  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.075e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.10
Ra Dec: 108.465 19.588
Photon Index (Free Index): 2.01 +/- 0.37
Photon Flux (Free Index): 1.02e-07 +/- 5.12e-08
Energy Flux (Free Index): 4.94e-05 +/- 2.16e-05

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/51152/cmap_HighResolution_684374401_684633601_4FGL_J0713.8+1935_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='4.94e-05', photon_flux_error='4.67e-08', dlogl='2.29e-01', energy_flux='4.38e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2022-09-16 13:11:46.647937', photon_index_error2='0.37', photon_index2='2.01', ts='17.78', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.16e-05', EG='1.05', time_epoch_completed='1663359106.65', return_code='0', job_id='51152', GAL2='1.00', EG2='1.08', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='5.12e-08', ts2='18.10', photon_index='2.27' WHERE bin_id='1717' AND source_name='4FGL J0713.8+1935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:11:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 51152: <4FGL_J0713.8+1935_daily_bin1717> in cluster <slac> Done

Job <4FGL_J0713.8+1935_daily_bin1717> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 12:55:24 2022
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 12:56:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 12:56:26 2022
Terminated at Fri Sep 16 13:11:47 2022
Results reported at Fri Sep 16 13:11:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0713.8+1935_daily_bin1717 108.465 19.5879 684374401 684633601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0713.8+1935 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   904.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             400.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            983 sec.

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

