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 11 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0045.7+1217_daily_bin1707
RA = 11.4309, Dec = 12.292
tmin = 681782401, tmax = 682041601
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='542140', job_status='RUN', time_executed='2022-08-13 00:05:03.577880', time_epoch_executed='1660374303.58' WHERE source_name='4FGL J0045.7+1217' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542140

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542140/ft1_4FGL_J0045.7+1217_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542140/ft1_4FGL_J0045.7+1217_daily_bin1707.fits outfile=/scratch/kocevski/542140/ft1_filteredMKT_4FGL_J0045.7+1217_daily_bin1707.fits ra=11.4309 dec=12.292 rad=12.0 tmin=681782401.0 tmax=682041601.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.52
user 5.17
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.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/542140/ft1_filteredMKT_4FGL_J0045.7+1217_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/542140/ft1_filtered_4FGL_J0045.7+1217_daily_bin1707.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.63
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 539

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542140/ft1_filtered_4FGL_J0045.7+1217_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/542140/ltcube_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.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/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits
.....................!
real 11.58
user 11.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542140/ft1_filtered_4FGL_J0045.7+1217_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/542140/ltcube_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.fits outfile=/scratch/kocevski/542140/expmap_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.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/542140/ltcube_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.fits
.....................!
real 190.84
user 186.43
sys 4.22

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

Setting source of interest to:
4FGL J0045.7+1217 @ 11.4309 12.292

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/542140/ft1_filtered_4FGL_J0045.7+1217_daily_bin1707.fits scfile=/scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits outfile=/scratch/kocevski/542140/cmap_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.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=11.4309 yref=12.292 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 1.32
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542140/ft1_filtered_4FGL_J0045.7+1217_daily_bin1707.fits scfile=/scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits outfile=/scratch/kocevski/542140/cmap_HighResolution_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.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=11.4309 yref=12.292 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.89
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/542140/ft1_filtered_4FGL_J0045.7+1217_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/542140/Model_4FGL_J0045.7+1217_daily_bin1707.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/542140/ft1_filtered_4FGL_J0045.7+1217_daily_bin1707.fits.....................!
real 74.30
user 64.05
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/542140/ft1_filtered_4FGL_J0045.7+1217_daily_bin1707.fits', '/scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits', expMap='/scratch/kocevski/542140/expmap_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.fits', expCube='/scratch/kocevski/542140/ltcube_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/542140/Model_4FGL_J0045.7+1217_daily_bin1707.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0045.7+1217'

4FGL J0045.7+1217
   Spectrum: PowerLaw
185    Prefactor:  1.915e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
186        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
187        Scale:  2.174e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/542140/ft1_filtered_4FGL_J0045.7+1217_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/542140/ft2_4FGL_J0045.7+1217_daily_bin1707.fits
Exposure map: /scratch/kocevski/542140/expmap_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.fits
Exposure cube: /scratch/kocevski/542140/ltcube_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/542140/Model_4FGL_J0045.7+1217_daily_bin1707.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) = 5955.22799604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12305E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4134       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6767       1.0000         .10000E-03   10000.    
     6 'norm      '    .40533E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.741       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.4217       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2472       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .49705       1.0000         .10000E-03   10000.    
    13 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    395.07       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .87329       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95546       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+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=   5955.161     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     2025 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7756        .18142E-02** at limit **
   2  Prefactor     .10000E-03    16.207        .36285E-03** at limit **
   3  norm          2.4136        4.5307        .21652E-03   -.59773E-03
   4  Prefactor     .10000E-03    5.6010        .17811E-02** at limit **
   5  Prefactor     3.6775        3.3186        .12738E-03   -.12263E-03
   6  norm          .33350E-01    7.5005        .65828E-01    .18064E-03
   7  Prefactor     15.745        19.004        .10095E-03    .62953E-04
   8  Prefactor     .10000E-03    6.9916        .18142E-02** at limit **
   9  norm          4.4269        6.0711        .19151E-03    .34312E-04
  10  Prefactor     .10000E-03    5.8595        .18094E-02** at limit **
  11  Prefactor     4.2130        12.197        .19551E-03   -.15456E-03
  12  Prefactor     .50044        1.8050        .19301E-03   -.37721E-03
  13  norm          .10000E-03    4.2211        .15484E-02** at limit **
  14  Prefactor     .10000E-03    23.852        .18142E-02** at limit **
  15  Prefactor     395.03        144.47        .10267E-03   -.21668E-03
  16  Prefactor     .10000E-03    8.6828        .18142E-02** at limit **
  17  Normalizat    .87223        .22803        .29055E-03   -.30833E-04
  18  Prefactor     .95631        .16198        .20329E-03   -.47974E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.41363
  Prefactor  = 0.0001
  Prefactor  = 3.67747
  norm       = 0.0333501
  Prefactor  = 15.7454
  Prefactor  = 0.0001
  norm       = 4.42692
  Prefactor  = 0.0001
  Prefactor  = 4.21296
  Prefactor  = 0.500445
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 395.025
  Prefactor  = 0.0001
  Normalizat = 0.872227
  Prefactor  = 0.956308
 **********
 **   18 **HESSE 
 **********

 FCN=   5955.161     FROM HESSE     STATUS=OK           236 CALLS     2261 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7768        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.208        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4136        4.5303        .86608E-05   -1.5397    
   4  Prefactor     .10000E-03    5.6016        .35621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.6775        3.3185        .50954E-05   -1.5324    
   6  norm          .33350E-01    7.1368        .68799E-01   -1.5671    
   7  Prefactor     15.745        19.002        .40380E-05   -1.4914    
   8  Prefactor     .10000E-03    6.9923        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.4269        6.0704        .76605E-05   -1.5287    
  10  Prefactor     .10000E-03    5.8631        .36188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2130        12.195        .78206E-05   -1.5297    
  12  Prefactor     .50044        1.8048        .77205E-05   -1.5566    
  13  norm          .10000E-03    4.2211        .30968E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.853        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     395.03        144.47        .20534E-04   -1.1706    
  16  Prefactor     .10000E-03    8.6858        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .87223        .22821        .11622E-04   -.97443    
  18  Prefactor     .95631        .16210        .40658E-04   -.94200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61112e-09
