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 125 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.DDone.


Performing analysis on: 4FGL_J0045.3+2128_daily_bin1670
RA = 11.3396, Dec = 21.4668
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='862195', job_status='RUN', time_executed='2022-04-24 00:13:39.445335', time_epoch_executed='1650784419.45' WHERE source_name='4FGL J0045.3+2128' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862195

Creating custom pfile directory:
/scratch/kocevski/862195/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/862195/ft1_4FGL_J0045.3+2128_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/862195/ft2_4FGL_J0045.3+2128_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862195/ft1_4FGL_J0045.3+2128_daily_bin1670.fits outfile=/scratch/kocevski/862195/ft1_filteredMKT_4FGL_J0045.3+2128_daily_bin1670.fits ra=11.3396 dec=21.4668 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.10
user 4.82
sys 0.23

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

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

Number of photons that the gtmktime cut: 554

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862195/ft1_filtered_4FGL_J0045.3+2128_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862195/ft2_4FGL_J0045.3+2128_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862195/ltcube_672192001_672451201_4FGL_J0045.3+2128_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/862195/ft2_4FGL_J0045.3+2128_daily_bin1670.fits
.....................!
real 12.46
user 11.64
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862195/ft1_filtered_4FGL_J0045.3+2128_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862195/ft2_4FGL_J0045.3+2128_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862195/ltcube_672192001_672451201_4FGL_J0045.3+2128_daily_bin1670.fits outfile=/scratch/kocevski/862195/expmap_672192001_672451201_4FGL_J0045.3+2128_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/862195/ltcube_672192001_672451201_4FGL_J0045.3+2128_daily_bin1670.fits
.....................!
real 189.99
user 185.32
sys 4.32

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/862195/ft1_filtered_4FGL_J0045.3+2128_daily_bin1670.fits scfile=/scratch/kocevski/862195/ft2_4FGL_J0045.3+2128_daily_bin1670.fits outfile=/scratch/kocevski/862195/cmap_672192001_672451201_4FGL_J0045.3+2128_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.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862195/ft1_filtered_4FGL_J0045.3+2128_daily_bin1670.fits scfile=/scratch/kocevski/862195/ft2_4FGL_J0045.3+2128_daily_bin1670.fits outfile=/scratch/kocevski/862195/cmap_HighResolution_672192001_672451201_4FGL_J0045.3+2128_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.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.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862195/ft1_filtered_4FGL_J0045.3+2128_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862195/ft2_4FGL_J0045.3+2128_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862195/Model_4FGL_J0045.3+2128_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/862195/ft1_filtered_4FGL_J0045.3+2128_daily_bin1670.fits.....................!
real 64.95
user 63.51
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862195/ft1_filtered_4FGL_J0045.3+2128_daily_bin1670.fits', '/scratch/kocevski/862195/ft2_4FGL_J0045.3+2128_daily_bin1670.fits', expMap='/scratch/kocevski/862195/expmap_672192001_672451201_4FGL_J0045.3+2128_daily_bin1670.fits', expCube='/scratch/kocevski/862195/ltcube_672192001_672451201_4FGL_J0045.3+2128_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862195/Model_4FGL_J0045.3+2128_daily_bin1670.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  1.000e-04  1.000e+04 ( 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  0.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/862195/ft1_filtered_4FGL_J0045.3+2128_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/862195/ft2_4FGL_J0045.3+2128_daily_bin1670.fits
Exposure map: /scratch/kocevski/862195/expmap_672192001_672451201_4FGL_J0045.3+2128_daily_bin1670.fits
Exposure cube: /scratch/kocevski/862195/ltcube_672192001_672451201_4FGL_J0045.3+2128_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862195/Model_4FGL_J0045.3+2128_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) = 6271.28840346

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4182       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7111       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0162       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.4779       1.0000         .10000E-03   10000.    
     6 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .43130E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0418       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    119.41       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2970       1.0000         .10000E-03   10000.    
    14 'norm      '    2.5244       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .64550       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1577       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10981E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11757E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .77143       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1418       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6271.284     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     2040 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4184        1.6331       -.26708E-06   -.20059E-03
   2  Prefactor     3.7135        7.2870        .80105E-05   -.30903E-03
   3  Prefactor     .10000E-03    2.3555       -.57026E-07** at limit **
   4  Prefactor     6.0035        89.011       -.52471E-05   -.47956E-04
   5  Prefactor     5.4720        3.3801       -.36797E-06    .29278E-04
   6  norm          .10000E-03    3.2796        .46042E-07** at limit **
   7  Prefactor     .10005E-03    96.328       -.18479E-04** at limit **
   8  Prefactor     .10000E-03    9.2609        .16928E-06** at limit **
   9  norm          .10000E-03    2.6700        .29428E-07** at limit **
  10  Prefactor     2.0443        6.7987        .11668E-05   -.18967E-04
  11  Prefactor     .10000E-03    24.794        .29401E-05** at limit **
  12  Prefactor     119.39        70.575       -.20612E-05   -.16630E-03
  13  Prefactor     4.3112        32.362        .54228E-05    .13434E-03
  14  norm          2.5247        .88448       -.14729E-07    .52128E-03
  15  Prefactor     .64789        8.6851        .68734E-06   -.90947E-04
  16  Prefactor     7.1115        60.368       -.14803E-04   -.18727E-03
  17  Prefactor     .10000E-03    4.8228       -.27427E-05** at limit **
  18  Prefactor     .10000E-03    17.701       -.24908E-05** at limit **
  19  Normalizat    .77122        .20440       -.65703E-07    .53743E-04
  20  Prefactor     1.1417        .13967       -.52172E-06    .17272E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.41835
  Prefactor  = 3.71346
  Prefactor  = 0.0001
  Prefactor  = 6.00347
  Prefactor  = 5.47197
  norm       = 0.0001
  Prefactor  = 0.000100048
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.04435
  Prefactor  = 0.000100001
  Prefactor  = 119.391
  Prefactor  = 4.31119
  norm       = 2.52475
  Prefactor  = 0.647885
  Prefactor  = 7.11147
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.77122
  Prefactor  = 1.14173
 **********
 **   18 **HESSE 
 **********

 FCN=   6271.284     FROM HESSE     STATUS=OK           291 CALLS     2331 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4184        1.6268        .10530E-03   -1.5470    
   2  Prefactor     3.7135        7.5394        .10481E-02   -1.5323    
   3  Prefactor     .10000E-03    2.3598        .11870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.0035        89.791        .16370E-03   -1.5218    
   5  Prefactor     5.4720        3.3753        .11012E-03   -1.5240    
   6  norm          .10000E-03    3.2817        .14006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10005E-03    102.54        .42457E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.2869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.6713        .12638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0443        6.7905        .28939E-03   -1.5422    
  11  Prefactor     .10000E-03    25.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     119.39        70.620        .18413E-03   -1.3518    
  13  Prefactor     4.3112        32.740        .19435E-03   -1.5293    
  14  norm          2.5247        .88407        .41139E-04   -1.5390    
  15  Prefactor     .64789        32.965        .44619E-02   -1.5547    
  16  Prefactor     7.1115        64.648        .14993E-03   -1.5175    
  17  Prefactor     .10000E-03    4.8387        .16799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .77122        .23403        .32854E-03   -1.0115    
  20  Prefactor     1.1417        .16131        .18928E-03   -.88144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93884e-08
