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


Performing analysis on: 4FGL_J0011.4+0057_weekly_bin760
RA = 2.8551, Dec = 0.9646
tmin = 698630401, tmax = 699235201
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='4528', job_status='RUN', time_executed='2023-02-28 00:05:28.315095', time_epoch_executed='1677571528.32' WHERE source_name='4FGL J0011.4+0057' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/4528

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/4528/ft1_4FGL_J0011.4+0057_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/4528/ft1_4FGL_J0011.4+0057_weekly_bin760.fits outfile=/scratch/kocevski/4528/ft1_filteredMKT_4FGL_J0011.4+0057_weekly_bin760.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.39
user 6.07
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.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/4528/ft1_filteredMKT_4FGL_J0011.4+0057_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/4528/ft1_filtered_4FGL_J0011.4+0057_weekly_bin760.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.62
user 0.39
sys 0.15

Number of photons that the gtmktime cut: 1083

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/4528/ft1_filtered_4FGL_J0011.4+0057_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/4528/ltcube_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.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/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits
.....................!
real 33.14
user 32.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/4528/ft1_filtered_4FGL_J0011.4+0057_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/4528/ltcube_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.fits outfile=/scratch/kocevski/4528/expmap_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.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/4528/ltcube_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.fits
.....................!
real 190.91
user 185.92
sys 4.46

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

Setting source of interest to:
4FGL J0011.4+0057 @ 2.8551 0.9646

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/4528/ft1_filtered_4FGL_J0011.4+0057_weekly_bin760.fits scfile=/scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits outfile=/scratch/kocevski/4528/cmap_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.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=2.8551 yref=0.9646 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.61
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/4528/ft1_filtered_4FGL_J0011.4+0057_weekly_bin760.fits scfile=/scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits outfile=/scratch/kocevski/4528/cmap_HighResolution_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.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=2.8551 yref=0.9646 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.40
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/4528/ft1_filtered_4FGL_J0011.4+0057_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/4528/Model_4FGL_J0011.4+0057_weekly_bin760.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/4528/ft1_filtered_4FGL_J0011.4+0057_weekly_bin760.fits.....................!
real 124.51
user 117.53
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/4528/ft1_filtered_4FGL_J0011.4+0057_weekly_bin760.fits', '/scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits', expMap='/scratch/kocevski/4528/expmap_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.fits', expCube='/scratch/kocevski/4528/ltcube_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/4528/Model_4FGL_J0011.4+0057_weekly_bin760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0011.4+0057'

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.882e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/4528/ft1_filtered_4FGL_J0011.4+0057_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/4528/ft2_4FGL_J0011.4+0057_weekly_bin760.fits
Exposure map: /scratch/kocevski/4528/expmap_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.fits
Exposure cube: /scratch/kocevski/4528/ltcube_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/4528/Model_4FGL_J0011.4+0057_weekly_bin760.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) = 12417.9715577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43070E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.0886       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20501E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.908       1.0000          .0000       .10000E+07
     6 'norm      '    2.4470       1.0000          .0000       .10000E+07
     7 'norm      '    .76605E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .81490E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .83368E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.9287       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.7756       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17377E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20274E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .36448E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5955       1.0000          .0000       .10000E+07
    16 'Prefactor '    23.426       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.6705       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.4528       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4736       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .74857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12417.91     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1202 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82323E-07    5.0798       -.45937E-07** at limit **
   2  Prefactor     7.0863        2.4826        .13458E-09   -.41012E-01
   3  Prefactor     .69944E-08    4.6400       -.16571E-06** at limit **
   4  norm          .55511E-10    .66522       -.43462E-07** at limit **
   5  Prefactor     11.902        4.3786        .29619E-08   -.13304    
   6  norm          2.4478        2.3415       -.27614E-07   -.36579E-02
   7  norm          .11102E-09    .93239       -.67883E-07** at limit **
   8  Prefactor     .59452E-07    6.1180       -.42331E-07** at limit **
   9  norm          .16653E-09    3.0407       -.46519E-09** at limit **
  10  Prefactor     6.9315        2.3234       -.47325E-08   -.86810E-02
  11  Prefactor     1.7763        2.7735        .79063E-07    .48874E-02
  12  Prefactor     .44964E-07    17.691       -.78233E-07** at limit **
  13  Prefactor     .52514E-07    11.952       -.22189E-07** at limit **
  14  norm          .44464E-07    5.7446        .37867E-07** at limit **
  15  Prefactor     3.5690        5.4169        .77983E-07    .15150E-02
  16  Prefactor     24.117        26.512        .30145E-07   -.20235E-01
  17  Prefactor     1.6595        1.4899        .68612E-08    .14682E-02
  18  Prefactor     9.5601        8.0347       -.33169E-08    .52872E-02
  19  Normalizat    1.4733        .17415       -.17876E-05   -.62291E-03
  20  Prefactor     .74854        .11808        .62122E-06   -.43986E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.2323e-08
  Prefactor  = 7.08628
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 11.9015
  norm       = 2.4478
  norm       = 1.11022e-10
  Prefactor  = 5.94524e-08
  norm       = 1.66533e-10
  Prefactor  = 6.93148
  Prefactor  = 1.7763
  Prefactor  = 4.4964e-08
  Prefactor  = 5.25135e-08
  norm       = 4.44644e-08
  Prefactor  = 3.56904
  Prefactor  = 24.1172
  Prefactor  = 1.65951
  Prefactor  = 9.56012
  Normalizat = 1.47331
  Prefactor  = 0.748537
 **********
 **   18 **HESSE 
 **********

 FCN=   12417.91     FROM HESSE     STATUS=OK           331 CALLS     1533 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82323E-07    5.4465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.0863        10.438        .37654E-03   -1.5655    
   3  Prefactor     .69944E-08    4.6744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    .66415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.902        10.240        .29005E-03   -1.5639    
   6  norm          2.4478        2.3856        .65369E-03   -1.5677    
   7  norm          .11102E-09    .92872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .59452E-07    6.4831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .16653E-09    8.8720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.9315        2.3178        .38090E-03   -1.5655    
  11  Prefactor     1.7763        2.7857        .78532E-03   -1.5681    
  12  Prefactor     .44964E-07    17.881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .52514E-07    12.215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .44464E-07    8.4305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.5690        5.4246        .53265E-03   -1.5670    
  16  Prefactor     24.117        27.345        .20666E-03   -1.5610    
  17  Prefactor     1.6595        21.342        .81531E-03   -1.5682    
  18  Prefactor     9.5601        8.0496        .32571E-03   -1.5646    
  19  Normalizat    1.4733        .15118        .60213E-01   -.78531    
  20  Prefactor     .74854        .10303        .43044E-01   -1.0165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34029e-07
