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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1255
RA = 351.737, Dec = -41.5089
tmin = 564624001, tmax = 564883201
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='902510', job_status='RUN', time_executed='2021-09-29 19:26:37.973078', time_epoch_executed='1632968797.97' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902510/ft1_4FGL_J2326.9-4130_daily_bin1255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902510/ft1_4FGL_J2326.9-4130_daily_bin1255.fits outfile=/scratch/kocevski/902510/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1255.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=564624001.0 tmax=564883201.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.79
user 2.57
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.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/902510/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1255.fits evtable="EVENTS" outfile="/scratch/kocevski/902510/ft1_filtered_4FGL_J2326.9-4130_daily_bin1255.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.41
user 0.28
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902510/ft1_filtered_4FGL_J2326.9-4130_daily_bin1255.fits" evtable="EVENTS" scfile=/scratch/kocevski/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.fits sctable="SC_DATA" outfile=/scratch/kocevski/902510/ltcube_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.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/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.fits
.....................!
real 9.02
user 8.73
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902510/ft1_filtered_4FGL_J2326.9-4130_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.fits sctable="SC_DATA" expcube=/scratch/kocevski/902510/ltcube_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.fits outfile=/scratch/kocevski/902510/expmap_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.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/902510/ltcube_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.fits
.....................!
real 149.52
user 145.76
sys 3.51

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/902510/ft1_filtered_4FGL_J2326.9-4130_daily_bin1255.fits scfile=/scratch/kocevski/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.fits outfile=/scratch/kocevski/902510/cmap_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.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.46
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902510/ft1_filtered_4FGL_J2326.9-4130_daily_bin1255.fits scfile=/scratch/kocevski/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.fits outfile=/scratch/kocevski/902510/cmap_HighResolution_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.737 yref=-41.5089 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.46
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902510/ft1_filtered_4FGL_J2326.9-4130_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902510/Model_4FGL_J2326.9-4130_daily_bin1255.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/902510/ft1_filtered_4FGL_J2326.9-4130_daily_bin1255.fits..............................!
real 12.78
user 11.71
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/902510/ft1_filtered_4FGL_J2326.9-4130_daily_bin1255.fits', '/scratch/kocevski/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.fits', expMap='/scratch/kocevski/902510/expmap_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.fits', expCube='/scratch/kocevski/902510/ltcube_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/902510/Model_4FGL_J2326.9-4130_daily_bin1255.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/902510/ft1_filtered_4FGL_J2326.9-4130_daily_bin1255.fits
Spacecraft file(s): /scratch/kocevski/902510/ft2_4FGL_J2326.9-4130_daily_bin1255.fits
Exposure map: /scratch/kocevski/902510/expmap_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.fits
Exposure cube: /scratch/kocevski/902510/ltcube_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/902510/Model_4FGL_J2326.9-4130_daily_bin1255.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 403.684237472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 400.599819593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1000       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3456       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5116       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25222E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1435       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .28362E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21226       1.0000         .10000E-03   10000.    
     8 'Prefactor '    48.335       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .43157E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .55956E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10256E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19812E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.9653       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .20711       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5499       1.0000         .10000E-03   10000.    
    16 'norm      '    338.56       1.0000         .10000E-03   10000.    
    17 'norm      '    .87183       1.0000         .10000E-03   10000.    
    18 'norm      '    .13481E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .15037       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11524E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.7905       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .28961       1.0000         .10000E-03   10000.    
    23 'norm      '    .13320       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.2169       1.0000         .10000E-03   10000.    
    25 'norm      '    7.2906       1.0000         .10000E-03   10000.    
    26 'norm      '    .78073E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.5694       1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.2519       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .15479E-01   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .52352E-02   1.0000         .10000E-03   10000.    
    31 'Prefactor '    14.092       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.6674       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   400.3996     FROM MIGRAD    STATUS=CONVERGED    412 CALLS      583 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    286.31       -.42536E-06** at limit **
   2  Prefactor     7.3456        1.0023         .0000         .0000    
   3  Prefactor     8.5116        1.0017         .0000         .0000    
   4  Prefactor     .10000E-03    651.79        .42839E-05** at limit **
   5  Prefactor     .10001E-03    420.93        .11011E-05** at limit **
   6  Prefactor     .10000E-03    19.390        .68568E-05** at limit **
   7  Prefactor     .10000E-03    141.33       -.71909E-07** at limit **
   8  Prefactor     .18931E-03    283.06        .33789E-04** at limit **
   9  Prefactor     .10000E-03    123.27        .43180E-06** at limit **
  10  Prefactor     .10000E-03    257.02       -.31126E-05** at limit **
  11  Prefactor     .10000E-03    33.929        .13075E-06** at limit **
  12  Prefactor     .10000E-03    22.098        .72756E-07** at limit **
  13  Prefactor     2287.7        3500.9       -.94378E-05   -.10171E-03
  14  Prefactor     .10000E-03    102.16       -.26835E-06** at limit **
  15  Prefactor     3.5499        1.0103         .0000         .0000    
  16  norm          319.02        261.26       -.53612E-06    .18595E-01
  17  norm          .63413        1798.6       -.26414E-04   -.32344E-02
  18  norm          .10000E-03    30.529        .10133E-05** at limit **
  19  norm          .10000E-03    95.558        .22795E-05** at limit **
  20  Prefactor     .10000E-03    323.46       -.32688E-06** at limit **
  21  Prefactor     40.783        386.85        .65457E-04   -.34747E-03
  22  Prefactor     .10000E-03    89.735        .29685E-05** at limit **
  23  norm          .10000E-03    67.873        .30670E-05** at limit **
  24  Prefactor     .10010E-03    905.31       -.23113E-05** at limit **
  25  norm          7.2906        1.0024         .0000         .0000    
  26  norm          .10000E-03    125.51       -.48575E-05** at limit **
  27  Prefactor     1.5694        1.0628         .0000         .0000    
  28  Prefactor     2.2519        1.0271         .0000         .0000    
  29  Prefactor     .10000E-03    71.540       -.57844E-05** at limit **
  30  Prefactor     .10000E-03    223.10        .41900E-05** at limit **
  31  Prefactor     53.715        211.67        .30821E-05   -.33330E-03
  32  Normalizat    .10000E-01    .23975       -.15497E-05** at limit **
  33  Prefactor     1.6216        .37049        .44545E-05   -.29888E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.3456
  Prefactor  = 8.51155
  Prefactor  = 0.000100003
  Prefactor  = 0.000100006
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000189314
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2287.67
  Prefactor  = 0.0001
  Prefactor  = 3.54989
  norm       = 319.02
  norm       = 0.634129
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.7828
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100103
  norm       = 7.2906
  norm       = 0.0001
  Prefactor  = 1.5694
  Prefactor  = 2.25189
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.7154
  Normalizat = 0.01
  Prefactor  = 1.62164
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   400.3996     FROM HESSE     STATUS=FAILED        15 CALLS      598 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    284.86        .11331E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     510.43        503.05         .0000       -1.5166    
   3  Prefactor     8.5116        1.0017         .0000       -1.5124    
   4  Prefactor     .10000E-03    .20923        .42839E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    .29454        .11011E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .28658        .68568E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .25167       -.71909E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .18931E-03    .51980E-02    .33789E-04   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .23519        .43180E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .21618       -.31126E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .26899        .13075E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .20571        .72756E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2287.7        14.057       -.94378E-05   -.57337    
  14  Prefactor     .10000E-03    .25050       -.26835E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.5499        1.0103         .0000       -1.5331    
  16  norm          319.02        .97170       -.53612E-06   -1.2116    
  17  norm          .63413        1.0116       -.26414E-04   -1.5867    
  18  norm          .10000E-03    .20571        .10133E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .23759        .22795E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .20614       -.32688E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     40.783        2.0405        .65457E-04   -1.4430    
  22  Prefactor     .10000E-03    .26932        .29685E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .23369        .30670E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10010E-03    .26181       -.23113E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          7.2906        1.0024         .0000       -1.5168    
  26  norm          .10000E-03    .21434       -.48575E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.5694        1.0628         .0000       -1.5457    
  28  Prefactor     2.2519        1.0271         .0000       -1.5408    
  29  Prefactor     .10000E-03    .20703       -.57844E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    .22892        .41900E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     53.715        1.9497        .30821E-05   -1.4241    
  32  Normalizat    .10000E-01    .25505       -.15497E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     1.6216        1.0237        .44545E-05   -.74187    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.17873e-09
