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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1235
RA = 351.737, Dec = -41.5089
tmin = 559440001, tmax = 559699201
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='902477', job_status='RUN', time_executed='2021-09-29 19:26:47.565507', time_epoch_executed='1632968807.57' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902477

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902477/ft1_4FGL_J2326.9-4130_daily_bin1235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902477/ft2_4FGL_J2326.9-4130_daily_bin1235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902477/ft1_4FGL_J2326.9-4130_daily_bin1235.fits outfile=/scratch/kocevski/902477/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1235.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=559440001.0 tmax=559699201.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.37
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902477/ft1_filtered_4FGL_J2326.9-4130_daily_bin1235.fits" evtable="EVENTS" scfile=/scratch/kocevski/902477/ft2_4FGL_J2326.9-4130_daily_bin1235.fits sctable="SC_DATA" outfile=/scratch/kocevski/902477/ltcube_559440001_559699201_4FGL_J2326.9-4130_daily_bin1235.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/902477/ft2_4FGL_J2326.9-4130_daily_bin1235.fits
.....................!
real 12.48
user 11.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902477/ft1_filtered_4FGL_J2326.9-4130_daily_bin1235.fits evtable="EVENTS" scfile=/scratch/kocevski/902477/ft2_4FGL_J2326.9-4130_daily_bin1235.fits sctable="SC_DATA" expcube=/scratch/kocevski/902477/ltcube_559440001_559699201_4FGL_J2326.9-4130_daily_bin1235.fits outfile=/scratch/kocevski/902477/expmap_559440001_559699201_4FGL_J2326.9-4130_daily_bin1235.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/902477/ltcube_559440001_559699201_4FGL_J2326.9-4130_daily_bin1235.fits
.....................!
real 189.51
user 185.12
sys 3.96

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/902477/ft1_filtered_4FGL_J2326.9-4130_daily_bin1235.fits scfile=/scratch/kocevski/902477/ft2_4FGL_J2326.9-4130_daily_bin1235.fits outfile=/scratch/kocevski/902477/cmap_559440001_559699201_4FGL_J2326.9-4130_daily_bin1235.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902477/ft1_filtered_4FGL_J2326.9-4130_daily_bin1235.fits scfile=/scratch/kocevski/902477/ft2_4FGL_J2326.9-4130_daily_bin1235.fits outfile=/scratch/kocevski/902477/cmap_HighResolution_559440001_559699201_4FGL_J2326.9-4130_daily_bin1235.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.737 yref=-41.5089 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902477/ft1_filtered_4FGL_J2326.9-4130_daily_bin1235.fits evtable="EVENTS" scfile=/scratch/kocevski/902477/ft2_4FGL_J2326.9-4130_daily_bin1235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902477/Model_4FGL_J2326.9-4130_daily_bin1235.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/902477/ft1_filtered_4FGL_J2326.9-4130_daily_bin1235.fits........................!
real 20.47
user 19.21
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10887E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .45086E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .39377E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    468.77       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    56.542       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    74.485       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    155.14       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10891E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10951E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    92.264       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    64.526       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.1678       1.0000         .10000E-03   10000.    
    23 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    141.13       1.0000         .10000E-03   10000.    
    25 'norm      '    .10428E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .11661E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    586.04       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .48483       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .78246       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=   1145.368     FROM MIGRAD    STATUS=CONVERGED    841 CALLS     5969 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    181.38        .16686E-05** at limit **
   2  Prefactor     .10013E-03    722.62       -.31391E-05** at limit **
   3  Prefactor     .10058E-03    1751.1       -.13363E-04** at limit **
   4  Prefactor     .10000E-03    52.545       -.17604E-06** at limit **
   5  Prefactor     .10000E-03    29.212       -.12247E-05** at limit **
   6  Prefactor     .10000E-03    14.033       -.16527E-05** at limit **
   7  Prefactor     468.67        240.75       -.21181E-05   -.58715E-04
   8  Prefactor     .10000E-03    25.866        .89960E-07** at limit **
   9  Prefactor     56.515        52.121        .55487E-06   -.47221E-04
  10  Prefactor     .10000E-03    29.104       -.11766E-05** at limit **
  11  Prefactor     74.524        46.046        .33283E-05    .10030E-03
  12  Prefactor     .10000E-03    24.670       -.12782E-05** at limit **
  13  Prefactor     .10000E-03    216.35        .65824E-06** at limit **
  14  Prefactor     154.89        195.86       -.12700E-04   -.10506E-03
  15  Prefactor     .10000E-03    111.14        .71209E-07** at limit **
  16  norm          .10000E-03    20.920       -.26584E-07** at limit **
  17  norm          .10000E-03    140.42       -.59406E-05** at limit **
  18  norm          .10000E-03    6.4624        .52117E-06** at limit **
  19  norm          92.267        37.412        .53572E-06    .22435E-03
  20  Prefactor     .10000E-03    52.905       -.25884E-05** at limit **
  21  Prefactor     64.883        174.60        .34676E-04    .79584E-04
  22  Prefactor     3.3602        695.77        .37356E-04    .13217E-04
  23  norm          .10000E-03    9.5544        .54888E-05** at limit **
  24  Prefactor     141.00        203.35        .28574E-07   -.16588E-05
  25  norm          .10001E-03    28.646       -.67449E-05** at limit **
  26  norm          .10000E-03    8.8552        .42222E-05** at limit **
  27  Prefactor     .10000E-03    80.729       -.47709E-06** at limit **
  28  Prefactor     586.37        655.18       -.91812E-05   -.24082E-04
  29  Prefactor     .10000E-03    4.3594        .39076E-07** at limit **
  30  Prefactor     .10000E-03    25.975        .16168E-05** at limit **
  31  Prefactor     .10000E-03    34.861        .39379E-06** at limit **
  32  Normalizat    .48324        .59129       -.97517E-04    .11792E-03
  33  Prefactor     .78407        .52005        .74544E-04    .19154E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 0.00010013
  Prefactor  = 0.000100585
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 468.665
  Prefactor  = 0.0001
  Prefactor  = 56.5149
  Prefactor  = 0.0001
  Prefactor  = 74.5238
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 154.89
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 92.2673
  Prefactor  = 0.0001
  Prefactor  = 64.8829
  Prefactor  = 3.36022
  norm       = 0.000100004
  Prefactor  = 140.995
  norm       = 0.000100007
  norm       = 0.000100002
  Prefactor  = 0.000100003
  Prefactor  = 586.365
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Normalizat = 0.483237
  Prefactor  = 0.784075
 **********
 **   18 **HESSE 
 **********

 FCN=   1145.368     FROM HESSE     STATUS=OK           675 CALLS     6644 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    181.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10013E-03    725.92        .19342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10058E-03    1758.3        .19514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    52.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.278        .17871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.058        .12383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     468.67        240.37        .94618E-04   -1.1344    
   8  Prefactor     .10000E-03    25.867        .16820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     56.515        52.109        .26674E-03   -1.4203    
  10  Prefactor     .10000E-03    29.117        .17843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     74.524        46.015        .46522E-04   -1.3979    
  12  Prefactor     .10000E-03    24.789        .16425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    216.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     154.89        196.09        .16183E-03   -1.3212    
  15  Prefactor     .10000E-03    111.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    20.920        .15125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    140.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.4626        .84046E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          92.267        37.363        .41837E-04   -1.3784    
  20  Prefactor     .10000E-03    52.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     64.883        173.83        .24979E-03   -1.4095    
  22  Prefactor     3.3602        668.73        .22771E-02   -1.5341    
  23  norm          .10000E-03    9.6492        .10257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     141.00        202.29        .16955E-03   -1.3328    
  25  norm          .10001E-03    28.898        .17625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    8.9229        .98617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    80.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     586.37        656.87        .85149E-04   -1.0816    
  29  Prefactor     .10000E-03    4.3679        .69011E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    26.014        .16855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    34.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .48324        .59561        .33619E-03   -1.1320    
  33  Prefactor     .78407        .52283        .27077E-03   -1.0032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66173e-09
