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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin820
RA = 200.976, Dec = 14.0871
tmin = 451872001, tmax = 452131201
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='530663', job_status='RUN', time_executed='2021-09-07 15:05:44.998567', time_epoch_executed='1631052345.0' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='820'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530663

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530663/ft1_4FGL_J1323.9+1405_daily_bin820.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530663/ft2_4FGL_J1323.9+1405_daily_bin820.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530663/ft1_4FGL_J1323.9+1405_daily_bin820.fits outfile=/scratch/kocevski/530663/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin820.fits ra=200.976 dec=14.0871 rad=12.0 tmin=451872001.0 tmax=452131201.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.44
user 3.15
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/530663/ft2_4FGL_J1323.9+1405_daily_bin820.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/530663/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin820.fits evtable="EVENTS" outfile="/scratch/kocevski/530663/ft1_filtered_4FGL_J1323.9+1405_daily_bin820.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530663/ft1_filtered_4FGL_J1323.9+1405_daily_bin820.fits" evtable="EVENTS" scfile=/scratch/kocevski/530663/ft2_4FGL_J1323.9+1405_daily_bin820.fits sctable="SC_DATA" outfile=/scratch/kocevski/530663/ltcube_451872001_452131201_4FGL_J1323.9+1405_daily_bin820.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/530663/ft2_4FGL_J1323.9+1405_daily_bin820.fits
.....................!
real 17.84
user 17.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530663/ft1_filtered_4FGL_J1323.9+1405_daily_bin820.fits evtable="EVENTS" scfile=/scratch/kocevski/530663/ft2_4FGL_J1323.9+1405_daily_bin820.fits sctable="SC_DATA" expcube=/scratch/kocevski/530663/ltcube_451872001_452131201_4FGL_J1323.9+1405_daily_bin820.fits outfile=/scratch/kocevski/530663/expmap_451872001_452131201_4FGL_J1323.9+1405_daily_bin820.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/530663/ltcube_451872001_452131201_4FGL_J1323.9+1405_daily_bin820.fits
.....................!
real 194.01
user 187.24
sys 5.93

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/530663/ft1_filtered_4FGL_J1323.9+1405_daily_bin820.fits scfile=/scratch/kocevski/530663/ft2_4FGL_J1323.9+1405_daily_bin820.fits outfile=/scratch/kocevski/530663/cmap_451872001_452131201_4FGL_J1323.9+1405_daily_bin820.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530663/ft1_filtered_4FGL_J1323.9+1405_daily_bin820.fits scfile=/scratch/kocevski/530663/ft2_4FGL_J1323.9+1405_daily_bin820.fits outfile=/scratch/kocevski/530663/cmap_HighResolution_451872001_452131201_4FGL_J1323.9+1405_daily_bin820.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.57
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.155       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7278       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.580       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.266       1.0000         .10000E-03   10000.    
     5 'norm      '    .97875       1.0000         .10000E-03   10000.    
     6 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .14948E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8799       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16235E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .35834E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11216E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.1234       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3073       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4645       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0468       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88157       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=   5239.059     FROM MIGRAD    STATUS=CONVERGED    373 CALLS     1654 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.181        55.583        .21683E-04   -.11186E-03
   2  Prefactor     8.7287        6.5390        .22021E-06   -.34092E-04
   3  Prefactor     11.578        14.597       -.34298E-05   -.32645E-04
   4  Prefactor     22.260        14.473       -.19882E-05    .21021E-03
   5  norm          .97894        3.6305       -.14540E-05   -.93197E-03
   6  norm          .10000E-03    34.289        .31862E-06** at limit **
   7  norm          .10000E-03    4.1967        .20959E-07** at limit **
   8  Prefactor     5.8769        6.2187        .78789E-07    .17722E-04
   9  Prefactor     .10000E-03    112.15        .40983E-06** at limit **
  10  norm          .10000E-03    7.8403        .16500E-07** at limit **
  11  Prefactor     .10000E-03    19.144        .65019E-07** at limit **
  12  Prefactor     7.1223        4.6089       -.29560E-07   -.14006E-03
  13  Prefactor     2.3063        4.6823       -.41673E-06   -.45348E-03
  14  Prefactor     .10000E-03    25.775       -.19466E-06** at limit **
  15  Prefactor     5.4650        10.260        .92781E-06   -.16225E-03
  16  Normalizat    1.0469        .19842        .99294E-06   -.26542E-04
  17  Prefactor     .88150        .16463       -.84206E-06    .68131E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1809
  Prefactor  = 8.7287
  Prefactor  = 11.5776
  Prefactor  = 22.26
  norm       = 0.978942
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.87688
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 7.12226
  Prefactor  = 2.30632
  Prefactor  = 0.0001
  Prefactor  = 5.46498
  Normalizat = 1.04694
  Prefactor  = 0.881503
 **********
 **   18 **HESSE 
 **********

 FCN=   5239.059     FROM HESSE     STATUS=OK           237 CALLS     1891 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.181        53.799        .93998E-04   -1.4855    
   2  Prefactor     8.7287        6.5375        .13568E-03   -1.5117    
   3  Prefactor     11.578        14.576        .11773E-03   -1.5027    
   4  Prefactor     22.260        14.457        .84885E-04   -1.4764    
   5  norm          .97894        3.8375        .26788E-03   -1.5510    
   6  norm          .10000E-03    34.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.7985        .27118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.8769        6.2204        .16561E-03   -1.5223    
   9  Prefactor     .10000E-03    117.60        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    9.8390        .51304E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.1223        4.6079        .11947E-03   -1.5174    
  13  Prefactor     2.3063        4.6970        .21542E-03   -1.5404    
  14  Prefactor     .10000E-03    26.485        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.4650        10.222        .17189E-03   -1.5240    
  16  Normalizat    1.0469        .23431        .24030E-03   -.91474    
  17  Prefactor     .88150        .19413        .22396E-03   -.96790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8455e-09
