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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1533
RA = 351.737, Dec = -41.5089
tmin = 636681601, tmax = 636940801
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='904571', job_status='RUN', time_executed='2021-09-29 19:31:52.746875', time_epoch_executed='1632969112.75' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1533'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904571

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904571/ft1_4FGL_J2326.9-4130_daily_bin1533.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904571/ft2_4FGL_J2326.9-4130_daily_bin1533.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904571/ft1_4FGL_J2326.9-4130_daily_bin1533.fits outfile=/scratch/kocevski/904571/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1533.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=636681601.0 tmax=636940801.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 5.21
user 4.94
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904571/ft2_4FGL_J2326.9-4130_daily_bin1533.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/904571/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1533.fits evtable="EVENTS" outfile="/scratch/kocevski/904571/ft1_filtered_4FGL_J2326.9-4130_daily_bin1533.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904571/ft1_filtered_4FGL_J2326.9-4130_daily_bin1533.fits" evtable="EVENTS" scfile=/scratch/kocevski/904571/ft2_4FGL_J2326.9-4130_daily_bin1533.fits sctable="SC_DATA" outfile=/scratch/kocevski/904571/ltcube_636681601_636940801_4FGL_J2326.9-4130_daily_bin1533.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/904571/ft2_4FGL_J2326.9-4130_daily_bin1533.fits
.....................!
real 11.92
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904571/ft1_filtered_4FGL_J2326.9-4130_daily_bin1533.fits evtable="EVENTS" scfile=/scratch/kocevski/904571/ft2_4FGL_J2326.9-4130_daily_bin1533.fits sctable="SC_DATA" expcube=/scratch/kocevski/904571/ltcube_636681601_636940801_4FGL_J2326.9-4130_daily_bin1533.fits outfile=/scratch/kocevski/904571/expmap_636681601_636940801_4FGL_J2326.9-4130_daily_bin1533.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/904571/ltcube_636681601_636940801_4FGL_J2326.9-4130_daily_bin1533.fits
.....................!
real 190.92
user 185.26
sys 5.28

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/904571/ft1_filtered_4FGL_J2326.9-4130_daily_bin1533.fits scfile=/scratch/kocevski/904571/ft2_4FGL_J2326.9-4130_daily_bin1533.fits outfile=/scratch/kocevski/904571/cmap_636681601_636940801_4FGL_J2326.9-4130_daily_bin1533.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904571/ft1_filtered_4FGL_J2326.9-4130_daily_bin1533.fits scfile=/scratch/kocevski/904571/ft2_4FGL_J2326.9-4130_daily_bin1533.fits outfile=/scratch/kocevski/904571/cmap_HighResolution_636681601_636940801_4FGL_J2326.9-4130_daily_bin1533.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/904571/ft1_filtered_4FGL_J2326.9-4130_daily_bin1533.fits evtable="EVENTS" scfile=/scratch/kocevski/904571/ft2_4FGL_J2326.9-4130_daily_bin1533.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904571/Model_4FGL_J2326.9-4130_daily_bin1533.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/904571/ft1_filtered_4FGL_J2326.9-4130_daily_bin1533.fits......................!
real 33.67
user 32.32
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.248       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .26843E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    43.575       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6448       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.707       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    50.487       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.272       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    34.712       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.1104       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    15.099       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    39.131       1.0000         .10000E-03   10000.    
    23 'norm      '    .12702E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .15913E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    12.302       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.9046       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.8230       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .11658E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.2857       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .60702       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=   3781.104     FROM MIGRAD    STATUS=CONVERGED    926 CALLS     4731 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.435       -.43870E-05** at limit **
   2  Prefactor     .10000E-03    14.978        .21959E-05** at limit **
   3  Prefactor     .10000E-03    12.767       -.23105E-06** at limit **
   4  Prefactor     .10000E-03    19.933        .53286E-05** at limit **
   5  Prefactor     12.247        11.413        .15229E-07   -.43207E-04
   6  Prefactor     .10265E-03    3.3048       -.15317E-05** at limit **
   7  Prefactor     43.640        50.934        .28547E-04    .10552E-03
   8  Prefactor     1.6481        9.2441       -.84975E-05   -.40357E-03
   9  Prefactor     27.706        29.996       -.76379E-06    .33386E-04
  10  Prefactor     .10000E-03    16.831       -.63829E-05** at limit **
  11  Prefactor     50.479        29.588        .11773E-05    .38709E-04
  12  Prefactor     .10000E-03    19.582        .34251E-05** at limit **
  13  Prefactor     21.258        45.240       -.62444E-05    .49968E-04
  14  Prefactor     .10000E-03    29.838       -.17264E-04** at limit **
  15  Prefactor     34.692        23.516       -.13439E-06    .93608E-04
  16  norm          .10000E-03    5.3688       -.42564E-07** at limit **
  17  norm          4.1056        9.3117        .21106E-06   -.11335E-03
  18  norm          .10000E-03    2.5641       -.66333E-07** at limit **
  19  norm          15.096        13.412        .21386E-05   -.61753E-04
  20  Prefactor     .10000E-03    5.7396       -.13410E-06** at limit **
  21  Prefactor     .10000E-03    54.993       -.59074E-05** at limit **
  22  Prefactor     39.060        60.893       -.48104E-04    .26914E-05
  23  norm          .10073E-03    3.2938        .17425E-05** at limit **
  24  Prefactor     .10000E-03    4.6561       -.37490E-07** at limit **
  25  norm          .10000E-03    .86397       -.77582E-07** at limit **
  26  norm          12.298        6.8705       -.67052E-06   -.58607E-03
  27  Prefactor     .10000E-03    1.1268        .70375E-07** at limit **
  28  Prefactor     2.8853        29.336       -.66765E-05   -.63127E-04
  29  Prefactor     .10000E-03    4.0594        .53468E-07** at limit **
  30  Prefactor     1.8223        3.4859       -.44762E-06   -.32223E-03
  31  Prefactor     .10000E-03    128.27       -.68085E-05** at limit **
  32  Normalizat    1.2855        .23523        .34490E-05    .10092E-03
  33  Prefactor     .60766        .24482       -.43600E-06    .18694E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.2466
  Prefactor  = 0.000102654
  Prefactor  = 43.6396
  Prefactor  = 1.64813
  Prefactor  = 27.7057
  Prefactor  = 0.0001
  Prefactor  = 50.4786
  Prefactor  = 0.000100003
  Prefactor  = 21.2581
  Prefactor  = 0.0001
  Prefactor  = 34.6917
  norm       = 0.0001
  norm       = 4.10559
  norm       = 0.0001
  norm       = 15.0959
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.0598
  norm       = 0.000100733
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.2976
  Prefactor  = 0.0001
  Prefactor  = 2.88527
  Prefactor  = 0.0001
  Prefactor  = 1.82225
  Prefactor  = 0.0001
  Normalizat = 1.28551
  Prefactor  = 0.607662
 **********
 **   18 **HESSE 
 **********

 FCN=   3781.104     FROM HESSE     STATUS=OK           699 CALLS     5430 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.247        11.510        .11446E-03   -1.5008    
   6  Prefactor     .10265E-03    10.063        .34466E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     43.640        51.084        .60732E-04   -1.4386    
   8  Prefactor     1.6481        9.2873        .32936E-03   -1.5451    
   9  Prefactor     27.706        29.996        .76109E-04   -1.4655    
  10  Prefactor     .10000E-03    16.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     50.479        29.668        .56441E-04   -1.4286    
  12  Prefactor     .10000E-03    20.160        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.258        45.063        .86844E-04   -1.4786    
  14  Prefactor     .10000E-03    29.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     34.692        23.060        .68018E-04   -1.4529    
  16  norm          .10000E-03    5.3710        .13916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.1056        8.9820        .19884E-03   -1.5303    
  18  norm          .10000E-03    2.5667        .96144E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          15.096        13.393        .10307E-03   -1.4931    
  20  Prefactor     .10000E-03    5.7985        .14323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    55.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     39.060        60.883        .64074E-04   -1.4457    
  23  norm          .10073E-03    32.363        .20915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.6599        .12958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    4.4704        .10297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          12.298        6.7171        .11240E-03   -1.5006    
  27  Prefactor     .10000E-03    1.1314        .63688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.8853        29.204        .23841E-03   -1.5368    
  29  Prefactor     .10000E-03    4.0777        .12098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     1.8223        3.4556        .15285E-03   -1.5438    
  31  Prefactor     .10000E-03    128.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2855        .28690        .21534E-03   -.84000    
  33  Prefactor     .60766        .29255        .32107E-03   -1.0726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36125e-08
