aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
User defined signal 2
Repository/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 92 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 = 7657
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0045.7+1217_daily_bin1670
RA = 11.4309, Dec = 12.292
tmin = 672192001, tmax = 672451201
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='862094', job_status='RUN', time_executed='2022-04-24 00:12:39.343330', time_epoch_executed='1650784359.34' WHERE source_name='4FGL J0045.7+1217' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862094

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862094/ft1_4FGL_J0045.7+1217_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862094/ft2_4FGL_J0045.7+1217_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862094/ft1_4FGL_J0045.7+1217_daily_bin1670.fits outfile=/scratch/kocevski/862094/ft1_filteredMKT_4FGL_J0045.7+1217_daily_bin1670.fits ra=11.4309 dec=12.292 rad=12.0 tmin=672192001.0 tmax=672451201.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.12
user 4.81
sys 0.25

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

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

Number of photons that the gtmktime cut: 697

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862094/ft1_filtered_4FGL_J0045.7+1217_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862094/ft2_4FGL_J0045.7+1217_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862094/ltcube_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.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/862094/ft2_4FGL_J0045.7+1217_daily_bin1670.fits
.....................!
real 14.51
user 14.15
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862094/ft1_filtered_4FGL_J0045.7+1217_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862094/ft2_4FGL_J0045.7+1217_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862094/ltcube_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.fits outfile=/scratch/kocevski/862094/expmap_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.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/862094/ltcube_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.fits
.....................!
real 192.19
user 186.56
sys 5.24

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/862094/ft1_filtered_4FGL_J0045.7+1217_daily_bin1670.fits scfile=/scratch/kocevski/862094/ft2_4FGL_J0045.7+1217_daily_bin1670.fits outfile=/scratch/kocevski/862094/cmap_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.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 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862094/ft1_filtered_4FGL_J0045.7+1217_daily_bin1670.fits scfile=/scratch/kocevski/862094/ft2_4FGL_J0045.7+1217_daily_bin1670.fits outfile=/scratch/kocevski/862094/cmap_HighResolution_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862094/ft1_filtered_4FGL_J0045.7+1217_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862094/ft2_4FGL_J0045.7+1217_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862094/Model_4FGL_J0045.7+1217_daily_bin1670.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/862094/ft1_filtered_4FGL_J0045.7+1217_daily_bin1670.fits.....................!
real 87.35
user 85.21
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862094/ft1_filtered_4FGL_J0045.7+1217_daily_bin1670.fits', '/scratch/kocevski/862094/ft2_4FGL_J0045.7+1217_daily_bin1670.fits', expMap='/scratch/kocevski/862094/expmap_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.fits', expCube='/scratch/kocevski/862094/ltcube_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862094/Model_4FGL_J0045.7+1217_daily_bin1670.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/862094/ft1_filtered_4FGL_J0045.7+1217_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/862094/ft2_4FGL_J0045.7+1217_daily_bin1670.fits
Exposure map: /scratch/kocevski/862094/expmap_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.fits
Exposure cube: /scratch/kocevski/862094/ltcube_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862094/Model_4FGL_J0045.7+1217_daily_bin1670.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) = 7761.95943031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3630       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.7146       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7857       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6787       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12536E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5739       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    99.919       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2036.3       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .57944E-01   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .57486       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.4915       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.

 FCN=   7761.955     FROM MIGRAD    STATUS=CONVERGED    380 CALLS     1806 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3623        8.0358        .45053E-05    .40237E-03
   2  Prefactor     .10000E-03    2.3184        .16268E-07** at limit **
   3  norm          2.7156        4.5256       -.39100E-06    .20371E-04
   4  Prefactor     7.7842        13.716       -.68861E-06    .58653E-05
   5  Prefactor     4.6779        3.2005        .33463E-07    .14185E-03
   6  norm          .10000E-03    2.9335       -.10072E-07** at limit **
   7  Prefactor     .10000E-03    24.223       -.79944E-06** at limit **
   8  Prefactor     .10000E-03    6.2159       -.86301E-07** at limit **
   9  norm          .10000E-03    2.5034        .10443E-07** at limit **
  10  Prefactor     .10001E-03    10.323       -.69979E-05** at limit **
  11  Prefactor     .10000E-03    14.335       -.52093E-05** at limit **
  12  Prefactor     8.5747        4.9677        .67594E-06    .12998E-03
  13  norm          .10000E-03    7.0580        .37564E-07** at limit **
  14  Prefactor     99.917        66.792       -.15725E-05   -.21155E-04
  15  Prefactor     2036.3        268.65       -.12051E-05   -.13129E-04
  16  Prefactor     .10000E-03    8.7890        .33606E-06** at limit **
  17  Normalizat    .57463        .24577        .10711E-05    .14208E-03
  18  Prefactor     1.4916        .17032       -.79309E-06    .23041E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.36228
  Prefactor  = 0.0001
  norm       = 2.71556
  Prefactor  = 7.78418
  Prefactor  = 4.67795
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 8.57468
  norm       = 0.0001
  Prefactor  = 99.9169
  Prefactor  = 2036.34
  Prefactor  = 0.000100001
  Normalizat = 0.574634
  Prefactor  = 1.4916
 **********
 **   18 **HESSE 
 **********

 FCN=   7761.955     FROM HESSE     STATUS=OK           250 CALLS     2056 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3623        9.4302        .11033E-02   -1.5341    
   2  Prefactor     .10000E-03    2.3217        .13101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.7156        4.5032        .22980E-03   -1.5378    
   4  Prefactor     7.7842        13.680        .14371E-03   -1.5150    
   5  Prefactor     4.6779        3.1975        .12587E-03   -1.5275    
   6  norm          .10000E-03    2.9347        .14737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    24.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.2258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.5042        .13614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    14.675        .34774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.5747        4.9561        .13690E-03   -1.5122    
  13  norm          .10000E-03    7.0644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     99.917        66.894        .40218E-04   -1.3705    
  15  Prefactor     2036.3        268.37        .49665E-04   -.63445    
  16  Prefactor     .10000E-03    9.4204        .87183E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .57463        .26815        .47815E-03   -1.0907    
  18  Prefactor     1.4916        .18872        .22553E-03   -.77775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45356e-10
