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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1527
RA = 351.737, Dec = -41.5089
tmin = 635126401, tmax = 635385601
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='904536', job_status='RUN', time_executed='2021-09-29 19:32:57.269893', time_epoch_executed='1632969177.27' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1527'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904536

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904536/ft1_4FGL_J2326.9-4130_daily_bin1527.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904536/ft2_4FGL_J2326.9-4130_daily_bin1527.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904536/ft1_4FGL_J2326.9-4130_daily_bin1527.fits outfile=/scratch/kocevski/904536/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1527.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=635126401.0 tmax=635385601.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 2.96
user 2.75
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904536/ft1_filtered_4FGL_J2326.9-4130_daily_bin1527.fits" evtable="EVENTS" scfile=/scratch/kocevski/904536/ft2_4FGL_J2326.9-4130_daily_bin1527.fits sctable="SC_DATA" outfile=/scratch/kocevski/904536/ltcube_635126401_635385601_4FGL_J2326.9-4130_daily_bin1527.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/904536/ft2_4FGL_J2326.9-4130_daily_bin1527.fits
.....................!
real 13.10
user 12.67
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904536/ft1_filtered_4FGL_J2326.9-4130_daily_bin1527.fits evtable="EVENTS" scfile=/scratch/kocevski/904536/ft2_4FGL_J2326.9-4130_daily_bin1527.fits sctable="SC_DATA" expcube=/scratch/kocevski/904536/ltcube_635126401_635385601_4FGL_J2326.9-4130_daily_bin1527.fits outfile=/scratch/kocevski/904536/expmap_635126401_635385601_4FGL_J2326.9-4130_daily_bin1527.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/904536/ltcube_635126401_635385601_4FGL_J2326.9-4130_daily_bin1527.fits
.....................!
real 191.60
user 186.40
sys 4.52

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/904536/ft1_filtered_4FGL_J2326.9-4130_daily_bin1527.fits scfile=/scratch/kocevski/904536/ft2_4FGL_J2326.9-4130_daily_bin1527.fits outfile=/scratch/kocevski/904536/cmap_635126401_635385601_4FGL_J2326.9-4130_daily_bin1527.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/904536/ft1_filtered_4FGL_J2326.9-4130_daily_bin1527.fits evtable="EVENTS" scfile=/scratch/kocevski/904536/ft2_4FGL_J2326.9-4130_daily_bin1527.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904536/Model_4FGL_J2326.9-4130_daily_bin1527.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/904536/ft1_filtered_4FGL_J2326.9-4130_daily_bin1527.fits.....................!
real 26.46
user 25.22
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5177       1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.954       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6837       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1776       1.0000         .10000E-03   10000.    
     7 'Prefactor '    119.16       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    69.047       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10403E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0125       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .30533E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .11784E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .14772E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.244       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10255E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    21.097       1.0000         .10000E-03   10000.    
    25 'norm      '    .79644       1.0000         .10000E-03   10000.    
    26 'norm      '    .10570E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.3653       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    8.8743       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1532       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0036       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=   2531.927     FROM MIGRAD    STATUS=CONVERGED   1609 CALLS     5353 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.040        .18142E-02** at limit **
   2  Prefactor     .10000E-03    15.900        .18142E-02** at limit **
   3  Prefactor     3.5234        140.27        .21555E-03   -.45623E-05
   4  Prefactor     38.944        43.268        .64219E-04   -.40009E-04
   5  Prefactor     1.6832        12.874        .15282E-02    .10395E-03
   6  Prefactor     5.1758        12.677        .17667E-03   -.20238E-04
   7  Prefactor     119.54        196.70        .18432E-03    .75082E-04
   8  Prefactor     .10000E-03    25.177        .18142E-02** at limit **
   9  Prefactor     69.008        81.474        .24153E-03   -.31541E-04
  10  Prefactor     .10000E-03    44.834        .18142E-02** at limit **
  11  Prefactor     .10000E-03    17.255        .18142E-02** at limit **
  12  Prefactor     2.0041        41.471        .29180E-03    .96738E-04
  13  Prefactor     .10000E-03    23.867        .18142E-02** at limit **
  14  Prefactor     .10000E-03    60.943        .18142E-02** at limit **
  15  Prefactor     .10029E-03    42.730        .77185E-01** at limit **
  16  norm          .10006E-03    354.17        .46681E-02** at limit **
  17  norm          .10000E-03    3.4525        .91315E-03** at limit **
  18  norm          .10000E-03    4.0795        .99219E-03** at limit **
  19  norm          .10002E-03    28.206        .31936E-02** at limit **
  20  Prefactor     .10000E-03    7.0355        .13007E-02** at limit **
  21  Prefactor     29.178        64.062        .74087E-04   -.17585E-03
  22  Prefactor     .10000E-03    26.164        .18142E-02** at limit **
  23  norm          .10000E-03    8.5122        .28242E-03** at limit **
  24  Prefactor     21.083        24.311        .87203E-04   -.55929E-04
  25  norm          .79569        1.6068        .84961E-03   -.19809E-03
  26  norm          .10000E-03    12.653        .34155E-03** at limit **
  27  Prefactor     2.3651        4.5113        .13923E-03   -.24130E-04
  28  Prefactor     .10000E-03    16.755        .18142E-02** at limit **
  29  Prefactor     8.8729        9.6335        .13455E-03   -.35953E-04
  30  Prefactor     .10000E-03    4.7428        .10595E-02** at limit **
  31  Prefactor     .10000E-03    53.744        .18142E-02** at limit **
  32  Normalizat    1.1540        .34867        .23499E-03   -.25418E-03
  33  Prefactor     1.0026        .36247        .27919E-03   -.25992E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.5234
  Prefactor  = 38.9437
  Prefactor  = 1.68321
  Prefactor  = 5.17578
  Prefactor  = 119.54
  Prefactor  = 0.0001
  Prefactor  = 69.0083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.00413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100293
  norm       = 0.000100063
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 29.1782
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.0829
  norm       = 0.795688
  norm       = 0.0001
  Prefactor  = 2.36506
  Prefactor  = 0.0001
  Prefactor  = 8.87286
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.154
  Prefactor  = 1.0026
 **********
 **   18 **HESSE 
 **********

 FCN=   2531.927     FROM HESSE     STATUS=OK           675 CALLS     6028 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.040        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.901        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.5234        140.24        .86218E-05   -1.5333    
   4  Prefactor     38.944        43.067        .12844E-04   -1.4459    
   5  Prefactor     1.6832        12.720        .61128E-04   -1.5448    
   6  Prefactor     5.1758        12.676        .70668E-05   -1.5253    
   7  Prefactor     119.54        196.65        .36864E-04   -1.3517    
   8  Prefactor     .10000E-03    25.193        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     69.008        81.474        .48306E-04   -1.4045    
  10  Prefactor     .10000E-03    44.834        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.255        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.0041        41.432        .11672E-04   -1.5425    
  13  Prefactor     .10000E-03    23.867        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    60.943        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10029E-03    39.277        .81514E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10006E-03    365.10        .18672E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.4525        .18263E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.0795        .19844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    28.384        .63871E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.0356        .26015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     29.178        64.055        .14817E-04   -1.4627    
  22  Prefactor     .10000E-03    26.164        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    8.5124        .56484E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     21.083        24.296        .34881E-05   -1.4789    
  25  norm          .79569        1.6028        .33985E-04   -1.5530    
  26  norm          .10000E-03    12.654        .68310E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.3651        4.5100        .55690E-05   -1.5400    
  28  Prefactor     .10000E-03    16.756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.8729        9.6326        .53819E-05   -1.5112    
  30  Prefactor     .10000E-03    4.7439        .21191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    53.744        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1540        .34870        .46997E-04   -.88036    
  33  Prefactor     1.0026        .36269        .55839E-04   -.92643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80901e-09
