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


Performing analysis on: 4FGL_J0011.4+0057_weekly_bin747
RA = 2.8551, Dec = 0.9646
tmin = 690768001, tmax = 691372801
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='461248', job_status='RUN', time_executed='2022-11-29 01:02:22.765795', time_epoch_executed='1669712542.77' WHERE source_name='4FGL J0011.4+0057' and cadence='weekly' and bin_id='747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/461248

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/461248/ft1_4FGL_J0011.4+0057_weekly_bin747.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/461248/ft2_4FGL_J0011.4+0057_weekly_bin747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/461248/ft1_4FGL_J0011.4+0057_weekly_bin747.fits outfile=/scratch/kocevski/461248/ft1_filteredMKT_4FGL_J0011.4+0057_weekly_bin747.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=690768001.0 tmax=691372801.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.07
user 5.68
sys 0.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/461248/ft2_4FGL_J0011.4+0057_weekly_bin747.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/461248/ft1_filteredMKT_4FGL_J0011.4+0057_weekly_bin747.fits evtable="EVENTS" outfile="/scratch/kocevski/461248/ft1_filtered_4FGL_J0011.4+0057_weekly_bin747.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.55
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 1192

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/461248/ft1_filtered_4FGL_J0011.4+0057_weekly_bin747.fits" evtable="EVENTS" scfile=/scratch/kocevski/461248/ft2_4FGL_J0011.4+0057_weekly_bin747.fits sctable="SC_DATA" outfile=/scratch/kocevski/461248/ltcube_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.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/461248/ft2_4FGL_J0011.4+0057_weekly_bin747.fits
.....................!
real 33.66
user 33.10
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/461248/ft1_filtered_4FGL_J0011.4+0057_weekly_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/461248/ft2_4FGL_J0011.4+0057_weekly_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/461248/ltcube_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.fits outfile=/scratch/kocevski/461248/expmap_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.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/461248/ltcube_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.fits
.....................!
real 192.82
user 187.92
sys 4.28

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/461248/ft1_filtered_4FGL_J0011.4+0057_weekly_bin747.fits scfile=/scratch/kocevski/461248/ft2_4FGL_J0011.4+0057_weekly_bin747.fits outfile=/scratch/kocevski/461248/cmap_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.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.62
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/461248/ft1_filtered_4FGL_J0011.4+0057_weekly_bin747.fits scfile=/scratch/kocevski/461248/ft2_4FGL_J0011.4+0057_weekly_bin747.fits outfile=/scratch/kocevski/461248/cmap_HighResolution_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.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.60
user 0.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/461248/ft1_filtered_4FGL_J0011.4+0057_weekly_bin747.fits', '/scratch/kocevski/461248/ft2_4FGL_J0011.4+0057_weekly_bin747.fits', expMap='/scratch/kocevski/461248/expmap_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.fits', expCube='/scratch/kocevski/461248/ltcube_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/461248/Model_4FGL_J0011.4+0057_weekly_bin747.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/461248/ft1_filtered_4FGL_J0011.4+0057_weekly_bin747.fits
Spacecraft file(s): /scratch/kocevski/461248/ft2_4FGL_J0011.4+0057_weekly_bin747.fits
Exposure map: /scratch/kocevski/461248/expmap_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.fits
Exposure cube: /scratch/kocevski/461248/ltcube_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/461248/Model_4FGL_J0011.4+0057_weekly_bin747.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) = 13315.4195325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98199E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .87185       1.0000          .0000       .10000E+07
     3 'Prefactor '    .51021E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .11647       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.4922       1.0000          .0000       .10000E+07
     6 'norm      '    4.1092       1.0000          .0000       .10000E+07
     7 'norm      '    .87237       1.0000          .0000       .10000E+07
     8 'Prefactor '    .75428E-04   1.0000          .0000       .10000E+07
     9 'norm      '    7.8127       1.0000          .0000       .10000E+07
    10 'Prefactor '    .37533E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1157       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.2281       1.0000          .0000       .10000E+07
    13 'Prefactor '    .68168E-06   1.0000          .0000       .10000E+07
    14 'norm      '    20.228       1.0000          .0000       .10000E+07
    15 'Prefactor '    .36297E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.2017       1.0000          .0000       .10000E+07
    17 'Prefactor '    22.183       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14185E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1870       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .76786       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=   13315.36     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1246 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28311E-08    1.2621       -.33916E-06** at limit **
   2  Prefactor     .63438        30.812        .72399E-06    .29525E-01
   3  Prefactor      .0000        1.3838        .58921E-07** at limit **
   4  norm          .11856        5.2420        .32052E-06** at limit **
   5  Prefactor     4.4866        4.8110       -.31257E-09   -.74230E-03
   6  norm          4.1060        2.0982       -.41185E-07   -.99517E-03
   7  norm          .87091        1.7206       -.11427E-07   -.17629E-02
   8  Prefactor     .32196E-08    3.2406       -.30772E-07** at limit **
   9  norm          7.7957        5.5680        .68799E-06    .67529E-01
  10  Prefactor     .33799E-01    19.160        .94441E-06** at limit **
  11  Prefactor     4.1175        2.6008        .15196E-08    .12878E-02
  12  Prefactor     6.1778        2.7138        .53649E-08    .13282E-01
  13  Prefactor     .55511E-09    4.8628        .47165E-07** at limit **
  14  norm          20.243        11.546        .12936E-06    .26049E-01
  15  Prefactor     .20983E-06    9.8693        .55956E-06** at limit **
  16  Prefactor     4.7699        10.916        .12362E-05   -.79899E-01
  17  Prefactor     21.956        4.0320       -.76946E-07   -.16663E-01
  18  Prefactor     .88818E-09    1.1748        .19354E-06** at limit **
  19  Normalizat    1.1884        .14676       -.12383E-05    .28687E-04
  20  Prefactor     .76780        .10477        .85265E-07    .32254E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.83107e-09
  Prefactor  = 0.634381
  Prefactor  = 0
  norm       = 0.118556
  Prefactor  = 4.48661
  norm       = 4.10603
  norm       = 0.870909
  Prefactor  = 3.21965e-09
  norm       = 7.79567
  Prefactor  = 0.0337993
  Prefactor  = 4.11752
  Prefactor  = 6.17784
  Prefactor  = 5.55112e-10
  norm       = 20.2426
  Prefactor  = 2.09832e-07
  Prefactor  = 4.76985
  Prefactor  = 21.9563
  Prefactor  = 8.88178e-10
  Normalizat = 1.18836
  Prefactor  = 0.767801
 **********
 **   18 **HESSE 
 **********

 FCN=   13315.36     FROM HESSE     STATUS=OK           353 CALLS     1599 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28311E-08    1.2734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .63438        40.606        .47726E-03   -1.5692    
   3  Prefactor      .0000        1.3847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11856        .66099        .53610E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4866        4.8157        .47480E-03   -1.5666    
   6  norm          4.1060        2.1087        .49706E-03   -1.5667    
   7  norm          .87091        1.7331        .47689E-03   -1.5689    
   8  Prefactor     .32196E-08    3.2400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.7957        5.6500        .35851E-03   -1.5652    
  10  Prefactor     .33799E-01    .70837        .60400E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1175        2.6000        .49666E-03   -1.5667    
  12  Prefactor     6.1778        34.579        .40201E-03   -1.5658    
  13  Prefactor     .55511E-09    4.8889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          20.243        12.983        .22241E-03   -1.5618    
  15  Prefactor     .20983E-06    1.5417        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.7699        21.296        .44052E-03   -1.5664    
  17  Prefactor     21.956        12.518        .21237E-03   -1.5614    
  18  Prefactor     .88818E-09    1.1740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1884        .12817        .56492E-01   -.86963    
  20  Prefactor     .76780        .90722E-01    .43298E-01   -1.0093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08922e-06
