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


Performing analysis on: 4FGL_J1323.9+1405_daily_bin1202
RA = 200.976, Dec = 14.0871
tmin = 550886401, tmax = 551145601
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='532288', job_status='RUN', time_executed='2021-09-07 15:14:35.317076', time_epoch_executed='1631052875.32' WHERE source_name='4FGL J1323.9+1405' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532288

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532288/ft1_4FGL_J1323.9+1405_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532288/ft2_4FGL_J1323.9+1405_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532288/ft1_4FGL_J1323.9+1405_daily_bin1202.fits outfile=/scratch/kocevski/532288/ft1_filteredMKT_4FGL_J1323.9+1405_daily_bin1202.fits ra=200.976 dec=14.0871 rad=12.0 tmin=550886401.0 tmax=551145601.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.88
user 3.58
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532288/ft1_filtered_4FGL_J1323.9+1405_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/532288/ft2_4FGL_J1323.9+1405_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/532288/ltcube_550886401_551145601_4FGL_J1323.9+1405_daily_bin1202.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/532288/ft2_4FGL_J1323.9+1405_daily_bin1202.fits
.....................!
real 16.92
user 16.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532288/ft1_filtered_4FGL_J1323.9+1405_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/532288/ft2_4FGL_J1323.9+1405_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/532288/ltcube_550886401_551145601_4FGL_J1323.9+1405_daily_bin1202.fits outfile=/scratch/kocevski/532288/expmap_550886401_551145601_4FGL_J1323.9+1405_daily_bin1202.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/532288/ltcube_550886401_551145601_4FGL_J1323.9+1405_daily_bin1202.fits
.....................!
real 192.32
user 186.88
sys 4.94

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/532288/ft1_filtered_4FGL_J1323.9+1405_daily_bin1202.fits scfile=/scratch/kocevski/532288/ft2_4FGL_J1323.9+1405_daily_bin1202.fits outfile=/scratch/kocevski/532288/cmap_550886401_551145601_4FGL_J1323.9+1405_daily_bin1202.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532288/ft1_filtered_4FGL_J1323.9+1405_daily_bin1202.fits scfile=/scratch/kocevski/532288/ft2_4FGL_J1323.9+1405_daily_bin1202.fits outfile=/scratch/kocevski/532288/cmap_HighResolution_550886401_551145601_4FGL_J1323.9+1405_daily_bin1202.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=200.976 yref=14.0871 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .82760E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1867       1.0000         .10000E-03   10000.    
     6 'norm      '    .11190E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1426       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.085       1.0000         .10000E-03   10000.    
    10 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0188       1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.069       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11803E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.6244       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .70789       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=   4425.044     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1597 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.004       -.22579E-05** at limit **
   2  Prefactor     .10000E-03    3.3845       -.33353E-08** at limit **
   3  Prefactor     .10001E-03    10.940        .55800E-06** at limit **
   4  Prefactor     .10000E-03    6.5895       -.26015E-07** at limit **
   5  norm          1.1902        6.3968       -.59301E-06   -.37617E-04
   6  norm          .10000E-03    22.767        .13393E-05** at limit **
   7  norm          1.1349        1.1998        .13159E-06   -.83388E-03
   8  Prefactor     .10000E-03    8.4605        .65099E-06** at limit **
   9  Prefactor     14.066        31.493       -.22772E-04   -.51906E-05
  10  norm          .10000E-03    8.4870       -.87342E-06** at limit **
  11  Prefactor     .10000E-03    28.224       -.30718E-07** at limit **
  12  Prefactor     .10000E-03    4.3264       -.36250E-07** at limit **
  13  Prefactor     8.0184        6.0904       -.18793E-06   -.42356E-05
  14  Prefactor     39.075        25.726        .28523E-05    .28346E-05
  15  Prefactor     .10000E-03    10.042       -.31282E-07** at limit **
  16  Normalizat    1.6241        .24825       -.41115E-06   -.18062E-04
  17  Prefactor     .70802        .19242        .13604E-05   -.66909E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  norm       = 1.19017
  norm       = 0.0001
  norm       = 1.13492
  Prefactor  = 0.0001
  Prefactor  = 14.0661
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.01845
  Prefactor  = 39.0755
  Prefactor  = 0.0001
  Normalizat = 1.6241
  Prefactor  = 0.708017
 **********
 **   18 **HESSE 
 **********

 FCN=   4425.044     FROM HESSE     STATUS=OK           219 CALLS     1816 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.3860        .11952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    54.160        .41310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.5971        .16675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1902        6.3166        .32676E-03   -1.5490    
   6  norm          .10000E-03    22.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1349        11.410        .21583E-02   -1.5495    
   8  Prefactor     .10000E-03    8.5031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.066        31.498        .10672E-03   -1.4958    
  10  norm          .10000E-03    8.5716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.4975        .27001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.0184        6.0894        .13825E-03   -1.5142    
  14  Prefactor     39.075        25.716        .64126E-04   -1.4457    
  15  Prefactor     .10000E-03    10.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.6241        .29694        .24043E-03   -.74348    
  17  Prefactor     .70802        .23292        .27149E-03   -1.0321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19244e-09
