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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1528
RA = 200.976, Dec = 14.0871
tmin = 635385601, tmax = 635644801
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='532758', job_status='RUN', time_executed='2021-09-07 15:15:19.286913', time_epoch_executed='1631052919.29' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1528'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532758

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532758/ft1_4FGL_J1323.9+1405_daily_bin1528.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532758/ft2_4FGL_J1323.9+1405_daily_bin1528.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532758/ft1_4FGL_J1323.9+1405_daily_bin1528.fits outfile=/scratch/kocevski/532758/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1528.fits ra=200.976 dec=14.0871 rad=12.0 tmin=635385601.0 tmax=635644801.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.84
user 2.59
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532758/ft1_filtered_4FGL_J1323.9+1405_daily_bin1528.fits evtable="EVENTS" scfile=/scratch/kocevski/532758/ft2_4FGL_J1323.9+1405_daily_bin1528.fits sctable="SC_DATA" expcube=/scratch/kocevski/532758/ltcube_635385601_635644801_4FGL_J1323.9+1405_daily_bin1528.fits outfile=/scratch/kocevski/532758/expmap_635385601_635644801_4FGL_J1323.9+1405_daily_bin1528.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/532758/ltcube_635385601_635644801_4FGL_J1323.9+1405_daily_bin1528.fits
.....................!
real 194.23
user 187.82
sys 5.42

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/532758/ft1_filtered_4FGL_J1323.9+1405_daily_bin1528.fits scfile=/scratch/kocevski/532758/ft2_4FGL_J1323.9+1405_daily_bin1528.fits outfile=/scratch/kocevski/532758/cmap_635385601_635644801_4FGL_J1323.9+1405_daily_bin1528.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.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532758/ft1_filtered_4FGL_J1323.9+1405_daily_bin1528.fits scfile=/scratch/kocevski/532758/ft2_4FGL_J1323.9+1405_daily_bin1528.fits outfile=/scratch/kocevski/532758/cmap_HighResolution_635385601_635644801_4FGL_J1323.9+1405_daily_bin1528.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13295E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.5682       1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.793       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .27686       1.0000         .10000E-03   10000.    
     7 'norm      '    4.2588       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0020       1.0000         .10000E-03   10000.    
    10 'norm      '    .26971E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10760E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.5129       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.5316       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .79923       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=   4442.127     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     1839 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    46.370        .18142E-02** at limit **
   2  Prefactor     .10000E-03    35.836        .36285E-03** at limit **
   3  Prefactor     9.5908        24.323        .12955E-03    .59672E-05
   4  Prefactor     28.817        28.535        .74663E-04    .12827E-03
   5  norm          .10000E-03    2.3271        .99228E-03** at limit **
   6  norm          .24772        22.192        .10683        .15604E-03
   7  norm          4.2725        7.3563        .19524E-03    .56244E-03
   8  Prefactor     .10000E-03    25.201        .18142E-02** at limit **
   9  Prefactor     6.9861        22.133        .15161E-03   -.29770E-04
  10  norm          .10004E-03    60.143        .36651E-02** at limit **
  11  Prefactor     .10000E-03    37.520        .18142E-02** at limit **
  12  Prefactor     .10000E-03    4.8393        .28133E-03** at limit **
  13  Prefactor     .10000E-03    3.7212        .12471E-02** at limit **
  14  Prefactor     .10000E-03    21.455        .18142E-02** at limit **
  15  Prefactor     2.5087        18.856        .12887E-02    .56873E-04
  16  Normalizat    1.5319        .29938        .24369E-03    .26803E-03
  17  Prefactor     .79901        .22618        .25346E-03    .25683E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.000100002
  Prefactor  = 9.59078
  Prefactor  = 28.8172
  norm       = 0.0001
  norm       = 0.247721
  norm       = 4.27249
  Prefactor  = 0.000100004
  Prefactor  = 6.98607
  norm       = 0.000100036
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.50868
  Normalizat = 1.53192
  Prefactor  = 0.799014
 **********
 **   18 **HESSE 
 **********

 FCN=   4442.127     FROM HESSE     STATUS=OK           217 CALLS     2056 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.371        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    35.838        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.5908        24.320        .51821E-05   -1.5088    
   4  Prefactor     28.817        28.531        .14933E-04   -1.4634    
   5  norm          .10000E-03    2.3272        .19846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .24772        22.288        .10640       -1.5608    
   7  norm          4.2725        7.3470        .78096E-05   -1.5295    
   8  Prefactor     .10000E-03    25.215        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.9861        22.131        .60643E-05   -1.5179    
  10  norm          .10004E-03    61.880        .14660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    37.521        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.8395        .56266E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.7221        .24941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.470        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.5087        18.810        .51549E-04   -1.5391    
  16  Normalizat    1.5319        .29947        .48737E-04   -.76885    
  17  Prefactor     .79901        .22638        .50692E-04   -.99765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6797e-09
Minuit parameter uncertainties:
  1  0.000741639
  2  0.000532175
  3  24.3452
  4  28.5449
  5  4.95359e-06
  6  4.70027
  7  7.34857
  8  0.000598468
  9  22.1574
  10  0.00296975
  11  0.000303082
  12  0.000110316
  13  4.76196e-05
  14  6.98395e-05
  15  13.7446
  16  0.299815
  17  0.22664
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  6.986e+00  2.216e+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:  7.990e-01  2.266e-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.532e+00  2.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/532758/likelihoodResults_635385601_635644801_4FGL_J1323.9+1405_daily_bin1528.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) = 4442.11032781
delta logL = 0.0171358526395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4442.09870719
delta logL = 0.0287564768305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.806       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5862       1.0000          .0000       10.000    
     3 'Normalizat'    1.5343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79684       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=   4442.099     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      244 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.807        34.870        .11659E-03   -.21842E-04
   2  Index         1.5863        1.0943        .11639E-01   -.18234E-04
   3  Normalizat    1.5343        .28479        .24352E-03    .30616E-04
   4  Prefactor     .79685        .22411        .25374E-03    .42609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8065
  Index      = 1.58627
  Normalizat = 1.53432
  Prefactor  = 0.796853
 **********
 **   18 **HESSE 
 **********

 FCN=   4442.099     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.807        33.775        .46636E-05   -1.5021    
   2  Index         1.5863        1.0617        .46556E-03   -.75151    
   3  Normalizat    1.5343        .28503        .48704E-04   -.76818    
   4  Prefactor     .79685        .22430        .10150E-04   -.99844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04678e-11
Minuit parameter uncertainties:
  1  33.8298
  2  1.07724
  3  0.285332
  4  0.224556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532758': 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) = 4442.09870718
delta logL = 0.0287564865803

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.181e+01  3.383e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  1.586e+00  1.077e+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:  7.969e-01  2.246e-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.534e+00  2.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/532758/cmap_HighResolution_635385601_635644801_4FGL_J1323.9+1405_daily_bin1528.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-03', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2021-09-07 15:23:34.126312', job_id='532758', GAL2='0.80', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1631053414.13', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.88e-02', ts2='0.18', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1528' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:23:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 532758: <4FGL_J1323.9+1405_daily_bin1528> in cluster <slac> Done

Job <4FGL_J1323.9+1405_daily_bin1528> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 15:10:55 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:12:47 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:12:47 2021
Terminated at Tue Sep  7 15:23:34 2021
Results reported at Tue Sep  7 15:23:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1528 200.976 14.0871 635385601 635644801 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 :                                   491.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            759 sec.

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

