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


Performing analysis on: 4FGL_J0011.4+0057_daily_bin1669
RA = 2.8551, Dec = 0.9646
tmin = 671932801, tmax = 672192001
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='680676', job_status='RUN', time_executed='2022-04-21 00:06:02.386248', time_epoch_executed='1650524762.39' WHERE source_name='4FGL J0011.4+0057' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680676

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680676/ft1_4FGL_J0011.4+0057_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680676/ft2_4FGL_J0011.4+0057_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680676/ft1_4FGL_J0011.4+0057_daily_bin1669.fits outfile=/scratch/kocevski/680676/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1669.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=671932801.0 tmax=672192001.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 4.77
user 3.59
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/680676/ft2_4FGL_J0011.4+0057_daily_bin1669.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/680676/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1669.fits evtable="EVENTS" outfile="/scratch/kocevski/680676/ft1_filtered_4FGL_J0011.4+0057_daily_bin1669.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.17

Number of photons that the gtmktime cut: 612

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/680676/ft1_filtered_4FGL_J0011.4+0057_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/680676/ft2_4FGL_J0011.4+0057_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/680676/ltcube_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.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/680676/ft2_4FGL_J0011.4+0057_daily_bin1669.fits
.....................!
real 15.19
user 14.04
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680676/ft1_filtered_4FGL_J0011.4+0057_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/680676/ft2_4FGL_J0011.4+0057_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/680676/ltcube_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.fits outfile=/scratch/kocevski/680676/expmap_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.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/680676/ltcube_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.fits
.....................!
real 192.38
user 186.55
sys 5.09

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/680676/ft1_filtered_4FGL_J0011.4+0057_daily_bin1669.fits scfile=/scratch/kocevski/680676/ft2_4FGL_J0011.4+0057_daily_bin1669.fits outfile=/scratch/kocevski/680676/cmap_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.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.67
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680676/ft1_filtered_4FGL_J0011.4+0057_daily_bin1669.fits scfile=/scratch/kocevski/680676/ft2_4FGL_J0011.4+0057_daily_bin1669.fits outfile=/scratch/kocevski/680676/cmap_HighResolution_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.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.64
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/680676/ft1_filtered_4FGL_J0011.4+0057_daily_bin1669.fits', '/scratch/kocevski/680676/ft2_4FGL_J0011.4+0057_daily_bin1669.fits', expMap='/scratch/kocevski/680676/expmap_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.fits', expCube='/scratch/kocevski/680676/ltcube_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/680676/Model_4FGL_J0011.4+0057_daily_bin1669.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  1.000e-04  1.000e+04 ( 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/680676/ft1_filtered_4FGL_J0011.4+0057_daily_bin1669.fits
Spacecraft file(s): /scratch/kocevski/680676/ft2_4FGL_J0011.4+0057_daily_bin1669.fits
Exposure map: /scratch/kocevski/680676/expmap_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.fits
Exposure cube: /scratch/kocevski/680676/ltcube_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/680676/Model_4FGL_J0011.4+0057_daily_bin1669.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) = 6887.09041031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.782       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6153       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8746       1.0000         .10000E-03   10000.    
     5 'norm      '    2.5056       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21905E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.4780       1.0000         .10000E-03   10000.    
     8 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8713       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0141       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.091       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.7463       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.720       1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.618       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1344       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2391       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0629       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96032       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6887.067     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     3180 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3085       -.39547E-08** at limit **
   2  Prefactor     22.770        28.122       -.73234E-07   -.45289E-04
   3  Prefactor     3.6162        16.742        .64039E-06   -.23553E-04
   4  Prefactor     2.8749        4.5127        .22981E-06   -.16212E-04
   5  norm          2.5050        2.8188       -.63429E-07   -.24242E-03
   6  Prefactor     .10000E-03    4.0340       -.27554E-06** at limit **
   7  norm          5.4791        3.5202       -.95926E-07   -.90490E-04
   8  norm          .10000E-03    3.5422        .94949E-06** at limit **
   9  Prefactor     7.8685        12.061        .30613E-07   -.13225E-03
  10  norm          1.0141        16.186        .65774E-05    .21178E-05
  11  Prefactor     10.091        4.7239        .82713E-07   -.10617E-03
  12  Prefactor     8.7466        5.3342       -.15586E-07   -.11227E-03
  13  Prefactor     10.723        37.399        .67005E-07    .34543E-06
  14  Prefactor     38.689        135.73        .67979E-06    .26133E-04
  15  Prefactor     5.1369        10.428        .53850E-06   -.16476E-04
  16  Prefactor     .10000E-03    49.650        .40545E-07** at limit **
  17  norm          .10000E-03    10.083       -.17662E-06** at limit **
  18  Prefactor     .10000E-03    3.8668        .75340E-07** at limit **
  19  Prefactor     5.2119        42.431        .61947E-07   -.50442E-04
  20  Prefactor     .10000E-03    5.2905       -.58341E-07** at limit **
  21  Prefactor     .10000E-03    10.582        .32172E-07** at limit **
  22  Prefactor     .10000E-03    7.5311        .84555E-07** at limit **
  23  Normalizat    1.0630        .20094       -.80149E-06   -.24402E-03
  24  Prefactor     .96025        .13868       -.48528E-06   -.29994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.7699
  Prefactor  = 3.61623
  Prefactor  = 2.8749
  norm       = 2.50504
  Prefactor  = 0.000100001
  norm       = 5.47908
  norm       = 0.000100004
  Prefactor  = 7.86853
  norm       = 1.01409
  Prefactor  = 10.0905
  Prefactor  = 8.74661
  Prefactor  = 10.7228
  Prefactor  = 38.6887
  Prefactor  = 5.13692
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.2119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06305
  Prefactor  = 0.960246
 **********
 **   18 **HESSE 
 **********

 FCN=   6887.067     FROM HESSE     STATUS=OK           403 CALLS     3583 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.770        28.099        .83921E-04   -1.4753    
   3  Prefactor     3.6162        16.312        .21249E-03   -1.5328    
   4  Prefactor     2.8749        4.4871        .19760E-03   -1.5369    
   5  norm          2.5050        2.7695        .12853E-03   -1.5391    
   6  Prefactor     .10000E-03    12.681        .31934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.4791        3.4871        .11011E-03   -1.5240    
   8  norm          .10000E-03    9.1520        .28628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.8685        11.949        .14292E-03   -1.5147    
  10  norm          1.0141        16.463        .52036E-02   -1.5507    
  11  Prefactor     10.091        4.7521        .11518E-03   -1.5073    
  12  Prefactor     8.7466        5.3383        .13554E-03   -1.5116    
  13  Prefactor     10.723        37.378        .12237E-03   -1.5053    
  14  Prefactor     38.689        135.04        .64498E-04   -1.4463    
  15  Prefactor     5.1369        10.365        .17743E-03   -1.5255    
  16  Prefactor     .10000E-03    50.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.9556        .31634E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.2119        42.352        .17561E-03   -1.5251    
  20  Prefactor     .10000E-03    5.2937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.6338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0630        .23442        .29147E-03   -.90947    
  24  Prefactor     .96025        .16128        .22692E-03   -.94067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85393e-10
