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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1226
RA = 351.737, Dec = -41.5089
tmin = 557107201, tmax = 557366401
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='902465', job_status='RUN', time_executed='2021-09-29 19:25:55.955964', time_epoch_executed='1632968755.96' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1226'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902465

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902465/ft1_4FGL_J2326.9-4130_daily_bin1226.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902465/ft2_4FGL_J2326.9-4130_daily_bin1226.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902465/ft1_4FGL_J2326.9-4130_daily_bin1226.fits outfile=/scratch/kocevski/902465/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1226.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=557107201.0 tmax=557366401.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.71
user 3.49
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902465/ft2_4FGL_J2326.9-4130_daily_bin1226.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/902465/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1226.fits evtable="EVENTS" outfile="/scratch/kocevski/902465/ft1_filtered_4FGL_J2326.9-4130_daily_bin1226.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/902465/ft1_filtered_4FGL_J2326.9-4130_daily_bin1226.fits" evtable="EVENTS" scfile=/scratch/kocevski/902465/ft2_4FGL_J2326.9-4130_daily_bin1226.fits sctable="SC_DATA" outfile=/scratch/kocevski/902465/ltcube_557107201_557366401_4FGL_J2326.9-4130_daily_bin1226.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/902465/ft2_4FGL_J2326.9-4130_daily_bin1226.fits
.....................!
real 12.17
user 11.80
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902465/ft1_filtered_4FGL_J2326.9-4130_daily_bin1226.fits evtable="EVENTS" scfile=/scratch/kocevski/902465/ft2_4FGL_J2326.9-4130_daily_bin1226.fits sctable="SC_DATA" expcube=/scratch/kocevski/902465/ltcube_557107201_557366401_4FGL_J2326.9-4130_daily_bin1226.fits outfile=/scratch/kocevski/902465/expmap_557107201_557366401_4FGL_J2326.9-4130_daily_bin1226.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/902465/ltcube_557107201_557366401_4FGL_J2326.9-4130_daily_bin1226.fits
.....................!
real 190.62
user 185.08
sys 5.15

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/902465/ft1_filtered_4FGL_J2326.9-4130_daily_bin1226.fits scfile=/scratch/kocevski/902465/ft2_4FGL_J2326.9-4130_daily_bin1226.fits outfile=/scratch/kocevski/902465/cmap_557107201_557366401_4FGL_J2326.9-4130_daily_bin1226.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902465/ft1_filtered_4FGL_J2326.9-4130_daily_bin1226.fits scfile=/scratch/kocevski/902465/ft2_4FGL_J2326.9-4130_daily_bin1226.fits outfile=/scratch/kocevski/902465/cmap_HighResolution_557107201_557366401_4FGL_J2326.9-4130_daily_bin1226.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.737 yref=-41.5089 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    473.73       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    204.41       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .23890E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11673E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10370       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19248E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.348       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9998.9       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.655       1.0000         .10000E-03   10000.    
    12 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.301       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9999.7       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9407.3       1.0000         .10000E-03   10000.    
    16 'norm      '    .34662E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .29928E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .49027E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .97031E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .44384E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10193E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .11863E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .57573       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=   210.9604     FROM MIGRAD    STATUS=CONVERGED   1644 CALLS     6142 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     473.95        439.34        .94146E-04    .87352E-05
   2  Prefactor     .10000E-03    45.120        .95515E-03** at limit **
   3  Prefactor     .10000E-03    55.706        .10611E-02** at limit **
   4  Prefactor     203.98        124.09        .14134E-03    .56173E-04
   5  Prefactor     .10003E-03    973.85        .17482E-02** at limit **
   6  Prefactor     .10000E-03    391.41        .18142E-02** at limit **
   7  Prefactor     .10009E-03    6262.5        .19058E-02** at limit **
   8  Prefactor     .10000E-03    395.67        .18142E-02** at limit **
   9  Prefactor    10000.0        8988.2        .41449E-01** at limit **
  10  Prefactor    10000.0        5546.2        .22609E-02** at limit **
  11  Prefactor    10000.0        9881.2        .34537E-02** at limit **
  12  Prefactor    10000.0        8591.5        .19276E-02** at limit **
  13  Prefactor     .10060E-03    9521.1        .40630E-03** at limit **
  14  Prefactor    10000.0        5257.0        .20698E-02** at limit **
  15  Prefactor     9407.6        9147.0        .84697E-04    .11913E-06
  16  norm          .10001E-03    7354.8        .19666E-02** at limit **
  17  norm          .10000E-03    191.76        .18142E-02** at limit **
  18  norm          .10000E-03    294.79        .18142E-02** at limit **
  19  norm          .10002E-03    718.31        .19831E-02** at limit **
  20  Prefactor     .10000E-03    223.16        .18142E-02** at limit **
  21  Prefactor     .10003E-03    7594.2        .21167E-02** at limit **
  22  Prefactor     .10000E-03    6851.4        .20782E-02** at limit **
  23  norm          .10000E-03    174.43        .18142E-02** at limit **
  24  Prefactor     .10000E-03    217.18        .21014E-02** at limit **
  25  norm          .10000E-03    14.356        .53826E-03** at limit **
  26  norm          .10000E-03    45.442        .95807E-03** at limit **
  27  Prefactor     .10000E-03    9.6192        .44056E-03** at limit **
  28  Prefactor     .10000E-03    65.491        .11509E-02** at limit **
  29  Prefactor     .10000E-03    31.604        .79878E-03** at limit **
  30  Prefactor     .10000E-03    22.483        .67393E-03** at limit **
  31  Prefactor     .10000E-03    235.39        .18142E-02** at limit **
  32  Normalizat    .10000E-01    .37007        .53507E-02** at limit **
  33  Prefactor     .57473        .46448        .24986E-03    .22819E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 473.948
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 203.984
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 0.00010009
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100603
  Prefactor  = 10000
  Prefactor  = 9407.64
  norm       = 0.000100007
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 0.000100022
  Prefactor  = 0.0001
  Prefactor  = 0.000100027
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.574734
 **********
 **   18 **HESSE 
 **********

 FCN=   210.9604     FROM HESSE     STATUS=OK           661 CALLS     6803 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     473.95        439.31        .18829E-04   -1.1319    
   2  Prefactor     .10000E-03    45.120        .19103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    55.706        .21221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     203.98        123.84        .28268E-04   -1.2842    
   5  Prefactor     .10003E-03    981.10        .34964E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    391.41        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10009E-03    6262.5        .38115E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    395.67        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor    10000.0        8998.2        .82898E-02    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor    10000.0        5545.1        .45217E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor    10000.0        9885.7        .69074E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor    10000.0        8591.0        .38552E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10060E-03    9523.5        .81259E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        5250.8        .41395E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9407.6        9147.0        .16939E-04    1.0791    
  16  norm          .10001E-03    7354.8        .39333E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    191.76        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    294.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    718.31        .39662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    223.16        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10003E-03    7594.2        .42334E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6851.4        .41564E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    174.43        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    217.18        .42028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    14.356        .10765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    45.442        .19161E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    9.6192        .88112E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    65.491        .23019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    31.604        .15976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    22.483        .13479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    235.39        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .37007        .10701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .57473        .46411        .49972E-04   -1.0866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31185e-10
