/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 73 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7362
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1466
RA = 351.737, Dec = -41.5089
tmin = 619315201, tmax = 619574401
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='902845', job_status='RUN', time_executed='2021-09-29 19:27:11.358684', time_epoch_executed='1632968831.36' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1466'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902845

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902845/ft1_4FGL_J2326.9-4130_daily_bin1466.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902845/ft1_4FGL_J2326.9-4130_daily_bin1466.fits outfile=/scratch/kocevski/902845/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1466.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=619315201.0 tmax=619574401.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.55
user 3.35
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.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/902845/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1466.fits evtable="EVENTS" outfile="/scratch/kocevski/902845/ft1_filtered_4FGL_J2326.9-4130_daily_bin1466.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902845/ft1_filtered_4FGL_J2326.9-4130_daily_bin1466.fits" evtable="EVENTS" scfile=/scratch/kocevski/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.fits sctable="SC_DATA" outfile=/scratch/kocevski/902845/ltcube_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.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/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.fits
.....................!
real 13.18
user 11.92
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902845/ft1_filtered_4FGL_J2326.9-4130_daily_bin1466.fits evtable="EVENTS" scfile=/scratch/kocevski/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.fits sctable="SC_DATA" expcube=/scratch/kocevski/902845/ltcube_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.fits outfile=/scratch/kocevski/902845/expmap_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.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/902845/ltcube_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.fits
.....................!
real 190.83
user 185.39
sys 4.96

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/902845/ft1_filtered_4FGL_J2326.9-4130_daily_bin1466.fits scfile=/scratch/kocevski/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.fits outfile=/scratch/kocevski/902845/cmap_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902845/ft1_filtered_4FGL_J2326.9-4130_daily_bin1466.fits scfile=/scratch/kocevski/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.fits outfile=/scratch/kocevski/902845/cmap_HighResolution_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902845/ft1_filtered_4FGL_J2326.9-4130_daily_bin1466.fits evtable="EVENTS" scfile=/scratch/kocevski/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902845/Model_4FGL_J2326.9-4130_daily_bin1466.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/902845/ft1_filtered_4FGL_J2326.9-4130_daily_bin1466.fits.....................!
real 33.74
user 32.56
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/902845/ft1_filtered_4FGL_J2326.9-4130_daily_bin1466.fits', '/scratch/kocevski/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.fits', expMap='/scratch/kocevski/902845/expmap_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.fits', expCube='/scratch/kocevski/902845/ltcube_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/902845/Model_4FGL_J2326.9-4130_daily_bin1466.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  1.000e-04  1.000e+04 ( 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/902845/ft1_filtered_4FGL_J2326.9-4130_daily_bin1466.fits
Spacecraft file(s): /scratch/kocevski/902845/ft2_4FGL_J2326.9-4130_daily_bin1466.fits
Exposure map: /scratch/kocevski/902845/expmap_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.fits
Exposure cube: /scratch/kocevski/902845/ltcube_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/902845/Model_4FGL_J2326.9-4130_daily_bin1466.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) = 3981.71736149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.125       1.0000         .10000E-03   10000.    
     3 'Prefactor '    119.24       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.6270       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.962       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.399       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.9638       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.429       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    4.6262       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.6258       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .59181       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .70049       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.2569       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3981.703     FROM MIGRAD    STATUS=CONVERGED    884 CALLS     4592 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.533        .11195E-05** at limit **
   2  Prefactor     24.141        36.979       -.21063E-05   -.17928E-03
   3  Prefactor     119.25        64.930       -.69241E-06   -.89582E-04
   4  Prefactor     .10000E-03    20.899       -.83351E-06** at limit **
   5  Prefactor     8.6276        7.1915        .55188E-07    .62018E-05
   6  Prefactor     .10000E-03    4.0341        .13363E-05** at limit **
   7  Prefactor     .10000E-03    49.640       -.25745E-05** at limit **
   8  Prefactor     .10000E-03    13.199       -.74493E-06** at limit **
   9  Prefactor     17.960        20.545       -.47981E-07   -.11879E-05
  10  Prefactor     .10000E-03    7.3697        .42717E-06** at limit **
  11  Prefactor     22.392        26.423        .13575E-06   -.53653E-05
  12  Prefactor     .10000E-03    8.3312       -.23960E-07** at limit **
  13  Prefactor     .10000E-03    27.184        .54128E-06** at limit **
  14  Prefactor     .10000E-03    130.82        .15926E-05** at limit **
  15  Prefactor     .10000E-03    6.1577        .82730E-07** at limit **
  16  norm          5.9633        12.070        .12673E-08   -.22134E-04
  17  norm          .10000E-03    2.4342        .22429E-07** at limit **
  18  norm          .10000E-03    1.8243       -.79476E-08** at limit **
  19  norm          .10000E-03    3.9465        .33718E-07** at limit **
  20  Prefactor     15.437        9.1588       -.45630E-06   -.65164E-03
  21  Prefactor     .10000E-03    18.147        .11268E-05** at limit **
  22  Prefactor     .10000E-03    23.018       -.12343E-05** at limit **
  23  norm          .10000E-03    2.1141       -.55879E-07** at limit **
  24  Prefactor     .10000E-03    31.545        .28143E-05** at limit **
  25  norm          .10000E-03    .47064       -.14975E-07** at limit **
  26  norm          4.6268        5.2605       -.58283E-07   -.14376E-03
  27  Prefactor     .10000E-03    1.1844        .64049E-07** at limit **
  28  Prefactor     .10000E-03    5.9198       -.35048E-08** at limit **
  29  Prefactor     2.6257        5.5761        .29866E-05   -.32912E-03
  30  Prefactor     .59659        5.5819       -.37463E-06    .70114E-04
  31  Prefactor     .10000E-03    23.083       -.11793E-05** at limit **
  32  Normalizat    .70034        .22141       -.12305E-05   -.14749E-03
  33  Prefactor     1.2571        .23686        .72383E-06   -.11639E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 24.1408
  Prefactor  = 119.247
  Prefactor  = 0.0001
  Prefactor  = 8.62764
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.96
  Prefactor  = 0.0001
  Prefactor  = 22.3918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.9633
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 15.4375
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.62678
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.62573
  Prefactor  = 0.596594
  Prefactor  = 0.0001
  Normalizat = 0.700342
  Prefactor  = 1.2571
 **********
 **   18 **HESSE 
 **********

 FCN=   3981.703     FROM HESSE     STATUS=OK           683 CALLS     5275 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.141        38.812        .81554E-04   -1.4725    
   3  Prefactor     119.25        65.030        .36852E-04   -1.3520    
   4  Prefactor     .10000E-03    20.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.6276        7.1880        .13647E-03   -1.5120    
   6  Prefactor     .10000E-03    7.1872        .23589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    49.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.569        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.960        20.559        .94504E-04   -1.4860    
  10  Prefactor     .10000E-03    7.3672        .16724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.392        26.452        .84633E-04   -1.4761    
  12  Prefactor     .10000E-03    8.5740        .35563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    27.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    131.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.1683        .15292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.9633        12.067        .16443E-03   -1.5220    
  17  norm          .10000E-03    2.4348        .96149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.8248        .83237E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.9525        .12241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.437        9.2741        .50982E-03   -1.4922    
  21  Prefactor     .10000E-03    18.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    22.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.1223        .89529E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    31.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .48018        .84301E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          4.6268        5.2510        .14721E-03   -1.5278    
  27  Prefactor     .10000E-03    1.1929        .67069E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    5.9209        .14995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     2.6257        5.8064        .10891E-02   -1.5384    
  30  Prefactor     .59659        20.675        .22822E-02   -1.5553    
  31  Prefactor     .10000E-03    23.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .70034        .27002        .26569E-03   -1.0388    
  33  Prefactor     1.2571        .29103        .23009E-03   -.84592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.09248e-10
