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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1468
RA = 351.737, Dec = -41.5089
tmin = 619833601, tmax = 620092801
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='902848', job_status='RUN', time_executed='2021-09-29 19:26:06.325988', time_epoch_executed='1632968766.33' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902848

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902848/ft1_4FGL_J2326.9-4130_daily_bin1468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902848/ft2_4FGL_J2326.9-4130_daily_bin1468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902848/ft1_4FGL_J2326.9-4130_daily_bin1468.fits outfile=/scratch/kocevski/902848/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1468.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=619833601.0 tmax=620092801.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.53
user 3.23
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902848/ft2_4FGL_J2326.9-4130_daily_bin1468.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/902848/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1468.fits evtable="EVENTS" outfile="/scratch/kocevski/902848/ft1_filtered_4FGL_J2326.9-4130_daily_bin1468.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.54
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902848/ft1_filtered_4FGL_J2326.9-4130_daily_bin1468.fits" evtable="EVENTS" scfile=/scratch/kocevski/902848/ft2_4FGL_J2326.9-4130_daily_bin1468.fits sctable="SC_DATA" outfile=/scratch/kocevski/902848/ltcube_619833601_620092801_4FGL_J2326.9-4130_daily_bin1468.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/902848/ft2_4FGL_J2326.9-4130_daily_bin1468.fits
.....................!
real 12.45
user 12.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902848/ft1_filtered_4FGL_J2326.9-4130_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/902848/ft2_4FGL_J2326.9-4130_daily_bin1468.fits sctable="SC_DATA" expcube=/scratch/kocevski/902848/ltcube_619833601_620092801_4FGL_J2326.9-4130_daily_bin1468.fits outfile=/scratch/kocevski/902848/expmap_619833601_620092801_4FGL_J2326.9-4130_daily_bin1468.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/902848/ltcube_619833601_620092801_4FGL_J2326.9-4130_daily_bin1468.fits
.....................!
real 190.12
user 184.91
sys 4.85

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/902848/ft1_filtered_4FGL_J2326.9-4130_daily_bin1468.fits scfile=/scratch/kocevski/902848/ft2_4FGL_J2326.9-4130_daily_bin1468.fits outfile=/scratch/kocevski/902848/cmap_619833601_620092801_4FGL_J2326.9-4130_daily_bin1468.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.737 yref=-41.5089 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902848/ft1_filtered_4FGL_J2326.9-4130_daily_bin1468.fits scfile=/scratch/kocevski/902848/ft2_4FGL_J2326.9-4130_daily_bin1468.fits outfile=/scratch/kocevski/902848/cmap_HighResolution_619833601_620092801_4FGL_J2326.9-4130_daily_bin1468.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902848/ft1_filtered_4FGL_J2326.9-4130_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/902848/ft2_4FGL_J2326.9-4130_daily_bin1468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902848/Model_4FGL_J2326.9-4130_daily_bin1468.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/902848/ft1_filtered_4FGL_J2326.9-4130_daily_bin1468.fits.....................!
real 39.67
user 37.20
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1122       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.4525       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8546       1.0000         .10000E-03   10000.    
     7 'Prefactor '    49.058       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.561       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.966       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.819       1.0000         .10000E-03   10000.    
    13 'Prefactor '    62.316       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    24.951       1.0000         .10000E-03   10000.    
    17 'norm      '    3.3819       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7353       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    25.732       1.0000         .10000E-03   10000.    
    25 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.3990       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.0285       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .95738       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93484       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=   4939.348     FROM MIGRAD    STATUS=CONVERGED    870 CALLS     4556 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.066        .13290E-05** at limit **
   2  Prefactor     .10000E-03    7.7742        .93071E-06** at limit **
   3  Prefactor     2.0149        164.13       -.26666E-04   -.20251E-04
   4  Prefactor     .10000E-03    7.7504       -.11027E-05** at limit **
   5  Prefactor     3.4521        4.3128        .12428E-05   -.42641E-03
   6  Prefactor     3.8554        5.2637       -.29925E-07   -.89877E-04
   7  Prefactor     49.048        59.484       -.17840E-05   -.20801E-04
   8  Prefactor     .10000E-03    3.5575       -.10193E-08** at limit **
   9  Prefactor     23.561        24.413        .67408E-07   -.19093E-06
  10  Prefactor     11.959        33.716       -.81052E-06   -.10216E-04
  11  Prefactor     .10000E-03    5.3367        .31906E-07** at limit **
  12  Prefactor     11.817        10.818        .13811E-06   -.12749E-04
  13  Prefactor     62.307        45.195       -.12368E-05   -.34755E-04
  14  Prefactor     .10000E-03    26.131       -.36065E-05** at limit **
  15  Prefactor     .10000E-03    30.486        .30621E-05** at limit **
  16  norm          24.947        16.204       -.24155E-06   -.20999E-04
  17  norm          3.3796        5.6493       -.87624E-06   -.13300E-03
  18  norm          .10000E-03    1.6466        .25291E-07** at limit **
  19  norm          .10000E-03    3.1991        .57779E-07** at limit **
  20  Prefactor     1.7514        18.395        .82786E-05   -.75682E-04
  21  Prefactor     .10000E-03    17.067        .37007E-05** at limit **
  22  Prefactor     .10000E-03    11.236        .39344E-06** at limit **
  23  norm          .10000E-03    2.6225        .17454E-06** at limit **
  24  Prefactor     25.690        22.685       -.30063E-05   -.50448E-04
  25  norm          .10000E-03    .38178       -.20978E-07** at limit **
  26  norm          .10000E-03    1.6267        .88616E-07** at limit **
  27  Prefactor     4.3994        3.8340        .47645E-07    .22149E-03
  28  Prefactor     .10000E-03    23.370       -.22271E-05** at limit **
  29  Prefactor     2.0277        5.5691        .68801E-06   -.82828E-04
  30  Prefactor     .10000E-03    1.3668        .19749E-07** at limit **
  31  Prefactor     .10000E-03    14.491       -.25438E-05** at limit **
  32  Normalizat    .95773        .18998        .47953E-06   -.76315E-04
  33  Prefactor     .93449        .21053       -.97909E-06    .86284E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.01487
  Prefactor  = 0.0001
  Prefactor  = 3.45213
  Prefactor  = 3.85538
  Prefactor  = 49.0485
  Prefactor  = 0.0001
  Prefactor  = 23.5613
  Prefactor  = 11.9595
  Prefactor  = 0.0001
  Prefactor  = 11.8165
  Prefactor  = 62.3074
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.947
  norm       = 3.37961
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.75143
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.6897
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.39945
  Prefactor  = 0.0001
  Prefactor  = 2.02775
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.957728
  Prefactor  = 0.934493
 **********
 **   18 **HESSE 
 **********

 FCN=   4939.348     FROM HESSE     STATUS=OK           689 CALLS     5245 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.8142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.0149        169.72        .28385E-03   -1.5424    
   4  Prefactor     .10000E-03    7.7639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4521        4.3181        .79433E-03   -1.5336    
   6  Prefactor     3.8554        5.2454        .17293E-03   -1.5315    
   7  Prefactor     49.048        59.366        .57253E-04   -1.4306    
   8  Prefactor     .10000E-03    3.5848        .12942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.561        24.392        .82522E-04   -1.4737    
  10  Prefactor     11.959        33.668        .11581E-03   -1.5016    
  11  Prefactor     .10000E-03    5.3524        .15857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.817        10.805        .11653E-03   -1.5020    
  13  Prefactor     62.307        45.238        .50831E-04   -1.4128    
  14  Prefactor     .10000E-03    26.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    31.245        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          24.947        16.200        .80195E-04   -1.4709    
  17  norm          3.3796        5.6264        .20474E-03   -1.5340    
  18  norm          .10000E-03    1.6475        .88074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.2112        .12276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7514        18.587        .31859E-03   -1.5443    
  21  Prefactor     .10000E-03    17.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.6647        .11106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     25.690        22.589        .78971E-04   -1.4694    
  25  norm          .10000E-03    .38995        .84574E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.6381        .87512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.3994        3.8130        .12021E-03   -1.5288    
  28  Prefactor     .10000E-03    23.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     2.0277        5.5627        .26114E-03   -1.5423    
  30  Prefactor     .10000E-03    1.3832        .80222E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    14.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .95773        .23086        .22513E-03   -.94460    
  33  Prefactor     .93449        .25527        .25751E-03   -.94946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8557e-10
