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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1581
RA = 351.737, Dec = -41.5089
tmin = 649123201, tmax = 649382401
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='904650', job_status='RUN', time_executed='2021-09-29 19:34:28.600686', time_epoch_executed='1632969268.6' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1581'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904650

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904650/ft1_4FGL_J2326.9-4130_daily_bin1581.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904650/ft2_4FGL_J2326.9-4130_daily_bin1581.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904650/ft1_4FGL_J2326.9-4130_daily_bin1581.fits outfile=/scratch/kocevski/904650/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1581.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=649123201.0 tmax=649382401.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.04
user 2.84
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904650/ft1_filtered_4FGL_J2326.9-4130_daily_bin1581.fits" evtable="EVENTS" scfile=/scratch/kocevski/904650/ft2_4FGL_J2326.9-4130_daily_bin1581.fits sctable="SC_DATA" outfile=/scratch/kocevski/904650/ltcube_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.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/904650/ft2_4FGL_J2326.9-4130_daily_bin1581.fits
.....................!
real 12.29
user 11.92
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904650/ft1_filtered_4FGL_J2326.9-4130_daily_bin1581.fits evtable="EVENTS" scfile=/scratch/kocevski/904650/ft2_4FGL_J2326.9-4130_daily_bin1581.fits sctable="SC_DATA" expcube=/scratch/kocevski/904650/ltcube_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.fits outfile=/scratch/kocevski/904650/expmap_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.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/904650/ltcube_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.fits
.....................!
real 191.17
user 185.91
sys 4.93

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/904650/ft1_filtered_4FGL_J2326.9-4130_daily_bin1581.fits scfile=/scratch/kocevski/904650/ft2_4FGL_J2326.9-4130_daily_bin1581.fits outfile=/scratch/kocevski/904650/cmap_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904650/ft1_filtered_4FGL_J2326.9-4130_daily_bin1581.fits scfile=/scratch/kocevski/904650/ft2_4FGL_J2326.9-4130_daily_bin1581.fits outfile=/scratch/kocevski/904650/cmap_HighResolution_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/904650/ft1_filtered_4FGL_J2326.9-4130_daily_bin1581.fits evtable="EVENTS" scfile=/scratch/kocevski/904650/ft2_4FGL_J2326.9-4130_daily_bin1581.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904650/Model_4FGL_J2326.9-4130_daily_bin1581.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/904650/ft1_filtered_4FGL_J2326.9-4130_daily_bin1581.fits......................!
real 29.71
user 28.50
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/904650/ft1_filtered_4FGL_J2326.9-4130_daily_bin1581.fits', '/scratch/kocevski/904650/ft2_4FGL_J2326.9-4130_daily_bin1581.fits', expMap='/scratch/kocevski/904650/expmap_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.fits', expCube='/scratch/kocevski/904650/ltcube_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/904650/Model_4FGL_J2326.9-4130_daily_bin1581.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/904650/ft1_filtered_4FGL_J2326.9-4130_daily_bin1581.fits
Spacecraft file(s): /scratch/kocevski/904650/ft2_4FGL_J2326.9-4130_daily_bin1581.fits
Exposure map: /scratch/kocevski/904650/expmap_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.fits
Exposure cube: /scratch/kocevski/904650/ltcube_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/904650/Model_4FGL_J2326.9-4130_daily_bin1581.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) = 3103.29317312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    132.27       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.627       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43473       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10441E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    95.981       1.0000         .10000E-03   10000.    
    15 'Prefactor '    77.423       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15617       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    133.84       1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .28696E-01   1.0000         .10000E-03   10000.    
    25 'norm      '    1.4260       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    14.988       1.0000         .10000E-03   10000.    
    31 'Prefactor '    21.071       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0932       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .89157       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=   3103.281     FROM MIGRAD    STATUS=CONVERGED    885 CALLS     4567 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     132.30        98.598       -.12424E-05   -.22462E-04
   2  Prefactor     10.639        32.894        .51697E-06   -.12026E-04
   3  Prefactor     .10000E-03    88.013        .32841E-05** at limit **
   4  Prefactor     .10000E-03    16.147       -.26941E-06** at limit **
   5  Prefactor     .46768        6.9823        .88502E-06    .20955E-04
   6  Prefactor     .10000E-03    11.461        .75618E-06** at limit **
   7  Prefactor     .10000E-03    160.98       -.22379E-05** at limit **
   8  Prefactor     .10000E-03    20.574        .12503E-05** at limit **
   9  Prefactor     .10000E-03    18.512        .46112E-06** at limit **
  10  Prefactor     .10000E-03    22.035       -.16945E-07** at limit **
  11  Prefactor     .10000E-03    25.085       -.77374E-06** at limit **
  12  Prefactor     .10000E-03    5.2595       -.56862E-06** at limit **
  13  Prefactor     .10000E-03    125.93       -.55173E-05** at limit **
  14  Prefactor     96.003        121.20       -.16897E-05   -.13309E-04
  15  Prefactor     77.420        34.076       -.89734E-06   -.31264E-04
  16  norm          .10000E-03    14.026        .28731E-06** at limit **
  17  norm          .10000E-03    5.9367        .16992E-06** at limit **
  18  norm          .10000E-03    5.1151        .77374E-06** at limit **
  19  norm          .10000E-03    4.6063       -.21256E-06** at limit **
  20  Prefactor     .17029        30.205        .28985E-05    .26366E-03
  21  Prefactor     .10000E-03    23.768       -.29469E-06** at limit **
  22  Prefactor     133.86        90.375       -.11406E-05   -.21039E-04
  23  norm          .10000E-03    2.0542        .10908E-06** at limit **
  24  Prefactor     .10018E-03    162.87       -.95183E-05** at limit **
  25  norm          1.4258        1.3382       -.10545E-06   -.13136E-04
  26  norm          .10000E-03    1.9960        .66995E-07** at limit **
  27  Prefactor     .10000E-03    4.2738        .65488E-06** at limit **
  28  Prefactor     .10000E-03    27.896        .11773E-05** at limit **
  29  Prefactor     .10000E-03    5.3050        .31806E-06** at limit **
  30  Prefactor     14.990        8.2206       -.12512E-06   -.75404E-04
  31  Prefactor     21.078        57.552        .37943E-06   -.12173E-05
  32  Normalizat    1.0927        .28498        .63369E-06   -.19431E-03
  33  Prefactor     .89188        .29888       -.22845E-05   -.36084E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 132.299
  Prefactor  = 10.6395
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.467676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 96.0035
  Prefactor  = 77.4203
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.170287
  Prefactor  = 0.0001
  Prefactor  = 133.861
  norm       = 0.0001
  Prefactor  = 0.000100183
  norm       = 1.42578
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.9902
  Prefactor  = 21.0777
  Normalizat = 1.0927
  Prefactor  = 0.891875
 **********
 **   18 **HESSE 
 **********

 FCN=   3103.281     FROM HESSE     STATUS=OK           687 CALLS     5254 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     132.30        98.264        .17506E-03   -1.3402    
   2  Prefactor     10.639        32.846        .12291E-03   -1.5055    
   3  Prefactor     .10000E-03    88.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .46768        27.291        .26309E-02   -1.5571    
   6  Prefactor     .10000E-03    11.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    161.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    25.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.2629        .12475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    126.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     96.003        121.01        .41027E-04   -1.3745    
  15  Prefactor     77.420        34.136        .45638E-04   -1.3946    
  16  norm          .10000E-03    14.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.9621        .13248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.1806        .12312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.6067        .11671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .17029        149.13        .37285E-02   -1.5625    
  21  Prefactor     .10000E-03    23.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     133.86        89.977        .17405E-03   -1.3389    
  23  norm          .10000E-03    2.0604        .77996E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10018E-03    189.91        .50851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.4258        1.3446        .58435E-04   -1.5469    
  26  norm          .10000E-03    2.0017        .76874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    4.4439        .22515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    28.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    5.3665        .12535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     14.990        8.2234        .10346E-03   -1.4933    
  31  Prefactor     21.078        57.711        .87257E-04   -1.4789    
  32  Normalizat    1.0927        .34159        .24575E-03   -.89987    
  33  Prefactor     .89188        .36126        .29485E-03   -.96426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85221e-09
