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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1156
RA = 351.737, Dec = -41.5089
tmin = 538963201, tmax = 539222401
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='901138', job_status='RUN', time_executed='2021-09-29 19:22:23.027893', time_epoch_executed='1632968543.03' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/901138

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/901138/ft1_4FGL_J2326.9-4130_daily_bin1156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/901138/ft2_4FGL_J2326.9-4130_daily_bin1156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/901138/ft1_4FGL_J2326.9-4130_daily_bin1156.fits outfile=/scratch/kocevski/901138/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1156.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=538963201.0 tmax=539222401.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.86
user 3.44
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/901138/ft2_4FGL_J2326.9-4130_daily_bin1156.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/901138/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1156.fits evtable="EVENTS" outfile="/scratch/kocevski/901138/ft1_filtered_4FGL_J2326.9-4130_daily_bin1156.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.44
user 0.27
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/901138/ft1_filtered_4FGL_J2326.9-4130_daily_bin1156.fits" evtable="EVENTS" scfile=/scratch/kocevski/901138/ft2_4FGL_J2326.9-4130_daily_bin1156.fits sctable="SC_DATA" outfile=/scratch/kocevski/901138/ltcube_538963201_539222401_4FGL_J2326.9-4130_daily_bin1156.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/901138/ft2_4FGL_J2326.9-4130_daily_bin1156.fits
.....................!
real 9.58
user 9.27
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/901138/ft1_filtered_4FGL_J2326.9-4130_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/901138/ft2_4FGL_J2326.9-4130_daily_bin1156.fits sctable="SC_DATA" expcube=/scratch/kocevski/901138/ltcube_538963201_539222401_4FGL_J2326.9-4130_daily_bin1156.fits outfile=/scratch/kocevski/901138/expmap_538963201_539222401_4FGL_J2326.9-4130_daily_bin1156.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/901138/ltcube_538963201_539222401_4FGL_J2326.9-4130_daily_bin1156.fits
.....................!
real 147.84
user 143.19
sys 4.39

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/901138/ft1_filtered_4FGL_J2326.9-4130_daily_bin1156.fits scfile=/scratch/kocevski/901138/ft2_4FGL_J2326.9-4130_daily_bin1156.fits outfile=/scratch/kocevski/901138/cmap_538963201_539222401_4FGL_J2326.9-4130_daily_bin1156.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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/901138/ft1_filtered_4FGL_J2326.9-4130_daily_bin1156.fits scfile=/scratch/kocevski/901138/ft2_4FGL_J2326.9-4130_daily_bin1156.fits outfile=/scratch/kocevski/901138/cmap_HighResolution_538963201_539222401_4FGL_J2326.9-4130_daily_bin1156.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.46
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/901138/ft1_filtered_4FGL_J2326.9-4130_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/901138/ft2_4FGL_J2326.9-4130_daily_bin1156.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/901138/Model_4FGL_J2326.9-4130_daily_bin1156.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/901138/ft1_filtered_4FGL_J2326.9-4130_daily_bin1156.fits.....................!
real 40.22
user 39.12
sys 1.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    83.497       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.2579       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.339       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.3490       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2156       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.917       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .63272       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .35820E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    63.931       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.0016       1.0000         .10000E-03   10000.    
    16 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.6485       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0926       1.0000         .10000E-03   10000.    
    21 'Prefactor '    79.233       1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.706       1.0000         .10000E-03   10000.    
    23 'norm      '    5.7963       1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.393       1.0000         .10000E-03   10000.    
    25 'norm      '    1.1004       1.0000         .10000E-03   10000.    
    26 'norm      '    3.5793       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.7921       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    32.736       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .77691       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .94725       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7217.560     FROM MIGRAD    STATUS=CONVERGED    885 CALLS     4663 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     83.491        50.499         .0000        .10333E-02
   2  Prefactor     7.2546        13.023         .0000       -.21007E-02
   3  Prefactor     30.343        31.141         .0000        .75117E-03
   4  Prefactor     .10000E-03    16.454         .0000    ** at limit **
   5  Prefactor     4.3494        4.6005         .0000        .14858E-02
   6  Prefactor     6.2162        3.2679         .0000        .61105E-02
   7  Prefactor     .10000E-03    10.014         .0000    ** at limit **
   8  Prefactor     .10000E-03    1.1947         .0000    ** at limit **
   9  Prefactor     25.912        17.943         .0000       -.46879E-02
  10  Prefactor     .10000E-03    5.8771         .0000    ** at limit **
  11  Prefactor     .10000E-03    12.560         .0000    ** at limit **
  12  Prefactor     .63078        7.3145         .0000        .33558E-02
  13  Prefactor     .10002E-03    26.615         .0000    ** at limit **
  14  Prefactor     63.928        45.201         .0000        .25975E-03
  15  Prefactor     6.0034        10.694         .0000        .40692E-03
  16  norm          .10000E-03    7.1007         .0000    ** at limit **
  17  norm          .10000E-03    1.5926         .0000    ** at limit **
  18  norm          2.6483        2.8096         .0000        .11681E-02
  19  norm          .10000E-03    2.3568         .0000    ** at limit **
  20  Prefactor     1.0912        3.9514         .0000        .26471E-01
  21  Prefactor     79.245        43.992         .0000        .95419E-03
  22  Prefactor     28.706        37.927         .0000        .24470E-03
  23  norm          5.7954        5.1634         .0000        .25178E-02
  24  Prefactor     19.400        14.751         .0000        .75172E-02
  25  norm          1.1003        .73788         .0000        .63162E-03
  26  norm          3.5793        3.8839         .0000        .21961E-02
  27  Prefactor     2.7921        2.6207         .0000        .10314E-02
  28  Prefactor     .10000E-03    3.9731         .0000    ** at limit **
  29  Prefactor     .10000E-03    2.5362         .0000    ** at limit **
  30  Prefactor     .10000E-03    .99092         .0000    ** at limit **
  31  Prefactor     32.734        33.482         .0000       -.26279E-03
  32  Normalizat    .77661        .15285         .0000        .39433E-03
  33  Prefactor     .94768        .16451         .0000        .35824E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 83.4911
  Prefactor  = 7.25456
  Prefactor  = 30.3426
  Prefactor  = 0.0001
  Prefactor  = 4.34942
  Prefactor  = 6.21621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.9121
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.630776
  Prefactor  = 0.000100017
  Prefactor  = 63.9282
  Prefactor  = 6.00344
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.64833
  norm       = 0.0001
  Prefactor  = 1.0912
  Prefactor  = 79.2453
  Prefactor  = 28.7059
  norm       = 5.79536
  Prefactor  = 19.4001
  norm       = 1.10025
  norm       = 3.57932
  Prefactor  = 2.79214
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.734
  Normalizat = 0.776614
  Prefactor  = 0.947675
 **********
 **   18 **HESSE 
 **********

 FCN=   7217.560     FROM HESSE     STATUS=OK           693 CALLS     5356 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     83.491        50.553        .43959E-04   -1.3878    
   2  Prefactor     7.2546        13.009        .14889E-03   -1.5169    
   3  Prefactor     30.343        31.132        .72741E-04   -1.4606    
   4  Prefactor     .10000E-03    16.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.3494        4.5966        .18098E-03   -1.5291    
   6  Prefactor     6.2162        3.2677        .10691E-03   -1.5209    
   7  Prefactor     .10000E-03    10.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.1967        .90678E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.912        17.946        .78688E-04   -1.4689    
  10  Prefactor     .10000E-03    5.8893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.882        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .63078        7.5787        .43703E-02   -1.5549    
  13  Prefactor     .10002E-03    27.758        .12892       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     63.928        45.236        .50189E-04   -1.4107    
  15  Prefactor     6.0034        10.663        .16390E-03   -1.5218    
  16  norm          .10000E-03    7.1468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.5931        .10469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.6483        2.8153        .14085E-03   -1.5382    
  19  norm          .10000E-03    2.3719        .12734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.0912        3.7696        .13996E-02   -1.5499    
  21  Prefactor     79.245        44.006        .45117E-04   -1.3925    
  22  Prefactor     28.706        38.096        .74777E-04   -1.4636    
  23  norm          5.7954        5.1337        .13928E-03   -1.5226    
  24  Prefactor     19.400        14.365        .90949E-04   -1.4827    
  25  norm          1.1003        .71729        .56505E-04   -1.5498    
  26  norm          3.5793        3.8559        .15690E-03   -1.5330    
  27  Prefactor     2.7921        2.6094        .12747E-03   -1.5374    
  28  Prefactor     .10000E-03    3.9747        .16536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.5730        .13199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    .99672        .82545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     32.734        33.491        .70034E-04   -1.4563    
  32  Normalizat    .77661        .18036        .23895E-03   -1.0094    
  33  Prefactor     .94768        .19350        .24733E-03   -.94495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35157e-07
