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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin618
RA = 200.976, Dec = 14.0871
tmin = 399513601, tmax = 399772801
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='529136', job_status='RUN', time_executed='2021-09-07 15:00:45.912344', time_epoch_executed='1631052045.91' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='618'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/529136

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/529136/ft1_4FGL_J1323.9+1405_daily_bin618.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/529136/ft2_4FGL_J1323.9+1405_daily_bin618.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/529136/ft1_4FGL_J1323.9+1405_daily_bin618.fits outfile=/scratch/kocevski/529136/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin618.fits ra=200.976 dec=14.0871 rad=12.0 tmin=399513601.0 tmax=399772801.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 5.38
user 5.05
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/529136/ft1_filtered_4FGL_J1323.9+1405_daily_bin618.fits" evtable="EVENTS" scfile=/scratch/kocevski/529136/ft2_4FGL_J1323.9+1405_daily_bin618.fits sctable="SC_DATA" outfile=/scratch/kocevski/529136/ltcube_399513601_399772801_4FGL_J1323.9+1405_daily_bin618.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/529136/ft2_4FGL_J1323.9+1405_daily_bin618.fits
.....................!
real 17.40
user 16.78
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/529136/ft1_filtered_4FGL_J1323.9+1405_daily_bin618.fits evtable="EVENTS" scfile=/scratch/kocevski/529136/ft2_4FGL_J1323.9+1405_daily_bin618.fits sctable="SC_DATA" expcube=/scratch/kocevski/529136/ltcube_399513601_399772801_4FGL_J1323.9+1405_daily_bin618.fits outfile=/scratch/kocevski/529136/expmap_399513601_399772801_4FGL_J1323.9+1405_daily_bin618.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/529136/ltcube_399513601_399772801_4FGL_J1323.9+1405_daily_bin618.fits
.....................!
real 194.18
user 187.70
sys 4.16

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/529136/ft1_filtered_4FGL_J1323.9+1405_daily_bin618.fits scfile=/scratch/kocevski/529136/ft2_4FGL_J1323.9+1405_daily_bin618.fits outfile=/scratch/kocevski/529136/cmap_399513601_399772801_4FGL_J1323.9+1405_daily_bin618.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/529136/ft1_filtered_4FGL_J1323.9+1405_daily_bin618.fits scfile=/scratch/kocevski/529136/ft2_4FGL_J1323.9+1405_daily_bin618.fits outfile=/scratch/kocevski/529136/cmap_HighResolution_399513601_399772801_4FGL_J1323.9+1405_daily_bin618.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.60
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11825E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.187       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10421E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.9638       1.0000         .10000E-03   10000.    
     6 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4591       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.658       1.0000         .10000E-03   10000.    
    10 'norm      '    10.180       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.581       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .69377       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.4756       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=   5701.085     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1611 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    325.20       -.44436E-05** at limit **
   2  Prefactor     .10000E-03    12.099        .18432E-07** at limit **
   3  Prefactor     39.190        19.201       -.33747E-05    .87134E-04
   4  Prefactor     .10000E-03    11.898        .44432E-06** at limit **
   5  norm          9.9657        5.5158        .99455E-08   -.56455E-06
   6  norm          .10000E-03    6.8173        .53770E-08** at limit **
   7  norm          .10000E-03    4.6203        .13355E-07** at limit **
   8  Prefactor     6.4632        10.438        .26976E-06   -.14897E-06
   9  Prefactor     22.657        23.298        .70231E-07   -.59907E-05
  10  norm          10.179        8.2572        .32756E-06   -.10431E-04
  11  Prefactor     .10000E-03    23.479        .94380E-07** at limit **
  12  Prefactor     .10000E-03    2.3117        .41099E-07** at limit **
  13  Prefactor     .10000E-03    3.6148        .49261E-06** at limit **
  14  Prefactor     .10000E-03    9.9788        .62193E-07** at limit **
  15  Prefactor     14.575        14.858        .18509E-06   -.21084E-04
  16  Normalizat    .69378        .22577       -.45353E-06   -.32739E-04
  17  Prefactor     1.4756        .18826       -.32947E-06   -.69356E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.1903
  Prefactor  = 0.0001
  norm       = 9.9657
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.46317
  Prefactor  = 22.6565
  norm       = 10.1795
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 14.5753
  Normalizat = 0.693776
  Prefactor  = 1.47565
 **********
 **   18 **HESSE 
 **********

 FCN=   5701.085     FROM HESSE     STATUS=OK           221 CALLS     1832 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    325.44        .20648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.416        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.190        19.151        .64029E-04   -1.4455    
   4  Prefactor     .10000E-03    12.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.9657        5.5156        .12694E-03   -1.5076    
   6  norm          .10000E-03    6.8201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.6800        .15831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4632        10.431        .15792E-03   -1.5199    
   9  Prefactor     22.657        23.300        .84150E-04   -1.4756    
  10  norm          10.179        8.2629        .62793E-03   -1.5070    
  11  Prefactor     .10000E-03    23.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.3330        .11208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.164        .27691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.575        14.863        .10489E-03   -1.4944    
  16  Normalizat    .69378        .26544        .34674E-03   -1.0414    
  17  Prefactor     1.4756        .22282        .21382E-03   -.78224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37728e-10
