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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1402
RA = 351.737, Dec = -41.5089
tmin = 602726401, tmax = 602985601
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='902744', job_status='RUN', time_executed='2021-09-29 19:27:48.697537', time_epoch_executed='1632968868.7' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902744

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902744/ft1_4FGL_J2326.9-4130_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902744/ft2_4FGL_J2326.9-4130_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902744/ft1_4FGL_J2326.9-4130_daily_bin1402.fits outfile=/scratch/kocevski/902744/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1402.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=602726401.0 tmax=602985601.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.09
user 2.86
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902744/ft1_filtered_4FGL_J2326.9-4130_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/902744/ft2_4FGL_J2326.9-4130_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/902744/ltcube_602726401_602985601_4FGL_J2326.9-4130_daily_bin1402.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/902744/ft2_4FGL_J2326.9-4130_daily_bin1402.fits
.....................!
real 13.37
user 12.86
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902744/ft1_filtered_4FGL_J2326.9-4130_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/902744/ft2_4FGL_J2326.9-4130_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/902744/ltcube_602726401_602985601_4FGL_J2326.9-4130_daily_bin1402.fits outfile=/scratch/kocevski/902744/expmap_602726401_602985601_4FGL_J2326.9-4130_daily_bin1402.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/902744/ltcube_602726401_602985601_4FGL_J2326.9-4130_daily_bin1402.fits
.....................!
real 190.98
user 185.72
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/902744/ft1_filtered_4FGL_J2326.9-4130_daily_bin1402.fits scfile=/scratch/kocevski/902744/ft2_4FGL_J2326.9-4130_daily_bin1402.fits outfile=/scratch/kocevski/902744/cmap_602726401_602985601_4FGL_J2326.9-4130_daily_bin1402.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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902744/ft1_filtered_4FGL_J2326.9-4130_daily_bin1402.fits scfile=/scratch/kocevski/902744/ft2_4FGL_J2326.9-4130_daily_bin1402.fits outfile=/scratch/kocevski/902744/cmap_HighResolution_602726401_602985601_4FGL_J2326.9-4130_daily_bin1402.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.58
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902744/ft1_filtered_4FGL_J2326.9-4130_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/902744/ft2_4FGL_J2326.9-4130_daily_bin1402.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902744/Model_4FGL_J2326.9-4130_daily_bin1402.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/902744/ft1_filtered_4FGL_J2326.9-4130_daily_bin1402.fits.....................!
real 24.96
user 23.65
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    161.62       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1142       1.0000         .10000E-03   10000.    
     6 'Prefactor '    561.71       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .98158E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3933.6       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.426       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.7690       1.0000         .10000E-03   10000.    
    19 'norm      '    6.2171       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    86.629       1.0000         .10000E-03   10000.    
    23 'norm      '    .32725E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    22.845       1.0000         .10000E-03   10000.    
    25 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .37156E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    8.9857       1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.1762       1.0000         .10000E-03   10000.    
    31 'Prefactor '    172.69       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .32430       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1451       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=   2257.639     FROM MIGRAD    STATUS=CONVERGED    863 CALLS     4631 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.707       -.51426E-07** at limit **
   2  Prefactor     .10000E-03    7.4927       -.24166E-06** at limit **
   3  Prefactor     161.76        70.823        .88647E-06   -.11393E-03
   4  Prefactor     .10000E-03    21.409       -.11110E-06** at limit **
   5  Prefactor     3.1155        8.8385       -.13176E-05   -.16324E-05
   6  Prefactor     561.62        390.08       -.87895E-06   -.52987E-04
   7  Prefactor     .10007E-03    7906.5        .23087E-04** at limit **
   8  Prefactor     3934.4        1631.5        .40958E-05    .45221E-05
   9  Prefactor     .10000E-03    44.463        .36218E-06** at limit **
  10  Prefactor     .10000E-03    53.460       -.18302E-06** at limit **
  11  Prefactor     14.420        49.507       -.98056E-06    .26193E-05
  12  Prefactor     .10000E-03    8.9716       -.10332E-06** at limit **
  13  Prefactor     .10000E-03    97.449       -.58565E-06** at limit **
  14  Prefactor     .10000E-03    52.346       -.88537E-07** at limit **
  15  Prefactor     .10000E-03    12.551       -.20133E-06** at limit **
  16  norm          .10000E-03    8.8086       -.48563E-07** at limit **
  17  norm          .10000E-03    4.1319       -.16931E-07** at limit **
  18  norm          2.7627        6.4521        .62352E-08    .14349E-03
  19  norm          6.2146        12.573       -.92155E-06    .19047E-03
  20  Prefactor     .10000E-03    3.7201       -.14035E-06** at limit **
  21  Prefactor     .10000E-03    28.931        .72780E-07** at limit **
  22  Prefactor     86.622        83.741       -.84724E-06    .26121E-04
  23  norm          .10000E-03    5.5897        .14243E-05** at limit **
  24  Prefactor     22.855        18.277        .35515E-06    .91412E-04
  25  norm          .10000E-03    .47370       -.58153E-07** at limit **
  26  norm          .10000E-03    1.8108       -.29741E-07** at limit **
  27  Prefactor     .10000E-03    13.361        .78521E-05** at limit **
  28  Prefactor     .10000E-03    20.528       -.29968E-06** at limit **
  29  Prefactor     8.9847        9.0224       -.33751E-06   -.69204E-05
  30  Prefactor     1.1700        3.1845       -.41957E-06   -.69991E-04
  31  Prefactor     172.68        107.59       -.79437E-06    .87932E-05
  32  Normalizat    .32430        .33048        .73430E-05    .21660E-03
  33  Prefactor     1.1453        .33685       -.10065E-05    .22759E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 161.764
  Prefactor  = 0.0001
  Prefactor  = 3.11547
  Prefactor  = 561.622
  Prefactor  = 0.000100065
  Prefactor  = 3934.38
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.4201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.76274
  norm       = 6.21459
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 86.6223
  norm       = 0.0001
  Prefactor  = 22.855
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 8.98468
  Prefactor  = 1.17001
  Prefactor  = 172.684
  Normalizat = 0.3243
  Prefactor  = 1.14526
 **********
 **   18 **HESSE 
 **********

 FCN=   2257.639     FROM HESSE     STATUS=OK           681 CALLS     5312 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.4968        .12707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     161.76        70.287        .15860E-03   -1.3157    
   4  Prefactor     .10000E-03    21.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1155        8.7299        .20368E-03   -1.5355    
   6  Prefactor     561.62        388.11        .86861E-04   -1.0923    
   7  Prefactor     .10007E-03    7894.4        .18144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3934.4        1622.1        .40942E-04   -.21477    
   9  Prefactor     .10000E-03    44.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    53.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.420        49.469        .10546E-03   -1.4948    
  12  Prefactor     .10000E-03    8.9774        .13902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    97.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    52.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.577        .16445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.8097        .13775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.1319        .94336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.7627        6.2155        .17268E-03   -1.5376    
  19  norm          6.2146        12.499        .80499E-03   -1.5209    
  20  Prefactor     .10000E-03    3.7249        .89524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    28.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     86.622        83.332        .43164E-04   -1.3844    
  23  norm          .10000E-03    10.815        .20452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     22.855        18.258        .83805E-04   -1.4751    
  25  norm          .10000E-03    .47534        .31948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.8157        .62423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    13.765        .17986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    20.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.9847        8.9928        .12750E-03   -1.5108    
  30  Prefactor     1.1700        3.1216        .13387E-03   -1.5492    
  31  Prefactor     172.68        107.14        .15353E-03   -1.3072    
  32  Normalizat    .32430        .33779        .35591E-03   -1.2142    
  33  Prefactor     1.1453        .35440        .22700E-03   -.88033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06542e-09
