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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1728
RA = 351.737, Dec = -41.5089
tmin = 687225601, tmax = 687484801
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='305573', job_status='RUN', time_executed='2022-10-15 00:41:23.867510', time_epoch_executed='1665819683.87' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/305573

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/305573/ft1_4FGL_J2326.9-4130_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/305573/ft1_4FGL_J2326.9-4130_daily_bin1728.fits outfile=/scratch/kocevski/305573/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1728.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=687225601.0 tmax=687484801.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 2.73
user 2.51
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.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/305573/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1728.fits evtable="EVENTS" outfile="/scratch/kocevski/305573/ft1_filtered_4FGL_J2326.9-4130_daily_bin1728.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/305573/ft1_filtered_4FGL_J2326.9-4130_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/305573/ltcube_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.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/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits
.....................!
real 12.60
user 12.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/305573/ft1_filtered_4FGL_J2326.9-4130_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/305573/ltcube_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.fits outfile=/scratch/kocevski/305573/expmap_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.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/305573/ltcube_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.fits
.....................!
real 193.05
user 186.89
sys 5.53

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

Setting source of interest to:
4FGL J2326.9-4130 @ 351.737 -41.5089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/305573/ft1_filtered_4FGL_J2326.9-4130_daily_bin1728.fits scfile=/scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits outfile=/scratch/kocevski/305573/cmap_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.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=351.737 yref=-41.5089 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/305573/ft1_filtered_4FGL_J2326.9-4130_daily_bin1728.fits scfile=/scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits outfile=/scratch/kocevski/305573/cmap_HighResolution_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.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=351.737 yref=-41.5089 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/305573/ft1_filtered_4FGL_J2326.9-4130_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/305573/Model_4FGL_J2326.9-4130_daily_bin1728.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/305573/ft1_filtered_4FGL_J2326.9-4130_daily_bin1728.fits.....................!
real 45.22
user 43.88
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/305573/ft1_filtered_4FGL_J2326.9-4130_daily_bin1728.fits', '/scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits', expMap='/scratch/kocevski/305573/expmap_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.fits', expCube='/scratch/kocevski/305573/ltcube_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/305573/Model_4FGL_J2326.9-4130_daily_bin1728.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.9-4130'

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  7.129e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/305573/ft1_filtered_4FGL_J2326.9-4130_daily_bin1728.fits
Spacecraft file(s): /scratch/kocevski/305573/ft2_4FGL_J2326.9-4130_daily_bin1728.fits
Exposure map: /scratch/kocevski/305573/expmap_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.fits
Exposure cube: /scratch/kocevski/305573/ltcube_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/305573/Model_4FGL_J2326.9-4130_daily_bin1728.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) = 6373.71481093

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17576E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .85390E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    29.849       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.474       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6374       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11641E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.5864       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.0025       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.561       1.0000          .0000       .10000E+07
    10 'Prefactor '    45.946       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.0987       1.0000          .0000       .10000E+07
    12 'Prefactor '    .27101E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.950       1.0000          .0000       .10000E+07
    14 'norm      '    6.5095       1.0000          .0000       .10000E+07
    15 'norm      '    .12537E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .11791E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .70055E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    12.981       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.0457       1.0000          .0000       .10000E+07
    20 'Prefactor '    10.834       1.0000          .0000       .10000E+07
    21 'norm      '    3.3912       1.0000          .0000       .10000E+07
    22 'Prefactor '    .60515E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .44409E-09   1.0000          .0000       .10000E+07
    24 'norm      '    4.7505       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.0356       1.0000          .0000       .10000E+07
    26 'Prefactor '    3.4315       1.0000          .0000       .10000E+07
    27 'Prefactor '    6.5960       1.0000          .0000       .10000E+07
    28 'Prefactor '    .19122E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    .53626E-01   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1395       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .74188       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6373.559     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     2929 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74662E-06    10.082        .44286E-07** at limit **
   2  Prefactor     .13961E-06    10.258        .67168E-07** at limit **
   3  Prefactor     31.540        30.198        .57920E-06    .18197E-01
   4  Prefactor     11.483        2.2820        .76063E-07   -.28492E-01
   5  Prefactor     4.6267        3.7033       -.13353E-06    .72424E-03
   6  Prefactor     .95091E-07    8.5158        .13951E-06** at limit **
   7  Prefactor     4.6317        4.8803        .20873E-06   -.11180E-02
   8  Prefactor     7.3895        1.9224        .98503E-07    .18645E-02
   9  Prefactor     10.516        1.2313        .19402E-07    .66954E-02
  10  Prefactor     46.373        1.6994        .30059E-07    .11156E-01
  11  Prefactor     5.1027        6.2485        .20793E-07   -.25726E-02
  12  Prefactor     .35671E-06    9.8543        .10245E-07** at limit **
  13  Prefactor     12.950        1.8319        .34525E-07    .60225E-01
  14  norm          6.5098        6.6757       -.10427E-07   -.11208E-02
  15  norm          .50515E-08    6.3697        .53132E-06** at limit **
  16  norm          .82712E-08    4.7568        .42061E-06** at limit **
  17  norm          .55511E-09    2.1027       -.13489E-06** at limit **
  18  Prefactor     13.032        5.9873       -.91052E-07   -.82227E-02
  19  Prefactor     2.1957        6.3162        .47706E-06   -.22654E-02
  20  Prefactor     12.115        39.219        .17879E-05   -.97612E-02
  21  norm          3.3798        3.9934        .26006E-07    .77270E-03
  22  Prefactor     .37748E-08    4.1360        .11926E-06** at limit **
  23  norm           .0000        .35297        .10673E-06** at limit **
  24  norm          4.7592        3.9247        .50643E-07    .21180E-04
  25  Prefactor     1.0456        2.1092        .36895E-06   -.22448E-02
  26  Prefactor     3.4015        2.0832        .10096E-07    .34626E-01
  27  Prefactor     6.5999        6.2604       -.28250E-06   -.15248E-02
  28  Prefactor     .17951E-05    2.2627        .23572E-06** at limit **
  29  Prefactor     .13878E-08    1.0332        .35252E-07** at limit **
  30  Normalizat    1.1369        .20423        .44230E-06    .28893E-04
  31  Prefactor     .74252        .21575       -.32457E-05    .22525E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.46625e-07
  Prefactor  = 1.39611e-07
  Prefactor  = 31.5403
  Prefactor  = 11.4825
  Prefactor  = 4.62665
  Prefactor  = 9.50906e-08
  Prefactor  = 4.63171
  Prefactor  = 7.38947
  Prefactor  = 10.5159
  Prefactor  = 46.3725
  Prefactor  = 5.10272
  Prefactor  = 3.56715e-07
  Prefactor  = 12.9503
  norm       = 6.50982
  norm       = 5.05151e-09
  norm       = 8.27116e-09
  norm       = 5.55112e-10
  Prefactor  = 13.0319
  Prefactor  = 2.19572
  Prefactor  = 12.1149
  norm       = 3.37982
  Prefactor  = 3.77476e-09
  norm       = 0
  norm       = 4.75918
  Prefactor  = 1.04564
  Prefactor  = 3.40153
  Prefactor  = 6.59988
  Prefactor  = 1.79512e-06
  Prefactor  = 1.38778e-09
  Normalizat = 1.1369
  Prefactor  = 0.74252
 **********
 **   18 **HESSE 
 **********

 FCN=   6373.559     FROM HESSE     STATUS=OK           694 CALLS     3623 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74662E-06    19.839        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13961E-06    10.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.540        30.742        .18306E-03   -1.5596    
   4  Prefactor     11.483        6.8349        .29550E-03   -1.5640    
   5  Prefactor     4.6267        3.7131        .46712E-03   -1.5665    
   6  Prefactor     .95091E-07    9.2574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6317        4.8971        .46978E-03   -1.5665    
   8  Prefactor     7.3895        23.443        .37887E-03   -1.5654    
   9  Prefactor     10.516        14.562        .30806E-03   -1.5643    
  10  Prefactor     46.373        22.832        .14754E-03   -1.5572    
  11  Prefactor     5.1027        6.3944        .44503E-03   -1.5663    
  12  Prefactor     .35671E-06    19.630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.950        12.375        .27809E-03   -1.5636    
  14  norm          6.5098        6.6856        .39311E-03   -1.5657    
  15  norm          .50515E-08    6.3492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .82712E-08    4.7639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-09    2.1058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.032        6.1396        .27776E-03   -1.5636    
  19  Prefactor     2.1957        193.90        .72260E-03   -1.5678    
  20  Prefactor     12.115        40.087        .30414E-03   -1.5638    
  21  norm          3.3798        5.3061        .54917E-03   -1.5671    
  22  Prefactor     .37748E-08    4.1610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        .35094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          4.7592        3.9953        .46140E-03   -1.5664    
  25  Prefactor     1.0456        2.3811        .36838E-02   -1.5688    
  26  Prefactor     3.4015        11.969        .54579E-03   -1.5671    
  27  Prefactor     6.5999        6.4668        .39050E-03   -1.5657    
  28  Prefactor     .17951E-05    11.635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .13878E-08    122.58        .15399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1369        .18161        .36581E-01   -.88576    
  31  Prefactor     .74252        .18477        .65908E-01   -1.0188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8795e-07
