/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 238 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 = 7363
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1219
RA = 351.737, Dec = -41.5089
tmin = 555292801, tmax = 555552001
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='902454', job_status='RUN', time_executed='2021-09-29 19:29:21.603723', time_epoch_executed='1632968961.6' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902454

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902454/ft1_4FGL_J2326.9-4130_daily_bin1219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902454/ft1_4FGL_J2326.9-4130_daily_bin1219.fits outfile=/scratch/kocevski/902454/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1219.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=555292801.0 tmax=555552001.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.61
user 3.41
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.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/902454/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1219.fits evtable="EVENTS" outfile="/scratch/kocevski/902454/ft1_filtered_4FGL_J2326.9-4130_daily_bin1219.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902454/ft1_filtered_4FGL_J2326.9-4130_daily_bin1219.fits" evtable="EVENTS" scfile=/scratch/kocevski/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.fits sctable="SC_DATA" outfile=/scratch/kocevski/902454/ltcube_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.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/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.fits
.....................!
real 11.77
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902454/ft1_filtered_4FGL_J2326.9-4130_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.fits sctable="SC_DATA" expcube=/scratch/kocevski/902454/ltcube_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.fits outfile=/scratch/kocevski/902454/expmap_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.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/902454/ltcube_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.fits
.....................!
real 189.99
user 185.19
sys 4.37

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/902454/ft1_filtered_4FGL_J2326.9-4130_daily_bin1219.fits scfile=/scratch/kocevski/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.fits outfile=/scratch/kocevski/902454/cmap_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902454/ft1_filtered_4FGL_J2326.9-4130_daily_bin1219.fits scfile=/scratch/kocevski/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.fits outfile=/scratch/kocevski/902454/cmap_HighResolution_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.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.59
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902454/ft1_filtered_4FGL_J2326.9-4130_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902454/Model_4FGL_J2326.9-4130_daily_bin1219.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/902454/ft1_filtered_4FGL_J2326.9-4130_daily_bin1219.fits.....................................!
real 16.62
user 15.30
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/902454/ft1_filtered_4FGL_J2326.9-4130_daily_bin1219.fits', '/scratch/kocevski/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.fits', expMap='/scratch/kocevski/902454/expmap_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.fits', expCube='/scratch/kocevski/902454/ltcube_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/902454/Model_4FGL_J2326.9-4130_daily_bin1219.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/902454/ft1_filtered_4FGL_J2326.9-4130_daily_bin1219.fits
Spacecraft file(s): /scratch/kocevski/902454/ft2_4FGL_J2326.9-4130_daily_bin1219.fits
Exposure map: /scratch/kocevski/902454/expmap_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.fits
Exposure cube: /scratch/kocevski/902454/ltcube_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/902454/Model_4FGL_J2326.9-4130_daily_bin1219.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 470.032903697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 466.525273908

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34550E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.575       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5116       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15236E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16763E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11203E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7461       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .99996E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .25058E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .40152E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    55.579       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0015       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7127       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .33727       1.0000         .10000E-03   10000.    
    16 'norm      '    .40002E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1111       1.0000         .10000E-03   10000.    
    18 'norm      '    .11696E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .95584E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .71592E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    47.749       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.0697       1.0000         .10000E-03   10000.    
    23 'norm      '    .40563E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    425.44       1.0000         .10000E-03   10000.    
    25 'norm      '    .30795E-01   1.0000         .10000E-03   10000.    
    26 'norm      '    .19914E-01   1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.5694       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .91731       1.0000         .10000E-03   10000.    
    29 'Prefactor '    12.431       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .14720E-02   1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.4283       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0161       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .11476E-08   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=   466.5120     FROM MIGRAD    STATUS=CONVERGED    360 CALLS      782 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    146.13        .91944E-02** at limit **
   2  Prefactor     .50727        7933.0        .27178E-02    .45839E-02
   3  Prefactor     8.5116        1.0017         .0000         .0000    
   4  Prefactor     .10000E-03    .20698       -.56801E-06** at limit **
   5  Prefactor     .10000E-03    .20732       -.27582E-08** at limit **
   6  Prefactor     .10000E-03    .20571        .19998E-07** at limit **
   7  Prefactor     1.1785        .86127       -.42800E-04   -.31109E-03
   8  Prefactor     .10000E-03    .26942       -.16180E-06** at limit **
   9  Prefactor     .10000E-03    .20920       -.33505E-07** at limit **
  10  Prefactor     .10000E-03    .21261        .88703E-06** at limit **
  11  Prefactor     55.123        .99596       -.23527E-06    .77994E-03
  12  Prefactor     .10000E-03    .20571       -.43348E-07** at limit **
  13  Prefactor     .10001E-03    .13389       -.19608E-07** at limit **
  14  Prefactor     .96132        .45430        .78429E-05   -.29160E-02
  15  Prefactor     .10022E-03    .28022        .54377E-05** at limit **
  16  norm          .10000E-03    .23752       -.99084E-07** at limit **
  17  norm          .10000E-03    .31348       -.13187E-06** at limit **
  18  norm          .10000E-03    .20571       -.38594E-07** at limit **
  19  norm          .10000E-03    .20606        .61836E-08** at limit **
  20  Prefactor     .10000E-03    .21972        .41729E-06** at limit **
  21  Prefactor     60.425        1.1243        .10164E-04   -.12235E-02
  22  Prefactor     .88849E-03    .34506        .82353E-05** at limit **
  23  norm          .10000E-03    .23709       -.15946E-06** at limit **
  24  Prefactor     413.66        .98667        .56613E-05   -.37785E-01
  25  norm          .10000E-03    .21049       -.14099E-06** at limit **
  26  norm          .10000E-03    .20803        .38563E-08** at limit **
  27  Prefactor     1.5694        1.0628         .0000         .0000    
  28  Prefactor     .10088E-03    .41410        .78509E-05** at limit **
  29  Prefactor     12.425        1.0006        .64959E-06    .12814E-03
  30  Prefactor     .10000E-03    .26228       -.41876E-06** at limit **
  31  Prefactor     .30684E-03    .20428        .93271E-05** at limit **
  32  Normalizat    1.0171        1.2810        .64642E-06    .79416E-04
  33  Prefactor     .10397E-11    .25504       -.33328E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.50727
  Prefactor  = 8.51155
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.17846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 55.1231
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.961316
  Prefactor  = 0.000100218
  norm       = 0.0001
  norm       = 0.000100004
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.4253
  Prefactor  = 0.000888486
  norm       = 0.0001
  Prefactor  = 413.664
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.5694
  Prefactor  = 0.000100879
  Prefactor  = 12.4246
  Prefactor  = 0.0001
  Prefactor  = 0.000306845
  Normalizat = 1.01715
  Prefactor  = 1.03972e-12
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   466.5120     FROM HESSE     STATUS=FAILED        15 CALLS      797 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    146.13        .91944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .50727        7933.0        .27178E-02   -1.5566    
   3  Prefactor     501.34        492.80         .0000       -1.5124    
   4  Prefactor     .10000E-03    .20698       -.56801E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    .20732       -.27582E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .20571        .19998E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1785        .86127       -.42800E-04   -1.5491    
   8  Prefactor     .10000E-03    .26942       -.16180E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .20920       -.33505E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .21261        .88703E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     55.123        .99596       -.23527E-06   -1.4222    
  12  Prefactor     .10000E-03    .20571       -.43348E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    .13389       -.19608E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .96132        .45430        .78429E-05   -1.5512    
  15  Prefactor     .10022E-03    .28022        .54377E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .23752       -.99084E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .31348       -.13187E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .20571       -.38594E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .20606        .61836E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .21972        .41729E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     60.425        1.1243        .10164E-04   -1.4152    
  22  Prefactor     .88849E-03    .34506        .82353E-05   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .23709       -.15946E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     413.66        .98667        .56613E-05   -1.1612    
  25  norm          .10000E-03    .21049       -.14099E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .20803        .38563E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.5694        1.0628         .0000       -1.5457    
  28  Prefactor     .10088E-03    .41410        .78509E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     12.425        1.0006        .64959E-06   -1.5003    
  30  Prefactor     .10000E-03    .26228       -.41876E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .30684E-03    .20428        .93271E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0171        1.2810        .64642E-06   -.92458    
  33  Prefactor     .10397E-11    .25504       -.33328E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.09836e-09