Minuit parameter uncertainties:
  1  53.9429
  2  6.53799
  3  14.5809
  4  14.4595
  5  3.83847
  6  3.9387e-05
  7  1.13969e-05
  8  6.22109
  9  6.54462e-05
  10  0.000356587
  11  1.31954e-06
  12  4.6081
  13  4.6977
  14  3.27832e-06
  15  10.2254
  16  0.234543
  17  0.194283
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  6.545e-05  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.815e-01  1.943e-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.047e+00  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/530663/likelihoodResults_451872001_452131201_4FGL_J1323.9+1405_daily_bin820.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) = 5239.05912938
delta logL = -4.04746879212e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5239.05912937
delta logL = -4.04722295571e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96360E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8783       1.0000          .0000       10.000    
     3 'Normalizat'    1.0469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88150       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=   5239.057     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      249 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64935        18.485        .90712E-01   -.24885E-03
   2  Index         2.3313        .29743        .50000        .10156E-04
   3  Normalizat    1.0466        .69913E-02    .40765E-01   -.33239E-03
   4  Prefactor     .88083        .60625E-02    .44769E-01   -.25357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.649351
  Index      = 2.33126
  Normalizat = 1.04657
  Prefactor  = 0.880826
 **********
 **   18 **HESSE 
 **********

 FCN=   5239.057     FROM HESSE     STATUS=OK            31 CALLS      280 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64935        41.318        .40356E-02   -1.5869    
   2  Index         2.3313        2.9680        .33028E-02   -.56303    
   3  Normalizat    1.0466        .22189        .24034E-03   -.91486    
   4  Prefactor     .88083        .19249        .22404E-03   -.96814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27175e-08
Minuit parameter uncertainties:
  1  10.3662
  2  3.29009
  3  0.222091
  4  0.192643
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530663': 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) = 5239.05700526
delta logL = 0.00208363655656

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  6.494e-01  1.037e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  2.331e+00  3.290e+00  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.808e-01  1.926e-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.047e+00  2.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 200.976 14.087

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/530663/cmap_HighResolution_451872001_452131201_4FGL_J1323.9+1405_daily_bin820.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-03', job_status='DONE', photon_flux_upper_limit='4.91e-08', time_completed='2021-09-07 15:14:26.140805', job_id='530663', GAL2='0.88', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1631052866.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.08e-03', ts2='0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='820' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:14:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 530663: <4FGL_J1323.9+1405_daily_bin820> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin820> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 15:05:31 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:05:34 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:05:34 2021
Terminated at Tue Sep  7 15:14:26 2021
Results reported at Tue Sep  7 15:14:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin820 200.976 14.0871 451872001 452131201 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 :                                   520.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             377.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   532 sec.
    Turnaround time :                            535 sec.

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

