/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 158 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_bin77
RA = 200.976, Dec = 14.0871
tmin = 259286401, tmax = 259545601
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='526168', job_status='RUN', time_executed='2021-09-07 14:56:02.005912', time_epoch_executed='1631051762.01' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='77'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526168

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526168/ft1_4FGL_J1323.9+1405_daily_bin77.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526168/ft2_4FGL_J1323.9+1405_daily_bin77.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526168/ft1_4FGL_J1323.9+1405_daily_bin77.fits outfile=/scratch/kocevski/526168/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin77.fits ra=200.976 dec=14.0871 rad=12.0 tmin=259286401.0 tmax=259545601.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 2.33
user 2.06
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526168/ft1_filtered_4FGL_J1323.9+1405_daily_bin77.fits" evtable="EVENTS" scfile=/scratch/kocevski/526168/ft2_4FGL_J1323.9+1405_daily_bin77.fits sctable="SC_DATA" outfile=/scratch/kocevski/526168/ltcube_259286401_259545601_4FGL_J1323.9+1405_daily_bin77.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/526168/ft2_4FGL_J1323.9+1405_daily_bin77.fits
.....................!
real 15.90
user 15.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526168/ft1_filtered_4FGL_J1323.9+1405_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/526168/ft2_4FGL_J1323.9+1405_daily_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/526168/ltcube_259286401_259545601_4FGL_J1323.9+1405_daily_bin77.fits outfile=/scratch/kocevski/526168/expmap_259286401_259545601_4FGL_J1323.9+1405_daily_bin77.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/526168/ltcube_259286401_259545601_4FGL_J1323.9+1405_daily_bin77.fits
.....................!
real 194.47
user 189.36
sys 4.37

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/526168/ft1_filtered_4FGL_J1323.9+1405_daily_bin77.fits scfile=/scratch/kocevski/526168/ft2_4FGL_J1323.9+1405_daily_bin77.fits outfile=/scratch/kocevski/526168/cmap_259286401_259545601_4FGL_J1323.9+1405_daily_bin77.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526168/ft1_filtered_4FGL_J1323.9+1405_daily_bin77.fits scfile=/scratch/kocevski/526168/ft2_4FGL_J1323.9+1405_daily_bin77.fits outfile=/scratch/kocevski/526168/cmap_HighResolution_259286401_259545601_4FGL_J1323.9+1405_daily_bin77.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11668E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6701       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2576       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12782E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.8635       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.0464       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.473       1.0000         .10000E-03   10000.    
    10 'norm      '    67.695       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.943       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .52842       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1582       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97349       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=   8659.646     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1404 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.875       -.50044E-06** at limit **
   2  Prefactor     6.6699        6.8006        .86421E-06   -.18593E-03
   3  Prefactor     8.2536        9.2280        .85999E-05   -.99314E-04
   4  Prefactor     .10000E-03    15.209       -.94322E-06** at limit **
   5  norm          6.8635        4.0917       -.21249E-06   -.10689E-03
   6  norm          .10000E-03    6.0794        .19482E-07** at limit **
   7  norm          3.0461        5.3628        .35597E-06   -.53240E-03
   8  Prefactor     .10000E-03    2.8995        .25310E-07** at limit **
   9  Prefactor     15.473        18.432        .17389E-05   -.60126E-05
  10  norm          67.695        12.782        .17788E-05   -.65046E-06
  11  Prefactor     12.800        48.561       -.76242E-05   -.77795E-05
  12  Prefactor     .10000E-03    .85684        .32728E-07** at limit **
  13  Prefactor     .10000E-03    .92433        .33409E-07** at limit **
  14  Prefactor     .10000E-03    3.3064        .52998E-07** at limit **
  15  Prefactor     .52039        4.4587       -.11582E-05   -.31084E-03
  16  Normalizat    1.1581        .16951       -.23358E-05    .19178E-03
  17  Prefactor     .97355        .13825        .33074E-06   -.78831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 6.66989
  Prefactor  = 8.2536
  Prefactor  = 0.000100001
  norm       = 6.86351
  norm       = 0.0001
  norm       = 3.0461
  Prefactor  = 0.0001
  Prefactor  = 15.4733
  norm       = 67.6952
  Prefactor  = 12.8002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.520395
  Normalizat = 1.15813
  Prefactor  = 0.973552
 **********
 **   18 **HESSE 
 **********

 FCN=   8659.646     FROM HESSE     STATUS=OK           225 CALLS     1629 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.6699        6.7864        .15537E-03   -1.5191    
   3  Prefactor     8.2536        9.1151        .13951E-03   -1.5133    
   4  Prefactor     .10000E-03    15.660        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.8635        4.0909        .14086E-03   -1.5184    
   6  norm          .10000E-03    6.0832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.0461        5.3124        .23246E-03   -1.5359    
   8  Prefactor     .10000E-03    2.9079        .15474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.473        18.427        .10182E-03   -1.4921    
  10  norm          67.695        12.812        .48783E-04   -1.4061    
  11  Prefactor     12.800        48.736        .11134E-03   -1.4992    
  12  Prefactor     .10000E-03    .86362        .84104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .92624        .87363E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.3116        .16525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .52039        12.808        .37847E-02   -1.5564    
  16  Normalizat    1.1581        .20484        .25955E-03   -.87907    
  17  Prefactor     .97355        .16843        .23585E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.11806e-10
