/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 172 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7381
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1750
RA = 351.737, Dec = -41.5089
tmin = 692928001, tmax = 693187201
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='29687', job_status='RUN', time_executed='2022-12-20 02:03:20.919761', time_epoch_executed='1671530600.92' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29687

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29687/ft1_4FGL_J2326.9-4130_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29687/ft2_4FGL_J2326.9-4130_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29687/ft1_4FGL_J2326.9-4130_daily_bin1750.fits outfile=/scratch/kocevski/29687/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1750.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=692928001.0 tmax=693187201.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.53
user 3.28
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/29687/ft2_4FGL_J2326.9-4130_daily_bin1750.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/29687/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/29687/ft1_filtered_4FGL_J2326.9-4130_daily_bin1750.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 468

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/29687/ft1_filtered_4FGL_J2326.9-4130_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/29687/ft2_4FGL_J2326.9-4130_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/29687/ltcube_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.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/29687/ft2_4FGL_J2326.9-4130_daily_bin1750.fits
.....................!
real 11.94
user 11.53
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29687/ft1_filtered_4FGL_J2326.9-4130_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/29687/ft2_4FGL_J2326.9-4130_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/29687/ltcube_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.fits outfile=/scratch/kocevski/29687/expmap_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.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/29687/ltcube_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.fits
.....................!
real 190.99
user 184.57
sys 5.88

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/29687/ft1_filtered_4FGL_J2326.9-4130_daily_bin1750.fits scfile=/scratch/kocevski/29687/ft2_4FGL_J2326.9-4130_daily_bin1750.fits outfile=/scratch/kocevski/29687/cmap_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.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.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/29687/ft1_filtered_4FGL_J2326.9-4130_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/29687/ft2_4FGL_J2326.9-4130_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/29687/Model_4FGL_J2326.9-4130_daily_bin1750.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/29687/ft1_filtered_4FGL_J2326.9-4130_daily_bin1750.fits.....................!
real 39.17
user 37.82
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/29687/ft1_filtered_4FGL_J2326.9-4130_daily_bin1750.fits', '/scratch/kocevski/29687/ft2_4FGL_J2326.9-4130_daily_bin1750.fits', expMap='/scratch/kocevski/29687/expmap_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.fits', expCube='/scratch/kocevski/29687/ltcube_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/29687/Model_4FGL_J2326.9-4130_daily_bin1750.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  0.000e+00  1.000e+06 ( 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/29687/ft1_filtered_4FGL_J2326.9-4130_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/29687/ft2_4FGL_J2326.9-4130_daily_bin1750.fits
Exposure map: /scratch/kocevski/29687/expmap_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.fits
Exposure cube: /scratch/kocevski/29687/ltcube_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/29687/Model_4FGL_J2326.9-4130_daily_bin1750.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) = 5104.23372987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51303E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .53574E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .28667       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6712       1.0000          .0000       .10000E+07
     5 'Prefactor '    .47267E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .20481E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.1224       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7131       1.0000          .0000       .10000E+07
     9 'Prefactor '    36.534       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.4004       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4628       1.0000          .0000       .10000E+07
    12 'Prefactor '    20.402       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77025       1.0000          .0000       .10000E+07
    14 'norm      '    6.5177       1.0000          .0000       .10000E+07
    15 'norm      '    .29910E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .54617E-03   1.0000          .0000       .10000E+07
    17 'norm      '    2.9354       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18234E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12459E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .29086E-02   1.0000          .0000       .10000E+07
    21 'norm      '    4.5965       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.5766       1.0000          .0000       .10000E+07
    23 'norm      '    .82361       1.0000          .0000       .10000E+07
    24 'norm      '    2.8121       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.1596       1.0000          .0000       .10000E+07
    26 'Prefactor '    13.554       1.0000          .0000       .10000E+07
    27 'Prefactor '    .34125E-05   1.0000          .0000       .10000E+07
    28 'Prefactor '    .15984E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    .73164E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0399       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .69790       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=   5104.147     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2956 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11339E-05    13.423       -.27870E-05** at limit **
   2  Prefactor     .48628E-07    5.9408        .14821E-05** at limit **
   3  Prefactor     .99809E-07    14.629       -.48552E-05** at limit **
   4  Prefactor     9.5944        5.8097        .23722E-06   -.20040E-02
   5  Prefactor     .68834E-08    8.8223        .26183E-05** at limit **
   6  Prefactor     .62179E-05    23.443        .64722E-05** at limit **
   7  Prefactor     4.1662        4.9349        .35173E-06   -.12281E-03
   8  Prefactor     1.7945        1.4434       -.54331E-06   -.15877E-02
   9  Prefactor     36.362        1.3121        .79657E-07   -.42466E-02
  10  Prefactor     2.4559        3.7110       -.16220E-05   -.24843E-01
  11  Prefactor     8.4141        6.5770       -.63742E-07   -.15904E-02
  12  Prefactor     20.371        1.0718       -.16657E-07    .17671E-02
  13  Prefactor     .75410        .53603       -.16541E-06    .67621E-03
  14  norm          6.5254        8.2827        .54808E-06   -.34884E-02
  15  norm          .55511E-10    3.8740        .51203E-06** at limit **
  16  norm          .13212E-07    3.0219        .14307E-05** at limit **
  17  norm          2.9785        4.6104        .28971E-06   -.80813E-04
  18  Prefactor     .32307E-07    2.7695        .14821E-05** at limit **
  19  Prefactor     .34155E-05    20.802       -.66896E-07** at limit **
  20  Prefactor     .52125E-06    14.133        .45216E-05** at limit **
  21  norm          4.6009        4.9085        .48638E-06   -.45528E-04
  22  Prefactor     1.4166        20.605       -.32203E-05   -.27589E-02
  23  norm          .82507        .70844        .26253E-06    .12864E-03
  24  norm          2.8091        3.0427        .19939E-06    .11866E-02
  25  Prefactor     1.1577        1.9110        .29406E-07    .52053E-03
  26  Prefactor     13.706        1.3929        .26503E-07    .43371E-02
  27  Prefactor      .0000        1.8995       -.49385E-06** at limit **
  28  Prefactor     .55511E-10    3.2403       -.11026E-06** at limit **
  29  Prefactor     .11213E-05    50.830       -.11087E-05** at limit **
  30  Normalizat    1.0405        .19992        .64772E-05   -.17040E-03
  31  Prefactor     .69762        .21893       -.54403E-05   -.13736E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.13393e-06
  Prefactor  = 4.86278e-08
  Prefactor  = 9.9809e-08
  Prefactor  = 9.59439
  Prefactor  = 6.88338e-09
  Prefactor  = 6.21786e-06
  Prefactor  = 4.16617
  Prefactor  = 1.79451
  Prefactor  = 36.362
  Prefactor  = 2.45591
  Prefactor  = 8.41409
  Prefactor  = 20.371
  Prefactor  = 0.754104
  norm       = 6.52539
  norm       = 5.55112e-11
  norm       = 1.32117e-08
  norm       = 2.97846
  Prefactor  = 3.23075e-08
  Prefactor  = 3.41549e-06
  Prefactor  = 5.2125e-07
  norm       = 4.60091
  Prefactor  = 1.41658
  norm       = 0.825065
  norm       = 2.80911
  Prefactor  = 1.15771
  Prefactor  = 13.7061
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.12127e-06
  Normalizat = 1.04048
  Prefactor  = 0.697623
 **********
 **   18 **HESSE 
 **********

 FCN=   5104.147     FROM HESSE     STATUS=OK           692 CALLS     3648 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11339E-05    18.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .48628E-07    10.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .99809E-07    138.08        .10400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.5944        5.8109        .32199E-03   -1.5646    
   5  Prefactor     .68834E-08    9.8235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .62179E-05    38.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.1662        4.9454        .49624E-03   -1.5667    
   8  Prefactor     1.7945        76.342        .80270E-03   -1.5681    
   9  Prefactor     36.362        30.092        .16546E-03   -1.5587    
  10  Prefactor     2.4559        22.281        .66063E-03   -1.5677    
  11  Prefactor     8.4141        6.6079        .34436E-03   -1.5650    
  12  Prefactor     20.371        24.164        .22146E-03   -1.5618    
  13  Prefactor     .75410        33.598        .55179E-03   -1.5691    
  14  norm          6.5254        8.2994        .39286E-03   -1.5657    
  15  norm          .55511E-10    3.8615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .13212E-07    10.246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.9785        4.6363        .59260E-03   -1.5673    
  18  Prefactor     .32307E-07    9.8236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .34155E-05    30.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .52125E-06    16.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.6009        4.9548        .46925E-03   -1.5665    
  22  Prefactor     1.4166        21.454        .84583E-03   -1.5684    
  23  norm          .82507        .71606        .51192E-03   -1.5690    
  24  norm          2.8091        3.0600        .60632E-03   -1.5674    
  25  Prefactor     1.1577        2.4428        .28536E-02   -1.5686    
  26  Prefactor     13.706        21.354        .27181E-03   -1.5634    
  27  Prefactor      .0000        1.8962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    3.2155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .11213E-05    53.255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0405        .16978        .41288E-01   -.91686    
  31  Prefactor     .69762        .18359        .60949E-01   -1.0362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3429e-07
