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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1349
RA = 351.737, Dec = -41.5089
tmin = 588988801, tmax = 589248001
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='902659', job_status='RUN', time_executed='2021-09-29 19:28:10.531738', time_epoch_executed='1632968890.53' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1349'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902659

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902659/ft1_4FGL_J2326.9-4130_daily_bin1349.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902659/ft2_4FGL_J2326.9-4130_daily_bin1349.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902659/ft1_4FGL_J2326.9-4130_daily_bin1349.fits outfile=/scratch/kocevski/902659/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1349.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=588988801.0 tmax=589248001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.12
user 2.90
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902659/ft2_4FGL_J2326.9-4130_daily_bin1349.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/902659/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1349.fits evtable="EVENTS" outfile="/scratch/kocevski/902659/ft1_filtered_4FGL_J2326.9-4130_daily_bin1349.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.53
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902659/ft1_filtered_4FGL_J2326.9-4130_daily_bin1349.fits" evtable="EVENTS" scfile=/scratch/kocevski/902659/ft2_4FGL_J2326.9-4130_daily_bin1349.fits sctable="SC_DATA" outfile=/scratch/kocevski/902659/ltcube_588988801_589248001_4FGL_J2326.9-4130_daily_bin1349.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/902659/ft2_4FGL_J2326.9-4130_daily_bin1349.fits
.....................!
real 12.88
user 12.54
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902659/ft1_filtered_4FGL_J2326.9-4130_daily_bin1349.fits evtable="EVENTS" scfile=/scratch/kocevski/902659/ft2_4FGL_J2326.9-4130_daily_bin1349.fits sctable="SC_DATA" expcube=/scratch/kocevski/902659/ltcube_588988801_589248001_4FGL_J2326.9-4130_daily_bin1349.fits outfile=/scratch/kocevski/902659/expmap_588988801_589248001_4FGL_J2326.9-4130_daily_bin1349.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/902659/ltcube_588988801_589248001_4FGL_J2326.9-4130_daily_bin1349.fits
.....................!
real 190.54
user 185.33
sys 4.81

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/902659/ft1_filtered_4FGL_J2326.9-4130_daily_bin1349.fits scfile=/scratch/kocevski/902659/ft2_4FGL_J2326.9-4130_daily_bin1349.fits outfile=/scratch/kocevski/902659/cmap_588988801_589248001_4FGL_J2326.9-4130_daily_bin1349.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.52
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902659/ft1_filtered_4FGL_J2326.9-4130_daily_bin1349.fits scfile=/scratch/kocevski/902659/ft2_4FGL_J2326.9-4130_daily_bin1349.fits outfile=/scratch/kocevski/902659/cmap_HighResolution_588988801_589248001_4FGL_J2326.9-4130_daily_bin1349.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/902659/ft1_filtered_4FGL_J2326.9-4130_daily_bin1349.fits evtable="EVENTS" scfile=/scratch/kocevski/902659/ft2_4FGL_J2326.9-4130_daily_bin1349.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902659/Model_4FGL_J2326.9-4130_daily_bin1349.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/902659/ft1_filtered_4FGL_J2326.9-4130_daily_bin1349.fits........!
real 14.00
user 12.82
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48774E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .55996E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .41000E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11082E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    60.717       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19184       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2363       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .27047E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.9128       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.7779       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2114       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5905       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0599       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.8226       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4055       1.0000         .10000E-03   10000.    
    16 'norm      '    2.9810       1.0000         .10000E-03   10000.    
    17 'norm      '    .31342E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .44615E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    5.0894       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.1917       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.9733       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.3192       1.0000         .10000E-03   10000.    
    23 'norm      '    2.4234       1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.3952       1.0000         .10000E-03   10000.    
    25 'norm      '    .18399E-01   1.0000         .10000E-03   10000.    
    26 'norm      '    .92339E-01   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .16581E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .45274       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .30110E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    54.620       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .64396       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .23771E-07   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=   88.36545     FROM MIGRAD    STATUS=CONVERGED    573 CALLS      852 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    177.95        .77017E-05** at limit **
   2  Prefactor     .10000E-03    79.182       -.42785E-05** at limit **
   3  Prefactor     .10001E-03    88.873        .50276E-05** at limit **
   4  Prefactor     .10000E-03    63.634        .77688E-06** at limit **
   5  Prefactor     52.873        27.775        .14447E-05   -.35771E-03
   6  Prefactor     .10003E-03    330.62        .29300E-05** at limit **
   7  Prefactor     .10020E-03    9658.7       -.19615E-04** at limit **
   8  Prefactor     .10000E-03    262.67       -.16089E-05** at limit **
   9  Prefactor    10000.0        5452.8       -.12041E-02** at limit **
  10  Prefactor    10000.0        6066.0       -.14848E-02** at limit **
  11  Prefactor     4.2114        8479.2         .0000         .0000    
  12  Prefactor    10000.0        9752.5        .17306E-04** at limit **
  13  Prefactor     .10072E-03    7859.7       -.12524E-03** at limit **
  14  Prefactor    10000.0        6316.7       -.26612E-03** at limit **
  15  Prefactor    10000.0        6934.4        .46672E-04** at limit **
  16  norm         10000.0        8834.7        .38699E-04** at limit **
  17  norm          .10001E-03    1345.0        .24063E-04** at limit **
  18  norm          .10010E-03    749.66       -.71109E-05** at limit **
  19  norm          .10001E-03    1161.7       -.61648E-05** at limit **
  20  Prefactor     .10012E-03    9819.4        .15820E-03** at limit **
  21  Prefactor     5323.9        5324.4        .55421E-04   -.22729E-05
  22  Prefactor     .10010E-03    6604.1        .19866E-04** at limit **
  23  norm          .10000E-03    440.98       -.38870E-05** at limit **
  24  Prefactor     .10040E-03    1170.2        .96512E-05** at limit **
  25  norm          .10000E-03    75.426        .13385E-05** at limit **
  26  norm          .10000E-03    102.00       -.32906E-05** at limit **
  27  Prefactor     .10000E-03    21.169        .32309E-06** at limit **
  28  Prefactor     .10000E-03    146.39        .18198E-05** at limit **
  29  Prefactor     .10000E-03    28.762       -.60932E-06** at limit **
  30  Prefactor     .10000E-03    25.367        .68822E-06** at limit **
  31  Prefactor     .10000E-03    219.50        .80847E-05** at limit **
  32  Normalizat    .10000E-01    .18018       -.69171E-05** at limit **
  33  Prefactor     .11213E-11    .14925        .11566E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100036
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 52.8734
  Prefactor  = 0.000100026
  Prefactor  = 0.000100203
  Prefactor  = 0.000100001
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 4.21144
  Prefactor  = 10000
  Prefactor  = 0.000100716
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  norm       = 0.000100007
  norm       = 0.000100098
  norm       = 0.00010001
  Prefactor  = 0.000100115
  Prefactor  = 5323.88
  Prefactor  = 0.000100096
  norm       = 0.000100003
  Prefactor  = 0.000100396
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 0.01
  Prefactor  = 1.12133e-12
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   88.36545     FROM HESSE     STATUS=FAILED        51 CALLS      903 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    182.35        .92641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    74.682        .92993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    87.752        .92261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    59.804        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     52.873        27.517        .12873E-02   -1.4252    
   6  Prefactor     .10003E-03    328.69        .99403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10020E-03    9741.3        .48943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    257.60        .91575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor    10000.0        6622.5        .33564E-02    146.08    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor    10000.0        6448.1        .41772E-02    14.137    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     539.79        535.52         .0000       -1.5298    
  12  Prefactor    10000.0        .17689        .17306E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10072E-03    .35616E-01   -.12524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        .36867E-01   -.26612E-03    1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor    10000.0        .46677E-01    .46672E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm         10000.0        .86394E-01    .38699E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    .21062        .24063E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10010E-03    .23414       -.71109E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    .49631E-01   -.61648E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10012E-03    .27305E-01    .15820E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5323.9        17.712        .55421E-04    3.0768    
  22  Prefactor     .10010E-03    .39839E-01    .19866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .10800       -.38870E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10040E-03    .57662E-01    .96512E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .20769        .13385E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .22442       -.32906E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    .20571        .32309E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    .30671        .18198E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    .28591       -.60932E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    .46026E-02    .68822E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    .35076        .80847E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .25505       -.69171E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .11213E-11    .25504        .11566E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.02339e-10
