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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1309
RA = 200.976, Dec = 14.0871
tmin = 578620801, tmax = 578880001
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='532443', job_status='RUN', time_executed='2021-09-07 15:15:37.823320', time_epoch_executed='1631052937.82' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1309'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532443

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532443/ft1_4FGL_J1323.9+1405_daily_bin1309.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532443/ft2_4FGL_J1323.9+1405_daily_bin1309.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532443/ft1_4FGL_J1323.9+1405_daily_bin1309.fits outfile=/scratch/kocevski/532443/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1309.fits ra=200.976 dec=14.0871 rad=12.0 tmin=578620801.0 tmax=578880001.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.60
user 3.34
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532443/ft1_filtered_4FGL_J1323.9+1405_daily_bin1309.fits evtable="EVENTS" scfile=/scratch/kocevski/532443/ft2_4FGL_J1323.9+1405_daily_bin1309.fits sctable="SC_DATA" expcube=/scratch/kocevski/532443/ltcube_578620801_578880001_4FGL_J1323.9+1405_daily_bin1309.fits outfile=/scratch/kocevski/532443/expmap_578620801_578880001_4FGL_J1323.9+1405_daily_bin1309.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/532443/ltcube_578620801_578880001_4FGL_J1323.9+1405_daily_bin1309.fits
.....................!
real 193.00
user 187.40
sys 5.06

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/532443/ft1_filtered_4FGL_J1323.9+1405_daily_bin1309.fits scfile=/scratch/kocevski/532443/ft2_4FGL_J1323.9+1405_daily_bin1309.fits outfile=/scratch/kocevski/532443/cmap_578620801_578880001_4FGL_J1323.9+1405_daily_bin1309.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532443/ft1_filtered_4FGL_J1323.9+1405_daily_bin1309.fits scfile=/scratch/kocevski/532443/ft2_4FGL_J1323.9+1405_daily_bin1309.fits outfile=/scratch/kocevski/532443/cmap_HighResolution_578620801_578880001_4FGL_J1323.9+1405_daily_bin1309.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.1083       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.7246       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5505       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12171E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.091       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.975       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.9600       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7997       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.2758       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0657       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0341       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1168       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=   5732.925     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1835 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.077        .90712E-02** at limit **
   2  Prefactor     5.1095        6.5729        .44472E-02    .33716E-02
   3  Prefactor     .10000E-03    2.3205        .90712E-02** at limit **
   4  Prefactor     .10000E-03    6.3118        .90712E-02** at limit **
   5  norm          .10000E-03    1.8571        .90712E-02** at limit **
   6  norm          .10000E-03    15.194        .90712E-02** at limit **
   7  norm          1.7246        5.2763        .79950E-02    .88754E-03
   8  Prefactor     6.5508        13.283        .39200E-02    .78972E-04
   9  Prefactor     .10001E-03    25.742        .13335    ** at limit **
  10  norm          13.091        10.160        .27677E-02   -.38807E-03
  11  Prefactor     28.975        52.038        .18607E-02   -.52617E-04
  12  Prefactor     5.9608        5.5867        .41120E-02    .19367E-02
  13  Prefactor     7.7995        5.6201        .35895E-02    .15741E-02
  14  Prefactor     5.2760        10.187        .43747E-02   -.88489E-04
  15  Prefactor     5.0661        11.088        .44662E-02   -.30546E-03
  16  Normalizat    1.0340        .20627        .61565E-01    .92481E-04
  17  Prefactor     1.1168        .17165        .36981E-01    .10897E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.10954
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.72456
  Prefactor  = 6.55083
  Prefactor  = 0.000100009
  norm       = 13.091
  Prefactor  = 28.9749
  Prefactor  = 5.9608
  Prefactor  = 7.79949
  Prefactor  = 5.276
  Prefactor  = 5.0661
  Normalizat = 1.03402
  Prefactor  = 1.11683
 **********
 **   18 **HESSE 
 **********

 FCN=   5732.925     FROM HESSE     STATUS=OK           225 CALLS     2060 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.1095        6.5718        .17789E-03   -1.5256    
   3  Prefactor     .10000E-03    2.3217        .11264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.3567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.8715        .10075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    15.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.7246        5.1940        .27269E-03   -1.5445    
   8  Prefactor     6.5508        13.276        .15680E-03   -1.5196    
   9  Prefactor     .10001E-03    195.42        .74288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.091        10.083        .11071E-03   -1.4984    
  11  Prefactor     28.975        52.035        .74430E-04   -1.4631    
  12  Prefactor     5.9608        5.5926        .16331E-03   -1.5220    
  13  Prefactor     7.7995        5.6171        .14358E-03   -1.5149    
  14  Prefactor     5.2760        10.173        .17499E-03   -1.5249    
  15  Prefactor     5.0661        11.093        .17865E-03   -1.5258    
  16  Normalizat    1.0340        .24237        .27228E-03   -.91899    
  17  Prefactor     1.1168        .20138        .22542E-03   -.88930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16937e-08
Minuit parameter uncertainties:
  1  0.000112165
  2  6.57276
  3  1.38048e-05
  4  5.96323e-05
  5  7.71224e-06
  6  5.22295e-06
  7  5.19539
  8  13.2815
  9  0.00271524
  10  10.0838
  11  52.1166
  12  5.59314
  13  5.61746
  14  10.1766
  15  11.0971
  16  0.242633
  17  0.201515
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  2.715e-03  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.117e+00  2.015e-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.034e+00  2.426e-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: 6.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532443/likelihoodResults_578620801_578880001_4FGL_J1323.9+1405_daily_bin1309.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) = 5732.92471999
delta logL = -2.34760500462e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5732.83555678
delta logL = 0.0891397429732

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0595       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1194       1.0000          .0000       10.000    
     3 'Normalizat'    1.0127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1230       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=   5732.836     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      280 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0462        84.257        .11915E-01    .10278E-02
   2  Index         3.1256        6.5369        .84534E-01    .17719E-03
   3  Normalizat    1.0125        .42024E-01    .44793E-01   -.83716E-04
   4  Prefactor     1.1230        .35813E-01    .36773E-01   -.11490E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.04623
  Index      = 3.12559
  Normalizat = 1.0125
  Prefactor  = 1.12297
 **********
 **   18 **HESSE 
 **********

 FCN=   5732.836     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      313 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0462        271.82        .17565E-03   -1.5503    
   2  Index         3.1256        5.3242        .99540E-02   -.38427    
   3  Normalizat    1.0125        .18129        .27470E-03   -.92613    
   4  Prefactor     1.1230        .14357        .22487E-03   -.88736    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.71615e-06
Minuit parameter uncertainties:
  1  33.8822
  2  11.6328
  3  0.181403
  4  0.143622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532443': 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) = 5732.83555282
delta logL = 0.0891437017581

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.046e+00  3.388e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  3.126e+00  1.163e+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.123e+00  1.436e-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.013e+00  1.814e-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/532443/cmap_HighResolution_578620801_578880001_4FGL_J1323.9+1405_daily_bin1309.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.12e-08', time_completed='2021-09-07 15:24:50.174044', job_id='532443', GAL2='1.12', fit_tolerance='1e-08', EG2='1.01', EG='1.03', time_epoch_completed='1631053490.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='8.91e-02', ts2='0.18', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1309' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:24:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 532443: <4FGL_J1323.9+1405_daily_bin1309> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin1309> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 15:10:35 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:11:37 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:37 2021
Terminated at Tue Sep  7 15:24:50 2021
Results reported at Tue Sep  7 15:24:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1309 200.976 14.0871 578620801 578880001 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 :                                   547.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            855 sec.

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

