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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin518
RA = 209.29, Dec = 19.3608
tmin = 373593601, tmax = 373852801
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='61561', job_status='RUN', time_executed='2021-09-08 17:49:17.079898', time_epoch_executed='1631148557.08' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/61561

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/61561/ft1_4FGL_J1357.1+1921_daily_bin518.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/61561/ft1_4FGL_J1357.1+1921_daily_bin518.fits outfile=/scratch/kocevski/61561/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin518.fits ra=209.29 dec=19.3608 rad=12.0 tmin=373593601.0 tmax=373852801.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.47
user 3.25
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.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/61561/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin518.fits evtable="EVENTS" outfile="/scratch/kocevski/61561/ft1_filtered_4FGL_J1357.1+1921_daily_bin518.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/61561/ft1_filtered_4FGL_J1357.1+1921_daily_bin518.fits" evtable="EVENTS" scfile=/scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits sctable="SC_DATA" outfile=/scratch/kocevski/61561/ltcube_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.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/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits
.....................!
real 11.83
user 11.51
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/61561/ft1_filtered_4FGL_J1357.1+1921_daily_bin518.fits evtable="EVENTS" scfile=/scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits sctable="SC_DATA" expcube=/scratch/kocevski/61561/ltcube_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.fits outfile=/scratch/kocevski/61561/expmap_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.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/61561/ltcube_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.fits
.....................!
real 190.46
user 185.01
sys 5.14

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J1357.1+1921 @ 209.29 19.3608

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/61561/ft1_filtered_4FGL_J1357.1+1921_daily_bin518.fits scfile=/scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits outfile=/scratch/kocevski/61561/cmap_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.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=209.29 yref=19.3608 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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/61561/ft1_filtered_4FGL_J1357.1+1921_daily_bin518.fits scfile=/scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits outfile=/scratch/kocevski/61561/cmap_HighResolution_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.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=209.29 yref=19.3608 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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/61561/ft1_filtered_4FGL_J1357.1+1921_daily_bin518.fits evtable="EVENTS" scfile=/scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/61561/Model_4FGL_J1357.1+1921_daily_bin518.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/61561/ft1_filtered_4FGL_J1357.1+1921_daily_bin518.fits.....................!
real 46.23
user 44.95
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/61561/ft1_filtered_4FGL_J1357.1+1921_daily_bin518.fits', '/scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits', expMap='/scratch/kocevski/61561/expmap_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.fits', expCube='/scratch/kocevski/61561/ltcube_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/61561/Model_4FGL_J1357.1+1921_daily_bin518.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1357.1+1921'

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  2.782e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
268        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/61561/ft1_filtered_4FGL_J1357.1+1921_daily_bin518.fits
Spacecraft file(s): /scratch/kocevski/61561/ft2_4FGL_J1357.1+1921_daily_bin518.fits
Exposure map: /scratch/kocevski/61561/expmap_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.fits
Exposure cube: /scratch/kocevski/61561/ltcube_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/61561/Model_4FGL_J1357.1+1921_daily_bin518.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) = 5875.24963246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    16.502       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    27.437       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.816       1.0000         .10000E-03   10000.    
     6 'Prefactor '    53.029       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.7618       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.2193       1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.953       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.3015       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.1709       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .70524       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .58960       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5875.204     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1637 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.7215        .77452E-07** at limit **
   2  norm          16.502        9.3076        .12126E-06   -.49238E-04
   3  Prefactor     .10000E-03    26.176       -.71502E-06** at limit **
   4  norm          27.436        13.087       -.24529E-06   -.19727E-04
   5  Prefactor     44.813        29.782       -.28369E-05   -.33116E-05
   6  Prefactor     53.030        30.498        .15714E-05   -.34885E-05
   7  Prefactor     .10000E-03    14.243        .64373E-06** at limit **
   8  Prefactor     .10000E-03    3.2237       -.99446E-08** at limit **
   9  Prefactor     5.7621        3.8885        .80421E-07    .87466E-04
  10  Prefactor     .10000E-03    9.4963       -.49353E-06** at limit **
  11  Prefactor     6.2206        12.941       -.25569E-07   -.97097E-04
  12  Prefactor     51.953        31.918       -.48682E-06   -.15120E-04
  13  Prefactor     .10000E-03    2.0033       -.22144E-07** at limit **
  14  norm          8.3014        3.3162        .16506E-05   -.36242E-04
  15  Prefactor     .10000E-03    1.7841        .20570E-07** at limit **
  16  norm          4.1706        2.7504       -.21281E-06   -.36689E-03
  17  Prefactor     .70757        18.403        .21504E-05   -.38025E-03
  18  Normalizat    .58956        .20643       -.23665E-06   -.10594E-03
  19  Prefactor     1.2858        .17738       -.34062E-06   -.90261E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 16.5023
  Prefactor  = 0.0001
  norm       = 27.4361
  Prefactor  = 44.8132
  Prefactor  = 53.0305
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.76213
  Prefactor  = 0.0001
  Prefactor  = 6.22065
  Prefactor  = 51.9526
  Prefactor  = 0.0001
  norm       = 8.30143
  Prefactor  = 0.0001
  norm       = 4.17059
  Prefactor  = 0.707573
  Normalizat = 0.58956
  Prefactor  = 1.28577
 **********
 **   18 **HESSE 
 **********

 FCN=   5875.204     FROM HESSE     STATUS=OK           272 CALLS     1909 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.7224        .17907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          16.502        9.3153        .98595E-04   -1.4895    
   3  Prefactor     .10000E-03    26.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          27.436        13.107        .76482E-04   -1.4660    
   5  Prefactor     44.813        29.771        .59889E-04   -1.4368    
   6  Prefactor     53.030        30.534        .55078E-04   -1.4250    
   7  Prefactor     .10000E-03    14.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.3434        .26864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.7621        3.8914        .12076E-03   -1.5228    
  10  Prefactor     .10000E-03    9.5915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.2206        12.943        .16097E-03   -1.5209    
  12  Prefactor     51.953        31.926        .55642E-04   -1.4265    
  13  Prefactor     .10000E-03    2.0079        .10594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.3014        3.2960        .84669E-04   -1.5132    
  15  Prefactor     .10000E-03    1.7927        .99968E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.1706        2.7474        .99010E-04   -1.5299    
  17  Prefactor     .70757        251.07        .62327E-02   -1.5540    
  18  Normalizat    .58956        .23433        .32710E-03   -1.0843    
  19  Prefactor     1.2858        .20371        .20512E-03   -.83731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32086e-08
