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


Performing analysis on: 4FGL_J0034.0-4116_daily_bin1736
RA = 8.5142, Dec = -41.2708
tmin = 689299201, tmax = 689558401
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='951499', job_status='RUN', time_executed='2022-11-08 00:06:18.701377', time_epoch_executed='1667894778.7' WHERE source_name='4FGL J0034.0-4116' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951499

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951499/ft1_4FGL_J0034.0-4116_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951499/ft1_4FGL_J0034.0-4116_daily_bin1736.fits outfile=/scratch/kocevski/951499/ft1_filteredMKT_4FGL_J0034.0-4116_daily_bin1736.fits ra=8.5142 dec=-41.2708 rad=12.0 tmin=689299201.0 tmax=689558401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.58
user 3.36
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.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/951499/ft1_filteredMKT_4FGL_J0034.0-4116_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/951499/ft1_filtered_4FGL_J0034.0-4116_daily_bin1736.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.60
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/951499/ft1_filtered_4FGL_J0034.0-4116_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/951499/ltcube_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.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/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits
.....................!
real 15.39
user 14.94
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951499/ft1_filtered_4FGL_J0034.0-4116_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/951499/ltcube_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.fits outfile=/scratch/kocevski/951499/expmap_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.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/951499/ltcube_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.fits
.....................!
real 192.71
user 186.47
sys 5.35

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

Setting source of interest to:
4FGL J0034.0-4116 @ 8.5142 -41.2708

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/951499/ft1_filtered_4FGL_J0034.0-4116_daily_bin1736.fits scfile=/scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits outfile=/scratch/kocevski/951499/cmap_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.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=8.5142 yref=-41.2708 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 1.11
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/951499/ft1_filtered_4FGL_J0034.0-4116_daily_bin1736.fits scfile=/scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits outfile=/scratch/kocevski/951499/cmap_HighResolution_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.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=8.5142 yref=-41.2708 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.75
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/951499/ft1_filtered_4FGL_J0034.0-4116_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951499/Model_4FGL_J0034.0-4116_daily_bin1736.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/951499/ft1_filtered_4FGL_J0034.0-4116_daily_bin1736.fits.....................!
real 53.03
user 48.70
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/951499/ft1_filtered_4FGL_J0034.0-4116_daily_bin1736.fits', '/scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits', expMap='/scratch/kocevski/951499/expmap_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.fits', expCube='/scratch/kocevski/951499/ltcube_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/951499/Model_4FGL_J0034.0-4116_daily_bin1736.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0034.0-4116'

4FGL J0034.0-4116
   Spectrum: PowerLaw
117    Prefactor:  4.854e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
118        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
119        Scale:  8.345e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/951499/ft1_filtered_4FGL_J0034.0-4116_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/951499/ft2_4FGL_J0034.0-4116_daily_bin1736.fits
Exposure map: /scratch/kocevski/951499/expmap_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.fits
Exposure cube: /scratch/kocevski/951499/ltcube_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/951499/Model_4FGL_J0034.0-4116_daily_bin1736.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) = 6817.73328544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.525       1.0000          .0000       .10000E+07
     2 'Prefactor '    31.782       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10967E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.9000       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.542       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18626E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7234       1.0000          .0000       .10000E+07
     8 'Prefactor '    .62433E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.7971       1.0000          .0000       .10000E+07
    10 'norm      '    21.138       1.0000          .0000       .10000E+07
    11 'norm      '    2.6929       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46718E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.313       1.0000          .0000       .10000E+07
    14 'norm      '    .25641E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .32659E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    19.470       1.0000          .0000       .10000E+07
    17 'Prefactor '    .24794E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.2397       1.0000          .0000       .10000E+07
    19 'Normalizat'    .86255       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88494       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6817.715     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1226 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.896        21.900       -.77940E-06   -.24926    
   2  Prefactor     31.812        15.121       -.23065E-07   -.57767E-01
   3  Prefactor     .55511E-10    10.889        .13176E-06** at limit **
   4  Prefactor     1.9032        2.0198       -.19733E-07   -.54861E-03
   5  Prefactor     15.424        7.5943       -.17106E-07   -.14418E-02
   6  Prefactor      .0000        4.8839        .22063E-07** at limit **
   7  Prefactor     6.6703        4.4104       -.18480E-07   -.28327E-02
   8  Prefactor      .0000        10.091        .21826E-07** at limit **
   9  Prefactor     2.7386        6.8277       -.18599E-07   -.60918E-03
  10  norm          21.515        22.926        .35555E-07    .61277E-01
  11  norm          2.6920        2.0098       -.86365E-09   -.83846E-03
  12  Prefactor      .0000        .92156        .40321E-07** at limit **
  13  Prefactor     17.109        14.666       -.10850E-06    .70142E-03
  14  norm           .0000        1.1949        .17070E-07** at limit **
  15  Prefactor     .76272E-06    58.621        .53426E-06** at limit **
  16  Prefactor     19.483        6.5548       -.32854E-07   -.24798E-02
  17  Prefactor      .0000        1.3029        .32407E-08** at limit **
  18  Prefactor     .12423E-01    2589.3       -.24942E-04** at limit **
  19  Normalizat    .86324        .16948        .15482E-05    .51746E-04
  20  Prefactor     .88501        .19470       -.13448E-05   -.42947E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.896
  Prefactor  = 31.8119
  Prefactor  = 5.55112e-11
  Prefactor  = 1.9032
  Prefactor  = 15.4245
  Prefactor  = 0
  Prefactor  = 6.67035
  Prefactor  = 0
  Prefactor  = 2.73862
  norm       = 21.5153
  norm       = 2.69199
  Prefactor  = 0
  Prefactor  = 17.1087
  norm       = 0
  Prefactor  = 7.62723e-07
  Prefactor  = 19.4827
  Prefactor  = 0
  Prefactor  = 0.0124226
  Normalizat = 0.863238
  Prefactor  = 0.885013
 **********
 **   18 **HESSE 
 **********

 FCN=   6817.715     FROM HESSE     STATUS=OK           337 CALLS     1563 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.896        35.477        .15159E-03   -1.5577    
   2  Prefactor     31.812        21.222        .17741E-03   -1.5595    
   3  Prefactor     .55511E-10    10.931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.9032        2.0201        .75425E-03   -1.5680    
   5  Prefactor     15.424        7.5973        .25379E-03   -1.5629    
   6  Prefactor      .0000        4.8862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6703        4.4171        .38674E-03   -1.5656    
   8  Prefactor      .0000        10.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7386        6.8342        .60805E-03   -1.5675    
  10  norm          21.515        23.403        .21757E-03   -1.5615    
  11  norm          2.6920        2.0143        .62058E-03   -1.5675    
  12  Prefactor      .0000        .92773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.109        21.621        .24044E-03   -1.5625    
  14  norm           .0000        1.1955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .76272E-06    59.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.483        6.6006        .22671E-03   -1.5620    
  17  Prefactor      .0000        1.2991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12423E-01    22.749        .14543E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .86324        .14230        .44421E-01   -.97764    
  20  Prefactor     .88501        .16275        .44813E-01   -.96667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17677e-06