Minuit parameter uncertainties:
  1  1.47234e-05
  2  5.96236e-05
  3  4.53098
  4  1.60967e-05
  5  3.31866
  6  0.974388
  7  19.0098
  8  2.50857e-05
  9  6.07124
  10  3.17784e-05
  11  12.2023
  12  1.80503
  13  1.29549e-05
  14  9.8063e-05
  15  144.602
  16  3.2803e-05
  17  0.228463
  18  0.162183
Done.

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

Extracting fit parameters...

4FGL J0045.7+1217
   Spectrum: PowerLaw
185    Prefactor:  1.000e-04  3.178e-05  1.000e-04  1.000e+04 ( 1.000e-13)
186        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
187        Scale:  2.174e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.563e-01  1.622e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  8.722e-01  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 11.431 12.292
Photon Flux Upper Limit: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542140/likelihoodResults_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.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): 102
logL (Free Index) = 5955.16215645
delta logL = -0.000813399251456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5955.16134413
delta logL = -1.08590666059e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13944E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0636       1.0000          .0000       10.000    
     3 'Normalizat'    .87260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95606       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5953.601     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      276 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67144E-01    1.3797        .28062E-02   -.29777E-02
   2  Index         4.2257        2.6443        .77747E-01    .21266E-03
   3  Normalizat    .75719        .17058        .70049E-01    .38894E-04
   4  Prefactor     .99920        .99859E-01    .45716E-01   -.27291E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0671445
  Index      = 4.22569
  Normalizat = 0.757189
  Prefactor  = 0.999198
 **********
 **   18 **HESSE 
 **********

 FCN=   5953.601     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      307 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67144E-01    1.3843        .12686E-04   -1.5760    
   2  Index         4.2257        3.0508        .30084E-02   -.15549    
   3  Normalizat    .75719        .20849        .30997E-03   -1.0168    
   4  Prefactor     .99920        .15023        .19924E-03   -.92756    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.17967e-07
Minuit parameter uncertainties:
  1  0.609315
  2  3.28834
  3  0.208711
  4  0.150291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542140': 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) = 5953.60057257
delta logL = 1.56077047372

Extracting fit parameters...

4FGL J0045.7+1217
   Spectrum: PowerLaw
185    Prefactor:  6.714e-02  6.093e-01  1.000e-04  1.000e+04 ( 1.000e-13)
186        Index:  4.226e+00  3.288e+00  0.000e+00  1.000e+01 (-1.000e+00)
187        Scale:  2.174e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.992e-01  1.503e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  7.572e-01  2.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.52
Ra Dec: 11.431 12.292
Photon Index (Free Index): 4.23 +/- 3.29
Photon Flux (Free Index): 9.36e-08 +/- 1.69e-06
Energy Flux (Free Index): 1.35e-05 +/- 2.39e-04

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/542140/cmap_HighResolution_681782401_682041601_4FGL_J0045.7+1217_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', comment='SUCCESS', energy_flux2='1.35e-05', dlogl='1.56e+00', photon_flux2='9.36e-08', job_status='DONE', time_completed='2022-08-13 00:14:36.128935', photon_index_error2='3.29', photon_index2='4.23', ts='-0.00', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='6.89e-08', energy_flux_error2='2.39e-04', EG='0.87', time_epoch_completed='1660374876.13', return_code='0', job_id='542140', GAL2='1.00', EG2='0.76', return_code2='102', photon_flux_error2='1.69e-06', ts2='3.52', photon_index='1.98' WHERE bin_id='1707' AND source_name='4FGL J0045.7+1217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:14:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 542140: <4FGL_J0045.7+1217_daily_bin1707> in cluster <slac> Done

Job <4FGL_J0045.7+1217_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:04:35 2022
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:04:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:04:37 2022
Terminated at Sat Aug 13 00:14:36 2022
Results reported at Sat Aug 13 00:14:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.7+1217_daily_bin1707 11.4309 12.292 681782401 682041601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.7+1217 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   560.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            601 sec.

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