Minuit parameter uncertainties:
  1  4.74787e-05
  2  125.281
  3  1.00173
  4  7.71879e-06
  5  2.99832e-06
  6  2.78496e-07
  7  0.861279
  8  2.04187e-06
  9  5.07864e-07
  10  1.37589e-05
  11  0.995958
  12  5.90577e-07
  13  7.24455e-05
  14  0.454303
  15  0.000494118
  16  1.34317e-06
  17  7.22655e-05
  18  5.66144e-07
  19  9.54802e-08
  20  1.25062e-05
  21  1.12428
  22  0.0329898
  23  1.88144e-06
  24  0.986672
  25  1.4827e-06
  26  4.59722e-07
  27  1.06278
  28  0.00120658
  29  1.00057
  30  5.98695e-06
  31  0.0130008
  32  1.32326
  33  1.03433e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 466.511990879

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  6.043e+01  1.124e+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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.040e-12  1.034e-06  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.017e+00  1.323e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 7.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.94e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902454/likelihoodResults_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.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) = 463.451167508
delta logL = 3.06082337091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 463.309623789
delta logL = 3.20236709024

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29644E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    9.9994       1.0000          .0000       10.000    
     3 'Normalizat'    .60231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .29962       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=   463.3096     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      451 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29607E-02    .66738E-01    .17477E-03   -.44096E-02
   2  Index        10.0000        9.9993        .22152    ** at limit **
   3  Normalizat    .60272        .47161        .40971E-01   -.46738E-04
   4  Prefactor     .29935        .44083        .59816E-01   -.40594E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00296069
  Index      = 10
  Normalizat = 0.602717
  Prefactor  = 0.299349
 **********
 **   18 **HESSE 
 **********

 FCN=   463.3096     FROM HESSE     STATUS=OK            35 CALLS      486 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29607E-02    .39115E-02    .72110E-06   -1.5697    
   2  Index        10.0000        7.5722        .17658        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .60272        .62868        .20122E-03   -1.0787    
   4  Prefactor     .29935        .58414        .26483E-03   -1.2230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.46255e-11