Minuit parameter uncertainties:
  1  442.507
  2  3.10339e-05
  3  2.39553e-05
  4  124.002
  5  0.011256
  6  0.000750938
  7  0.156492
  8  0.000814584
  9  17.966
  10  0.231286
  11  1.86862
  12  0.0626506
  13  0.682869
  14  0.585167
  15  4649.02
  16  0.0128005
  17  4.90252e-05
  18  0.00110849
  19  0.00796176
  20  2.89394e-05
  21  0.0262722
  22  0.00480097
  23  6.54292e-05
  24  1.03965e-05
  25  1.70643e-06
  26  9.72422e-06
  27  9.29533e-07
  28  0.000107842
  29  2.94652e-05
  30  1.86279e-05
  31  8.26075e-05
  32  1.92049e-08
  33  0.467241
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  2.627e-02  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:  5.747e-01  4.672e-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.000e-02  1.920e-08  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -1.3368889684

TS (Fixed Index): -0.00
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.91e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902465/likelihoodResults_557107201_557366401_4FGL_J2326.9-4130_daily_bin1226.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) = 210.96039165
delta logL = -8.74685230201e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 210.96039165
delta logL = -8.74685230201e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.7772       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   210.9604     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       70 TOTAL
                     EDM=   .29E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.7772        3.7687         .0000       -.76408E-07
                               ERR DEF=  .500    
Final values: 
  Index      = 2.77722
 **********
 **   18 **HESSE 
 **********

 FCN=   210.9604     FROM HESSE     STATUS=OK            11 CALLS       81 TOTAL
                     EDM=   .58E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       2.7772        3.7687        .50000       -.46068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8381e-15
Minuit parameter uncertainties:
  1  4.47875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902465': 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) = 210.96039165
delta logL = -8.74685230201e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  5.738e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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/902465/cmap_HighResolution_557107201_557366401_4FGL_J2326.9-4130_daily_bin1226.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.91e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-29 19:31:53.674428', job_id='902465', GAL2='0.57', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632969113.67', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='-8.75e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1226' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:31:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 902465: <4FGL_J2326.9-4130_daily_bin1226> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1226> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:25:13 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:25:15 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:15 2021
Terminated at Wed Sep 29 19:31:54 2021
Results reported at Wed Sep 29 19:31:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1226 351.737 -41.5089 557107201 557366401 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 :                                   355.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   398 sec.
    Turnaround time :                            401 sec.

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

