/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 4 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 = 7427
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2326.9-4130_daily_bin125
RA = 351.737, Dec = -41.5089
tmin = 271728001, tmax = 271987201
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='896253', job_status='RUN', time_executed='2021-09-29 19:05:51.979090', time_epoch_executed='1632967551.98' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='125'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/896253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/896253/ft1_4FGL_J2326.9-4130_daily_bin125.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/896253/ft2_4FGL_J2326.9-4130_daily_bin125.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/896253/ft1_4FGL_J2326.9-4130_daily_bin125.fits outfile=/scratch/kocevski/896253/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin125.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=271728001.0 tmax=271987201.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.11
user 2.90
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/896253/ft1_filtered_4FGL_J2326.9-4130_daily_bin125.fits" evtable="EVENTS" scfile=/scratch/kocevski/896253/ft2_4FGL_J2326.9-4130_daily_bin125.fits sctable="SC_DATA" outfile=/scratch/kocevski/896253/ltcube_271728001_271987201_4FGL_J2326.9-4130_daily_bin125.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/896253/ft2_4FGL_J2326.9-4130_daily_bin125.fits
.....................!
real 12.30
user 11.98
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/896253/ft1_filtered_4FGL_J2326.9-4130_daily_bin125.fits evtable="EVENTS" scfile=/scratch/kocevski/896253/ft2_4FGL_J2326.9-4130_daily_bin125.fits sctable="SC_DATA" expcube=/scratch/kocevski/896253/ltcube_271728001_271987201_4FGL_J2326.9-4130_daily_bin125.fits outfile=/scratch/kocevski/896253/expmap_271728001_271987201_4FGL_J2326.9-4130_daily_bin125.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/896253/ltcube_271728001_271987201_4FGL_J2326.9-4130_daily_bin125.fits
.....................!
real 190.41
user 185.63
sys 4.46

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/896253/ft1_filtered_4FGL_J2326.9-4130_daily_bin125.fits scfile=/scratch/kocevski/896253/ft2_4FGL_J2326.9-4130_daily_bin125.fits outfile=/scratch/kocevski/896253/cmap_271728001_271987201_4FGL_J2326.9-4130_daily_bin125.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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/896253/ft1_filtered_4FGL_J2326.9-4130_daily_bin125.fits scfile=/scratch/kocevski/896253/ft2_4FGL_J2326.9-4130_daily_bin125.fits outfile=/scratch/kocevski/896253/cmap_HighResolution_271728001_271987201_4FGL_J2326.9-4130_daily_bin125.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/896253/ft1_filtered_4FGL_J2326.9-4130_daily_bin125.fits evtable="EVENTS" scfile=/scratch/kocevski/896253/ft2_4FGL_J2326.9-4130_daily_bin125.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/896253/Model_4FGL_J2326.9-4130_daily_bin125.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/896253/ft1_filtered_4FGL_J2326.9-4130_daily_bin125.fits.....................!
real 40.56
user 38.91
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    52.981       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10842       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.0448       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .43675       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8109       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1100       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.129       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10028E-03   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      '    6.9401       1.0000         .10000E-03   10000.    
    19 'norm      '    6.3150       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6810       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.4035       1.0000         .10000E-03   10000.    
    23 'norm      '    6.2547       1.0000         .10000E-03   10000.    
    24 'Prefactor '    17.655       1.0000         .10000E-03   10000.    
    25 'norm      '    2.6324       1.0000         .10000E-03   10000.    
    26 'norm      '    2.2029       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .11418E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.9755       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    38.641       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .98229       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .77054       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=   5240.401     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     3903 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10055E-03    21.301       -.54982E-05** at limit **
   2  Prefactor     52.962        29.522        .87078E-06   -.56653E-03
   3  Prefactor     .11913E-03    7124.6       -.69134E-05** at limit **
   4  Prefactor     .10000E-03    11.967        .18703E-05** at limit **
   5  Prefactor     8.0459        1.8461       -.11339E-05    .56190E-03
   6  Prefactor     .43646        6.5383       -.90983E-05   -.49159E-03
   7  Prefactor     .10000E-03    11.468       -.98909E-06** at limit **
   8  Prefactor     1.8129        1.8935       -.26564E-05    .53904E-04
   9  Prefactor     6.1067        5.7249        .52475E-05   -.21669E-02
  10  Prefactor     .10000E-03    6.3986        .16935E-06** at limit **
  11  Prefactor     .10068E-03    21.907        .59515E-05** at limit **
  12  Prefactor     .10000E-03    2.8323        .37422E-06** at limit **
  13  Prefactor     .10002E-03    37.941        .22770E-05** at limit **
  14  Prefactor     35.134        2.8593       -.34241E-06    .99086E-03
  15  Prefactor     .10000E-03    19.518        .14476E-05** at limit **
  16  norm          .10000E-03    4.9822       -.21072E-06** at limit **
  17  norm          .10000E-03    2.2445        .25275E-06** at limit **
  18  norm          6.9396        2.8273        .53102E-07    .10341E-03
  19  norm          6.3147        3.2830       -.15936E-05   -.19003E-02
  20  Prefactor     1.6788        5.4661       -.43839E-05   -.57759E-04
  21  Prefactor     .10000E-03    16.106       -.42932E-06** at limit **
  22  Prefactor     8.4009        1.7343        .99913E-08   -.76369E-04
  23  norm          6.2567        3.3269        .32128E-06   -.16880E-03
  24  Prefactor     17.658        10.531        .52566E-05   -.45228E-02
  25  norm          2.6325        1.2656       -.53615E-07    .69394E-04
  26  norm          2.2025        3.7402       -.46890E-06    .12060E-04
  27  Prefactor     .10000E-03    5.9585       -.38829E-06** at limit **
  28  Prefactor     .10000E-03    9.2569       -.25855E-06** at limit **
  29  Prefactor     5.9780        5.0650        .64531E-05    .21500E-02
  30  Prefactor     .10000E-03    2.0878        .28005E-06** at limit **
  31  Prefactor     38.614        6.0999        .41482E-06   -.15869E-02
  32  Normalizat    .98212        .19927       -.15392E-05    .45200E-04
  33  Prefactor     .77071        .21572        .11556E-05    .50764E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100552
  Prefactor  = 52.9615
  Prefactor  = 0.000119133
  Prefactor  = 0.0001
  Prefactor  = 8.04589
  Prefactor  = 0.436464
  Prefactor  = 0.0001
  Prefactor  = 1.81292
  Prefactor  = 6.10671
  Prefactor  = 0.0001
  Prefactor  = 0.000100676
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 35.1341
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.93956
  norm       = 6.31472
  Prefactor  = 1.67882
  Prefactor  = 0.0001
  Prefactor  = 8.40095
  norm       = 6.25672
  Prefactor  = 17.6578
  norm       = 2.63252
  norm       = 2.20246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.97804
  Prefactor  = 0.0001
  Prefactor  = 38.6138
  Normalizat = 0.98212
  Prefactor  = 0.770705
 **********
 **   18 **HESSE 
 **********

 FCN=   5240.401     FROM HESSE     STATUS=OK           781 CALLS     4684 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10055E-03    26.690        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     52.962        31.019        .13776E-02   -1.4251    
   3  Prefactor     .11913E-03    49.246        .13782       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.048        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.0459        6.8736        .35340E-02   -1.5141    
   6  Prefactor     .43646        2.3631        .58436E-01   -1.5576    
   7  Prefactor     .10000E-03    11.564        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.8129        7.9470        .77618E-02   -1.5439    
   9  Prefactor     6.1067        18.937        .40605E-02   -1.5214    
  10  Prefactor     .10000E-03    6.3922        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10068E-03    27.125        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.8235        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    38.078        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.134        37.306        .16903E-02   -1.4522    
  15  Prefactor     .10000E-03    19.473        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.9753        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.2435        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.9396        5.7835        .38072E-02   -1.5181    
  19  norm          6.3147        5.6574        .39933E-02   -1.5205    
  20  Prefactor     1.6788        6.2575        .81224E-02   -1.5449    
  21  Prefactor     .10000E-03    16.140        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.4009        21.827        .34572E-02   -1.5128    
  23  norm          6.2567        5.1335        .40127E-02   -1.5208    
  24  Prefactor     17.658        17.050        .23830E-02   -1.4867    
  25  norm          2.6325        1.2806        .62833E-02   -1.5383    
  26  norm          2.2025        3.9196        .69300E-02   -1.5411    
  27  Prefactor     .10000E-03    2.6649        .36508E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    9.2511        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.9780        6.5958        .41066E-02   -1.5219    
  30  Prefactor     .10000E-03    2.0709        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     38.614        66.968        .16120E-02   -1.4464    
  32  Normalizat    .98212        .17740        .45945E-01   -.93632    
  33  Prefactor     .77071        .18525        .43333E-01   -1.0082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75849e-07
