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


Performing analysis on: 4FGL_J0332.1-1123_daily_bin1764
RA = 53.0335, Dec = -11.3949
tmin = 696556801, tmax = 696816001
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='434505', job_status='RUN', time_executed='2023-01-31 00:09:45.274846', time_epoch_executed='1675152585.27' WHERE source_name='4FGL J0332.1-1123' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434505

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434505/ft1_4FGL_J0332.1-1123_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434505/ft1_4FGL_J0332.1-1123_daily_bin1764.fits outfile=/scratch/kocevski/434505/ft1_filteredMKT_4FGL_J0332.1-1123_daily_bin1764.fits ra=53.0335 dec=-11.3949 rad=12.0 tmin=696556801.0 tmax=696816001.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.90
user 3.47
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.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/434505/ft1_filteredMKT_4FGL_J0332.1-1123_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/434505/ft1_filtered_4FGL_J0332.1-1123_daily_bin1764.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.35
sys 0.15

Number of photons that the gtmktime cut: 605

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434505/ft1_filtered_4FGL_J0332.1-1123_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434505/ltcube_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.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/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits
.....................!
real 14.22
user 13.76
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434505/ft1_filtered_4FGL_J0332.1-1123_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434505/ltcube_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.fits outfile=/scratch/kocevski/434505/expmap_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.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/434505/ltcube_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.fits
.....................!
real 192.82
user 186.53
sys 5.75

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

Setting source of interest to:
4FGL J0332.1-1123 @ 53.0335 -11.3949

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/434505/ft1_filtered_4FGL_J0332.1-1123_daily_bin1764.fits scfile=/scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits outfile=/scratch/kocevski/434505/cmap_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.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=53.0335 yref=-11.3949 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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434505/ft1_filtered_4FGL_J0332.1-1123_daily_bin1764.fits scfile=/scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits outfile=/scratch/kocevski/434505/cmap_HighResolution_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.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=53.0335 yref=-11.3949 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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434505/ft1_filtered_4FGL_J0332.1-1123_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434505/Model_4FGL_J0332.1-1123_daily_bin1764.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/434505/ft1_filtered_4FGL_J0332.1-1123_daily_bin1764.fits.....................!
real 84.84
user 82.74
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434505/ft1_filtered_4FGL_J0332.1-1123_daily_bin1764.fits', '/scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits', expMap='/scratch/kocevski/434505/expmap_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.fits', expCube='/scratch/kocevski/434505/ltcube_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434505/Model_4FGL_J0332.1-1123_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0332.1-1123'

4FGL J0332.1-1123
   Spectrum: PowerLaw
292    Prefactor:  1.293e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.390e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.286e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/434505/ft1_filtered_4FGL_J0332.1-1123_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/434505/ft2_4FGL_J0332.1-1123_daily_bin1764.fits
Exposure map: /scratch/kocevski/434505/expmap_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.fits
Exposure cube: /scratch/kocevski/434505/ltcube_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434505/Model_4FGL_J0332.1-1123_daily_bin1764.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) = 6756.96510029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4037       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10743E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5743       1.0000          .0000       .10000E+07
     4 'Prefactor '    199.58       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3735       1.0000          .0000       .10000E+07
     6 'Prefactor '    .36219E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32513E-04   1.0000          .0000       .10000E+07
     8 'norm      '    8.1468       1.0000          .0000       .10000E+07
     9 'Prefactor '    .38829       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11490E-02   1.0000          .0000       .10000E+07
    11 'norm      '    1.7258       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17726E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .87961       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15532E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .99759E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    .92361       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6756.964     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     1260 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4160        1.2697       -.16690E-08    .10730E-02
   2  Prefactor     .37192E-07    5.6302        .93170E-07** at limit **
   3  Prefactor     3.6146        6.2348       -.60631E-07   -.95618E-03
   4  Prefactor     199.60        3.6801        .47984E-08   -.28870    
   5  Prefactor     1.4093        5.0787        .10775E-06    .38267E-03
   6  Prefactor      .0000        17.803        .21576E-06** at limit **
   7  Prefactor      .0000        2.4589        .90911E-07** at limit **
   8  norm          8.1480        1.9483       -.30393E-07   -.41686E-02
   9  Prefactor     .38837        1.5317        .38556E-07    .52271E-03
  10  Prefactor     .72720E-08    2.8684        .79781E-07** at limit **
  11  norm          1.7285        1.4793        .87732E-08    .75145E-03
  12  Prefactor     .66058E-08    5.4060       -.35356E-07** at limit **
  13  Prefactor     .84993        2.1739       -.12946E-07    .16181E-03
  14  Prefactor     .33307E-09    4.4645       -.43130E-07** at limit **
  15  norm          .18874E-08    6.5738        .40498E-07** at limit **
  16  Normalizat    .92332        .20456        .30938E-05   -.67756E-05
  17  Prefactor     1.0744        .14642       -.24354E-05   -.77469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.41601
  Prefactor  = 3.71925e-08
  Prefactor  = 3.6146
  Prefactor  = 199.604
  Prefactor  = 1.40928
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.14802
  Prefactor  = 0.388375
  Prefactor  = 7.27196e-09
  norm       = 1.72848
  Prefactor  = 6.60583e-09
  Prefactor  = 0.849932
  Prefactor  = 3.33067e-10
  norm       = 1.88738e-09
  Normalizat = 0.923319
  Prefactor  = 1.0744
 **********
 **   18 **HESSE 
 **********

 FCN=   6756.964     FROM HESSE     STATUS=OK           257 CALLS     1517 TOTAL
                     EDM=   .21E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4160        11.236        .54811E-03   -1.5671    
   2  Prefactor     .37192E-07    6.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.6146        6.3574        .53430E-03   -1.5670    
   4  Prefactor     199.60        224.31        .70792E-04   -1.5425    
   5  Prefactor     1.4093        5.1161        .92946E-03   -1.5684    
   6  Prefactor      .0000        17.283        .16139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.4510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.1480        1.9505        .35102E-03   -1.5651    
   9  Prefactor     .38837        1.6014        .90856E-03   -1.5695    
  10  Prefactor     .72720E-08    7.6280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7285        1.5125        .79905E-03   -1.5682    
  12  Prefactor     .66058E-08    5.4450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .84993        2.1914        .47180E-03   -1.5690    
  14  Prefactor     .33307E-09    4.4621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .18874E-08    8.0477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .92332        .18524        .66437E-01   -.95646    
  17  Prefactor     1.0744        .12845        .38653E-01   -.90289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11015e-05
