/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 138 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_J1323.9+1405_daily_bin1235
RA = 200.976, Dec = 14.0871
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='532339', job_status='RUN', time_executed='2021-09-07 15:13:34.708524', time_epoch_executed='1631052814.71' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532339

Creating custom pfile directory:
/scratch/kocevski/532339/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/532339/ft1_4FGL_J1323.9+1405_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/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532339/ft1_4FGL_J1323.9+1405_daily_bin1235.fits outfile=/scratch/kocevski/532339/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1235.fits ra=200.976 dec=14.0871 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.63
user 3.37
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532339/ft2_4FGL_J1323.9+1405_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/532339/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1235.fits evtable="EVENTS" outfile="/scratch/kocevski/532339/ft1_filtered_4FGL_J1323.9+1405_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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532339/ft1_filtered_4FGL_J1323.9+1405_daily_bin1235.fits" evtable="EVENTS" scfile=/scratch/kocevski/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits sctable="SC_DATA" outfile=/scratch/kocevski/532339/ltcube_559440001_559699201_4FGL_J1323.9+1405_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/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits
.....................!
real 15.43
user 14.98
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532339/ft1_filtered_4FGL_J1323.9+1405_daily_bin1235.fits evtable="EVENTS" scfile=/scratch/kocevski/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits sctable="SC_DATA" expcube=/scratch/kocevski/532339/ltcube_559440001_559699201_4FGL_J1323.9+1405_daily_bin1235.fits outfile=/scratch/kocevski/532339/expmap_559440001_559699201_4FGL_J1323.9+1405_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/532339/ltcube_559440001_559699201_4FGL_J1323.9+1405_daily_bin1235.fits
.....................!
real 192.86
user 186.04
sys 5.79

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

Setting source of interest to:
4FGL J1323.9+1405 @ 200.976 14.0871

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/532339/ft1_filtered_4FGL_J1323.9+1405_daily_bin1235.fits scfile=/scratch/kocevski/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits outfile=/scratch/kocevski/532339/cmap_559440001_559699201_4FGL_J1323.9+1405_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=200.976 yref=14.0871 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532339/ft1_filtered_4FGL_J1323.9+1405_daily_bin1235.fits scfile=/scratch/kocevski/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits outfile=/scratch/kocevski/532339/cmap_HighResolution_559440001_559699201_4FGL_J1323.9+1405_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=200.976 yref=14.0871 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.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/532339/ft1_filtered_4FGL_J1323.9+1405_daily_bin1235.fits evtable="EVENTS" scfile=/scratch/kocevski/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/532339/Model_4FGL_J1323.9+1405_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/532339/ft1_filtered_4FGL_J1323.9+1405_daily_bin1235.fits.....................!
real 40.02
user 38.61
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/532339/ft1_filtered_4FGL_J1323.9+1405_daily_bin1235.fits', '/scratch/kocevski/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits', expMap='/scratch/kocevski/532339/expmap_559440001_559699201_4FGL_J1323.9+1405_daily_bin1235.fits', expCube='/scratch/kocevski/532339/ltcube_559440001_559699201_4FGL_J1323.9+1405_daily_bin1235.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/532339/Model_4FGL_J1323.9+1405_daily_bin1235.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1323.9+1405'

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.083e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/532339/ft1_filtered_4FGL_J1323.9+1405_daily_bin1235.fits
Spacecraft file(s): /scratch/kocevski/532339/ft2_4FGL_J1323.9+1405_daily_bin1235.fits
Exposure map: /scratch/kocevski/532339/expmap_559440001_559699201_4FGL_J1323.9+1405_daily_bin1235.fits
Exposure cube: /scratch/kocevski/532339/ltcube_559440001_559699201_4FGL_J1323.9+1405_daily_bin1235.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/532339/Model_4FGL_J1323.9+1405_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) = 4261.78111948

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.244       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0732       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.7322       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2051       1.0000         .10000E-03   10000.    
     9 'Prefactor '    53.918       1.0000         .10000E-03   10000.    
    10 'norm      '    11.059       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15554E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .57928       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7095       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7581       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .65202       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3751       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4261.777     FROM MIGRAD    STATUS=CONVERGED    345 CALLS     1602 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.225        72.790        .23253E-05   -.74620E-05
   2  Prefactor     2.0724        5.3543        .82755E-06    .12081E-04
   3  Prefactor     .10000E-03    9.9552        .43652E-06** at limit **
   4  Prefactor     .10000E-03    8.8458       -.27379E-06** at limit **
   5  norm          5.7313        3.8056        .27524E-07   -.29169E-04
   6  norm          .10000E-03    12.986        .63405E-06** at limit **
   7  norm          .10000E-03    5.1603        .36394E-06** at limit **
   8  Prefactor     6.2190        24.449        .46842E-05   -.10791E-04
   9  Prefactor     53.890        47.222        .16393E-05   -.15106E-04
  10  norm          11.052        10.901       -.13656E-06   -.37022E-04
  11  Prefactor     .10000E-03    384.02        .74321E-05** at limit **
  12  Prefactor     .56856        5.3621       -.67327E-07   -.56034E-04
  13  Prefactor     2.7097        5.7283        .33049E-05   -.23777E-04
  14  Prefactor     .10000E-03    11.461       -.78635E-06** at limit **
  15  Prefactor     1.7554        15.047        .79969E-06    .12116E-04
  16  Normalizat    .65214        .23739       -.22232E-05   -.74600E-04
  17  Prefactor     1.3750        .20077        .26858E-07   -.16725E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.2252
  Prefactor  = 2.07237
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.73131
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.21896
  Prefactor  = 53.8904
  norm       = 11.0519
  Prefactor  = 0.000100002
  Prefactor  = 0.568563
  Prefactor  = 2.70971
  Prefactor  = 0.0001
  Prefactor  = 1.75538
  Normalizat = 0.652142
  Prefactor  = 1.37504
 **********
 **   18 **HESSE 
 **********

 FCN=   4261.777     FROM HESSE     STATUS=OK           225 CALLS     1827 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.225        72.774        .56024E-04   -1.4275    
   2  Prefactor     2.0724        5.3280        .23455E-03   -1.5420    
   3  Prefactor     .10000E-03    9.9517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.8672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.7313        3.8054        .10056E-03   -1.5229    
   6  norm          .10000E-03    13.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.1987        .14462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.2190        24.476        .16116E-03   -1.5209    
   9  Prefactor     53.890        47.216        .27312E-03   -1.4238    
  10  norm          11.052        10.937        .12047E-03   -1.5043    
  11  Prefactor     .10000E-03    393.56        .40884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .56856        26.031        .28619E-02   -1.5557    
  13  Prefactor     2.7097        5.7555        .10978E-02   -1.5379    
  14  Prefactor     .10000E-03    11.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7554        14.976        .31606E-03   -1.5443    
  16  Normalizat    .65214        .27346        .33199E-03   -1.0581    
  17  Prefactor     1.3750        .23485        .20844E-03   -.81102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0476e-08
