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


Performing analysis on: 4FGL_J0045.3+2128_daily_bin1722
RA = 11.3396, Dec = 21.4668
tmin = 685670401, tmax = 685929601
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='229108', job_status='RUN', time_executed='2022-09-27 00:07:05.865172', time_epoch_executed='1664262425.87' WHERE source_name='4FGL J0045.3+2128' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229108

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229108/ft1_4FGL_J0045.3+2128_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229108/ft2_4FGL_J0045.3+2128_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229108/ft1_4FGL_J0045.3+2128_daily_bin1722.fits outfile=/scratch/kocevski/229108/ft1_filteredMKT_4FGL_J0045.3+2128_daily_bin1722.fits ra=11.3396 dec=21.4668 rad=12.0 tmin=685670401.0 tmax=685929601.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 3.64
user 3.41
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229108/ft2_4FGL_J0045.3+2128_daily_bin1722.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/229108/ft1_filteredMKT_4FGL_J0045.3+2128_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/229108/ft1_filtered_4FGL_J0045.3+2128_daily_bin1722.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 637

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229108/ft1_filtered_4FGL_J0045.3+2128_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/229108/ft2_4FGL_J0045.3+2128_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/229108/ltcube_685670401_685929601_4FGL_J0045.3+2128_daily_bin1722.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/229108/ft2_4FGL_J0045.3+2128_daily_bin1722.fits
.....................!
real 12.92
user 12.43
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229108/ft1_filtered_4FGL_J0045.3+2128_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229108/ft2_4FGL_J0045.3+2128_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/229108/ltcube_685670401_685929601_4FGL_J0045.3+2128_daily_bin1722.fits outfile=/scratch/kocevski/229108/expmap_685670401_685929601_4FGL_J0045.3+2128_daily_bin1722.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/229108/ltcube_685670401_685929601_4FGL_J0045.3+2128_daily_bin1722.fits
.....................!
real 190.85
user 185.55
sys 4.82

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/229108/ft1_filtered_4FGL_J0045.3+2128_daily_bin1722.fits scfile=/scratch/kocevski/229108/ft2_4FGL_J0045.3+2128_daily_bin1722.fits outfile=/scratch/kocevski/229108/cmap_685670401_685929601_4FGL_J0045.3+2128_daily_bin1722.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229108/ft1_filtered_4FGL_J0045.3+2128_daily_bin1722.fits scfile=/scratch/kocevski/229108/ft2_4FGL_J0045.3+2128_daily_bin1722.fits outfile=/scratch/kocevski/229108/cmap_HighResolution_685670401_685929601_4FGL_J0045.3+2128_daily_bin1722.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6603       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14952E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .35739E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.696       1.0000          .0000       .10000E+07
     5 'norm      '    3.0680       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28371E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31027E-03   1.0000          .0000       .10000E+07
     8 'norm      '    7.7419       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.2508       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.713       1.0000          .0000       .10000E+07
    11 'Prefactor '    .74156E-03   1.0000          .0000       .10000E+07
    12 'norm      '    2.3329       1.0000          .0000       .10000E+07
    13 'Prefactor '    19.016       1.0000          .0000       .10000E+07
    14 'Prefactor '    95.258       1.0000          .0000       .10000E+07
    15 'Prefactor '    .72164E-09   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28336E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .82507       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2016       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=   7163.005     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1320 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6630        3.0268        .16715E-06   -.25817E-03
   2  Prefactor     .55511E-10    6.1753        .20682E-06** at limit **
   3  Prefactor     .66613E-09    5.2468       -.14219E-06** at limit **
   4  Prefactor     12.702        5.3635       -.93082E-07    .50587E-03
   5  norm          3.0986        1.4843        .12949E-07   -.26528E-01
   6  Prefactor     .27756E-09    42.341       -.75561E-06** at limit **
   7  Prefactor     .33307E-09    4.7893        .13832E-06** at limit **
   8  norm          7.6775        6.5244        .62462E-08    .13275E-03
   9  Prefactor     2.2537        4.1455       -.27065E-06    .26914E-03
  10  Prefactor     11.697        1.6125       -.50460E-08   -.32876E-02
  11  Prefactor      .0000        27.612       -.68788E-07** at limit **
  12  norm          2.3303        .84730        .44823E-07   -.10192E-02
  13  Prefactor     18.745        14.575        .20302E-06    .10929E-02
  14  Prefactor     97.010        46.865        .42897E-07    .51199E-03
  15  Prefactor     .55511E-10    4.7260        .47456E-06** at limit **
  16  Prefactor      .0000        4.3491       -.20094E-06** at limit **
  17  Normalizat    .82511        .23786       -.19450E-05    .10807E-04
  18  Prefactor     1.2012        .16099       -.13324E-05    .27752E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66296
  Prefactor  = 5.55112e-11
  Prefactor  = 6.66134e-10
  Prefactor  = 12.7017
  norm       = 3.09865
  Prefactor  = 2.77556e-10
  Prefactor  = 3.33067e-10
  norm       = 7.67746
  Prefactor  = 2.25369
  Prefactor  = 11.6969
  Prefactor  = 0
  norm       = 2.33027
  Prefactor  = 18.7449
  Prefactor  = 97.01
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Normalizat = 0.825109
  Prefactor  = 1.20118
 **********
 **   18 **HESSE 
 **********

 FCN=   7163.005     FROM HESSE     STATUS=OK           282 CALLS     1602 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6630        3.0497        .81844E-03   -1.5682    
   2  Prefactor     .55511E-10    6.1829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .66613E-09    5.2628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.702        5.3707        .28087E-03   -1.5637    
   5  norm          3.0986        12.985        .57888E-03   -1.5673    
   6  Prefactor     .27756E-09    42.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33307E-09    4.8354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.6775        6.5677        .36015E-03   -1.5653    
   9  Prefactor     2.2537        4.1651        .68461E-03   -1.5678    
  10  Prefactor     11.697        10.346        .29246E-03   -1.5640    
  11  Prefactor      .0000        27.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3303        .84815        .67112E-03   -1.5677    
  13  Prefactor     18.745        14.566        .22940E-03   -1.5621    
  14  Prefactor     97.010        46.879        .10246E-03   -1.5511    
  15  Prefactor     .55511E-10    4.7226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        4.3447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .82511        .21160        .78268E-01   -.99144    
  18  Prefactor     1.2012        .14306        .34594E-01   -.86295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4709e-08