Minuit parameter uncertainties:
  1  35.4771
  2  21.2219
  3  5.29864e-05
  4  2.02009
  5  7.59729
  6  7.18469e-08
  7  4.41711
  8  2.62246e-06
  9  6.83418
  10  23.4031
  11  2.01432
  12  9.31503e-06
  13  21.6215
  14  1.24233e-06
  15  0.0134519
  16  6.60056
  17  1.46962e-06
  18  1.06322
  19  0.142359
  20  0.162836
Done.

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

Extracting fit parameters...

4FGL J0034.0-4116
   Spectrum: PowerLaw
117    Prefactor:  0.000e+00  2.622e-06  0.000e+00  1.000e+06 ( 1.000e-13)
118        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
119        Scale:  8.345e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  8.850e-01  1.628e-01  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  8.632e-01  1.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 8.514 -41.271
Photon Flux Upper Limit: 5.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/951499/likelihoodResults_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.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) = 6817.76248741
delta logL = -0.0478592953887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6817.71462901
delta logL = -8.98508005776e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6817.715     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      194 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    12.749       -.51602E-05** at limit **
   2  Index         2.1457        3.2726        .45635E-04    .78438E-11
   3  Normalizat    .86324        .16115       -.36408E-05    .19535E-03
   4  Prefactor     .88502        .19258        .73133E-05    .25579E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 2.14568
  Normalizat = 0.863236
  Prefactor  = 0.885016
 **********
 **   18 **HESSE 
 **********

 FCN=   6817.715     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      229 TOTAL
                     EDM=   .38E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    .17266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1457        5.4842        .50000       -.60756    
   3  Normalizat    .86324        .38338E-03    .44430E-01   -.97764    
   4  Prefactor     .88502        .45874E-03    .44815E-01   -.96667    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.75243e-13
Minuit parameter uncertainties:
  1  1.68131e-05
  2  8822.58
  3  0.000383381
  4  0.000458738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951499': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6817.71462811
delta logL = -3.81987774745e-11

Extracting fit parameters...

4FGL J0034.0-4116
   Spectrum: PowerLaw
117    Prefactor:  3.886e-10  1.681e-05  0.000e+00  1.000e+06 ( 1.000e-13)
118        Index:  2.146e+00  8.823e+03  0.000e+00  1.000e+01 (-1.000e+00)
119        Scale:  8.345e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  8.850e-01  4.587e-04  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  8.632e-01  3.834e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 8.514 -41.271

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/951499/cmap_HighResolution_689299201_689558401_4FGL_J0034.0-4116_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2022-11-08 00:16:26.864491', job_id='951499', GAL2='0.89', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1667895386.86', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-3.82e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1736' AND source_name='4FGL J0034.0-4116' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:16:26 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 951499: <4FGL_J0034.0-4116_daily_bin1736> in cluster <slac> Done

Job <4FGL_J0034.0-4116_daily_bin1736> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Nov  8 00:05:06 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:05:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:05:06 2022
Terminated at Tue Nov  8 00:16:27 2022
Results reported at Tue Nov  8 00:16:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0034.0-4116_daily_bin1736 8.5142 -41.2708 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0034.0-4116 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   601.51 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            681 sec.

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

