/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 156 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 = 7431
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1357.1+1921_daily_bin110
RA = 209.29, Dec = 19.3608
tmin = 267840001, tmax = 268099201
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='60914', job_status='RUN', time_executed='2021-09-08 17:48:06.940503', time_epoch_executed='1631148486.94' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/60914

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/60914/ft1_4FGL_J1357.1+1921_daily_bin110.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/60914/ft2_4FGL_J1357.1+1921_daily_bin110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/60914/ft1_4FGL_J1357.1+1921_daily_bin110.fits outfile=/scratch/kocevski/60914/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin110.fits ra=209.29 dec=19.3608 rad=12.0 tmin=267840001.0 tmax=268099201.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 1.48
user 1.28
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/60914/ft2_4FGL_J1357.1+1921_daily_bin110.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/60914/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin110.fits evtable="EVENTS" outfile="/scratch/kocevski/60914/ft1_filtered_4FGL_J1357.1+1921_daily_bin110.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.51
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/60914/ft1_filtered_4FGL_J1357.1+1921_daily_bin110.fits" evtable="EVENTS" scfile=/scratch/kocevski/60914/ft2_4FGL_J1357.1+1921_daily_bin110.fits sctable="SC_DATA" outfile=/scratch/kocevski/60914/ltcube_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.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/60914/ft2_4FGL_J1357.1+1921_daily_bin110.fits
.....................!
real 12.99
user 12.65
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/60914/ft1_filtered_4FGL_J1357.1+1921_daily_bin110.fits evtable="EVENTS" scfile=/scratch/kocevski/60914/ft2_4FGL_J1357.1+1921_daily_bin110.fits sctable="SC_DATA" expcube=/scratch/kocevski/60914/ltcube_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.fits outfile=/scratch/kocevski/60914/expmap_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.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/60914/ltcube_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.fits
.....................!
real 191.50
user 186.14
sys 4.99

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/60914/ft1_filtered_4FGL_J1357.1+1921_daily_bin110.fits scfile=/scratch/kocevski/60914/ft2_4FGL_J1357.1+1921_daily_bin110.fits outfile=/scratch/kocevski/60914/cmap_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/60914/ft1_filtered_4FGL_J1357.1+1921_daily_bin110.fits scfile=/scratch/kocevski/60914/ft2_4FGL_J1357.1+1921_daily_bin110.fits outfile=/scratch/kocevski/60914/cmap_HighResolution_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/60914/ft1_filtered_4FGL_J1357.1+1921_daily_bin110.fits', '/scratch/kocevski/60914/ft2_4FGL_J1357.1+1921_daily_bin110.fits', expMap='/scratch/kocevski/60914/expmap_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.fits', expCube='/scratch/kocevski/60914/ltcube_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/60914/Model_4FGL_J1357.1+1921_daily_bin110.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/60914/ft1_filtered_4FGL_J1357.1+1921_daily_bin110.fits
Spacecraft file(s): /scratch/kocevski/60914/ft2_4FGL_J1357.1+1921_daily_bin110.fits
Exposure map: /scratch/kocevski/60914/expmap_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.fits
Exposure cube: /scratch/kocevski/60914/ltcube_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/60914/Model_4FGL_J1357.1+1921_daily_bin110.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) = 6174.54567484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1774       1.0000         .10000E-03   10000.    
     2 'norm      '    27.344       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.4980       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.194       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .36775       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.551       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9305       1.0000         .10000E-03   10000.    
    14 'norm      '    15.509       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6978       1.0000         .10000E-03   10000.    
    16 'norm      '    2.0941       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.9339       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4220       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74011       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=   6174.517     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     1638 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1756        12.842       -.64774E-06   -.35934E-05
   2  norm          27.344        9.6534       -.10833E-07    .39266E-05
   3  Prefactor     .10000E-03    21.100        .12547E-06** at limit **
   4  norm          9.4979        8.7056       -.12239E-06   -.18651E-05
   5  Prefactor     .10000E-03    7.2926       -.50814E-07** at limit **
   6  Prefactor     .10000E-03    8.9239       -.50525E-08** at limit **
   7  Prefactor     20.193        38.105       -.10843E-05    .22455E-05
   8  Prefactor     .10000E-03    2.0340       -.22728E-07** at limit **
   9  Prefactor     .35216        2.7917       -.64397E-07   -.23486E-04
  10  Prefactor     .10000E-03    16.273       -.98376E-07** at limit **
  11  Prefactor     .10000E-03    5.9904       -.31660E-07** at limit **
  12  Prefactor     34.549        27.955       -.22204E-05    .10007E-05
  13  Prefactor     2.9303        1.7549        .48873E-07   -.47047E-03
  14  norm          15.509        4.4191       -.33757E-07   -.13652E-04
  15  Prefactor     2.6972        6.3092        .35925E-06    .11744E-04
  16  norm          2.0943        2.4310        .75173E-07    .36721E-04
  17  Prefactor     5.9300        53.441       -.12473E-04   -.26805E-05
  18  Normalizat    1.4220        .19150        .25303E-06    .26111E-04
  19  Prefactor     .74016        .16249        .67538E-06    .21222E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.17558
  norm       = 27.3441
  Prefactor  = 0.0001
  norm       = 9.49795
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1935
  Prefactor  = 0.0001
  Prefactor  = 0.352163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.5488
  Prefactor  = 2.93028
  norm       = 15.509
  Prefactor  = 2.69722
  norm       = 2.09426
  Prefactor  = 5.92996
  Normalizat = 1.42202
  Prefactor  = 0.740156
 **********
 **   18 **HESSE 
 **********

 FCN=   6174.517     FROM HESSE     STATUS=OK           274 CALLS     1912 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1756        12.827        .17667E-03   -1.5253    
   2  norm          27.344        9.6581        .76612E-04   -1.4662    
   3  Prefactor     .10000E-03    21.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.4979        8.7061        .13003E-03   -1.5091    
   5  Prefactor     .10000E-03    7.2992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.9519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.193        38.053        .89129E-04   -1.4809    
   8  Prefactor     .10000E-03    2.0487        .10942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .35216        11.855        .24942E-02   -1.5589    
  10  Prefactor     .10000E-03    16.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.0326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.549        28.203        .68176E-04   -1.4532    
  13  Prefactor     2.9303        8.0328        .11864E-02   -1.5366    
  14  norm          15.509        4.4208        .42434E-03   -1.4920    
  15  Prefactor     2.6972        6.6351        .24803E-03   -1.5379    
  16  norm          2.0943        2.4172        .12654E-03   -1.5419    
  17  Prefactor     5.9300        53.526        .16485E-03   -1.5221    
  18  Normalizat    1.4220        .22581        .23633E-03   -.79994    
  19  Prefactor     .74016        .19136        .26386E-03   -1.0197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11047e-08