Minuit parameter uncertainties:
  1  0.000101453
  2  1.00366e-05
  3  70.323
  4  5.33781e-05
  5  8.73349
  6  389.97
  7  0.0440987
  8  1653.49
  9  0.000119783
  10  0.000105344
  11  49.6107
  12  2.24584e-05
  13  0.000303393
  14  5.97422e-05
  15  2.57041e-05
  16  9.34747e-06
  17  2.37861e-06
  18  6.21697
  19  12.5038
  20  1.75466e-05
  21  1.28651e-05
  22  83.4444
  23  0.000113118
  24  18.2625
  25  3.19722e-06
  26  5.70529e-06
  27  0.000362761
  28  6.16688e-05
  29  8.99419
  30  3.12206
  31  107.26
  32  0.339944
  33  0.355133
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  1.287e-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:  1.145e+00  3.551e-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:  3.243e-01  3.399e-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.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902744/likelihoodResults_602726401_602985601_4FGL_J2326.9-4130_daily_bin1402.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) = 2257.63870762
delta logL = -0.000164334761394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2257.63854378
delta logL = -4.94691448694e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8689       1.0000          .0000       10.000    
     3 'Normalizat'    .32430       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1453       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=   2257.568     FROM MIGRAD    STATUS=CONVERGED    136 CALLS      329 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.163        74.490        .18142E-01    .74662E-04
   2  Index         1.6602        1.4240        .20000       -.12635E-04
   3  Normalizat    .33042        .29282        .35596E-03    .17885E-05
   4  Prefactor     1.1335        .34381        .22700E-03    .43071E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.1635
  Index      = 1.6602
  Normalizat = 0.330423
  Prefactor  = 1.13346
 **********
 **   18 **HESSE 
 **********

 FCN=   2257.568     FROM HESSE     STATUS=OK            29 CALLS      358 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.163        45.818        .54534E-03   -1.4929    
   2  Index         1.6602        1.1224        .12423E-01   -.73147    
   3  Normalizat    .33042        .29222        .14239E-04   -1.2107    
   4  Prefactor     1.1335        .34235        .90799E-05   -.88404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85667e-10
Minuit parameter uncertainties:
  1  45.9248
  2  1.14018
  3  0.293582
  4  0.343016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902744': 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) = 2257.56815609
delta logL = 0.0703871951278

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.516e+01  4.592e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  1.660e+00  1.140e+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:  1.133e+00  3.430e-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:  3.304e-01  2.936e-01  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/902744/cmap_HighResolution_602726401_602985601_4FGL_J2326.9-4130_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.93e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-29 19:39:22.544822', job_id='902744', GAL2='1.13', fit_tolerance='1e-08', EG2='0.33', EG='0.32', time_epoch_completed='1632969562.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='7.04e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1402' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:39:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 902744: <4FGL_J2326.9-4130_daily_bin1402> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1402> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:25:40 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:25:42 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:42 2021
Terminated at Wed Sep 29 19:39:23 2021
Results reported at Wed Sep 29 19:39:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1402 351.737 -41.5089 602726401 602985601 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 :                                   548.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            823 sec.

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