Minuit parameter uncertainties:
  1  8.30311e-06
  2  1.03495e-05
  3  1.27205e-06
  4  2.2899e-05
  5  11.5117
  6  0.0103381
  7  51.1357
  8  7.82638
  9  30.0126
  10  0.000136487
  11  29.6766
  12  0.000511774
  13  45.1353
  14  2.1502e-05
  15  23.0661
  16  3.68924e-06
  17  8.98492
  18  5.66609e-06
  19  13.3961
  20  1.43191e-05
  21  0.000206127
  22  60.9798
  23  0.0097494
  24  3.35349e-06
  25  1.58335e-05
  26  6.71747
  27  3.678e-06
  28  18.37
  29  9.19456e-06
  30  3.45594
  31  0.000119365
  32  0.287258
  33  0.293289
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  2.061e-04  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:  6.077e-01  2.933e-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.286e+00  2.873e-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.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904571/likelihoodResults_636681601_636940801_4FGL_J2326.9-4130_daily_bin1533.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) = 3781.10383982
delta logL = -8.59017918629e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3781.10375415
delta logL = -2.38973825617e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0818       1.0000          .0000       10.000    
     3 'Normalizat'    1.2855       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60766       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=   3781.104     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      296 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10186E-03    1.3796        .93349E-01** at limit **
   2  Index         3.0180        8.1523        .50000        .51662E-05
   3  Normalizat    1.2855        .13655E-02    .21534E-03    .40737E-04
   4  Prefactor     .60766        .14562E-02    .32107E-03    .15952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101862
  Index      = 3.01796
  Normalizat = 1.28551
  Prefactor  = 0.607658
 **********
 **   18 **HESSE 
 **********

 FCN=   3781.104     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      327 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10186E-03    97.599        .55167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0180        5.1359        .50000       -.40760    
   3  Normalizat    1.2855        .76981E-02    .43067E-04   -.84000    
   4  Prefactor     .60766        .82095E-02    .12843E-04   -1.0726    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.38661e-10
Minuit parameter uncertainties:
  1  0.0270066
  2  259.855
  3  0.00769809
  4  0.00820954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904571': 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) = 3781.10375408
delta logL = -1.70011844602e-07

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.019e-04  2.701e-02  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.018e+00  2.599e+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:  6.077e-01  8.210e-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.286e+00  7.698e-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/904571/cmap_HighResolution_636681601_636940801_4FGL_J2326.9-4130_daily_bin1533.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.65e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-29 19:44:26.511158', job_id='904571', GAL2='0.61', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1632969866.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='-1.70e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1533' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:44:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 904571: <4FGL_J2326.9-4130_daily_bin1533> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1533 351.737 -41.5089 636681601 636940801 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 :                                   709.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            847 sec.

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