Minuit parameter uncertainties:
  1  12.8342
  2  9.65864
  3  7.6864e-06
  4  8.70726
  5  1.65135e-06
  6  2.88495e-06
  7  38.0985
  8  1.47756e-06
  9  4.08689
  10  9.95486e-06
  11  4.95306e-06
  12  28.2139
  13  8.03577
  14  4.4209
  15  6.63687
  16  2.41733
  17  35.6741
  18  0.225971
  19  0.191533
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  1.000e-04  4.953e-06  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:  7.402e-01  1.915e-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:  1.422e+00  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.290 19.361
Photon Flux Upper Limit: 7.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/60914/likelihoodResults_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.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): 102
logL (Free Index) = 6174.51811937
delta logL = -0.000789462219473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6174.51733005
delta logL = -1.43018951348e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10432E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7319       1.0000          .0000       10.000    
     3 'Normalizat'    1.4221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74014       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6174.517     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      258 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    7.4544        .74764E-01** at limit **
   2  Index         2.0716        6.9748        .50000       -.99908E-07
   3  Normalizat    1.4220        .54292E-02    .23633E-03   -.14635E-03
   4  Prefactor     .74016        .45589E-02    .26385E-03   -.11952E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.07157
  Normalizat = 1.42202
  Prefactor  = 0.740156
 **********
 **   18 **HESSE 
 **********

 FCN=   6174.517     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      289 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    373.67        .36996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0716        8.7791        .50000       -.62572    
   3  Normalizat    1.4220        .30201E-01    .47266E-04   -.79994    
   4  Prefactor     .74016        .25361E-01    .10554E-04   -1.0197    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.43106e-08
Minuit parameter uncertainties:
  1  0.00291473
  2  603.799
  3  0.0302012
  4  0.0253619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/60914': 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): 102
logL (Free Index) = 6174.51732646
delta logL = 3.44740692526e-06

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  1.000e-04  2.915e-03  1.000e-04  1.000e+04 ( 1.000e-12)
268        Index:  2.072e+00  6.038e+02  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:  7.402e-01  2.536e-02  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:  1.422e+00  3.020e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/60914/cmap_HighResolution_267840001_268099201_4FGL_J1357.1+1921_daily_bin110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', job_status='DONE', photon_flux_upper_limit='7.76e-08', time_completed='2021-09-08 17:57:47.730256', job_id='60914', GAL2='0.74', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1631149067.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='3.45e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='110' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:57:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 60914: <4FGL_J1357.1+1921_daily_bin110> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin110> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 17:45:22 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:45:23 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:45:23 2021
Terminated at Wed Sep  8 17:57:48 2021
Results reported at Wed Sep  8 17:57:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin110 209.29 19.3608 267840001 268099201 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 :                                   522.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            746 sec.

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