Minuit parameter uncertainties:
  1  0.000397619
  2  1.04109e-05
  3  19.1537
  4  8.40499e-05
  5  5.51586
  6  3.27676e-07
  7  8.47852e-07
  8  10.4341
  9  23.3088
  10  8.2638
  11  3.37798e-05
  12  2.09935e-06
  13  0.000215745
  14  1.46651e-05
  15  14.8672
  16  0.265932
  17  0.222962
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.266e+01  2.331e+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.476e+00  2.230e-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.938e-01  2.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.12
Ra Dec: 200.976 14.087
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 1.65e-08 +/- 1.70e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.62e-05

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

Saving results to:
/scratch/kocevski/529136/likelihoodResults_399513601_399772801_4FGL_J1323.9+1405_daily_bin618.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) = 5701.05882932
delta logL = 0.0265155966899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5701.05035082
delta logL = 0.0349941014392

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.239       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6886       1.0000          .0000       10.000    
     3 'Normalizat'    .69654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4753       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=   5701.050     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      264 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.240        29.749        .78206E-04    .11920E-04
   2  Index         1.6889        .72090        .10075E-01    .20007E-03
   3  Normalizat    .69656        .25521        .34610E-03   -.23914E-04
   4  Prefactor     1.4753        .22188        .21384E-03   -.33653E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.2405
  Index      = 1.68889
  Normalizat = 0.696564
  Prefactor  = 1.4753
 **********
 **   18 **HESSE 
 **********

 FCN=   5701.050     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.240        29.327        .31282E-05   -1.4683    
   2  Index         1.6889        .71105        .20151E-02   -.72378    
   3  Normalizat    .69656        .25543        .13844E-04   -1.0403    
   4  Prefactor     1.4753        .22210        .85536E-05   -.78234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16056e-12
Minuit parameter uncertainties:
  1  29.3431
  2  0.71539
  3  0.255871
  4  0.222244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/529136': 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) = 5701.05035071
delta logL = 0.0349942049106

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  2.624e+01  2.934e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.689e+00  7.154e-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.475e+00  2.222e-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.966e-01  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.18
Ra Dec: 200.976 14.087
Photon Index (Free Index): 1.69 +/- 0.72
Photon Flux (Free Index): 1.26e-08 +/- 1.89e-08
Energy Flux (Free Index): 2.13e-05 +/- 3.44e-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/529136/cmap_HighResolution_399513601_399772801_4FGL_J1323.9+1405_daily_bin618.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.14e-03', comment='SUCCESS', photon_flux='1.65e-08', energy_flux2='2.13e-05', photon_flux_error='1.70e-08', dlogl='3.50e-02', energy_flux='1.57e-05', photon_flux2='1.26e-08', job_status='DONE', time_completed='2021-09-07 15:09:42.247980', photon_index_error2='0.72', photon_index2='1.69', ts='3.12', fit_tolerance='1e-08', GAL='1.48', photon_index_error='0.00', photon_flux_upper_limit='6.93e-08', energy_flux_error2='3.44e-05', EG='0.69', time_epoch_completed='1631052582.25', return_code='0', job_id='529136', GAL2='1.48', EG2='0.70', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='1.89e-08', ts2='3.18', photon_index='1.88' WHERE bin_id='618' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:09:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 529136: <4FGL_J1323.9+1405_daily_bin618> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin618> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Sep  7 15:00:21 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:00: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:00:34 2021
Terminated at Tue Sep  7 15:09:43 2021
Results reported at Tue Sep  7 15:09:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin618 200.976 14.0871 399513601 399772801 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 :                                   530.46 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             340.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            562 sec.

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