Minuit parameter uncertainties:
  1  9.4344
  2  8.425e-08
  3  4.50373
  4  13.6855
  5  3.19763
  6  2.47012e-07
  7  2.61468e-06
  8  3.39895e-06
  9  1.06344e-06
  10  0.000624035
  11  8.89458e-06
  12  4.9563
  13  1.8177e-06
  14  66.9447
  15  268.566
  16  0.000216446
  17  0.26876
  18  0.188811
Done.

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

Extracting fit parameters...

4FGL J0045.7+1217
   Spectrum: PowerLaw
185    Prefactor:  1.000e-04  6.240e-04  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:  1.492e+00  1.888e-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:  5.746e-01  2.688e-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: 7.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862094/likelihoodResults_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.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) = 7761.9557262
delta logL = -0.000322458718983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7761.95540247
delta logL = 1.2739246813e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13696E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0903       1.0000          .0000       10.000    
     3 'Normalizat'    .57460       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4916       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=   7761.391     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      297 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11365E-01    .17495        .20950E-02    .33117E-03
   2  Index         4.7830        2.0595        .88119E-01    .43903E-04
   3  Normalizat    .48683        .45988E-01    .11678       -.39032E-03
   4  Prefactor     1.5265        .33471E-01    .50539E-01   -.45975E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0113648
  Index      = 4.783
  Normalizat = 0.486832
  Prefactor  = 1.52645
 **********
 **   18 **HESSE 
 **********

 FCN=   7761.391     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      330 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11365E-01    .55967        .96108E-04   -1.5687    
   2  Index         4.7830        4.1895        .48821E-02   -.43415E-01
   3  Normalizat    .48683        .18137        .51794E-03   -1.1303    
   4  Prefactor     1.5265        .13021        .22339E-03   -.76802    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.16273e-09
Minuit parameter uncertainties:
  1  0.158804
  2  4.9697
  3  0.18159
  4  0.130242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862094': 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) = 7761.39067571
delta logL = 0.564728029951

Extracting fit parameters...

4FGL J0045.7+1217
   Spectrum: PowerLaw
185    Prefactor:  1.136e-02  1.588e-01  1.000e-04  1.000e+04 ( 1.000e-13)
186        Index:  4.783e+00  4.970e+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:  1.526e+00  1.302e-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:  4.868e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.30
Ra Dec: 11.431 12.292
Photon Index (Free Index): 4.78 +/- 4.97
Photon Flux (Free Index): 7.52e-08 +/- 7.16e-08
Energy Flux (Free Index): 1.02e-05 +/- 1.06e-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/862094/cmap_HighResolution_672192001_672451201_4FGL_J0045.7+1217_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.56e-03', comment='SUCCESS', energy_flux2='1.02e-05', dlogl='5.65e-01', photon_flux2='7.52e-08', job_status='DONE', time_completed='2022-04-24 00:23:15.716584', photon_index_error2='4.97', photon_index2='4.78', ts='-0.00', fit_tolerance='1e-08', GAL='1.49', photon_index_error='0.00', photon_flux_upper_limit='7.42e-08', energy_flux_error2='1.06e-05', EG='0.57', time_epoch_completed='1650784995.72', return_code='0', job_id='862094', GAL2='1.53', EG2='0.49', return_code2='102', photon_flux_error2='7.16e-08', ts2='1.30', photon_index='1.98' WHERE bin_id='1670' AND source_name='4FGL J0045.7+1217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:23:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 862094: <4FGL_J0045.7+1217_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0045.7+1217_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:16 2022
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:10:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:10:51 2022
Terminated at Sun Apr 24 00:23:16 2022
Results reported at Sun Apr 24 00:23:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.7+1217_daily_bin1670 11.4309 12.292 672192001 672451201 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 :                                   636.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            900 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 862197: <4FGL_J0045.7+1217_daily_bin1670> in cluster <slac> Exited

Job <4FGL_J0045.7+1217_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:20 2022
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:11:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:11:21 2022
Terminated at Sun Apr 24 08:41:07 2022
Results reported at Sun Apr 24 08:41:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.7+1217_daily_bin1670 11.4309 12.292 672192001 672451201 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
------------------------------------------------------------

TERM_RUNLIMIT: job killed after reaching LSF run time limit.
Exited with exit code 140.

Resource usage summary:

    CPU time :                                   10.27 sec.
    Max Memory :                                 3 MB
    Average Memory :                             3.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              3
    Max Threads :                                4
    Run time :                                   30585 sec.
    Turnaround time :                            30767 sec.

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