Minuit parameter uncertainties:
  1  11.2358
  2  0.00101293
  3  6.35738
  4  224.324
  5  5.11612
  6  3.98764e-05
  7  4.68779e-06
  8  1.95051
  9  1.57726
  10  0.000470585
  11  1.51249
  12  0.000379705
  13  2.19144
  14  7.80498e-05
  15  0.000245803
  16  0.185373
  17  0.128485
Done.

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

Extracting fit parameters...

4FGL J0332.1-1123
   Spectrum: PowerLaw
292    Prefactor:  0.000e+00  4.688e-06  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.390e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.286e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.074e+00  1.285e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  9.233e-01  1.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/434505/likelihoodResults_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.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) = 6756.96469783
delta logL = -0.000723759299945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6756.96397509
delta logL = -1.01320620161e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6756.964     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      240 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.1281        .42118E-03** at limit **
   2  Index         2.2083        1.4046        .34141E-04     .0000    
   3  Normalizat    .92332        1.2575        .73813E-05   -.10004E-03
   4  Prefactor     1.0744        1.1675       -.10974E-04   -.95262E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.20831
  Normalizat = 0.923318
  Prefactor  = 1.0744
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6756.964     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.1281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .53858        1.8347        .34141E-04   -.59238    
   3  Normalizat    .92332        1.2575        .73813E-05   -.95646    
   4  Prefactor     1.0744        1.1675       -.10974E-04   -.90289    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.73473e-12
Minuit parameter uncertainties:
  1  5.70638e-07
  2  1.43293
  3  1.30141
  4  1.19715
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434505': 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) = 6756.96397407
delta logL = -2.72848410532e-12

Extracting fit parameters...

4FGL J0332.1-1123
   Spectrum: PowerLaw
292    Prefactor:  0.000e+00  5.706e-07  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.208e+00  1.433e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.286e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.074e+00  1.197e+00  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  9.233e-01  1.301e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 53.033 -11.395

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/434505/cmap_HighResolution_696556801_696816001_4FGL_J0332.1-1123_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-03', job_status='DONE', photon_flux_upper_limit='4.35e-08', time_completed='2023-01-31 00:19:00.473382', job_id='434505', GAL2='1.07', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1675153140.47', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-2.73e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1764' AND source_name='4FGL J0332.1-1123' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:19:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 434505: <4FGL_J0332.1-1123_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0332.1-1123_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:05:01 2023
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:08:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:08:58 2023
Terminated at Tue Jan 31 00:19:01 2023
Results reported at Tue Jan 31 00:19:01 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0332.1-1123_daily_bin1764 53.0335 -11.3949 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0332.1-1123 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   552.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             370.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            840 sec.

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

