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


Performing analysis on: 4FGL_J0009.1-5012_daily_bin1780
RA = 2.2962, Dec = -50.2107
tmin = 700704001, tmax = 700963201
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='48891', job_status='RUN', time_executed='2023-03-20 00:05:04.731782', time_epoch_executed='1679295904.73' WHERE source_name='4FGL J0009.1-5012' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48891

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48891/ft1_4FGL_J0009.1-5012_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48891/ft1_4FGL_J0009.1-5012_daily_bin1780.fits outfile=/scratch/kocevski/48891/ft1_filteredMKT_4FGL_J0009.1-5012_daily_bin1780.fits ra=2.2962 dec=-50.2107 rad=12.0 tmin=700704001.0 tmax=700963201.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.29
user 3.98
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.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/48891/ft1_filteredMKT_4FGL_J0009.1-5012_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/48891/ft1_filtered_4FGL_J0009.1-5012_daily_bin1780.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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48891/ft1_filtered_4FGL_J0009.1-5012_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/48891/ltcube_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.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/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits
.....................!
real 12.58
user 12.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48891/ft1_filtered_4FGL_J0009.1-5012_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/48891/ltcube_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.fits outfile=/scratch/kocevski/48891/expmap_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.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/48891/ltcube_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.fits
.....................!
real 192.53
user 185.83
sys 5.66

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

Setting source of interest to:
4FGL J0009.1-5012 @ 2.2962 -50.2107

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/48891/ft1_filtered_4FGL_J0009.1-5012_daily_bin1780.fits scfile=/scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits outfile=/scratch/kocevski/48891/cmap_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.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.2962 yref=-50.2107 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.79
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48891/ft1_filtered_4FGL_J0009.1-5012_daily_bin1780.fits scfile=/scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits outfile=/scratch/kocevski/48891/cmap_HighResolution_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.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.2962 yref=-50.2107 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/48891/ft1_filtered_4FGL_J0009.1-5012_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/48891/Model_4FGL_J0009.1-5012_daily_bin1780.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/48891/ft1_filtered_4FGL_J0009.1-5012_daily_bin1780.fits.....................!
real 49.03
user 44.42
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/48891/ft1_filtered_4FGL_J0009.1-5012_daily_bin1780.fits', '/scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits', expMap='/scratch/kocevski/48891/expmap_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.fits', expCube='/scratch/kocevski/48891/ltcube_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/48891/Model_4FGL_J0009.1-5012_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0009.1-5012'

4FGL J0009.1-5012
   Spectrum: PowerLaw
