/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 113 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_bin743
RA = 351.737, Dec = -41.5089
tmin = 431913601, tmax = 432172801
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='899259', job_status='RUN', time_executed='2021-09-29 19:17:26.331336', time_epoch_executed='1632968246.33' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899259

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899259/ft1_4FGL_J2326.9-4130_daily_bin743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899259/ft2_4FGL_J2326.9-4130_daily_bin743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899259/ft1_4FGL_J2326.9-4130_daily_bin743.fits outfile=/scratch/kocevski/899259/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin743.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=431913601.0 tmax=432172801.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 5.24
user 4.95
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899259/ft1_filtered_4FGL_J2326.9-4130_daily_bin743.fits" evtable="EVENTS" scfile=/scratch/kocevski/899259/ft2_4FGL_J2326.9-4130_daily_bin743.fits sctable="SC_DATA" outfile=/scratch/kocevski/899259/ltcube_431913601_432172801_4FGL_J2326.9-4130_daily_bin743.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/899259/ft2_4FGL_J2326.9-4130_daily_bin743.fits
.....................!
real 12.05
user 11.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899259/ft1_filtered_4FGL_J2326.9-4130_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/899259/ft2_4FGL_J2326.9-4130_daily_bin743.fits sctable="SC_DATA" expcube=/scratch/kocevski/899259/ltcube_431913601_432172801_4FGL_J2326.9-4130_daily_bin743.fits outfile=/scratch/kocevski/899259/expmap_431913601_432172801_4FGL_J2326.9-4130_daily_bin743.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/899259/ltcube_431913601_432172801_4FGL_J2326.9-4130_daily_bin743.fits
.....................!
real 191.22
user 185.28
sys 5.04

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/899259/ft1_filtered_4FGL_J2326.9-4130_daily_bin743.fits scfile=/scratch/kocevski/899259/ft2_4FGL_J2326.9-4130_daily_bin743.fits outfile=/scratch/kocevski/899259/cmap_431913601_432172801_4FGL_J2326.9-4130_daily_bin743.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899259/ft1_filtered_4FGL_J2326.9-4130_daily_bin743.fits scfile=/scratch/kocevski/899259/ft2_4FGL_J2326.9-4130_daily_bin743.fits outfile=/scratch/kocevski/899259/cmap_HighResolution_431913601_432172801_4FGL_J2326.9-4130_daily_bin743.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.544       1.0000         .10000E-03   10000.    
     3 'Prefactor '    64.909       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .54629E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13692E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.137       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12107E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.422       1.0000         .10000E-03   10000.    
    16 'norm      '    5.6713       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.440       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    39.941       1.0000         .10000E-03   10000.    
    23 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    13.492       1.0000         .10000E-03   10000.    
    26 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    21.741       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10568E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .69924       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1886       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=   2588.017     FROM MIGRAD    STATUS=CONVERGED    898 CALLS     4597 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.918        .43748E-05** at limit **
   2  Prefactor     27.556        42.080       -.10254E-05    .14408E-04
   3  Prefactor     64.899        74.158        .15056E-05    .69866E-04
   4  Prefactor     .10000E-03    23.014        .26934E-05** at limit **
   5  Prefactor     .10000E-03    3.9934       -.78838E-07** at limit **
   6  Prefactor     .10002E-03    3.8588       -.14450E-05** at limit **
   7  Prefactor     .10001E-03    56.807        .76772E-05** at limit **
   8  Prefactor     .10000E-03    2.8523       -.96374E-07** at limit **
   9  Prefactor     .10000E-03    19.181        .99574E-06** at limit **
  10  Prefactor     .10002E-03    291.06       -.87650E-04** at limit **
  11  Prefactor     .10000E-03    38.576       -.51517E-05** at limit **
  12  Prefactor     11.136        10.552       -.26263E-07    .13377E-03
  13  Prefactor     .10003E-03    133.66       -.15384E-04** at limit **
  14  Prefactor     .10000E-03    105.21       -.59167E-06** at limit **
  15  Prefactor     27.429        34.642       -.16212E-06    .56077E-04
  16  norm          5.6731        20.621       -.80373E-05    .27823E-03
  17  norm          .10000E-03    3.8513       -.40294E-07** at limit **
  18  norm          .10000E-03    3.9719        .54691E-07** at limit **
  19  norm          12.440        19.205       -.21698E-05    .18783E-03
  20  Prefactor     .10000E-03    3.8784        .27425E-06** at limit **
  21  Prefactor     .10000E-03    38.790       -.45707E-05** at limit **
  22  Prefactor     39.912        81.645        .62890E-05    .11127E-03
  23  norm          .10000E-03    3.8956       -.20385E-06** at limit **
  24  Prefactor     .10000E-03    11.235        .34872E-07** at limit **
  25  norm          13.492        3.6500       -.11005E-07    .38187E-03
  26  norm          .10000E-03    2.5740       -.39133E-07** at limit **
  27  Prefactor     .10000E-03    5.3658       -.13504E-06** at limit **
  28  Prefactor     .10000E-03    21.143       -.42437E-05** at limit **
  29  Prefactor     21.709        15.813       -.19493E-06    .94889E-04
  30  Prefactor     .10000E-03    6.6053       -.29836E-06** at limit **
  31  Prefactor     .10001E-03    210.59       -.57555E-05** at limit **
  32  Normalizat    .69937        .28470        .24012E-05    .40659E-03
  33  Prefactor     1.1882        .29850       -.94320E-06    .32205E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 27.5562
  Prefactor  = 64.8989
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 0.000100004
  Prefactor  = 11.1358
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  Prefactor  = 27.4286
  norm       = 5.67309
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.4398
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 39.9119
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 13.4923
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 21.7091
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Normalizat = 0.699371
  Prefactor  = 1.18823
 **********
 **   18 **HESSE 
 **********

 FCN=   2588.017     FROM HESSE     STATUS=OK           679 CALLS     5276 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.556        42.004        .76334E-04   -1.4658    
   3  Prefactor     64.899        74.179        .49812E-04   -1.4095    
   4  Prefactor     .10000E-03    23.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.9975        .99292E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    31.512        .18804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    57.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.8560        .83912E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    284.70        .56456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    38.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.136        10.530        .12005E-03   -1.5040    
  13  Prefactor     .10003E-03    136.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    105.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.429        34.663        .76503E-04   -1.4660    
  16  norm          5.6731        20.930        .84338E-03   -1.5232    
  17  norm          .10000E-03    3.8514        .97508E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.9760        .99026E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.440        19.222        .56787E-03   -1.5002    
  20  Prefactor     .10000E-03    3.8812        .97853E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    39.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     39.912        81.937        .63424E-04   -1.4444    
  23  norm          .10000E-03    3.9103        .98036E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    11.243        .16654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          13.492        3.6543        .45853E-04   -1.4973    
  26  norm          .10000E-03    2.5780        .79709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    5.4577        .11500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    21.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     21.709        15.818        .85902E-04   -1.4776    
  30  Prefactor     .10000E-03    6.6734        .12745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10001E-03    211.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .69937        .34830        .29356E-03   -1.0392    
  33  Prefactor     1.1882        .36711        .24859E-03   -.86694    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84026e-09