Minuit parameter uncertainties:
  1  0.00769735
  2  0.00247051
  3  30.7426
  4  6.83494
  5  3.71306
  6  0.00187629
  7  4.89711
  8  23.4429
  9  14.5616
  10  22.832
  11  6.39436
  12  0.00529219
  13  12.3752
  14  6.68566
  15  0.000359123
  16  0.00039704
  17  6.72644e-05
  18  6.13956
  19  41.2687
  20  40.0879
  21  5.30609
  22  0.000250106
  23  1.48239e-06
  24  3.99534
  25  2.38109
  26  11.9692
  27  6.46685
  28  0.00914039
  29  0.000823864
  30  0.181714
  31  0.184923
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.196e+00  4.127e+01  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  7.425e-01  1.849e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.137e+00  1.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 9.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/305573/likelihoodResults_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.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) = 6373.49944311
delta logL = 0.0594538744444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6373.35195795
delta logL = 0.206939036293

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6373.562     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      403 TOTAL
                     EDM=   .14E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        25.650        .42118E-03** at limit **
   2  Index         1.9257        1.2457        .23198E-06     .0000    
   3  Normalizat    1.1397        1.1613        .15872E-05   -.49135E-05
   4  Prefactor     .74128        1.0978        .14458E-05    .25623E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.92574
  Normalizat = 1.13974
  Prefactor  = 0.74128
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6373.562     FROM HESSE     STATUS=FAILED         9 CALLS      412 TOTAL
                     EDM=   .14E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        25.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .39197        1.6912        .23198E-06   -.66220    
   3  Normalizat    1.1397        1.1613        .15872E-05   -2.2567    
   4  Prefactor     .74128        1.0978        .14458E-05   -1.0193    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.38983e-14
Minuit parameter uncertainties:
  1  1.80151e-07
  2  1.26741
  3  1.18909
  4  1.13275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/305573': 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) = 6373.56160566
delta logL = -0.00270867469408

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  0.000e+00  1.802e-07  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  1.926e+00  1.267e+00  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  7.413e-01  1.133e+00  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.140e+00  1.189e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 351.737 -41.509

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/305573/cmap_HighResolution_687225601_687484801_4FGL_J2326.9-4130_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.62e-03', job_status='DONE', photon_flux_upper_limit='9.64e-08', time_completed='2022-10-15 00:53:56.113297', job_id='305573', GAL2='0.74', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1665820436.11', return_code2='101', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-2.71e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1728' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:53:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 305573: <4FGL_J2326.9-4130_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1728> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Oct 15 00:40:15 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:40:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:40:16 2022
Terminated at Sat Oct 15 00:53:56 2022
Results reported at Sat Oct 15 00:53:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1728 351.737 -41.5089 687225601 687484801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.9-4130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   754.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            821 sec.

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