Minuit parameter uncertainties:
  1  50.5792
  2  13.0136
  3  31.1491
  4  0.000172821
  5  4.59693
  6  3.26777
  7  2.30996e-05
  8  2.20196e-06
  9  17.9495
  10  3.94309e-05
  11  0.000227068
  12  4.3732
  13  0.00136528
  14  45.2604
  15  10.6664
  16  8.3476e-05
  17  2.62986e-06
  18  2.81546
  19  1.25008e-05
  20  3.7704
  21  44.0239
  22  38.1283
  23  5.13408
  24  14.3678
  25  0.717299
  26  3.85615
  27  2.60954
  28  8.98797e-06
  29  5.62779e-06
  30  1.92328e-06
  31  33.5107
  32  0.180495
  33  0.193639
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  7.925e+01  4.402e+01  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.477e-01  1.936e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.766e-01  1.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.55
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 1.04e-07 +/- 5.76e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.31e-05

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) = 7216.61092288
delta logL = 0.949535775491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7216.6002839
delta logL = 0.960174761837

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.660       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6599       1.0000          .0000       10.000    
     3 'Normalizat'    .71898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99574       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=   7216.600     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      257 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.613        146.49        .18709E-02    .76436E-03
   2  Index         3.6609        2.5583        .90695E-01    .17399E-03
   3  Normalizat    .71892        .66211E-01    .42543E-01    .24284E-04
   4  Prefactor     .99581        .68827E-01    .46214E-01    .84653E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.6131
  Index      = 3.66092
  Normalizat = 0.718917
  Prefactor  = 0.99581
 **********
 **   18 **HESSE 
 **********

 FCN=   7216.600     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.613        88.886        .37418E-03   -1.4638    
   2  Index         3.6609        1.9630        .37123E-02   -.27112    
   3  Normalizat    .71892        .18495        .24719E-03   -1.0315    
   4  Prefactor     .99581        .20529        .24206E-03   -.92869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.07452e-08
