/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 136 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_J2325.4-3559_daily_bin1097
RA = 351.359, Dec = -35.9878
tmin = 523670401, tmax = 523929601
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='868352', job_status='RUN', time_executed='2021-09-29 17:43:15.100007', time_epoch_executed='1632962595.1' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1097'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868352

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868352/ft1_4FGL_J2325.4-3559_daily_bin1097.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868352/ft1_4FGL_J2325.4-3559_daily_bin1097.fits outfile=/scratch/kocevski/868352/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1097.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=523670401.0 tmax=523929601.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.55
user 3.30
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.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/868352/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1097.fits evtable="EVENTS" outfile="/scratch/kocevski/868352/ft1_filtered_4FGL_J2325.4-3559_daily_bin1097.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.95
user 0.32
sys 0.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868352/ft1_filtered_4FGL_J2325.4-3559_daily_bin1097.fits" evtable="EVENTS" scfile=/scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits sctable="SC_DATA" outfile=/scratch/kocevski/868352/ltcube_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.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/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits
.....................!
real 11.66
user 11.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868352/ft1_filtered_4FGL_J2325.4-3559_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits sctable="SC_DATA" expcube=/scratch/kocevski/868352/ltcube_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.fits outfile=/scratch/kocevski/868352/expmap_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.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/868352/ltcube_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.fits
.....................!
real 191.04
user 184.68
sys 6.00

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-3559 @ 351.359 -35.9878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/868352/ft1_filtered_4FGL_J2325.4-3559_daily_bin1097.fits scfile=/scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits outfile=/scratch/kocevski/868352/cmap_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.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.359 yref=-35.9878 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868352/ft1_filtered_4FGL_J2325.4-3559_daily_bin1097.fits scfile=/scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits outfile=/scratch/kocevski/868352/cmap_HighResolution_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.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.359 yref=-35.9878 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/868352/ft1_filtered_4FGL_J2325.4-3559_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868352/Model_4FGL_J2325.4-3559_daily_bin1097.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/868352/ft1_filtered_4FGL_J2325.4-3559_daily_bin1097.fits.....................!
real 36.96
user 35.62
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/868352/ft1_filtered_4FGL_J2325.4-3559_daily_bin1097.fits', '/scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits', expMap='/scratch/kocevski/868352/expmap_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.fits', expCube='/scratch/kocevski/868352/ltcube_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/868352/Model_4FGL_J2325.4-3559_daily_bin1097.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-3559'

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.197e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/868352/ft1_filtered_4FGL_J2325.4-3559_daily_bin1097.fits
Spacecraft file(s): /scratch/kocevski/868352/ft2_4FGL_J2325.4-3559_daily_bin1097.fits
Exposure map: /scratch/kocevski/868352/expmap_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.fits
Exposure cube: /scratch/kocevski/868352/ltcube_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/868352/Model_4FGL_J2325.4-3559_daily_bin1097.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) = 4600.64756622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    95.815       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2043       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.510       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3810       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3844       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.1473       1.0000         .10000E-03   10000.    
    13 'Prefactor '    50.912       1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.944       1.0000         .10000E-03   10000.    
    15 'norm      '    14.697       1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .78641E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11395E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.6188       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.542       1.0000         .10000E-03   10000.    
    22 'norm      '    6.8669       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .18590E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.3561       1.0000         .10000E-03   10000.    
    27 'Prefactor '    21.672       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0630       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .80449       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+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=   4600.635     FROM MIGRAD    STATUS=CONVERGED   1311 CALLS     4307 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     95.818        52.125        .41062E-04   -.30455E-04
   2  Prefactor     3.2054        4.4624        .15856E-03   -.15472E-03
   3  Prefactor     .10001E-03    62.855        .18142E-02** at limit **
   4  Prefactor     39.511        40.624        .63768E-04   -.35656E-06
   5  Prefactor     .10000E-03    15.965        .18142E-02** at limit **
   6  Prefactor     .10000E-03    54.078        .18142E-02** at limit **
   7  Prefactor     5.3833        13.426        .17324E-03   -.15225E-04
   8  Prefactor     1.3872        18.110        .18485E-02   -.26263E-03
   9  norm          .10000E-03    1.8812        .90572E-03** at limit **
  10  Prefactor     .10000E-03    9.4065        .18142E-02** at limit **
  11  Prefactor     .10000E-03    16.021        .18142E-02** at limit **
  12  norm          3.1475        .98461        .34410E-04    .17841E-04
  13  Prefactor     50.917        79.545        .56206E-04   -.26538E-04
  14  Prefactor     26.948        15.975        .77177E-04   -.25926E-04
  15  norm          14.698        18.739        .10448E-03   -.31557E-05
  16  norm          .10000E-03    1.9096        .91511E-03** at limit **
  17  norm          .10001E-03    15.766        .58285E-01** at limit **
  18  Prefactor     .10000E-03    19.137        .18142E-02** at limit **
  19  Prefactor     .10000E-03    136.45        .18142E-02** at limit **
  20  norm          3.6188        3.6637        .62518E-03   -.10511E-03
  21  Prefactor     11.542        15.495        .11792E-03    .13979E-04
  22  norm          6.8669        4.6464        .11491E-03   -.25229E-04
  23  Prefactor     .10000E-03    36.054        .18142E-02** at limit **
  24  Prefactor     .10000E-03    16.431        .18142E-02** at limit **
  25  Prefactor     .10001E-03    36.920        .21534E-02** at limit **
  26  Prefactor     3.3562        6.8956        .22091E-03    .90010E-04
  27  Prefactor     21.658        37.468        .86039E-04   -.50211E-05
  28  Normalizat    1.0630        .25247        .22929E-03   -.26862E-03
  29  Prefactor     .80442        .26075        .28160E-03   -.19996E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 95.818
  Prefactor  = 3.20545
  Prefactor  = 0.000100011
  Prefactor  = 39.5109
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.38327
  Prefactor  = 1.38718
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.14753
  Prefactor  = 50.9165
  Prefactor  = 26.9475
  norm       = 14.6981
  norm       = 0.0001
  norm       = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.61878
  Prefactor  = 11.5422
  norm       = 6.86691
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 3.35618
  Prefactor  = 21.6577
  Normalizat = 1.06298
  Prefactor  = 0.804415
 **********
 **   18 **HESSE 
 **********

 FCN=   4600.635     FROM HESSE     STATUS=OK           535 CALLS     4842 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     95.818        52.123        .82124E-05   -1.3747    
   2  Prefactor     3.2054        4.4614        .63426E-05   -1.5350    
   3  Prefactor     .10001E-03    62.876        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     39.511        40.616        .12754E-04   -1.4450    
   5  Prefactor     .10000E-03    15.966        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    54.124        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.3833        13.423        .69296E-05   -1.5244    
   8  Prefactor     1.3872        18.023        .73940E-04   -1.5472    
   9  norm          .10000E-03    1.8813        .18114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.4072        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.028        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1475        .98452        .13764E-05   -1.5353    
  13  Prefactor     50.917        79.541        .11241E-04   -1.4280    
  14  Prefactor     26.948        15.975        .30871E-05   -1.4669    
  15  norm          14.698        18.739        .41791E-05   -1.4941    
  16  norm          .10000E-03    1.9096        .18302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    13.466        .64003E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.138        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    136.52        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.6188        3.6630        .25007E-04   -1.5327    
  21  Prefactor     11.542        15.493        .47168E-05   -1.5028    
  22  norm          6.8669        4.6457        .45963E-05   -1.5184    
  23  Prefactor     .10000E-03    36.055        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    16.431        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10001E-03    38.430        .86137E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.3562        6.8939        .88363E-05   -1.5342    
  27  Prefactor     21.658        37.462        .34416E-05   -1.4777    
  28  Normalizat    1.0630        .25262        .45858E-04   -.90949    
  29  Prefactor     .80442        .26100        .11264E-04   -.99566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00131e-09