Minuit parameter uncertainties:
  1  0.0013394
  2  10.4382
  3  0.000361403
  4  1.29583e-05
  5  10.2405
  6  2.38557
  7  2.17941e-05
  8  0.00124146
  9  8.01503e-05
  10  2.31777
  11  2.78572
  12  0.00179293
  13  0.00160215
  14  0.00122472
  15  5.42465
  16  27.3448
  17  11.9026
  18  8.04964
  19  0.151227
  20  0.103053
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  7.086e+00  1.044e+01  0.000e+00  1.000e+06 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.485e-01  1.031e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.473e+00  1.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.60
Ra Dec: 2.855 0.965
Photon Flux Upper Limit: 7.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/4528/likelihoodResults_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.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) = 12417.8631861
delta logL = 0.0475850037219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12417.8533627
delta logL = 0.0574083504889

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7160       1.0000          .0000       .10000E+07
     2 'Index     '    2.6760       1.0000          .0000       10.000    
     3 'Normalizat'    1.4637       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75252       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12417.85     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      257 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7312        11.927        .83978E-04    .20506E-02
   2  Index         2.6738        1.2310        .10318E-01    .41166E-03
   3  Normalizat    1.4638        .17126        .26703E-03   -.26396E-05
   4  Prefactor     .75250        .11865        .25172E-03   -.13188E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.73121
  Index      = 2.67377
  Normalizat = 1.4638
  Prefactor  = 0.752497
 **********
 **   18 **HESSE 
 **********

 FCN=   12417.85     FROM HESSE     STATUS=OK            27 CALLS      284 TOTAL
                     EDM=   .72E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7312        10.262        .16796E-04   -1.5660    
   2  Index         2.6738        1.0619        .20635E-02   -.48391    
   3  Normalizat    1.4638        .17109        .10681E-04   -.78801    
   4  Prefactor     .75250        .11852        .10069E-04   -1.0150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21702e-13
Minuit parameter uncertainties:
  1  10.2621
  2  1.07233
  3  0.171153
  4  0.118561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/4528': 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) = 12417.8533604
delta logL = 0.0574106740842

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  5.731e+00  1.026e+01  0.000e+00  1.000e+06 ( 1.000e-13)
52         Index:  2.674e+00  1.072e+00  0.000e+00  1.000e+01 (-1.000e+00)
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.525e-01  1.186e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.464e+00  1.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
Ra Dec: 2.855 0.965

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/4528/cmap_HighResolution_698630401_699235201_4FGL_J0011.4+0057_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2023-02-28 00:18:33.014549', job_id='4528', GAL2='0.75', fit_tolerance='1e-08', EG2='1.46', EG='1.47', time_epoch_completed='1677572313.01', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='5.74e-02', ts2='0.72', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='760' AND source_name='4FGL J0011.4+0057' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 00:18:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 4528: <4FGL_J0011.4+0057_weekly_bin760> in cluster <slac> Done

Job <4FGL_J0011.4+0057_weekly_bin760> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Feb 28 00:04:39 2023
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 00:04:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 00:04:41 2023
Terminated at Tue Feb 28 00:18:33 2023
Results reported at Tue Feb 28 00:18:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_weekly_bin760 2.8551 0.9646 698630401 699235201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0011.4+0057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   775.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             331.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            834 sec.

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