Minuit parameter uncertainties:
  1  89.301
  2  2.02181
  3  0.185106
  4  0.205446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/901138': 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) = 7216.60028299
delta logL = 0.960175663778

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.861e+01  8.930e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.661e+00  2.022e+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:  9.958e-01  2.054e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.189e-01  1.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.10
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 3.66 +/- 2.02
Photon Flux (Free Index): 1.42e-07 +/- 5.73e-08
Energy Flux (Free Index): 2.27e-05 +/- 1.18e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/901138/cmap_HighResolution_538963201_539222401_4FGL_J2326.9-4130_daily_bin1156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.04e-07', energy_flux2='2.27e-05', photon_flux_error='5.76e-08', dlogl='9.60e-01', energy_flux='2.36e-05', photon_flux2='1.42e-07', job_status='DONE', time_completed='2021-09-29 19:35:11.945763', photon_index_error2='2.02', photon_index2='3.66', ts='7.55', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.18e-05', EG='0.78', time_epoch_completed='1632969311.95', return_code='0', job_id='901138', GAL2='1.00', EG2='0.72', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='5.73e-08', ts2='10.10', photon_index='2.78' WHERE bin_id='1156' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:35:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 901138: <4FGL_J2326.9-4130_daily_bin1156> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1156> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:20:49 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:20:50 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:20:50 2021
Terminated at Wed Sep 29 19:35:12 2021
Results reported at Wed Sep 29 19:35:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1156 351.737 -41.5089 538963201 539222401 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 :                                   732.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             264.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            863 sec.

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