Minuit parameter uncertainties:
  1  0.00391153
  2  4.44301e-05
  3  0.636361
  4  0.596228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902454': 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): 0
logL (Free Index) = 463.309601782
delta logL = 3.20238909648

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.961e-03  3.912e-03  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  1.000e+01  4.443e-05  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:  2.993e-01  5.962e-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.027e-01  6.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.28
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.13e-06 +/- 1.44e-06
Energy Flux (Free Index): 1.26e-04 +/- 1.62e-04

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/902454/cmap_HighResolution_555292801_555552001_4FGL_J2326.9-4130_daily_bin1219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.94e-02', comment='SUCCESS', energy_flux2='1.26e-04', dlogl='3.20e+00', photon_flux2='1.13e-06', job_status='DONE', time_completed='2021-09-29 19:34:57.327010', photon_index_error2='0.00', photon_index2='10.00', ts='0.13', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', photon_flux_upper_limit='7.51e-07', energy_flux_error2='1.62e-04', EG='1.02', time_epoch_completed='1632969297.33', return_code='101', job_id='902454', GAL2='0.30', EG2='0.60', return_code2='0', photon_flux_error2='1.44e-06', ts2='7.28', photon_index='2.78' WHERE bin_id='1219' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:34:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 902454: <4FGL_J2326.9-4130_daily_bin1219> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1219> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:25:12 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:25:14 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:14 2021
Terminated at Wed Sep 29 19:34:57 2021
Results reported at Wed Sep 29 19:34:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1219 351.737 -41.5089 555292801 555552001 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 :                                   332.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             226.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   583 sec.
    Turnaround time :                            585 sec.

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

