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


Performing analysis on: 4FGL_J0045.3+2128_weekly_bin762
RA = 11.3396, Dec = 21.4668
tmin = 699840001, tmax = 700444801
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='958581', job_status='RUN', time_executed='2023-03-14 00:43:25.314928', time_epoch_executed='1678779805.31' WHERE source_name='4FGL J0045.3+2128' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/958581

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/958581/ft1_4FGL_J0045.3+2128_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/958581/ft2_4FGL_J0045.3+2128_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/958581/ft1_4FGL_J0045.3+2128_weekly_bin762.fits outfile=/scratch/kocevski/958581/ft1_filteredMKT_4FGL_J0045.3+2128_weekly_bin762.fits ra=11.3396 dec=21.4668 rad=12.0 tmin=699840001.0 tmax=700444801.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 8.05
user 7.72
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/958581/ft2_4FGL_J0045.3+2128_weekly_bin762.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/958581/ft1_filteredMKT_4FGL_J0045.3+2128_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/958581/ft1_filtered_4FGL_J0045.3+2128_weekly_bin762.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.54
user 0.39
sys 0.13

Number of photons that the gtmktime cut: 1541

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/958581/ft1_filtered_4FGL_J0045.3+2128_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/958581/ft2_4FGL_J0045.3+2128_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/958581/ltcube_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.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/958581/ft2_4FGL_J0045.3+2128_weekly_bin762.fits
.....................!
real 26.99
user 26.51
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/958581/ft1_filtered_4FGL_J0045.3+2128_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/958581/ft2_4FGL_J0045.3+2128_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/958581/ltcube_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.fits outfile=/scratch/kocevski/958581/expmap_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.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/958581/ltcube_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.fits
.....................!
real 189.16
user 184.88
sys 3.96

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/958581/ft1_filtered_4FGL_J0045.3+2128_weekly_bin762.fits scfile=/scratch/kocevski/958581/ft2_4FGL_J0045.3+2128_weekly_bin762.fits outfile=/scratch/kocevski/958581/cmap_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/958581/ft1_filtered_4FGL_J0045.3+2128_weekly_bin762.fits scfile=/scratch/kocevski/958581/ft2_4FGL_J0045.3+2128_weekly_bin762.fits outfile=/scratch/kocevski/958581/cmap_HighResolution_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/958581/ft1_filtered_4FGL_J0045.3+2128_weekly_bin762.fits', '/scratch/kocevski/958581/ft2_4FGL_J0045.3+2128_weekly_bin762.fits', expMap='/scratch/kocevski/958581/expmap_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.fits', expCube='/scratch/kocevski/958581/ltcube_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/958581/Model_4FGL_J0045.3+2128_weekly_bin762.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/958581/ft1_filtered_4FGL_J0045.3+2128_weekly_bin762.fits
Spacecraft file(s): /scratch/kocevski/958581/ft2_4FGL_J0045.3+2128_weekly_bin762.fits
Exposure map: /scratch/kocevski/958581/expmap_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.fits
Exposure cube: /scratch/kocevski/958581/ltcube_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/958581/Model_4FGL_J0045.3+2128_weekly_bin762.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) = 16560.827841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11463E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    18.479       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.1719       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.950       1.0000          .0000       .10000E+07
     5 'norm      '    .33282E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5843       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56938E-06   1.0000          .0000       .10000E+07
     8 'norm      '    6.2383       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21702E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    22.627       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.746       1.0000          .0000       .10000E+07
    12 'norm      '    2.2895       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.705       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1385       1.0000          .0000       .10000E+07
    15 'Prefactor '    .33557E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    11.374       1.0000          .0000       .10000E+07
    17 'Normalizat'    .87348       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0918       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=   16560.80     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     1025 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.5620        .39200E-06** at limit **
   2  Prefactor     18.491        6.6939        .11186E-05    .19524E-01
   3  Prefactor     3.1627        4.2412       -.39817E-06   -.18711E-02
   4  Prefactor     12.964        3.0464       -.37847E-06   -.40711E-02
   5  norm          .25535E-08    3.3288        .54132E-06** at limit **
   6  Prefactor     2.6032        2.0942        .80433E-06    .23708E-01
   7  Prefactor     .55511E-09    2.7589        .23325E-06** at limit **
   8  norm          6.2452        3.8614       -.76118E-07    .16891E-02
   9  Prefactor      .0000        1.4811        .84806E-06** at limit **
  10  Prefactor     22.633        3.7063        .53186E-06   -.74696E-01
  11  Prefactor     18.701        22.390        .41323E-07    .17374E-01
  12  norm          2.2893        .49290       -.27329E-07   -.29384E-03
  13  Prefactor     12.604        2.3887        .37721E-06   -.34491E-01
  14  Prefactor     5.7190        7.8328        .27251E-06   -.30262E-01
  15  Prefactor      .0000        .99980        .13832E-06** at limit **
  16  Prefactor     11.363        1.8533       -.33057E-06   -.45649E-01
  17  Normalizat    .87283        .14312       -.61253E-05    .21586E-05
  18  Prefactor     1.0915        .98924E-01    .93752E-06    .11360E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 18.491
  Prefactor  = 3.16266
  Prefactor  = 12.9636
  norm       = 2.55351e-09
  Prefactor  = 2.60321
  Prefactor  = 5.55112e-10
  norm       = 6.24518
  Prefactor  = 0
  Prefactor  = 22.6334
  Prefactor  = 18.7006
  norm       = 2.28927
  Prefactor  = 12.6039
  Prefactor  = 5.71896
  Prefactor  = 0
  Prefactor  = 11.3634
  Normalizat = 0.87283
  Prefactor  = 1.09148
 **********
 **   18 **HESSE 
 **********

 FCN=   16560.80     FROM HESSE     STATUS=OK           288 CALLS     1313 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.5293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.491        7.8583        .23271E-03   -1.5622    
   3  Prefactor     3.1627        4.2924        .56879E-03   -1.5672    
   4  Prefactor     12.964        3.0600        .27809E-03   -1.5636    
   5  norm          .25535E-08    3.3953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6032        6.8482        .63454E-03   -1.5676    
   7  Prefactor     .55511E-09    2.7640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.2452        3.8872        .40168E-03   -1.5658    
   9  Prefactor      .0000        1.4796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.633        9.0878        .21028E-03   -1.5613    
  11  Prefactor     18.701        23.449        .24448E-03   -1.5621    
  12  norm          2.2893        .49625        .67814E-03   -1.5678    
  13  Prefactor     12.604        8.9322        .28078E-03   -1.5637    
  14  Prefactor     5.7190        22.830        .44327E-03   -1.5660    
  15  Prefactor      .0000        .99550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.363        7.3836        .29680E-03   -1.5641    
  17  Normalizat    .87283        .12754        .71050E-01   -.97422    
  18  Prefactor     1.0915        .86447E-01    .37906E-01   -.89739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74458e-07