Minuit parameter uncertainties:
  1  3.8455e-07
  2  9.31612
  3  1.06159e-05
  4  13.1082
  5  29.7812
  6  30.543
  7  1.71523e-06
  8  6.95162e-06
  9  3.89157
  10  8.60373e-06
  11  12.949
  12  31.9362
  13  8.62462e-07
  14  3.29609
  15  3.36568e-07
  16  2.74753
  17  26.7688
  18  0.23472
  19  0.20384
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  6.221e+00  1.295e+01  1.000e-04  1.000e+04 ( 1.000e-12)
268        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  1.286e+00  2.038e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  5.896e-01  2.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 209.290 19.361
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/61561/likelihoodResults_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.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) = 5875.11537785
delta logL = 0.0885522678118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5875.1006254
delta logL = 0.103304713276

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4764       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4475       1.0000          .0000       10.000    
     3 'Normalizat'    .57257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2953       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5875.101     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4693        238.71        .47577E-02    .35640E-03
   2  Index         3.4483        6.4596        .21252        .76651E-04
   3  Normalizat    .57250        .53271E-01    .74926E-01    .36701E-04
   4  Prefactor     1.2954        .48714E-01    .32692E-01    .34512E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.46929
  Index      = 3.44834
  Normalizat = 0.572495
  Prefactor  = 1.29536
 **********
 **   18 **HESSE 
 **********

 FCN=   5875.101     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4693        14.103        .19031E-03   -1.5285    
   2  Index         3.4483        2.1862        .12849E-01   -.31554    
   3  Normalizat    .57250        .22793        .33173E-03   -1.0916    
   4  Prefactor     1.2954        .20124        .20446E-03   -.83445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74856e-11
Minuit parameter uncertainties:
  1  14.1137
  2  2.27166
  3  0.228302
  4  0.20136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/61561': 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) = 5875.10062509
delta logL = 0.103305024299

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  4.469e+00  1.411e+01  1.000e-04  1.000e+04 ( 1.000e-12)
268        Index:  3.448e+00  2.272e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  4.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  1.295e+00  2.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  5.725e-01  2.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
Ra Dec: 209.290 19.361

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/61561/cmap_HighResolution_373593601_373852801_4FGL_J1357.1+1921_daily_bin518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2021-09-08 17:58:14.468794', job_id='61561', GAL2='1.30', fit_tolerance='1e-08', EG2='0.57', EG='0.59', time_epoch_completed='1631149094.47', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='1.03e-01', ts2='0.48', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='518' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:58:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 61561: <4FGL_J1357.1+1921_daily_bin518> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin518> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 17:46:18 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:46:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 17:46:19 2021
Terminated at Wed Sep  8 17:58:15 2021
Results reported at Wed Sep  8 17:58:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin518 209.29 19.3608 373593601 373852801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1357.1+1921 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   503.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             235.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            717 sec.

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