Minuit parameter uncertainties:
  1  52.1484
  2  4.46184
  3  0.00163865
  4  40.6445
  5  3.79572e-05
  6  0.000584625
  7  13.4305
  8  10.0037
  9  8.20493e-06
  10  3.70321e-05
  11  0.000193537
  12  0.984524
  13  79.7073
  14  15.9778
  15  18.7461
  16  1.06866e-06
  17  0.000795113
  18  3.28169e-05
  19  0.000488654
  20  3.66321
  21  15.4984
  22  4.64596
  23  0.000160201
  24  0.00012325
  25  0.000969249
  26  6.89548
  27  37.5025
  28  0.252909
  29  0.261401
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  7.951e-04  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.044e-01  2.614e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.063e+00  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 8.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/868352/likelihoodResults_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.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) = 4600.63501291
delta logL = -5.32447938895e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4600.04397123
delta logL = 0.591036352792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2912       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.2997       1.0000          .0000       5.0000    
     3 'Normalizat'    .98360       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85475       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4600.044     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      352 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3036        32.311        .97416E-02    .62040E-03
   2  alpha         4.2928        2.8843        .50000        .32065E-04
   3  Normalizat    .98415        .57193E-01    .45961E-01    .90008E-05
   4  Prefactor     .85418        .62660E-01    .44426E-01    .13226E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.30357
  alpha      = 4.29281
  Normalizat = 0.984149
  Prefactor  = 0.854178
 **********
 **   18 **HESSE 
 **********

 FCN=   4600.044     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      385 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3036        61.937        .73360E-04   -1.5480    
   2  alpha         4.2928        2.8303        .28157E-01    .79967    
   3  Normalizat    .98415        .21244        .23726E-03   -.93563    
   4  Prefactor     .85418        .23457        .27382E-03   -.97761    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.47216e-10
Minuit parameter uncertainties:
  1  17.9902
  2  9.26706
  3  0.21262
  4  0.234849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868352': 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) = 4600.04396428
delta logL = 0.591043301354

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.304e+00  1.799e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  4.293e+00  9.267e+00  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.542e-01  2.348e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.841e-01  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.26
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 4.29 +/- 9.27
Photon Flux (Free Index): 5.89e-08 +/- 6.09e-08
Energy Flux (Free Index): 8.92e-06 +/- 1.82e-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/868352/cmap_HighResolution_523670401_523929601_4FGL_J2325.4-3559_daily_bin1097.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-05', comment='SUCCESS', energy_flux2='8.92e-06', dlogl='5.91e-01', photon_flux2='5.89e-08', job_status='DONE', time_completed='2021-09-29 17:55:24.887934', photon_index_error2='9.27', photon_index2='4.29', ts='-0.00', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='8.19e-08', energy_flux_error2='1.82e-05', EG='1.06', time_epoch_completed='1632963324.89', return_code='0', job_id='868352', GAL2='0.85', EG2='0.98', return_code2='102', photon_flux_error2='6.09e-08', ts2='1.26', photon_index='2.13' WHERE bin_id='1097' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:55:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 868352: <4FGL_J2325.4-3559_daily_bin1097> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1097> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:48 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:40:50 2021
Terminated at Wed Sep 29 17:55:25 2021
Results reported at Wed Sep 29 17:55:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1097 351.359 -35.9878 523670401 523929601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-3559 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   723.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            877 sec.

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