Minuit parameter uncertainties:
  1  1.62687
  2  7.54137
  3  7.00688e-06
  4  46.5186
  5  3.37545
  6  1.95008e-06
  7  0.00443783
  8  4.8756e-06
  9  9.40233e-07
  10  6.79305
  11  0.000386586
  12  70.67
  13  23.7792
  14  0.884075
  15  9.24747
  16  42.9445
  17  0.000121675
  18  2.97691e-06
  19  0.234336
  20  0.16138
Done.

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

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  1.000e-04  9.402e-07  1.000e-04  1.000e+04 ( 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  0.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.142e+00  1.614e-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.712e-01  2.343e-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: 2.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.56e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862195/likelihoodResults_672192001_672451201_4FGL_J0045.3+2128_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): 0
logL (Free Index) = 6271.28614649
delta logL = -0.00171228242289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6271.28443434
delta logL = -1.23531208374e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6649       1.0000          .0000       5.0000    
     3 'Normalizat'    .77133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1416       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6271.284     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      227 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    620.05        .12647E-02** at limit **
   2  alpha         1.5504        2.7702        .17805        .16090E-07
   3  Normalizat    .77122        .16487        .32853E-03   -.84400E-04
   4  Prefactor     1.1417        .11425        .18928E-03   -.17318E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.55035
  Normalizat = 0.771221
  Prefactor  = 1.14173
 **********
 **   18 **HESSE 
 **********

 FCN=   6271.284     FROM HESSE     STATUS=OK            23 CALLS      250 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6995        .25293E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5504        2.5339        .71221E-02   -.38964    
   3  Normalizat    .77122        .23047        .13141E-04   -1.0115    
   4  Prefactor     1.1417        .15978        .37857E-04   -.88144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09888e-11
Minuit parameter uncertainties:
  1  5.68121e-06
  2  188.966
  3  0.23076
  4  0.159847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862195': 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) = 6271.28443402
delta logL = 1.93803316506e-07

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  1.000e-04  5.681e-06  1.000e-04  1.000e+04 ( 1.000e-13)
171        alpha:  1.550e+00  1.890e+02  0.000e+00  5.000e+00 ( 1.000e+00)
172         beta:  7.630e-02  0.000e+00  0.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.142e+00  1.598e-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.712e-01  2.308e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/862195/cmap_HighResolution_672192001_672451201_4FGL_J0045.3+2128_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.56e-05', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2022-04-24 00:23:20.070721', job_id='862195', GAL2='1.14', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1650785000.07', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.94e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.67' WHERE bin_id='1670' AND source_name='4FGL J0045.3+2128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:23:20 PDT 2022

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

Job <4FGL_J0045.3+2128_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) <bullet0278>, 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:21:44 2022
Results reported at Sun Apr 24 00:21:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.3+2128_daily_bin1670 11.3396 21.4668 672192001 672451201 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 :                                   574.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            808 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 862195: <4FGL_J0045.3+2128_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0045.3+2128_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) <bullet0283>, 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 00:23:20 2022
Results reported at Sun Apr 24 00:23:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.3+2128_daily_bin1670 11.3396 21.4668 672192001 672451201 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 :                                   573.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            900 sec.

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