Minuit parameter uncertainties:
  1  0.00912093
  2  0.00141426
  3  0.00742507
  4  5.81086
  5  0.000519471
  6  0.0307516
  7  4.94543
  8  23.4094
  9  30.0921
  10  14.7946
  11  6.60791
  12  24.1641
  13  10.0671
  14  8.29945
  15  3.41291e-05
  16  0.000736153
  17  4.63628
  18  0.0011268
  19  0.0202989
  20  0.0058921
  21  4.95484
  22  11.0258
  23  0.716058
  24  3.05999
  25  2.4428
  26  21.354
  27  3.8206e-06
  28  3.17337e-05
  29  0.0154552
  30  0.169868
  31  0.183753
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.415e-06  2.030e-02  0.000e+00  1.000e+06 ( 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:  6.976e-01  1.838e-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.040e+00  1.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 8.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/29687/likelihoodResults_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5104.16346585
delta logL = -0.0160782948005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5103.13061469
delta logL = 1.01677286573

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15471E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9994       1.0000          .0000       10.000    
     3 'Normalizat'    .96012       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75989       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=   5104.147     FROM MIGRAD    STATUS=CONVERGED    190 CALLS      534 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    1.9370        .25081E-04** at limit **
   2  Index         1.4131        5.0371        .50000        .90949E-10
   3  Normalizat    1.0405        .17248E-02    .21641E-01    .17394E-03
   4  Prefactor     .69762        .19262E-02    .40654E-02   -.66215E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 1.41315
  Normalizat = 1.04048
  Prefactor  = 0.697623
 **********
 **   18 **HESSE 
 **********

 FCN=   5104.147     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      565 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    9.5511        .50162E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4131        6.5926        .50000       -2.3416    
   3  Normalizat    1.0405        .38324E-02    .20206E-03   -.91686    
   4  Prefactor     .69762        .42804E-02    .16261E-03   -2.1054    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.78306e-11
Minuit parameter uncertainties:
  1  0.000121324
  2  69440.2
  3  0.00383244
  4  0.00428044
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29687': 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) = 5104.14738749
delta logL = 5.65751179238e-08

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.886e-10  1.213e-04  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  1.413e+00  6.944e+04  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:  6.976e-01  4.280e-03  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.040e+00  3.832e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.737 -41.509

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/29687/cmap_HighResolution_692928001_693187201_4FGL_J2326.9-4130_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', job_status='DONE', photon_flux_upper_limit='8.94e-08', time_completed='2022-12-20 02:14:48.517161', job_id='29687', GAL2='0.70', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1671531288.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='5.66e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1750' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:14:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0130>
Subject: Job 29687: <4FGL_J2326.9-4130_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1750> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec 20 02:00:19 2022
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 02:00:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 02:00:20 2022
Terminated at Tue Dec 20 02:14:48 2022
Results reported at Tue Dec 20 02:14:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1750 351.737 -41.5089 692928001 693187201 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 :                                   689.49 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             286.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            869 sec.

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