Minuit parameter uncertainties:
  1  0.000774451
  2  6.78715
  3  9.11663
  4  0.000252863
  5  4.09108
  6  2.6601e-06
  7  5.31321
  8  3.45913e-06
  9  18.4341
  10  12.813
  11  48.8878
  12  3.09416e-06
  13  2.97984e-06
  14  7.68006e-06
  15  5.16421
  16  0.204981
  17  0.168525
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.547e+01  1.843e+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:  9.736e-01  1.685e-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.158e+00  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.51
Ra Dec: 200.976 14.087
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 1.13e-08 +/- 1.34e-08
Energy Flux (Fixed Index): 1.07e-05 +/- 1.28e-05

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

Saving results to:
/scratch/kocevski/526168/likelihoodResults_259286401_259545601_4FGL_J1323.9+1405_daily_bin77.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) = 8659.61994186
delta logL = 0.0265483336771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8659.60752069
delta logL = 0.0389695109134

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.248       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0937       1.0000          .0000       10.000    
     3 'Normalizat'    1.1545       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97465       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=   8659.608     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      263 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.246        21.363        .11446E-03    .29201E-03
   2  Index         2.0937        .85936        .94566E-02    .78905E-04
   3  Normalizat    1.1545        .19873        .25990E-03   -.30444E-03
   4  Prefactor     .97465        .16759        .23573E-03   -.39080E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2462
  Index      = 2.09373
  Normalizat = 1.15449
  Prefactor  = 0.97465
 **********
 **   18 **HESSE 
 **********

 FCN=   8659.608     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.246        19.243        .22892E-04   -1.5008    
   2  Index         2.0937        .77526        .37826E-03   -.62027    
   3  Normalizat    1.1545        .19872        .51981E-04   -.88021    
   4  Prefactor     .97465        .16769        .47145E-04   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67663e-10
Minuit parameter uncertainties:
  1  19.2529
  2  0.780026
  3  0.198846
  4  0.167783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526168': 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) = 8659.60752068
delta logL = 0.0389695216036

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.225e+01  1.925e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  2.094e+00  7.800e-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:  9.746e-01  1.678e-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.154e+00  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.58
Ra Dec: 200.976 14.087
Photon Index (Free Index): 2.09 +/- 0.78
Photon Flux (Free Index): 1.50e-08 +/- 2.18e-08
Energy Flux (Free Index): 8.37e-06 +/- 1.17e-05

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/526168/cmap_HighResolution_259286401_259545601_4FGL_J1323.9+1405_daily_bin77.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.77e-03', comment='SUCCESS', photon_flux='1.13e-08', energy_flux2='8.37e-06', photon_flux_error='1.34e-08', dlogl='3.90e-02', energy_flux='1.07e-05', photon_flux2='1.50e-08', job_status='DONE', time_completed='2021-09-07 15:06:18.306612', photon_index_error2='0.78', photon_index2='2.09', ts='1.51', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='5.08e-08', energy_flux_error2='1.17e-05', EG='1.16', time_epoch_completed='1631052378.31', return_code='0', job_id='526168', GAL2='0.97', EG2='1.15', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='2.18e-08', ts2='1.58', photon_index='1.88' WHERE bin_id='77' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:06:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 526168: <4FGL_J1323.9+1405_daily_bin77> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin77> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 14:50:24 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 14:53:12 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:53:12 2021
Terminated at Tue Sep  7 15:06:19 2021
Results reported at Tue Sep  7 15:06:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin77 200.976 14.0871 259286401 259545601 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 :                                   615.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            955 sec.

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