Minuit parameter uncertainties:
  1  0.00065535
  2  42.0488
  3  74.2848
  4  0.000332351
  5  4.67775e-06
  6  0.00152069
  7  0.00147672
  8  1.9115e-06
  9  0.000126483
  10  0.00477869
  11  0.000793501
  12  10.532
  13  0.00396264
  14  0.000114842
  15  34.6888
  16  20.9568
  17  2.09116e-07
  18  7.48992e-06
  19  19.2315
  20  2.22284e-05
  21  0.000676439
  22  82.169
  23  2.43949e-06
  24  2.19485e-05
  25  3.65436
  26  1.8501e-06
  27  1.61755e-05
  28  0.000502979
  29  15.8209
  30  1.6718e-05
  31  0.00222545
  32  0.349409
  33  0.367906
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  6.764e-04  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.188e+00  3.679e-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:  6.994e-01  3.494e-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.64e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.30e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899259/likelihoodResults_431913601_432172801_4FGL_J2326.9-4130_daily_bin743.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) = 2588.01747703
delta logL = -0.000122017973354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2588.01735503
delta logL = -2.15404725168e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7069       1.0000          .0000       10.000    
     3 'Normalizat'    .69938       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1882       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=   2588.017     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      241 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7984.0        .90712E-02** at limit **
   2  Index         2.7114        5.8094        .50000       -.11035E-05
   3  Normalizat    .69936        .15367        .66342E-01    .96494E-05
   4  Prefactor     1.1882        .16561        .56221E-01    .26671E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.71143
  Normalizat = 0.699363
  Prefactor  = 1.18823
 **********
 **   18 **HESSE 
 **********

 FCN=   2588.017     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7114        6.3544        .50000       -.47542    
   3  Normalizat    .69936        .33200        .29355E-03   -1.0392    
   4  Prefactor     1.1882        .36019        .24859E-03   -.86694    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68513e-12
Minuit parameter uncertainties:
  1  2.03677e-05
  2  4.72519
  3  0.332956
  4  0.360939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899259': 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) = 2588.01735503
delta logL = -1.69256964e-08

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  2.037e-05  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.711e+00  4.725e+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.188e+00  3.609e-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:  6.994e-01  3.330e-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/899259/cmap_HighResolution_431913601_432172801_4FGL_J2326.9-4130_daily_bin743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-02', job_status='DONE', photon_flux_upper_limit='1.64e-07', time_completed='2021-09-29 19:26:56.576830', job_id='899259', GAL2='1.19', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1632968816.58', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='-1.69e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='743' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:26:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 899259: <4FGL_J2326.9-4130_daily_bin743> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin743> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 19:15:22 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:15:24 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:15:24 2021
Terminated at Wed Sep 29 19:26:57 2021
Results reported at Wed Sep 29 19:26:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin743 351.737 -41.5089 431913601 432172801 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 :                                   568.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             225.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            695 sec.

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

