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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin15
RA = 200.976, Dec = 14.0871
tmin = 243216001, tmax = 243475201
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='526038', job_status='RUN', time_executed='2021-09-07 14:55:56.155162', time_epoch_executed='1631051756.16' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526038

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526038/ft1_4FGL_J1323.9+1405_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526038/ft2_4FGL_J1323.9+1405_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526038/ft1_4FGL_J1323.9+1405_daily_bin15.fits outfile=/scratch/kocevski/526038/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin15.fits ra=200.976 dec=14.0871 rad=12.0 tmin=243216001.0 tmax=243475201.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 1.40
user 1.19
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/526038/ft2_4FGL_J1323.9+1405_daily_bin15.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/526038/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin15.fits evtable="EVENTS" outfile="/scratch/kocevski/526038/ft1_filtered_4FGL_J1323.9+1405_daily_bin15.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.55
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526038/ft1_filtered_4FGL_J1323.9+1405_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/526038/ft2_4FGL_J1323.9+1405_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/526038/ltcube_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.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/526038/ft2_4FGL_J1323.9+1405_daily_bin15.fits
.....................!
real 15.15
user 14.73
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526038/ft1_filtered_4FGL_J1323.9+1405_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/526038/ft2_4FGL_J1323.9+1405_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/526038/ltcube_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.fits outfile=/scratch/kocevski/526038/expmap_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.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/526038/ltcube_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.fits
.....................!
real 192.76
user 187.33
sys 4.77

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/526038/ft1_filtered_4FGL_J1323.9+1405_daily_bin15.fits scfile=/scratch/kocevski/526038/ft2_4FGL_J1323.9+1405_daily_bin15.fits outfile=/scratch/kocevski/526038/cmap_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526038/ft1_filtered_4FGL_J1323.9+1405_daily_bin15.fits scfile=/scratch/kocevski/526038/ft2_4FGL_J1323.9+1405_daily_bin15.fits outfile=/scratch/kocevski/526038/cmap_HighResolution_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/526038/ft1_filtered_4FGL_J1323.9+1405_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/526038/ft2_4FGL_J1323.9+1405_daily_bin15.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/526038/Model_4FGL_J1323.9+1405_daily_bin15.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/526038/ft1_filtered_4FGL_J1323.9+1405_daily_bin15.fits.....................!
real 60.34
user 58.84
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/526038/ft1_filtered_4FGL_J1323.9+1405_daily_bin15.fits', '/scratch/kocevski/526038/ft2_4FGL_J1323.9+1405_daily_bin15.fits', expMap='/scratch/kocevski/526038/expmap_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.fits', expCube='/scratch/kocevski/526038/ltcube_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/526038/Model_4FGL_J1323.9+1405_daily_bin15.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/526038/ft1_filtered_4FGL_J1323.9+1405_daily_bin15.fits
Spacecraft file(s): /scratch/kocevski/526038/ft2_4FGL_J1323.9+1405_daily_bin15.fits
Exposure map: /scratch/kocevski/526038/expmap_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.fits
Exposure cube: /scratch/kocevski/526038/ltcube_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/526038/Model_4FGL_J1323.9+1405_daily_bin15.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) = 7580.16096114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10477E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.3297       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1350       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0162       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.7947       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.9584       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2763       1.0000         .10000E-03   10000.    
    10 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.883       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9478       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2384       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .84069       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=   7580.086     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1358 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.143        .16209E-06** at limit **
   2  Prefactor     5.3300        4.7141       -.56851E-07    .25304E-04
   3  Prefactor     5.1387        12.084       -.21301E-05    .14681E-05
   4  Prefactor     3.0188        17.507       -.35952E-05   -.46840E-04
   5  norm          .10000E-03    1.3540       -.75061E-08** at limit **
   6  norm          .10000E-03    6.8091       -.86552E-07** at limit **
   7  norm          2.7949        2.9316       -.61236E-07    .15233E-03
   8  Prefactor     7.9591        7.7202       -.25490E-06   -.29214E-04
   9  Prefactor     2.2701        46.960       -.15415E-04   -.14850E-05
  10  norm          .10000E-03    5.7739        .33623E-07** at limit **
  11  Prefactor     33.887        30.038        .36267E-05   -.82408E-04
  12  Prefactor     1.9480        2.4027       -.20864E-06   -.33065E-03
  13  Prefactor     .10000E-03    1.4555       -.24549E-07** at limit **
  14  Prefactor     .10000E-03    2.8501       -.20431E-07** at limit **
  15  Prefactor     .10000E-03    4.1465       -.46338E-07** at limit **
  16  Normalizat    1.2382        .16401        .99524E-06    .59527E-04
  17  Prefactor     .84091        .13254        .18993E-06    .13317E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.32996
  Prefactor  = 5.13873
  Prefactor  = 3.01883
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.79489
  Prefactor  = 7.95908
  Prefactor  = 2.27006
  norm       = 0.0001
  Prefactor  = 33.8865
  Prefactor  = 1.94798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23817
  Prefactor  = 0.840914
 **********
 **   18 **HESSE 
 **********

 FCN=   7580.086     FROM HESSE     STATUS=OK           223 CALLS     1581 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.3300        4.7163        .17292E-03   -1.5246    
   3  Prefactor     5.1387        11.901        .17742E-03   -1.5255    
   4  Prefactor     3.0188        17.373        .23368E-03   -1.5360    
   5  norm          .10000E-03    1.3869        .98929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.8176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7949        2.9356        .14838E-03   -1.5374    
   8  Prefactor     7.9591        7.7245        .14213E-03   -1.5144    
   9  Prefactor     2.2701        48.998        .27217E-03   -1.5407    
  10  norm          .10000E-03    5.8996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.887        29.850        .68842E-04   -1.4543    
  12  Prefactor     1.9480        2.3988        .14522E-03   -1.5429    
  13  Prefactor     .10000E-03    1.4719        .10256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.8539        .14354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.1930        .17313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2382        .19605        .23383E-03   -.85431    
  17  Prefactor     .84091        .15800        .23207E-03   -.98237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11545e-10