Minuit parameter uncertainties:
  1  72.9003
  2  5.32924
  3  2.75049e-05
  4  8.08966e-06
  5  3.80559
  6  1.85972e-05
  7  3.78157e-05
  8  24.5151
  9  47.2483
  10  10.9392
  11  0.00191305
  12  7.69704
  13  5.75668
  14  1.70243e-05
  15  10.2576
  16  0.27403
  17  0.235029
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.389e+01  4.725e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.878e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.375e+00  2.350e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  6.521e-01  2.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.88
Ra Dec: 200.976 14.087
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 3.92e-08 +/- 3.44e-08
Energy Flux (Fixed Index): 3.74e-05 +/- 3.28e-05

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) = 4261.65002875
delta logL = 0.127425099978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4261.64733595
delta logL = 0.130117904852

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.441       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4376       1.0000          .0000       10.000    
     3 'Normalizat'    .65954       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+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=   4261.647     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      280 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.430        58.087        .55917E-04    .36596E-05
   2  Index         1.4375        .92030        .11756E-01   -.44715E-05
   3  Normalizat    .65933        .25861        .33039E-03    .87056E-05
   4  Prefactor     1.3830        .22996        .20801E-03   -.46543E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.4297
  Index      = 1.43746
  Normalizat = 0.659326
  Prefactor  = 1.38298
 **********
 **   18 **HESSE 
 **********

 FCN=   4261.647     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.430        59.284        .11183E-04   -1.4272    
   2  Index         1.4375        .93861        .47025E-03   -.79307    
   3  Normalizat    .65933        .25879        .13216E-04   -1.0552    
   4  Prefactor     1.3830        .23017        .41603E-04   -.80872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53704e-11
Minuit parameter uncertainties:
  1  59.3517
  2  0.950179
  3  0.259267
  4  0.230338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532339': 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) = 4261.64733549
delta logL = 0.130118363848

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  5.143e+01  5.935e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.437e+00  9.502e-01  0.000e+00  1.000e+01 (-1.000e+00)
329        Scale:  3.120e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.383e+00  2.303e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  6.593e-01  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.14
Ra Dec: 200.976 14.087
Photon Index (Free Index): 1.44 +/- 0.95
Photon Flux (Free Index): 1.57e-08 +/- 3.55e-08
Energy Flux (Free Index): 6.13e-05 +/- 9.25e-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/532339/cmap_HighResolution_559440001_559699201_4FGL_J1323.9+1405_daily_bin1235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.92e-08', energy_flux2='6.13e-05', photon_flux_error='3.44e-08', dlogl='1.30e-01', energy_flux='3.74e-05', photon_flux2='1.57e-08', job_status='DONE', time_completed='2021-09-07 15:20:58.372563', photon_index_error2='0.95', photon_index2='1.44', ts='5.88', fit_tolerance='1e-08', GAL='1.38', photon_index_error='0.00', energy_flux_error2='9.25e-05', EG='0.65', time_epoch_completed='1631053258.37', return_code='0', job_id='532339', GAL2='1.38', EG2='0.66', return_code2='0', energy_flux_error='3.28e-05', photon_flux_error2='3.55e-08', ts2='6.14', photon_index='1.88' WHERE bin_id='1235' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:20:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 532339: <4FGL_J1323.9+1405_daily_bin1235> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin1235> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 15:10:27 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:11:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 15:11:03 2021
Terminated at Tue Sep  7 15:20:59 2021
Results reported at Tue Sep  7 15:20:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1235 200.976 14.0871 559440001 559699201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1323.9+1405 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   442.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            632 sec.

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

