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


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1689
RA = 7.1222, Dec = 20.0311
tmin = 677116801, tmax = 677376001
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='974972', job_status='RUN', time_executed='2022-06-20 00:07:16.937443', time_epoch_executed='1655708836.94' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/974972

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/974972/ft1_4FGL_J0028.4+2001_daily_bin1689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/974972/ft1_4FGL_J0028.4+2001_daily_bin1689.fits outfile=/scratch/kocevski/974972/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1689.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=677116801.0 tmax=677376001.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 2.83
user 2.51
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.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/974972/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1689.fits evtable="EVENTS" outfile="/scratch/kocevski/974972/ft1_filtered_4FGL_J0028.4+2001_daily_bin1689.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.53
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 930

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/974972/ft1_filtered_4FGL_J0028.4+2001_daily_bin1689.fits" evtable="EVENTS" scfile=/scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits sctable="SC_DATA" outfile=/scratch/kocevski/974972/ltcube_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.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/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits
.....................!
real 17.99
user 17.50
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/974972/ft1_filtered_4FGL_J0028.4+2001_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits sctable="SC_DATA" expcube=/scratch/kocevski/974972/ltcube_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.fits outfile=/scratch/kocevski/974972/expmap_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.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/974972/ltcube_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.fits
.....................!
real 192.36
user 186.20
sys 5.58

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J0028.4+2001 @ 7.1222 20.0311

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/974972/ft1_filtered_4FGL_J0028.4+2001_daily_bin1689.fits scfile=/scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits outfile=/scratch/kocevski/974972/cmap_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.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=7.1222 yref=20.0311 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/974972/ft1_filtered_4FGL_J0028.4+2001_daily_bin1689.fits scfile=/scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits outfile=/scratch/kocevski/974972/cmap_HighResolution_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.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=7.1222 yref=20.0311 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/974972/ft1_filtered_4FGL_J0028.4+2001_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/974972/Model_4FGL_J0028.4+2001_daily_bin1689.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/974972/ft1_filtered_4FGL_J0028.4+2001_daily_bin1689.fits.....................!
real 103.06
user 100.38
sys 1.50

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/974972/ft1_filtered_4FGL_J0028.4+2001_daily_bin1689.fits', '/scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits', expMap='/scratch/kocevski/974972/expmap_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.fits', expCube='/scratch/kocevski/974972/ltcube_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/974972/Model_4FGL_J0028.4+2001_daily_bin1689.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0028.4+2001'

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.480e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/974972/ft1_filtered_4FGL_J0028.4+2001_daily_bin1689.fits
Spacecraft file(s): /scratch/kocevski/974972/ft2_4FGL_J0028.4+2001_daily_bin1689.fits
Exposure map: /scratch/kocevski/974972/expmap_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.fits
Exposure cube: /scratch/kocevski/974972/ltcube_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/974972/Model_4FGL_J0028.4+2001_daily_bin1689.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) = 10089.7922997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7223       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2601       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10809E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.084       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5615       1.0000         .10000E-03   10000.    
     6 'norm      '    4.3447       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5699       1.0000         .10000E-03   10000.    
     9 'norm      '    3.2809       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.0886       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24530E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10436E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10169E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0708       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10089.75     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1614 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7225        2.4271        .52325E-02    .72615E-03
   2  Prefactor     2.2552        4.1835        .68313E-02    .14029E-02
   3  Prefactor     .10000E-03    3.0255        .90712E-02** at limit **
   4  Prefactor     18.123        26.024        .23546E-02   -.65492E-04
   5  Prefactor     3.5625        2.7681        .53540E-02    .45199E-03
   6  norm          4.3346        5.8566        .48312E-02    .23892E-03
   7  Prefactor     .10000E-03    8.0003        .90712E-02** at limit **
   8  Prefactor     5.5786        7.5097        .42557E-02   -.17788E-02
   9  norm          3.2897        4.5699        .55886E-02    .45282E-03
  10  Prefactor     4.0864        3.5210        .49846E-02   -.63914E-04
  11  Prefactor     .10000E-03    5.8184        .90712E-02** at limit **
  12  Prefactor     .10000E-03    16.294        .90712E-02** at limit **
  13  Prefactor     .10000E-03    6.6499        .90712E-02** at limit **
  14  norm          .10000E-03    .15494        .14891E-01** at limit **
  15  Prefactor     .10000E-03    2.8970        .90712E-02** at limit **
  16  Normalizat    1.0706        .14359        .60087E-01    .13214E-04
  17  Prefactor     .94028        .98982E-01    .45515E-01   -.45749E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.72255
  Prefactor  = 2.25523
  Prefactor  = 0.0001
  Prefactor  = 18.1229
  Prefactor  = 3.56254
  norm       = 4.33456
  Prefactor  = 0.0001
  Prefactor  = 5.5786
  norm       = 3.28972
  Prefactor  = 4.08635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07064
  Prefactor  = 0.940277
 **********
 **   18 **HESSE 
 **********

 FCN=   10089.75     FROM HESSE     STATUS=OK           227 CALLS     1841 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7225        2.4195        .11859E-03   -1.5322    
   2  Prefactor     2.2552        4.1499        .26965E-03   -1.5408    
   3  Prefactor     .10000E-03    3.0405        .17059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.123        26.034        .94183E-04   -1.4856    
   5  Prefactor     3.5625        2.7636        .14048E-03   -1.5330    
   6  norm          4.3346        5.8495        .19325E-03   -1.5292    
   7  Prefactor     .10000E-03    8.0176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5786        7.4993        .17023E-03   -1.5236    
   9  norm          3.2897        4.5589        .22355E-03   -1.5345    
  10  Prefactor     4.0864        3.5178        .16952E-03   -1.5304    
  11  Prefactor     .10000E-03    5.8656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.6566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .78725        .77019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.9398        .16690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0706        .16894        .26574E-03   -.90700    
  17  Prefactor     .94028        .11663        .19658E-03   -.94748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27319e-09