24     Prefactor:  8.512e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
25         Index:  2.602e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
26         Scale:  6.865e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/48891/ft1_filtered_4FGL_J0009.1-5012_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/48891/ft2_4FGL_J0009.1-5012_daily_bin1780.fits
Exposure map: /scratch/kocevski/48891/expmap_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.fits
Exposure cube: /scratch/kocevski/48891/ltcube_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/48891/Model_4FGL_J0009.1-5012_daily_bin1780.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) = 6164.39889369

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    34.946       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17426E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.9943       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32921E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.476       1.0000          .0000       .10000E+07
     7 'Prefactor '    .34209       1.0000          .0000       .10000E+07
     8 'norm      '    .20914E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    87.699       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13424E-02   1.0000          .0000       .10000E+07
    11 'norm      '    43.015       1.0000          .0000       .10000E+07
    12 'Prefactor '    72.273       1.0000          .0000       .10000E+07
    13 'norm      '    5.2464       1.0000          .0000       .10000E+07
    14 'Prefactor '    .40035E-03   1.0000          .0000       .10000E+07
    15 'norm      '    8.4950       1.0000          .0000       .10000E+07
    16 'norm      '    .17451E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .34137E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .59704E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .86573E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    17.521       1.0000          .0000       .10000E+07
    21 'norm      '    .72459E-06   1.0000          .0000       .10000E+07
    22 'norm      '    .15373E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    15.287       1.0000          .0000       .10000E+07
    24 'Prefactor '    .12768E-08   1.0000          .0000       .10000E+07
    25 'Prefactor '    .89671E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .29160E-04   1.0000          .0000       .10000E+07
    27 'Prefactor '    .14656E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    3.7806       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.3570       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .60481       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6164.356     FROM MIGRAD    STATUS=CONVERGED    210 CALLS     2814 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     83.449        45.811        .30710E-06    .13615E-01
   2  Prefactor     35.161        1.8896        .30013E-08    .19786E-02
   3  Prefactor     .23870E-08    7.7002       -.19211E-06** at limit **
   4  Prefactor     2.9889        4.5782       -.96182E-07    .41024E-03
   5  Prefactor      .0000        3.2591       -.10660E-06** at limit **
   6  Prefactor     10.491        8.8208       -.25328E-07   -.13793E-02
   7  Prefactor     .37400        26.067       -.13229E-05    .74292E-03
   8  norm          .87153E-08    9.8709       -.53564E-06** at limit **
   9  Prefactor     87.355        32.663        .11360E-06   -.36041E-01
  10  Prefactor     .11102E-09    6.3835       -.15146E-06** at limit **
  11  norm          43.953        23.442       -.18823E-06   -.34318E-01
  12  Prefactor     73.717        47.243        .35402E-06   -.12354E-01
  13  norm          5.2671        4.3331       -.18840E-06    .15469E-02
  14  Prefactor     .56066E-08    7.7746        .21502E-06** at limit **
  15  norm          8.4894        7.9169        .13667E-06   -.38517E-03
  16  norm           .0000        1.6464       -.15753E-06** at limit **
  17  Prefactor     .18041E-07    4.4446       -.20026E-06** at limit **
  18  Prefactor     .12768E-08    34.266       -.65772E-07** at limit **
  19  norm           .0000        3.1695        .30320E-07** at limit **
  20  Prefactor     17.668        6.3487        .14675E-06   -.28532E-01
  21  norm           .0000        .21123       -.29939E-07** at limit **
  22  norm           .0000        1.4651       -.19714E-06** at limit **
  23  Prefactor     15.317        1.8106        .34760E-07   -.19486E-01
  24  Prefactor      .0000        .89670       -.38291E-07** at limit **
  25  Prefactor     .72164E-09    8.4069       -.12538E-06** at limit **
  26  norm          .51403E-07    42.385        .63171E-06** at limit **
  27  Prefactor     .27756E-09    6.1771       -.34270E-06** at limit **
  28  Prefactor     3.7850        4.1517       -.19496E-06    .12705E-02
  29  Normalizat    1.3547        .21582        .80779E-05   -.11146E-03
  30  Prefactor     .60597        .22469       -.88557E-05   -.24465E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 83.449
  Prefactor  = 35.1605
  Prefactor  = 2.38698e-09
  Prefactor  = 2.98891
  Prefactor  = 0
  Prefactor  = 10.4914
  Prefactor  = 0.373996
  norm       = 8.71525e-09
  Prefactor  = 87.3549
  Prefactor  = 1.11022e-10
  norm       = 43.9534
  Prefactor  = 73.7171
  norm       = 5.26709
  Prefactor  = 5.60663e-09
  norm       = 8.48936
  norm       = 0
  Prefactor  = 1.80411e-08
  Prefactor  = 1.27676e-09
  norm       = 0
  Prefactor  = 17.668
  norm       = 0
  norm       = 0
  Prefactor  = 15.3171
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  norm       = 5.14033e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 3.78501
  Normalizat = 1.35468
  Prefactor  = 0.605973
 **********
 **   18 **HESSE 
 **********

 FCN=   6164.356     FROM HESSE     STATUS=OK           650 CALLS     3464 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     83.449        64.135        .11042E-03   -1.5525    
   2  Prefactor     35.161        28.877        .16918E-03   -1.5589    
   3  Prefactor     .23870E-08    12.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9889        4.5961        .58638E-03   -1.5673    
   5  Prefactor      .0000        3.2573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.491        8.8802        .30932E-03   -1.5643    
   7  Prefactor     .37400        8.3056        .54825E-02   -1.5696    
   8  norm          .87153E-08    10.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     87.355        42.586        .10679E-03   -1.5521    
  10  Prefactor     .11102E-09    6.3210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          43.953        34.715        .15249E-03   -1.5575    
  12  Prefactor     73.717        65.383        .11764E-03   -1.5536    
  13  norm          5.2671        4.3625        .43860E-03   -1.5662    
  14  Prefactor     .56066E-08    8.2176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.4894        7.9289        .34370E-03   -1.5650    
  16  norm           .0000        1.6471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .18041E-07    12.258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12768E-08    34.303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        3.1692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.668        14.887        .23900E-03   -1.5624    
  21  norm           .0000        .21109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.4649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.317        12.524        .25590E-03   -1.5630    
  24  Prefactor      .0000        .89663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .72164E-09    8.4742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .51403E-07    43.184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .27756E-09    6.1112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.7850        4.3250        .51895E-03   -1.5669    
  29  Normalizat    1.3547        .18415        .47870E-01   -.81949    
  30  Prefactor     .60597        .18948        .73644E-01   -1.0734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00748e-07
