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


Performing analysis on: 4FGL_J0045.3+2128_daily_bin1724
RA = 11.3396, Dec = 21.4668
tmin = 686188801, tmax = 686448001
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='684675', job_status='RUN', time_executed='2022-10-03 00:09:14.048901', time_epoch_executed='1664780954.05' WHERE source_name='4FGL J0045.3+2128' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/684675

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/684675/ft1_4FGL_J0045.3+2128_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/684675/ft1_4FGL_J0045.3+2128_daily_bin1724.fits outfile=/scratch/kocevski/684675/ft1_filteredMKT_4FGL_J0045.3+2128_daily_bin1724.fits ra=11.3396 dec=21.4668 rad=12.0 tmin=686188801.0 tmax=686448001.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 4.58
user 4.34
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.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/684675/ft1_filteredMKT_4FGL_J0045.3+2128_daily_bin1724.fits evtable="EVENTS" outfile="/scratch/kocevski/684675/ft1_filtered_4FGL_J0045.3+2128_daily_bin1724.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 643

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/684675/ft1_filtered_4FGL_J0045.3+2128_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/684675/ltcube_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.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/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits
.....................!
real 12.04
user 11.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/684675/ft1_filtered_4FGL_J0045.3+2128_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/684675/ltcube_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.fits outfile=/scratch/kocevski/684675/expmap_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.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/684675/ltcube_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.fits
.....................!
real 194.26
user 188.12
sys 5.76

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.3+2128 @ 11.3396 21.4668

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/684675/ft1_filtered_4FGL_J0045.3+2128_daily_bin1724.fits scfile=/scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits outfile=/scratch/kocevski/684675/cmap_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.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.3396 yref=21.4668 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/684675/ft1_filtered_4FGL_J0045.3+2128_daily_bin1724.fits scfile=/scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits outfile=/scratch/kocevski/684675/cmap_HighResolution_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.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.3396 yref=21.4668 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/684675/ft1_filtered_4FGL_J0045.3+2128_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/684675/Model_4FGL_J0045.3+2128_daily_bin1724.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/684675/ft1_filtered_4FGL_J0045.3+2128_daily_bin1724.fits.....................!
real 73.07
user 71.67
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/684675/ft1_filtered_4FGL_J0045.3+2128_daily_bin1724.fits', '/scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits', expMap='/scratch/kocevski/684675/expmap_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.fits', expCube='/scratch/kocevski/684675/ltcube_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/684675/Model_4FGL_J0045.3+2128_daily_bin1724.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0045.3+2128'

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  3.310e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
171        alpha:  1.669e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
172         beta:  7.630e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
173           Eb:  2.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/684675/ft1_filtered_4FGL_J0045.3+2128_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/684675/ft2_4FGL_J0045.3+2128_daily_bin1724.fits
Exposure map: /scratch/kocevski/684675/expmap_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.fits
Exposure cube: /scratch/kocevski/684675/ltcube_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/684675/Model_4FGL_J0045.3+2128_daily_bin1724.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) = 6976.55561447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15321E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.793       1.0000          .0000       .10000E+07
     3 'Prefactor '    .35527E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6922       1.0000          .0000       .10000E+07
     5 'norm      '    18.887       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30847E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     9 'Prefactor '    .37569E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5238       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16581E-06   1.0000          .0000       .10000E+07
    12 'norm      '    1.1492       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.1854       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.0459       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.6367       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1209       1.0000          .0000       .10000E+07
    17 'Normalizat'    .70115       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3241       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6976.543     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1538 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    1.6786       -.71108E-07** at limit **
   2  Prefactor     11.790        8.7860        .45679E-07    .63152E-02
   3  Prefactor     .33307E-09    4.6775       -.59826E-07** at limit **
   4  Prefactor     1.6921        3.9076       -.19769E-06   -.73002E-02
   5  norm          18.882        3.1453        .18557E-07   -.12861    
   6  Prefactor     .18319E-08    10.109       -.16657E-06** at limit **
   7  Prefactor     .61062E-09    19.687       -.23453E-06** at limit **
   8  norm          .33307E-09    3.6237       -.27095E-07** at limit **
   9  Prefactor     .52858E-05    1.6978       -.81083E-07** at limit **
  10  Prefactor     3.5243        7.2283        .10758E-06    .40064E-02
  11  Prefactor     .33751E-07    27.138        .25279E-07** at limit **
  12  norm          1.1492        .61667       -.49584E-08   -.30286E-02
  13  Prefactor     4.1857        7.6992        .81297E-09    .36928E-01
  14  Prefactor     5.9834        3.0518       -.45696E-08    .73320E-01
  15  Prefactor     3.6404        4.7575        .11421E-06    .38092E-02
  16  Prefactor     1.1239        2.5329        .48275E-08   -.68210E-02
  17  Normalizat    .70115        .21420        .10803E-05   -.11466E-03
  18  Prefactor     1.3241        .15550       -.96920E-06   -.31649E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  Prefactor  = 11.7901
  Prefactor  = 3.33067e-10
  Prefactor  = 1.69208
  norm       = 18.8819
  Prefactor  = 1.83187e-09
  Prefactor  = 6.10623e-10
  norm       = 3.33067e-10
  Prefactor  = 5.28583e-06
  Prefactor  = 3.52429
  Prefactor  = 3.37508e-08
  norm       = 1.14916
  Prefactor  = 4.1857
  Prefactor  = 5.98335
  Prefactor  = 3.64037
  Prefactor  = 1.12391
  Normalizat = 0.701154
  Prefactor  = 1.3241
 **********
 **   18 **HESSE 
 **********

 FCN=   6976.543     FROM HESSE     STATUS=OK           290 CALLS     1828 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    1.6650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.790        8.9678        .29146E-03   -1.5639    
   3  Prefactor     .33307E-09    4.6797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6921        3.9407        .80881E-03   -1.5682    
   5  norm          18.882        12.777        .23019E-03   -1.5621    
   6  Prefactor     .18319E-08    10.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    19.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .33307E-09    3.6302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .52858E-05    3.5739        .11134E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5243        7.2769        .53828E-03   -1.5670    
  11  Prefactor     .33751E-07    27.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1492        .62796        .10439E-02   -1.5687    
  13  Prefactor     4.1857        7.9115        .49238E-03   -1.5667    
  14  Prefactor     5.9834        76.135        .40810E-03   -1.5659    
  15  Prefactor     3.6404        5.4028        .52951E-03   -1.5670    
  16  Prefactor     1.1239        26.741        .11086E-02   -1.5687    
  17  Normalizat    .70115        .19529        .77136E-01   -1.0385    
  18  Prefactor     1.3241        .13921        .32203E-01   -.82593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47466e-06