Minuit parameter uncertainties:
  1  0.00188744
  2  0.0196795
  3  0.0661864
  4  0.000199298
  5  6.76324e-05
  6  0.000111995
  7  240.894
  8  5.26662e-05
  9  52.1509
  10  0.000227929
  11  46.0372
  12  8.30698e-05
  13  0.000956637
  14  196.92
  15  2.10302e-05
  16  3.44562e-05
  17  0.000627205
  18  2.58271e-05
  19  37.3721
  20  0.000322347
  21  175.215
  22  95.9118
  23  0.00038804
  24  203.292
  25  0.000921621
  26  0.000285198
  27  0.000995086
  28  665.743
  29  3.24677e-06
  30  0.000330142
  31  0.000271257
  32  0.603719
  33  0.526184
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  6.488e+01  1.752e+02  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.841e-01  5.262e-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:  4.832e-01  6.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 5.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902477/likelihoodResults_559440001_559699201_4FGL_J2326.9-4130_daily_bin1235.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) = 1142.787493
delta logL = 2.5805330503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1142.7421701
delta logL = 2.62585595028

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9248       1.0000         .10000E-03   10000.    
     2 'Index     '    5.9503       1.0000          .0000       10.000    
     3 'Normalizat'    .66910E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0801       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=   1142.742     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      343 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9274        11.164        .29158E-04    .33902E-03
   2  Index         5.9497        2.1011        .19660E-03    .37024E-04
   3  Normalizat    .67115E-01    1.2622        .79787E-02    .11724E-03
   4  Prefactor     1.0798        .55779        .23186E-03    .25776E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.92737
  Index      = 5.9497
  Normalizat = 0.0671151
  Prefactor  = 1.07984
 **********
 **   18 **HESSE 
 **********

 FCN=   1142.742     FROM HESSE     STATUS=OK            23 CALLS      366 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9274        9.9189        .11663E-05   -1.5366    
   2  Index         5.9497        1.8818        .78640E-05    .19110    
   3  Normalizat    .67115E-01    1.0201        .31915E-03   -1.4194    
   4  Prefactor     1.0798        .50129        .46372E-04   -.90113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57786e-09