Minuit parameter uncertainties:
  1  0.00511729
  2  7.53861e-05
  3  0.00166658
  4  0.000172386
  5  27.5232
  6  0.0059107
  7  0.162324
  8  0.00109789
  9  8.35607
  10  18.4287
  11  1.00723
  12  0.00121047
  13  0.000319322
  14  0.00531519
  15  0.000156853
  16  0.000716571
  17  7.86284e-05
  18  0.000302799
  19  4.45365e-05
  20  0.000112249
  21  17.7122
  22  0.000123715
  23  3.45932e-05
  24  0.000302271
  25  2.02879e-05
  26  3.43208e-05
  27  2.66619e-06
  28  2.61231e-05
  29  1.22303e-05
  30  1.85863e-07
  31  6.7389e-05
  32  2.32454e-06
  33  1.07413e-06
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  5.324e+03  1.771e+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.121e-12  1.074e-06  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  2.325e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -0.0534762545766

TS (Fixed Index): 0.19
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.91e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902659/likelihoodResults_588988801_589248001_4FGL_J2326.9-4130_daily_bin1349.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) = 88.0816007282
delta logL = 0.283851486507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 88.0811637484
delta logL = 0.284288466314

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    3.6706       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=   88.08116     FROM MIGRAD    STATUS=CONVERGED     13 CALLS       55 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       3.6707        .76200        .33175E-01    .21302E-05
                               ERR DEF=  .500    
Final values: 
  Index      = 3.67069
 **********
 **   18 **HESSE 
 **********

 FCN=   88.08116     FROM HESSE     STATUS=OK             7 CALLS       62 TOTAL
                     EDM=   .38E-17    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       3.6707        .76805        .14591E-03   -.26910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79533e-18
Minuit parameter uncertainties:
  1  0.771339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902659': 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) = 88.0811637413
delta logL = 0.284288473377

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  5.324e+03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
436        Index:  3.671e+00  7.713e-01  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.639e-07  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.19
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/902659/cmap_HighResolution_588988801_589248001_4FGL_J2326.9-4130_daily_bin1349.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.91e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-29 19:36:22.194346', job_id='902659', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632969382.19', return_code2='0', ts='0.19', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='2.84e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1349' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:36:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 902659: <4FGL_J2326.9-4130_daily_bin1349> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1349 351.737 -41.5089 588988801 589248001 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 :                                   322.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            650 sec.

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