Minuit parameter uncertainties:
  1  2.41961
  2  4.15045
  3  8.56635e-06
  4  26.0498
  5  2.76368
  6  5.85026
  7  7.51989e-05
  8  7.5006
  9  4.55943
  10  3.51802
  11  5.4011e-06
  12  7.58014e-05
  13  8.07391e-05
  14  2.75959e-07
  15  1.15377e-06
  16  0.169026
  17  0.116658
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  3.563e+00  2.764e+00  1.000e-04  1.000e+04 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.403e-01  1.167e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.071e+00  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.66
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.78e-08 +/- 2.93e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 9.44e-06

TS (Fixed Index): 2.66
Ra Dec: 7.122 20.031
Photon Flux Upper Limit: 9.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/974972/likelihoodResults_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.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) = 10089.7034441
delta logL = 0.0425876662448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10089.6946098
delta logL = 0.0514219551278

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9657       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1939       1.0000          .0000       10.000    
     3 'Normalizat'    1.0808       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93538       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10089.69     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      238 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9648        77.185        .50637E-02    .53387E-03
   2  Index         2.1934        6.0315        .24781        .12904E-04
   3  Normalizat    1.0809        .76647E-01    .59837E-01    .17871E-04
   4  Prefactor     .93533        .37764E-01    .45454E-01    .88723E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.96479
  Index      = 2.19343
  Normalizat = 1.08088
  Prefactor  = 0.935327
 **********
 **   18 **HESSE 
 **********

 FCN=   10089.69     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9648        3.1978        .15005E-03   -1.5310    
   2  Index         2.1934        .64902        .10211E-01   -.59597    
   3  Normalizat    1.0809        .16868        .26464E-03   -.90368    
   4  Prefactor     .93533        .11697        .19702E-03   -.94917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49311e-12
Minuit parameter uncertainties:
  1  3.19791
  2  0.651716
  3  0.168761
  4  0.116997
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/974972': 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) = 10089.6946092
delta logL = 0.0514225329916

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  3.965e+00  3.198e+00  1.000e-04  1.000e+04 ( 1.000e-12)
113        Index:  2.193e+00  6.517e-01  0.000e+00  1.000e+01 (-1.000e+00)
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.353e-01  1.170e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.081e+00  1.688e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.76
Ra Dec: 7.122 20.031
Photon Index (Free Index): 2.19 +/- 0.65
Photon Flux (Free Index): 3.15e-08 +/- 3.10e-08
Energy Flux (Free Index): 1.43e-05 +/- 1.43e-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/974972/cmap_HighResolution_677116801_677376001_4FGL_J0028.4+2001_daily_bin1689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', comment='SUCCESS', photon_flux='3.78e-08', energy_flux2='1.43e-05', photon_flux_error='2.93e-08', dlogl='5.14e-02', energy_flux='1.22e-05', photon_flux2='3.15e-08', job_status='DONE', time_completed='2022-06-20 00:18:48.907917', photon_index_error2='0.65', photon_index2='2.19', ts='2.66', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='9.97e-08', energy_flux_error2='1.43e-05', EG='1.07', time_epoch_completed='1655709528.91', return_code='0', job_id='974972', GAL2='0.94', EG2='1.08', return_code2='0', energy_flux_error='9.44e-06', photon_flux_error2='3.10e-08', ts2='2.76', photon_index='2.41' WHERE bin_id='1689' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 20 00:18:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 974972: <4FGL_J0028.4+2001_daily_bin1689> in cluster <slac> Done

Job <4FGL_J0028.4+2001_daily_bin1689> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Jun 20 00:04:34 2022
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 00:05:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 00:05:12 2022
Terminated at Mon Jun 20 00:18:49 2022
Results reported at Mon Jun 20 00:18:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0028.4+2001_daily_bin1689 7.1222 20.0311 677116801 677376001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0028.4+2001 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   688.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            855 sec.

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