Minuit parameter uncertainties:
  1  0.00011965
  2  10.1509
  3  5.57348e-06
  4  0.559871
  5  4.8157
  6  2.10868
  7  1.73315
  8  0.000203937
  9  5.65001
  10  0.309467
  11  2.6
  12  29.2318
  13  0.000106517
  14  12.9835
  15  0.00113754
  16  20.1572
  17  12.5179
  18  6.39927e-05
  19  0.128207
  20  0.0907393
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  6.344e-01  1.015e+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.678e-01  9.074e-02  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.188e+00  1.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/461248/likelihoodResults_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.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) = 13315.3299553
delta logL = 0.0276883569604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13315.3244782
delta logL = 0.0331654350211

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1645       1.0000          .0000       .10000E+07
     2 'Index     '    2.9267       1.0000          .0000       10.000    
     3 'Normalizat'    1.1806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77046       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=   13315.32     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      279 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1645        19.793        .21313E-03   -.46687E-02
   2  Index         2.9267        3.1433        .43675E-02    .86290E-04
   3  Normalizat    1.1806        .14332        .25055E-03    .16335E-05
   4  Prefactor     .77046        .10494        .22665E-03   -.13041E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16451
  Index      = 2.92665
  Normalizat = 1.18058
  Prefactor  = 0.770459
 **********
 **   18 **HESSE 
 **********

 FCN=   13315.32     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1645        7.4792        .85250E-05   -1.5686    
   2  Index         2.9267        2.0611        .17470E-03   -.42758    
   3  Normalizat    1.1806        .14351        .10022E-04   -.87205    
   4  Prefactor     .77046        .10504        .90661E-05   -1.0083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18978e-09
Minuit parameter uncertainties:
  1  5.90243
  2  2.13901
  3  0.143561
  4  0.10507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/461248': 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) = 13315.3244782
delta logL = 0.033165436831

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  1.165e+00  5.902e+00  0.000e+00  1.000e+06 ( 1.000e-13)
52         Index:  2.927e+00  2.139e+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.705e-01  1.051e-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.181e+00  1.436e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/461248/cmap_HighResolution_690768001_691372801_4FGL_J0011.4+0057_weekly_bin747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.35e-03', job_status='DONE', photon_flux_upper_limit='5.65e-08', time_completed='2022-11-29 01:16:54.457082', job_id='461248', GAL2='0.77', fit_tolerance='1e-08', EG2='1.18', EG='1.19', time_epoch_completed='1669713414.46', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='3.32e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='747' AND source_name='4FGL J0011.4+0057' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov 29 01:16:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 461248: <4FGL_J0011.4+0057_weekly_bin747> in cluster <slac> Done

Job <4FGL_J0011.4+0057_weekly_bin747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov 29 01:00:27 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 01:00:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 01:00:45 2022
Terminated at Tue Nov 29 01:16:55 2022
Results reported at Tue Nov 29 01:16:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_weekly_bin747 2.8551 0.9646 690768001 691372801 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 :                                   871.06 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             318.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            988 sec.

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