Minuit parameter uncertainties:
  1  3.10196e-05
  2  8.96782
  3  7.9222e-05
  4  3.94073
  5  12.7767
  6  0.000271361
  7  0.000220801
  8  7.22645e-05
  9  0.00869281
  10  7.27695
  11  0.00191858
  12  0.627963
  13  7.91147
  14  42.6875
  15  5.40276
  16  10.9644
  17  0.195487
  18  0.139251
Done.

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

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  3.331e-10  7.226e-05  0.000e+00  1.000e+06 ( 1.000e-13)
171        alpha:  1.669e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
172         beta:  7.630e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
173           Eb:  2.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.324e+00  1.393e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  7.012e-01  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 11.340 21.467
Photon Flux Upper Limit: 3.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.37e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/684675/likelihoodResults_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.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) = 6976.54267164
delta logL = -0.000133097235448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6976.54253857
delta logL = -2.25045369007e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6976.543     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      215 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.7184       -.18406E-06** at limit **
   2  alpha         2.1056        1.8062        .23101E-04     .0000    
   3  Normalizat    .70115        .21249       -.43373E-04   -.37767E-04
   4  Prefactor     1.3241        .15573        .17014E-04   -.30135E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.10556
  Normalizat = 0.701155
  Prefactor  = 1.3241
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6976.543     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.7796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .95060        1.4490        .23101E-04   -.15844    
   3  Normalizat    .70115        1.0408       -.43373E-04   -1.0385    
   4  Prefactor     1.3241        1.0727        .17014E-04   -.82593    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.06583e-11
Minuit parameter uncertainties:
  1  3.86504e-06
  2  1.54863
  3  1.07252
  4  1.09145
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/684675': 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): 101
logL (Free Index) = 6976.54253855
delta logL = 1.36424205266e-11

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  0.000e+00  3.865e-06  0.000e+00  1.000e+06 ( 1.000e-13)
171        alpha:  2.106e+00  1.549e+00  0.000e+00  5.000e+00 ( 1.000e+00)
172         beta:  7.630e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
173           Eb:  2.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.324e+00  1.091e+00  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  7.012e-01  1.073e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 11.340 21.467

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/684675/cmap_HighResolution_686188801_686448001_4FGL_J0045.3+2128_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.37e-05', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2022-10-03 00:18:29.306933', job_id='684675', GAL2='1.32', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1664781509.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.67' WHERE bin_id='1724' AND source_name='4FGL J0045.3+2128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 00:18:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 684627: <4FGL_J0045.3+2128_daily_bin1724> in cluster <slac> Done

Job <4FGL_J0045.3+2128_daily_bin1724> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Oct  3 00:05:18 2022
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 00:06:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 00:06:14 2022
Terminated at Mon Oct  3 00:16:02 2022
Results reported at Mon Oct  3 00:16:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.3+2128_daily_bin1724 11.3396 21.4668 686188801 686448001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.3+2128 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   553.15 sec.
    Max Memory :                                 617 MB
    Average Memory :                             294.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   588 sec.
    Turnaround time :                            644 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 684675: <4FGL_J0045.3+2128_daily_bin1724> in cluster <slac> Done

Job <4FGL_J0045.3+2128_daily_bin1724> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct  3 00:05:21 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 00:07:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 00:07:29 2022
Terminated at Mon Oct  3 00:18:30 2022
Results reported at Mon Oct  3 00:18:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.3+2128_daily_bin1724 11.3396 21.4668 686188801 686448001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.3+2128 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   557.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            789 sec.

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