Minuit parameter uncertainties:
  1  1.2399e-05
  2  3.98275e-07
  3  0.001651
  4  3.0519e-06
  5  5.48441
  6  8.44626e-07
  7  7.19852
  8  1.93705e-06
  9  31.5357
  10  1.39848e-07
  11  8.9531e-06
  12  8.06165e-06
  13  6.0899
  14  25.7237
  15  1.07244e-05
  16  0.297268
  17  0.233246
Done.

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

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.407e+01  3.154e+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.080e-01  2.332e-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.624e+00  2.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/532288/likelihoodResults_550886401_551145601_4FGL_J1323.9+1405_daily_bin1202.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) = 4425.03282974
delta logL = 0.0111534755733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4425.02943978
delta logL = 0.014543430736

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.458       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0927       1.0000          .0000       10.000    
     3 'Normalizat'    1.6210       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70881       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=   4425.029     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      277 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        35.569        .11835E-03    .47369E-03
   2  Index         2.0935        1.4469        .11993E-01    .16080E-03
   3  Normalizat    1.6203        .29664        .24066E-03   -.40836E-03
   4  Prefactor     .70934        .23287        .27124E-03   -.48469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4536
  Index      = 2.09348
  Normalizat = 1.62028
  Prefactor  = 0.709342
 **********
 **   18 **HESSE 
 **********

 FCN=   4425.029     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        31.511        .23670E-04   -1.5031    
   2  Index         2.0935        1.2877        .47972E-03   -.62033    
   3  Normalizat    1.6203        .29624        .48133E-04   -.74452    
   4  Prefactor     .70934        .23275        .54249E-04   -1.0316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2674e-09
Minuit parameter uncertainties:
  1  31.5565
  2  1.31025
  3  0.296561
  4  0.233074
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532288': 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) = 4425.02943686
delta logL = 0.0145463581139

Extracting fit parameters...

4FGL J1323.9+1405
   Spectrum: PowerLaw
327    Prefactor:  1.145e+01  3.156e+01  1.000e-04  1.000e+04 ( 1.000e-14)
328        Index:  2.093e+00  1.310e+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.093e-01  2.331e-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.620e+00  2.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
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/532288/cmap_HighResolution_550886401_551145601_4FGL_J1323.9+1405_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.39e-03', job_status='DONE', photon_flux_upper_limit='8.61e-08', time_completed='2021-09-07 15:22:40.391236', job_id='532288', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1631053360.39', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='1.45e-02', ts2='0.31', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1202' AND source_name='4FGL J1323.9+1405' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:22:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 532288: <4FGL_J1323.9+1405_daily_bin1202> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1323.9+1405_daily_bin1202 200.976 14.0871 550886401 551145601 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 :                                   482.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             223.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            737 sec.

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