Minuit parameter uncertainties:
  1  0.00768183
  2  31.0286
  3  0.061441
  4  0.000128925
  5  6.8743
  6  2.03107
  7  0.000135155
  8  7.59284
  9  18.956
  10  2.47512e-06
  11  0.00856575
  12  1.73413e-05
  13  0.00155907
  14  37.331
  15  0.000522692
  16  4.72345e-06
  17  1.10899e-05
  18  5.78397
  19  5.65793
  20  6.25996
  21  5.9594e-05
  22  21.8477
  23  5.13386
  24  17.0547
  25  1.28061
  26  3.92009
  27  3.74231e-06
  28  3.63911e-05
  29  6.59665
  30  1.31378e-06
  31  67.0992
  32  0.177503
  33  0.185398
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  5.959e-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:  7.707e-01  1.854e-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:  9.821e-01  1.775e-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: 7.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/896253/likelihoodResults_271728001_271987201_4FGL_J2326.9-4130_daily_bin125.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) = 5240.40161773
delta logL = -0.000294913527796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5240.4013229
delta logL = -8.06639945949e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7713       1.0000          .0000       10.000    
     3 'Normalizat'    .98216       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77069       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=   5240.401     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      193 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.223        .90712E-02** at limit **
   2  Index         2.7657        6.3769        .50000        .31314E-05
   3  Normalizat    .98212        .16338        .45943E-01    .92626E-05
   4  Prefactor     .77070        .18176        .43335E-01    .15902E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.76571
  Normalizat = 0.98212
  Prefactor  = 0.770705
 **********
 **   18 **HESSE 
 **********

 FCN=   5240.401     FROM HESSE     STATUS=OK            33 CALLS      226 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7657        6.3786        .50000       -.46325    
   3  Normalizat    .98212        .19127        .21553E-03   -.93632    
   4  Prefactor     .77070        .21278        .26635E-03   -1.0082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1061e-11
Minuit parameter uncertainties:
  1  3.93808e-06
  2  4.69418
  3  0.191403
  4  0.213007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/896253': 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) = 5240.40132281
delta logL = 8.1581674749e-09

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  3.938e-06  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.766e+00  4.694e+00  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  7.707e-01  2.130e-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:  9.821e-01  1.914e-01  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/896253/cmap_HighResolution_271728001_271987201_4FGL_J2326.9-4130_daily_bin125.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', job_status='DONE', photon_flux_upper_limit='7.18e-08', time_completed='2021-09-29 19:19:08.388593', job_id='896253', GAL2='0.77', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1632968348.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='8.16e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='125' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:19:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 896253: <4FGL_J2326.9-4130_daily_bin125> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin125 351.737 -41.5089 271728001 271987201 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 :                                   793.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