Minuit parameter uncertainties:
  1  1.841e-05
  2  38.853
  3  65.0685
  4  1.13499e-05
  5  7.18869
  6  4.4966e-05
  7  8.09365e-05
  8  2.18228e-05
  9  20.5668
  10  4.04693e-06
  11  26.4656
  12  1.1473e-05
  13  1.01659e-05
  14  4.09018e-05
  15  2.06557e-06
  16  12.0724
  17  9.31512e-07
  18  5.20179e-07
  19  2.29364e-06
  20  9.275
  21  1.25919e-05
  22  3.36775e-05
  23  2.86422e-06
  24  0.000103545
  25  7.28865e-07
  26  5.25151
  27  2.87686e-06
  28  6.1426e-06
  29  5.80766
  30  7.02612
  31  2.73565e-05
  32  0.270533
  33  0.291407
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  1.259e-05  1.000e-04  1.000e+04 ( 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:  1.257e+00  2.914e-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:  7.003e-01  2.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/902845/likelihoodResults_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.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) = 3981.70335773
delta logL = -0.000262826123162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3981.69133411
delta logL = 0.011760799026

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66063E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    6.9695       1.0000          .0000       10.000    
     3 'Normalizat'    .68649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2680       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.

 FCN=   3981.691     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      302 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63305E-02    .24198        .40369E-02    .57983E-02
   2  Index         6.9904        2.1748        .50000        .79004E-05
   3  Normalizat    .68647        .13015E-01    .60685E-01    .54201E-05
   4  Prefactor     1.2680        .14733E-01    .51854E-01   -.81606E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00633049
  Index      = 6.99039
  Normalizat = 0.686466
  Prefactor  = 1.26798
 **********
 **   18 **HESSE 
 **********

 FCN=   3981.691     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      337 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63305E-02    11.303        .22929E-03   -1.5692    
   2  Index         6.9904        6.2909        .11513E-01    .40942    
   3  Normalizat    .68647        .11539        .26844E-03   -1.0443    
   4  Prefactor     1.2680        .12669        .22925E-03   -.84264    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59253e-06
Minuit parameter uncertainties:
  1  0.530842
  2  44.5632
  3  0.115427
  4  0.126723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902845': 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) = 3981.69133234
delta logL = 0.0117625643929

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  6.330e-03  5.308e-01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  6.990e+00  4.456e+01  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:  1.268e+00  1.267e-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:  6.865e-01  1.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/902845/cmap_HighResolution_619315201_619574401_4FGL_J2326.9-4130_daily_bin1466.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.48e-03', job_status='DONE', photon_flux_upper_limit='9.46e-08', time_completed='2021-09-29 19:40:29.126069', job_id='902845', GAL2='1.27', fit_tolerance='1e-08', EG2='0.69', EG='0.70', time_epoch_completed='1632969629.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.18e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1466' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:40:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 902845: <4FGL_J2326.9-4130_daily_bin1466> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1466> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:25:48 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:25:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 19:25:49 2021
Terminated at Wed Sep 29 19:40:29 2021
Results reported at Wed Sep 29 19:40:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1466 351.737 -41.5089 619315201 619574401 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 :                                   711.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            881 sec.

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