Minuit parameter uncertainties:
  1  98.3854
  2  32.9021
  3  0.000222792
  4  3.31412e-06
  5  7.14783
  6  2.55075e-05
  7  0.000133331
  8  6.44416e-05
  9  2.0339e-05
  10  6.85776e-06
  11  1.40255e-05
  12  9.00165e-06
  13  0.000384731
  14  121.326
  15  34.1449
  16  2.06684e-05
  17  1.77768e-05
  18  1.81948e-05
  19  1.45136e-06
  20  10.1012
  21  1.57293e-06
  22  90.0692
  23  3.03676e-06
  24  0.0118193
  25  1.34459
  26  2.7848e-06
  27  1.43813e-05
  28  6.33596e-05
  29  1.10454e-05
  30  8.22401
  31  57.8641
  32  0.342285
  33  0.362235
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  1.573e-06  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:  8.919e-01  3.622e-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.093e+00  3.423e-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: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904650/likelihoodResults_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.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) = 3103.28157563
delta logL = -0.000200029797725

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3103.28137747
delta logL = -1.87104569704e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2141       1.0000          .0000       10.000    
     3 'Normalizat'    1.0927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89188       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3103.281     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      281 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11124E-03    15.829        .18142E-01** at limit **
   2  Index         3.0399        6.8791        .50000        .21890E-04
   3  Normalizat    1.0927        .61149E-02    .24575E-03   -.18696E-03
   4  Prefactor     .89187        .67289E-02    .29485E-03   -.11575E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000111242
  Index      = 3.03991
  Normalizat = 1.0927
  Prefactor  = 0.891871
 **********
 **   18 **HESSE 
 **********

 FCN=   3103.281     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      310 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11124E-03    134.75        .22194E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0399        5.2731        .50000       -.40282    
   3  Normalizat    1.0927        .17959E-01    .49151E-04   -.89986    
   4  Prefactor     .89187        .19762E-01    .11794E-04   -.96426    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.68478e-08
Minuit parameter uncertainties:
  1  0.0780181
  2  462.983
  3  0.0179591
  4  0.0197623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904650': 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) = 3103.28137682
delta logL = -1.22424444271e-06

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.112e-04  7.802e-02  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.040e+00  4.630e+02  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:  8.919e-01  1.976e-02  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.093e+00  1.796e-02  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/904650/cmap_HighResolution_649123201_649382401_4FGL_J2326.9-4130_daily_bin1581.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.42e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-29 19:44:57.788745', job_id='904650', GAL2='0.89', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1632969897.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-1.22e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1581' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:44:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 904650: <4FGL_J2326.9-4130_daily_bin1581> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1581> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:30:26 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:30:28 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:30:28 2021
Terminated at Wed Sep 29 19:44:58 2021
Results reported at Wed Sep 29 19:44:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1581 351.737 -41.5089 649123201 649382401 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 :                                   621.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            872 sec.

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

