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


Performing analysis on: 4FGL_J0128.5+4440_daily_bin1723
RA = 22.1438, Dec = 44.6777
tmin = 685929601, tmax = 686188801
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='430199', job_status='RUN', time_executed='2022-09-30 00:08:14.903138', time_epoch_executed='1664521694.9' WHERE source_name='4FGL J0128.5+4440' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430199

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430199/ft1_4FGL_J0128.5+4440_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430199/ft1_4FGL_J0128.5+4440_daily_bin1723.fits outfile=/scratch/kocevski/430199/ft1_filteredMKT_4FGL_J0128.5+4440_daily_bin1723.fits ra=22.1438 dec=44.6777 rad=12.0 tmin=685929601.0 tmax=686188801.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.73
user 3.45
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.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/430199/ft1_filteredMKT_4FGL_J0128.5+4440_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430199/ft1_filtered_4FGL_J0128.5+4440_daily_bin1723.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 1.76
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 1106

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430199/ft1_filtered_4FGL_J0128.5+4440_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430199/ltcube_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.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/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits
.....................!
real 15.39
user 14.75
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430199/ft1_filtered_4FGL_J0128.5+4440_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430199/ltcube_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.fits outfile=/scratch/kocevski/430199/expmap_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.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/430199/ltcube_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.fits
.....................!
real 194.74
user 189.26
sys 4.66

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
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 171 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0128.5+4440 @ 22.1438 44.6777

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430199/ft1_filtered_4FGL_J0128.5+4440_daily_bin1723.fits scfile=/scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits outfile=/scratch/kocevski/430199/cmap_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.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=22.1438 yref=44.6777 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430199/ft1_filtered_4FGL_J0128.5+4440_daily_bin1723.fits scfile=/scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits outfile=/scratch/kocevski/430199/cmap_HighResolution_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.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=22.1438 yref=44.6777 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/430199/ft1_filtered_4FGL_J0128.5+4440_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430199/Model_4FGL_J0128.5+4440_daily_bin1723.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
adding source HB 3
adding source W 3
Working on...
/scratch/kocevski/430199/ft1_filtered_4FGL_J0128.5+4440_daily_bin1723.fits.....................!
real 121.20
user 118.74
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430199/ft1_filtered_4FGL_J0128.5+4440_daily_bin1723.fits', '/scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits', expMap='/scratch/kocevski/430199/expmap_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.fits', expCube='/scratch/kocevski/430199/ltcube_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430199/Model_4FGL_J0128.5+4440_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0128.5+4440'

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  2.926e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430199/ft1_filtered_4FGL_J0128.5+4440_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430199/ft2_4FGL_J0128.5+4440_daily_bin1723.fits
Exposure map: /scratch/kocevski/430199/expmap_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430199/ltcube_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430199/Model_4FGL_J0128.5+4440_daily_bin1723.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) = 11554.7899472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5815       1.0000          .0000       .10000E+07
     2 'Prefactor '    24.882       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11185E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .46791E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29099E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.3634       1.0000          .0000       .10000E+07
     7 'norm      '    .42876       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.7698       1.0000          .0000       .10000E+07
     9 'norm      '    5.2008       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11457E-02   1.0000          .0000       .10000E+07
    11 'norm      '    1.4204       1.0000          .0000       .10000E+07
    12 'norm      '    .55643       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0569       1.0000          .0000       .10000E+07
    14 'Prefactor '    .49853       1.0000          .0000       .10000E+07
    15 'Prefactor '    16.186       1.0000          .0000       .10000E+07
    16 'norm      '    .11233       1.0000          .0000       .10000E+07
    17 'Normalizat'    .93840       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11554.78     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1307 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5829        2.6781        .17051E-06   -.43345E-03
   2  Prefactor     24.869        1.0421       -.10468E-07    .87701E-02
   3  Prefactor      .0000        17.481        .15322E-05** at limit **
   4  Prefactor     .55511E-10    8.0961       -.31697E-05** at limit **
   5  Prefactor      .0000        3.0640        .36779E-06** at limit **
   6  Prefactor     1.3392        9.1144       -.10553E-05   -.77996E-03
   7  norm          .60068E-05    247.07       -.14300E-06** at limit **
   8  Prefactor     5.7541        1.6912       -.24813E-06    .43312E-01
   9  norm          5.2023        3.2502        .11498E-06   -.83548E-03
  10  Prefactor     .49960E-09    9.6883       -.12608E-06** at limit **
  11  norm          1.4198        1.0812       -.86059E-07    .10062E-03
  12  norm          .55639        .48454       -.11643E-06    .20998E-02
  13  Prefactor     4.1226        10.965        .20082E-05    .42222E-02
  14  Prefactor     .49954        2.4575       -.34589E-06    .11362E-02
  15  Prefactor     15.613        14.499       -.18431E-07   -.36836E-01
  16  norm          .11228        .11489        .10759E-06** at limit **
  17  Normalizat    .93837        .18832       -.96855E-05    .30045E-04
  18  Prefactor     .98391        .73167E-01    .62079E-05   -.86945E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.58285
  Prefactor  = 24.8687
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 1.33917
  norm       = 6.00681e-06
  Prefactor  = 5.75413
  norm       = 5.20229
  Prefactor  = 4.996e-10
  norm       = 1.41982
  norm       = 0.556393
  Prefactor  = 4.12264
  Prefactor  = 0.49954
  Prefactor  = 15.6128
  norm       = 0.112281
  Normalizat = 0.938369
  Prefactor  = 0.983908
 **********
 **   18 **HESSE 
 **********

 FCN=   11554.78     FROM HESSE     STATUS=OK           288 CALLS     1595 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5829        2.7401        .63491E-03   -1.5676    
   2  Prefactor     24.869        16.454        .20052E-03   -1.5608    
   3  Prefactor      .0000        17.412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    8.0989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.0581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3392        9.3524        .93450E-03   -1.5685    
   7  norm          .60068E-05    285.70        .86227E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.7541        12.444        .41790E-03   -1.5660    
   9  norm          5.2023        3.2494        .44056E-03   -1.5662    
  10  Prefactor     .49960E-09    9.7428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.4198        1.0743        .90739E-04   -1.5684    
  12  norm          .55639        .48998        .73225E-03   -1.5693    
  13  Prefactor     4.1226        11.134        .50036E-03   -1.5667    
  14  Prefactor     .49954        2.5730        .78857E-03   -1.5694    
  15  Prefactor     15.613        37.587        .24868E-03   -1.5629    
  16  norm          .11228        .13519        .80815E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .93837        .17693        .86594E-01   -.95125    
  18  Prefactor     .98391        .66979E-01    .34648E-01   -.93268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64125e-06