Minuit parameter uncertainties:
  1  3.76865e-05
  2  1.00233
  3  1.00173
  4  4.5897e-05
  5  8.66809e-05
  6  4.70558e-05
  7  5.56487e-06
  8  0.00136272
  9  2.18053e-05
  10  3.28905e-05
  11  2.08211e-06
  12  2.17142e-07
  13  14.0567
  14  2.3832e-06
  15  1.01028
  16  0.9717
  17  1.01161
  18  2.17682e-06
  19  3.74052e-06
  20  9.93895e-06
  21  2.04047
  22  1.08661e-05
  23  3.62959e-05
  24  0.000328572
  25  1.00237
  26  7.10403e-06
  27  1.06278
  28  1.02706
  29  1.50535e-06
  30  1.0614e-05
  31  1.94974
  32  3.13252e-07
  33  1.0373
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 400.399578195

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  4.078e+01  2.040e+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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.622e+00  1.037e+00  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.000e-02  3.133e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 1.16e-06 ph cm-2 s-1
Energy Flux Upper Limit: 9.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902510/likelihoodResults_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.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) = 400.399510766
delta logL = 6.74285779496e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 400.399384417
delta logL = 0.000193778358721

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.613       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8365       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6210       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=   400.3994     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      271 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.337        438.46        .31842E-03   -.86178E-05
   2  Index         2.8313        2.6277        .88606E-02    .26093E-05
   3  Normalizat    .10000E-01    .23276        .57824E-02** at limit **
   4  Prefactor     1.6214        .35366        .18110E-03   -.86983E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.3375
  Index      = 2.83126
  Normalizat = 0.01
  Prefactor  = 1.62144
 **********
 **   18 **HESSE 
 **********

 FCN=   400.3994     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.337        415.90        .12737E-04   -1.4453    
   2  Index         2.8313        2.5675        .35443E-03   -.44865    
   3  Normalizat    .10000E-01    .23277        .11565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6214        .35364        .72440E-05   -.74193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87076e-11
Minuit parameter uncertainties:
  1  258.147
  2  2.73185
  3  7.39443e-07
  4  0.354188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902510': 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) = 400.399380613
delta logL = 0.000197581519728

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.934e+01  2.581e+02  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.831e+00  2.732e+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.621e+00  3.542e-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.000e-02  7.394e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/902510/cmap_HighResolution_564624001_564883201_4FGL_J2326.9-4130_daily_bin1255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.20e-02', job_status='DONE', photon_flux_upper_limit='1.16e-06', time_completed='2021-09-29 19:31:03.252934', job_id='902510', GAL2='1.62', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632969063.25', return_code2='0', ts='0.03', comment='SUCCESS', return_code='101', GAL='1.62', dlogl='1.98e-04', ts2='0.03', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1255' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:31:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 902510: <4FGL_J2326.9-4130_daily_bin1255> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1255 351.737 -41.5089 564624001 564883201 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 :                                   259.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   344 sec.
    Turnaround time :                            347 sec.

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