Minuit parameter uncertainties:
  1  9.92447
  2  1.93122
  3  0.492905
  4  0.503499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902477': 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) = 1142.74216996
delta logL = 2.62585609077

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.927e+00  9.924e+00  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  5.950e+00  1.931e+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:  1.080e+00  5.035e-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:  6.712e-02  4.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.68
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 5.95 +/- 1.93
Photon Flux (Free Index): 7.01e-07 +/- 3.86e-07
Energy Flux (Free Index): 8.75e-05 +/- 4.83e-05

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/902477/cmap_HighResolution_559440001_559699201_4FGL_J2326.9-4130_daily_bin1235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.20e-02', comment='SUCCESS', energy_flux2='8.75e-05', dlogl='2.63e+00', photon_flux2='7.01e-07', job_status='DONE', time_completed='2021-09-29 19:34:22.016925', photon_index_error2='1.93', photon_index2='5.95', ts='0.20', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='5.32e-07', energy_flux_error2='4.83e-05', EG='0.48', time_epoch_completed='1632969262.02', return_code='0', job_id='902477', GAL2='1.08', EG2='0.07', return_code2='0', photon_flux_error2='3.86e-07', ts2='6.68', photon_index='2.78' WHERE bin_id='1235' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:34:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 902477: <4FGL_J2326.9-4130_daily_bin1235> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1235 351.737 -41.5089 559440001 559699201 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 :                                   451.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   546 sec.
    Turnaround time :                            547 sec.

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