Minuit parameter uncertainties:
  1  1.06813e-05
  2  28.1152
  3  15.3676
  4  4.48765
  5  2.76962
  6  0.00023968
  7  3.48726
  8  0.000378171
  9  11.9523
  10  8.17407
  11  4.75223
  12  5.33858
  13  37.46
  14  136.132
  15  10.3684
  16  0.000112915
  17  2.90203e-06
  18  1.16575e-07
  19  29.7429
  20  1.84262e-06
  21  7.13208e-06
  22  5.21562e-06
  23  0.234648
  24  0.161361
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.616e+00  1.537e+01  1.000e-04  1.000e+04 ( 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:  9.602e-01  1.614e-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.063e+00  2.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/680676/likelihoodResults_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.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) = 6886.94369886
delta logL = 0.123429485706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6886.93898311
delta logL = 0.128145238463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1578       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0251       1.0000          .0000       10.000    
     3 'Normalizat'    1.0426       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96785       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6886.939     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      267 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1604        13.983        .11404E-02   -.44112E-04
   2  Index         3.0251        1.9326        .83146E-02    .25952E-03
   3  Normalizat    1.0427        .21943        .29396E-03   -.63000E-04
   4  Prefactor     .96783        .16068        .22611E-03    .67576E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.16043
  Index      = 3.0251
  Normalizat = 1.04267
  Prefactor  = 0.967826
 **********
 **   18 **HESSE 
 **********

 FCN=   6886.939     FROM HESSE     STATUS=OK            27 CALLS      294 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1604        9.1559        .45617E-04   -1.5352    
   2  Index         3.0251        1.3531        .16629E-02   -.40605    
   3  Normalizat    1.0427        .21982        .11758E-04   -.91614    
   4  Prefactor     .96783        .16075        .90444E-05   -.93810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52562e-11
Minuit parameter uncertainties:
  1  9.15993
  2  1.37347
  3  0.220012
  4  0.160831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680676': 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) = 6886.93898295
delta logL = 0.128145403524

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.160e+00  9.160e+00  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  3.025e+00  1.373e+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:  9.678e-01  1.608e-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.043e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/680676/cmap_HighResolution_671932801_672192001_4FGL_J0011.4+0057_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.63e-08', time_completed='2022-04-21 00:19:02.503218', job_id='680676', GAL2='0.97', fit_tolerance='1e-08', EG2='1.04', EG='1.06', time_epoch_completed='1650525542.5', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.28e-01', ts2='0.36', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1669' AND source_name='4FGL J0011.4+0057' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:19:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 680676: <4FGL_J0011.4+0057_daily_bin1669> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1669> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Apr 21 00:05:13 2022
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:05:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:05:16 2022
Terminated at Thu Apr 21 00:19:03 2022
Results reported at Thu Apr 21 00:19:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1669 2.8551 0.9646 671932801 672192001 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 :                                   757.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            830 sec.

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