Minuit parameter uncertainties:
  1  2.74008
  2  16.4536
  3  3.87635e-05
  4  3.42827e-05
  5  1.11734e-05
  6  7.07798
  7  0.082857
  8  12.4442
  9  3.24938
  10  0.000140188
  11  1.07427
  12  0.489981
  13  11.1342
  14  2.26745
  15  37.5879
  16  0.135193
  17  0.177039
  18  0.0669846
Done.

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

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  4.996e-10  1.402e-04  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.839e-01  6.698e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.384e-01  1.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 22.144 44.678
Photon Flux Upper Limit: 3.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430199/likelihoodResults_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.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) = 11554.8296262
delta logL = -0.0490249583108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11554.7806013
delta logL = -6.495793059e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17603E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .86627       1.0000          .0000       10.000    
     3 'Normalizat'    .93831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98393       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11554.78     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      239 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18874E-08    .12273        .42118E-03** at limit **
   2  Index         2.2320        6.9728        .44574        .61213E-09
   3  Normalizat    .93837        .56527E-03    .86594E-01    .26963E-03
   4  Prefactor     .98391        .23177E-03    .34648E-01    .38364E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88738e-09
  Index      = 2.23199
  Normalizat = 0.93837
  Prefactor  = 0.983907
 **********
 **   18 **HESSE 
 **********

 FCN=   11554.78     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      272 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18874E-08    .45274        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2320        5.3983        .50000       -.58668    
   3  Normalizat    .93837        .10828E-02    .38344E-03   -.95125    
   4  Prefactor     .98391        .44507E-03    .15310E-03   -.93268    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.48463e-12
Minuit parameter uncertainties:
  1  5.82131e-05
  2  3305.44
  3  0.00108277
  4  0.000445067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430199': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11554.7806012
delta logL = -1.61890056916e-10

Extracting fit parameters...

4FGL J0128.5+4440
   Spectrum: PowerLaw
246    Prefactor:  1.887e-09  5.821e-05  0.000e+00  1.000e+06 ( 1.000e-14)
247        Index:  2.232e+00  3.305e+03  0.000e+00  1.000e+01 (-1.000e+00)
248        Scale:  2.341e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.839e-01  4.451e-04  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.384e-01  1.083e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 22.144 44.678

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/430199/cmap_HighResolution_685929601_686188801_4FGL_J0128.5+4440_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.74e-08', time_completed='2022-09-30 00:20:52.928415', job_id='430199', GAL2='0.98', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1664522452.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-1.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1723' AND source_name='4FGL J0128.5+4440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:20:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 430199: <4FGL_J0128.5+4440_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0128.5+4440_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:01 2022
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:11 2022
Terminated at Fri Sep 30 00:20:54 2022
Results reported at Fri Sep 30 00:20:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0128.5+4440_daily_bin1723 22.1438 44.6777 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0128.5+4440 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   752.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            953 sec.

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