Minuit parameter uncertainties:
  1  0.000138201
  2  4.71665
  3  11.9062
  4  14.4899
  5  1.23733e-06
  6  1.70881e-06
  7  2.93573
  8  7.72543
  9  21.1123
  10  1.19301e-05
  11  29.8629
  12  2.39892
  13  3.22241e-06
  14  2.53856e-06
  15  5.42804e-06
  16  0.196164
  17  0.158085
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.270e+00  2.111e+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:  8.409e-01  1.581e-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:  1.238e+00  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 200.976 14.087
Photon Flux Upper Limit: 4.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/526038/likelihoodResults_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.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) = 7579.96474086
delta logL = 0.121671362422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7579.95863075
delta logL = 0.127781467623

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9071       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6417       1.0000          .0000       10.000    
     3 'Normalizat'    1.2280       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84154       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.

 FCN=   7579.959     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      218 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9072        283.68        .59575E-02    .11234E-02
   2  Index         2.6421        6.2715        .10270        .19563E-03
   3  Normalizat    1.2279        .49032E-01    .53070E-01    .82189E-05
   4  Prefactor     .84167        .38016E-01    .44255E-01    .14401E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.90716
  Index      = 2.64207
  Normalizat = 1.22791
  Prefactor  = 0.841666
 **********
 **   18 **HESSE 
 **********

 FCN=   7579.959     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9072        625.70        .23830E-03   -1.5367    
   2  Index         2.6421        5.9687        .11144E-01   -.49109    
   3  Normalizat    1.2279        .24121        .23465E-03   -.85745    
   4  Prefactor     .84167        .19196        .23193E-03   -.98210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92097e-06
Minuit parameter uncertainties:
  1  86.2271
  2  11.315
  3  0.24143
  4  0.192111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526038': 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) = 7579.95863015
delta logL = 0.127782067593

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.907e+00  8.623e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  2.642e+00  1.132e+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:  8.417e-01  1.921e-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:  1.228e+00  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 200.976 14.087

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/526038/cmap_HighResolution_243216001_243475201_4FGL_J1323.9+1405_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2021-09-07 15:05:13.748675', job_id='526038', GAL2='0.84', fit_tolerance='1e-08', EG2='1.23', EG='1.24', time_epoch_completed='1631052313.75', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.28e-01', ts2='0.27', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='15' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:05:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 526038: <4FGL_J1323.9+1405_daily_bin15> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin15> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 14:50:18 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:52:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 14:52:54 2021
Terminated at Tue Sep  7 15:05:14 2021
Results reported at Tue Sep  7 15:05:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin15 200.976 14.0871 243216001 243475201 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 :                                   558.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            896 sec.

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