Minuit parameter uncertainties:
  1  9.77748e-07
  2  7.85834
  3  4.29237
  4  3.06002
  5  0.000185485
  6  6.84827
  7  7.98383e-05
  8  3.88725
  9  8.55056e-06
  10  9.08781
  11  23.4493
  12  0.496248
  13  8.93225
  14  22.8307
  15  2.36641e-06
  16  7.38362
  17  0.127584
  18  0.0864584
Done.

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

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  6.245e+00  3.887e+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

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.091e+00  8.646e-02  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:  8.728e-01  1.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.23
Ra Dec: 11.340 21.467
Photon Index (Fixed Index): 1.67 +/- 0.00
Photon Flux (Fixed Index): 1.11e-08 +/- 6.91e-09
Energy Flux (Fixed Index): 1.87e-05 +/- 1.17e-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) = 16559.2361477
delta logL = 1.56149115215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16559.1333563
delta logL = 1.66428256693

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16559.13     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      219 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3352        2.7612        .48359E-03   -.38537E-02
   2  alpha         .88804        .32171        .47523       -.61494E-04
   3  Normalizat    .87647        .12202        .70927E-01    .77742E-04
   4  Prefactor     1.0915        .85954E-01    .37917E-01    .46127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.33521
  alpha      = 0.888043
  Normalizat = 0.876474
  Prefactor  = 1.09153
 **********
 **   18 **HESSE 
 **********

 FCN=   16559.13     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3352        3.7472        .16565E-04   -1.5666    
   2  alpha         .88804        .43193        .21127E-02   -.70074    
   3  Normalizat    .87647        .13992        .31383E-03   -.97292    
   4  Prefactor     1.0915        .98747E-01    .19930E-03   -.89738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65795e-12
Minuit parameter uncertainties:
  1  3.74725
  2  0.435692
  3  0.139982
  4  0.0987637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/958581': 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) = 16559.1333562
delta logL = 1.66428268114

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  4.335e+00  3.747e+00  0.000e+00  1.000e+06 ( 1.000e-13)
171        alpha:  8.880e-01  4.357e-01  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.092e+00  9.876e-02  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:  8.765e-01  1.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.55
Ra Dec: 11.340 21.467
Photon Index (Free Index): 0.89 +/- 0.44
Photon Flux (Free Index): 5.04e-09 +/- 3.64e-09
Energy Flux (Free Index): 6.47e-05 +/- 5.54e-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/958581/cmap_HighResolution_699840001_700444801_4FGL_J0045.3+2128_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.11e-08', energy_flux2='6.47e-05', photon_flux_error='6.91e-09', dlogl='1.66e+00', energy_flux='1.87e-05', photon_flux2='5.04e-09', job_status='DONE', time_completed='2023-03-14 00:56:06.567342', photon_index_error2='0.44', photon_index2='0.89', ts='22.23', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='5.54e-05', EG='0.87', time_epoch_completed='1678780566.57', return_code='0', job_id='958581', GAL2='1.09', EG2='0.88', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='3.64e-09', ts2='25.55', photon_index='1.67' WHERE bin_id='762' AND source_name='4FGL J0045.3+2128' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:56:06 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 958581: <4FGL_J0045.3+2128_weekly_bin762> in cluster <slac> Done

Job <4FGL_J0045.3+2128_weekly_bin762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 00:40:25 2023
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:40:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:40:26 2023
Terminated at Tue Mar 14 00:56:07 2023
Results reported at Tue Mar 14 00:56:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.3+2128_weekly_bin762 11.3396 21.4668 699840001 700444801 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 :                                   762.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            942 sec.

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

