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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1270
RA = 351.737, Dec = -41.5089
tmin = 568512001, tmax = 568771201
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='902532', job_status='RUN', time_executed='2021-09-29 19:26:08.711657', time_epoch_executed='1632968768.71' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902532

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902532/ft1_4FGL_J2326.9-4130_daily_bin1270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902532/ft2_4FGL_J2326.9-4130_daily_bin1270.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902532/ft1_4FGL_J2326.9-4130_daily_bin1270.fits outfile=/scratch/kocevski/902532/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1270.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=568512001.0 tmax=568771201.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.59
user 3.34
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902532/ft1_filtered_4FGL_J2326.9-4130_daily_bin1270.fits evtable="EVENTS" scfile=/scratch/kocevski/902532/ft2_4FGL_J2326.9-4130_daily_bin1270.fits sctable="SC_DATA" expcube=/scratch/kocevski/902532/ltcube_568512001_568771201_4FGL_J2326.9-4130_daily_bin1270.fits outfile=/scratch/kocevski/902532/expmap_568512001_568771201_4FGL_J2326.9-4130_daily_bin1270.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/902532/ltcube_568512001_568771201_4FGL_J2326.9-4130_daily_bin1270.fits
.....................!
real 189.72
user 185.32
sys 4.05

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/902532/ft1_filtered_4FGL_J2326.9-4130_daily_bin1270.fits scfile=/scratch/kocevski/902532/ft2_4FGL_J2326.9-4130_daily_bin1270.fits outfile=/scratch/kocevski/902532/cmap_568512001_568771201_4FGL_J2326.9-4130_daily_bin1270.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902532/ft1_filtered_4FGL_J2326.9-4130_daily_bin1270.fits scfile=/scratch/kocevski/902532/ft2_4FGL_J2326.9-4130_daily_bin1270.fits outfile=/scratch/kocevski/902532/cmap_HighResolution_568512001_568771201_4FGL_J2326.9-4130_daily_bin1270.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902532/ft1_filtered_4FGL_J2326.9-4130_daily_bin1270.fits evtable="EVENTS" scfile=/scratch/kocevski/902532/ft2_4FGL_J2326.9-4130_daily_bin1270.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902532/Model_4FGL_J2326.9-4130_daily_bin1270.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/902532/ft1_filtered_4FGL_J2326.9-4130_daily_bin1270.fits.....................!
real 33.30
user 31.33
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.029       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7758       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5117       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0797       1.0000         .10000E-03   10000.    
    10 'Prefactor '    103.93       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.662       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.113       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    14.095       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    47.019       1.0000         .10000E-03   10000.    
    23 'norm      '    .13485E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.7733       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .83178E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.7204       1.0000         .10000E-03   10000.    
    31 'Prefactor '    72.921       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.5211       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .38876       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3541.018     FROM MIGRAD    STATUS=CONVERGED    914 CALLS     4641 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    488.29        .42873E-06** at limit **
   2  Prefactor     .10000E-03    11.145       -.20829E-07** at limit **
   3  Prefactor     .10000E-03    25.417        .43731E-06** at limit **
   4  Prefactor     .10000E-03    29.388       -.48344E-06** at limit **
   5  Prefactor     11.028        9.6365        .33590E-06    .24035E-03
   6  Prefactor     1.7750        5.6021        .24909E-06    .55124E-05
   7  Prefactor     .10000E-03    26.894        .62273E-06** at limit **
   8  Prefactor     4.5112        7.6043       -.23867E-05   -.45669E-05
   9  Prefactor     7.0787        52.361       -.22611E-06   -.30829E-04
  10  Prefactor     103.92        46.482       -.13237E-07   -.92660E-04
  11  Prefactor     .10000E-03    27.059        .42132E-06** at limit **
  12  Prefactor     .10000E-03    3.1211       -.66315E-07** at limit **
  13  Prefactor     28.663        30.178        .12057E-06   -.10577E-05
  14  Prefactor     .10000E-03    96.207        .28020E-06** at limit **
  15  Prefactor     10.112        18.355        .22432E-06    .10770E-04
  16  norm          .10000E-03    6.1021        .55549E-08** at limit **
  17  norm          .10000E-03    2.9920        .10798E-07** at limit **
  18  norm          14.095        9.3623        .15266E-06    .41798E-03
  19  norm          .10000E-03    4.2568        .10423E-06** at limit **
  20  Prefactor     .10000E-03    6.2593       -.46612E-06** at limit **
  21  Prefactor     .10000E-03    21.931       -.19108E-05** at limit **
  22  Prefactor     47.014        66.476        .32476E-07    .13187E-05
  23  norm          .10000E-03    4.9980       -.19089E-05** at limit **
  24  Prefactor     8.7725        16.764        .42313E-06    .53085E-04
  25  norm          .10000E-03    .50165       -.59536E-07** at limit **
  26  norm          .10000E-03    45.509       -.19721E-04** at limit **
  27  Prefactor     .10000E-03    1.9048       -.11236E-06** at limit **
  28  Prefactor     .10000E-03    17.467        .67656E-06** at limit **
  29  Prefactor     .10000E-03    3.1661        .45926E-07** at limit **
  30  Prefactor     4.7200        4.6234       -.10091E-08   -.31263E-04
  31  Prefactor     72.922        109.90        .84203E-06    .17615E-04
  32  Normalizat    1.5212        .25571       -.91962E-06   -.30273E-03
  33  Prefactor     .38873        .25328        .53628E-06   -.99833E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0279
  Prefactor  = 1.77497
  Prefactor  = 0.0001
  Prefactor  = 4.5112
  Prefactor  = 7.07865
  Prefactor  = 103.923
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.6634
  Prefactor  = 0.0001
  Prefactor  = 10.112
  norm       = 0.0001
  norm       = 0.0001
  norm       = 14.095
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.0139
  norm       = 0.000100001
  Prefactor  = 8.7725
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.72005
  Prefactor  = 72.9216
  Normalizat = 1.52117
  Prefactor  = 0.388726
 **********
 **   18 **HESSE 
 **********

 FCN=   3541.018     FROM HESSE     STATUS=OK           683 CALLS     5324 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    497.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.028        9.6758        .12064E-03   -1.5044    
   6  Prefactor     1.7750        5.5597        .23436E-03   -1.5442    
   7  Prefactor     .10000E-03    26.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.5112        7.6102        .94772E-03   -1.5283    
   9  Prefactor     7.0787        51.970        .15076E-03   -1.5176    
  10  Prefactor     103.92        46.397        .39443E-04   -1.3666    
  11  Prefactor     .10000E-03    27.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.1254        .10267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     28.663        30.175        .74833E-04   -1.4637    
  14  Prefactor     .10000E-03    96.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.112        18.371        .12600E-03   -1.5072    
  16  norm          .10000E-03    6.1041        .14357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.9934        .10052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.095        8.8388        .10669E-03   -1.4957    
  19  norm          .10000E-03    4.2697        .11991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.2984        .14503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    21.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     47.014        66.692        .58475E-04   -1.4336    
  23  norm          .10000E-03    14.878        .22616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.7725        16.816        .13533E-03   -1.5116    
  25  norm          .10000E-03    .50904        .41084E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    45.573        .21737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.9219        .80197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    17.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    3.1696        .10335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     4.7200        4.6258        .12193E-03   -1.5273    
  31  Prefactor     72.922        110.69        .47015E-04   -1.3998    
  32  Normalizat    1.5212        .29159        .20336E-03   -.77185    
  33  Prefactor     .38873        .28009        .38632E-03   -1.1739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.72576e-10