Minuit parameter uncertainties:
  1  3.04968
  2  4.28272e-05
  3  0.000119487
  4  5.37074
  5  12.6864
  6  0.000209489
  7  7.94122e-05
  8  6.56771
  9  4.16514
  10  10.3457
  11  4.45646e-06
  12  0.848145
  13  14.5657
  14  46.8792
  15  2.83075e-05
  16  1.85091e-05
  17  0.211811
  18  0.143106
Done.

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

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  7.677e+00  6.568e+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.201e+00  1.431e-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:  8.251e-01  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.50
Ra Dec: 11.340 21.467
Photon Index (Fixed Index): 1.67 +/- 0.00
Photon Flux (Fixed Index): 1.37e-08 +/- 1.17e-08
Energy Flux (Fixed Index): 2.30e-05 +/- 1.97e-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) = 7162.18400352
delta logL = 0.821368268284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7161.77388509
delta logL = 1.23148669626

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2239       1.0000          .0000       .10000E+07
     2 'alpha     '    .27080       1.0000          .0000       5.0000    
     3 'Normalizat'    .82921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2040       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=   7161.774     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      221 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2162        1.5284        .20000E-02   -.31099E-01
   2  alpha         .26799        .67610        .50000        .13354E-03
   3  Normalizat    .82892        .20383        .78126E-01    .25578E-03
   4  Prefactor     1.2042        .14092        .34538E-01   -.74456E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.2162
  alpha      = 0.267987
  Normalizat = 0.828922
  Prefactor  = 1.20422
 **********
 **   18 **HESSE 
 **********

 FCN=   7161.774     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2162        3.0646        .73328E-04   -1.5686    
   2  alpha         .26799        .85370        .34073E-01   -1.1035    
   3  Normalizat    .82892        .23159        .34584E-03   -.99005    
   4  Prefactor     1.2042        .16048        .20121E-03   -.86202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64792e-09
Minuit parameter uncertainties:
  1  3.06465
  2  0.968888
  3  0.231862
  4  0.160548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229108': 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) = 7161.77387982
delta logL = 1.23149197071

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  1.216e+00  3.065e+00  0.000e+00  1.000e+06 ( 1.000e-13)
171        alpha:  2.680e-01  9.689e-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.204e+00  1.605e-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:  8.289e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.96
Ra Dec: 11.340 21.467
Photon Index (Free Index): 0.27 +/- 0.97
Photon Flux (Free Index): 3.40e-09 +/- 3.50e-09
Energy Flux (Free Index): 1.11e-04 +/- 1.36e-04

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/229108/cmap_HighResolution_685670401_685929601_4FGL_J0045.3+2128_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.37e-08', energy_flux2='1.11e-04', photon_flux_error='1.17e-08', dlogl='1.23e+00', energy_flux='2.30e-05', photon_flux2='3.40e-09', job_status='DONE', time_completed='2022-09-27 00:15:32.854006', photon_index_error2='0.97', photon_index2='0.27', ts='12.50', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.36e-04', EG='0.83', time_epoch_completed='1664262932.85', return_code='0', job_id='229108', GAL2='1.20', EG2='0.83', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='3.50e-09', ts2='14.96', photon_index='1.67' WHERE bin_id='1722' AND source_name='4FGL J0045.3+2128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 00:15:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 229108: <4FGL_J0045.3+2128_daily_bin1722> in cluster <slac> Done

Job <4FGL_J0045.3+2128_daily_bin1722> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 27 00:04:42 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 00:04:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 00:04:43 2022
Terminated at Tue Sep 27 00:15:33 2022
Results reported at Tue Sep 27 00:15:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.3+2128_daily_bin1722 11.3396 21.4668 685670401 685929601 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 :                                   509.00 sec.
    Max Memory :                                 1103 MB
    Average Memory :                             322.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            651 sec.

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