Minuit parameter uncertainties:
  1  2.72848e-05
  2  1.13571e-05
  3  44.5692
  4  43.101
  5  9.25676
  6  12.683
  7  197.738
  8  2.47136e-05
  9  81.6057
  10  0.000291093
  11  4.20278e-06
  12  18.2387
  13  6.40149e-05
  14  8.05906e-05
  15  0.00679095
  16  0.0096371
  17  1.52736e-06
  18  1.04596e-06
  19  0.00133287
  20  4.99123e-05
  21  64.2065
  22  3.10676e-05
  23  2.17901e-05
  24  24.3078
  25  1.6029
  26  2.85909e-05
  27  4.51064
  28  2.47911e-06
  29  9.63431
  30  2.01397e-06
  31  5.42762e-05
  32  0.349405
  33  0.363574
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.154e+00  3.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 2.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.79e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904536/likelihoodResults_635126401_635385601_4FGL_J2326.9-4130_daily_bin1527.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2530.98206855
delta logL = 0.944793746741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2530.59905725
delta logL = 1.32780505042

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66951E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    8.4544       1.0000          .0000       10.000    
     3 'Normalizat'    1.0224       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1103       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=   2530.599     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      349 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66272E-02    .11367        .67023E-03    .12754E-02
   2  Index         8.4609        7.7449        .11815        .39273E-04
   3  Normalizat    1.0225        .95061E-01    .43016E-01    .30301E-04
   4  Prefactor     1.1103        .10670        .60377E-01   -.11573E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00662723
  Index      = 8.46094
  Normalizat = 1.02254
  Prefactor  = 1.1103
 **********
 **   18 **HESSE 
 **********

 FCN=   2530.599     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      380 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66272E-02    .18519        .29158E-05   -1.5692    
   2  Index         8.4609        8.5216        .51108E-03    .76452    
   3  Normalizat    1.0225        .32592        .24667E-03   -.92279    
   4  Prefactor     1.1103        .35877        .26702E-03   -.89138    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.50274e-10
Minuit parameter uncertainties:
  1  0.0695361
  2  5.64099
  3  0.326559
  4  0.359551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904536': 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) = 2530.59905218
delta logL = 1.32781011445

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  6.627e-03  6.954e-02  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  8.461e+00  5.641e+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.110e+00  3.596e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.023e+00  3.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.10
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 8.46 +/- 5.64
Photon Flux (Free Index): 1.47e-07 +/- 1.09e-07
Energy Flux (Free Index): 1.69e-05 +/- 1.31e-05

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/904536/cmap_HighResolution_635126401_635385601_4FGL_J2326.9-4130_daily_bin1527.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.79e-02', comment='SUCCESS', energy_flux2='1.69e-05', dlogl='1.33e+00', photon_flux2='1.47e-07', job_status='DONE', time_completed='2021-09-29 19:43:03.784856', photon_index_error2='5.64', photon_index2='8.46', ts='0.25', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='2.26e-07', energy_flux_error2='1.31e-05', EG='1.15', time_epoch_completed='1632969783.78', return_code='0', job_id='904536', GAL2='1.11', EG2='1.02', return_code2='102', photon_flux_error2='1.09e-07', ts2='3.10', photon_index='2.78' WHERE bin_id='1527' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:43:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 904536: <4FGL_J2326.9-4130_daily_bin1527> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1527 351.737 -41.5089 635126401 635385601 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 :                                   601.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            765 sec.

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