Minuit parameter uncertainties:
  1  64.1352
  2  28.8775
  3  0.000340328
  4  4.59613
  5  1.45863e-05
  6  8.88021
  7  3.52493
  8  0.000615887
  9  42.5866
  10  5.13581e-05
  11  34.7155
  12  65.384
  13  4.36246
  14  0.000430197
  15  7.92889
  16  8.57423e-06
  17  0.000940341
  18  0.000416048
  19  3.43716e-06
  20  14.8873
  21  6.34088e-07
  22  1.02198e-05
  23  12.5235
  24  1.59908e-06
  25  0.00015542
  26  0.00297992
  27  8.35391e-05
  28  4.325
  29  0.184239
  30  0.18968
Done.

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

Extracting fit parameters...

4FGL J0009.1-5012
   Spectrum: PowerLaw
24     Prefactor:  2.387e-09  3.403e-04  0.000e+00  1.000e+06 ( 1.000e-13)
25         Index:  2.602e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
26         Scale:  6.865e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  6.060e-01  1.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.355e+00  1.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 2.296 -50.211
Photon Flux Upper Limit: 5.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/48891/likelihoodResults_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.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): 102
logL (Free Index) = 6164.35695993
delta logL = -0.00108890691172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6164.35587103
delta logL = -7.70160113461e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6164.356     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      221 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.977        .95457E-07** at limit **
   2  Index         1.5003        5.5893        .10430E-04     .0000    
   3  Normalizat    1.3547        .20677        .22263E-05   -.14983E-03
   4  Prefactor     .60597        .22275       -.11081E-04   -.12016E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.50032
  Normalizat = 1.35468
  Prefactor  = 0.605971
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6164.356     FROM HESSE     STATUS=FAILED        11 CALLS      232 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .20238        1.3818        .10430E-04   -.77531    
   3  Normalizat    1.3547        1.0690        .22263E-05   -.81949    
   4  Prefactor     .60597        .95400       -.11081E-04   -1.0734    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58355e-11
Minuit parameter uncertainties:
  1  1.01205e-05
  2  0.783195
  3  1.08735
  4  0.981447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48891': 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): 101
logL (Free Index) = 6164.35587103
delta logL = 9.64064383879e-11

Extracting fit parameters...

4FGL J0009.1-5012
   Spectrum: PowerLaw
24     Prefactor:  0.000e+00  1.012e-05  0.000e+00  1.000e+06 ( 1.000e-13)
25         Index:  1.500e+00  7.832e-01  0.000e+00  1.000e+01 (-1.000e+00)
26         Scale:  6.865e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  6.060e-01  9.814e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.355e+00  1.087e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 2.296 -50.211

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/48891/cmap_HighResolution_700704001_700963201_4FGL_J0009.1-5012_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-03', job_status='DONE', photon_flux_upper_limit='5.25e-08', time_completed='2023-03-20 00:17:59.657436', job_id='48891', GAL2='0.61', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1679296679.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='9.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1780' AND source_name='4FGL J0009.1-5012' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:17:59 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 48891: <4FGL_J0009.1-5012_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0009.1-5012_daily_bin1780> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 20 00:04:43 2023
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:04:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:04:45 2023
Terminated at Mon Mar 20 00:18:00 2023
Results reported at Mon Mar 20 00:18:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0009.1-5012_daily_bin1780 2.2962 -50.2107 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0009.1-5012 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   769.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            797 sec.

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