Minuit parameter uncertainties:
  1  3.60826e-05
  2  5.83376e-05
  3  37.0928
  4  2.57585e-05
  5  4.3185
  6  5.24606
  7  59.4376
  8  4.52173e-06
  9  24.4022
  10  33.7211
  11  3.96652e-08
  12  10.8073
  13  45.2634
  14  0.000125614
  15  8.71362e-06
  16  16.2026
  17  5.62724
  18  2.79754e-07
  19  7.39916e-07
  20  11.4153
  21  8.87405e-05
  22  7.52824e-06
  23  4.0772e-06
  24  22.5968
  25  1.57359e-06
  26  1.37509e-06
  27  3.81326
  28  8.27541e-05
  29  5.56412
  30  4.47957e-06
  31  6.97908e-05
  32  0.231096
  33  0.2556
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.345e-01  2.556e-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:  9.577e-01  2.311e-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: 7.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902848/likelihoodResults_619833601_620092801_4FGL_J2326.9-4130_daily_bin1468.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) = 4939.34860989
delta logL = -0.00027765240884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4939.34833376
delta logL = -1.52116444951e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3654       1.0000          .0000       10.000    
     3 'Normalizat'    .95772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93450       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=   4939.348     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      271 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10456E-03    6.2395        .18142E-01** at limit **
   2  Index         3.2448        5.5873        .50000        .17443E-04
   3  Normalizat    .95773        .30400E-02    .22513E-03    .59235E-04
   4  Prefactor     .93449        .34575E-02    .25751E-03    .15805E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104558
  Index      = 3.24482
  Normalizat = 0.95773
  Prefactor  = 0.934491
 **********
 **   18 **HESSE 
 **********

 FCN=   4939.348     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      300 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10456E-03    429.48        .48389E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2448        8.3624        .50000       -.35868    
   3  Normalizat    .95773        .26021E-01    .90051E-05   -.94460    
   4  Prefactor     .93449        .29593E-01    .10300E-04   -.94946    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43256e-08
Minuit parameter uncertainties:
  1  0.0891332
  2  961.2
  3  0.0260211
  4  0.0295936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902848': 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) = 4939.34833342
delta logL = -1.18790103443e-06

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.046e-04  8.913e-02  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.245e+00  9.612e+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:  9.345e-01  2.959e-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:  9.577e-01  2.602e-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/902848/cmap_HighResolution_619833601_620092801_4FGL_J2326.9-4130_daily_bin1468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-03', job_status='DONE', photon_flux_upper_limit='7.53e-08', time_completed='2021-09-29 19:40:17.383466', job_id='902848', GAL2='0.93', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632969617.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-1.19e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1468' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:40:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 902848: <4FGL_J2326.9-4130_daily_bin1468> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1468 351.737 -41.5089 619833601 620092801 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 :                                   812.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            870 sec.

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