Minuit parameter uncertainties:
  1  0.00381388
  2  8.77218e-06
  3  6.19444e-06
  4  2.75245e-05
  5  9.67716
  6  5.56132
  7  5.58218e-05
  8  7.61185
  9  38.4071
  10  46.4137
  11  0.000122938
  12  7.81468e-06
  13  30.1911
  14  4.82026e-05
  15  18.3816
  16  1.58521e-07
  17  1.20137e-06
  18  8.83958
  19  1.64987e-05
  20  7.98232e-05
  21  9.47869e-05
  22  66.7976
  23  0.000228071
  24  16.8246
  25  2.78564e-06
  26  0.00022272
  27  1.08441e-05
  28  2.72815e-05
  29  5.73881e-06
  30  4.62619
  31  111.009
  32  0.291909
  33  0.281084
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  9.479e-05  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:  3.887e-01  2.811e-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.521e+00  2.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/902532/likelihoodResults_568512001_568771201_4FGL_J2326.9-4130_daily_bin1270.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) = 3541.01804213
delta logL = -0.000216106040625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3541.0178279
delta logL = -1.87475006896e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2124       1.0000          .0000       10.000    
     3 'Normalizat'    1.5212       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .38873       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=   3541.018     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      281 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11095E-03    14.955        .18142E-01** at limit **
   2  Index         3.0403        5.9579        .50000        .23190E-04
   3  Normalizat    1.5212        .54980E-02    .20336E-03   -.27924E-03
   4  Prefactor     .38872        .56231E-02    .38632E-03   -.13191E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000110952
  Index      = 3.04028
  Normalizat = 1.52117
  Prefactor  = 0.388724
 **********
 **   18 **HESSE 
 **********

 FCN=   3541.018     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      310 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11095E-03    121.66        .22901E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0403        6.0150        .50000       -.40274    
   3  Normalizat    1.5212        .15772E-01    .40671E-04   -.77185    
   4  Prefactor     .38872        .16131E-01    .15453E-04   -1.1739    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.10347e-08
Minuit parameter uncertainties:
  1  0.0731527
  2  435.932
  3  0.0157718
  4  0.016131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902532': 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) = 3541.0178273
delta logL = -1.27702105601e-06

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.110e-04  7.315e-02  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.040e+00  4.359e+02  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:  3.887e-01  1.613e-02  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.521e+00  1.577e-02  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/902532/cmap_HighResolution_568512001_568771201_4FGL_J2326.9-4130_daily_bin1270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-29 19:37:56.771446', job_id='902532', GAL2='0.39', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1632969476.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.39', dlogl='-1.28e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1270' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:37:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 902532: <4FGL_J2326.9-4130_daily_bin1270> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1270 351.737 -41.5089 568512001 568771201 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 :                                   662.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            758 sec.

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

