aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 169 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1754
RA = 209.29, Dec = 19.3608
tmin = 693964801, tmax = 694224001
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='644905', job_status='RUN', time_executed='2023-01-01 01:18:56.673869', time_epoch_executed='1672564736.67' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644905

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644905/ft1_4FGL_J1357.1+1921_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644905/ft2_4FGL_J1357.1+1921_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644905/ft1_4FGL_J1357.1+1921_daily_bin1754.fits outfile=/scratch/kocevski/644905/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1754.fits ra=209.29 dec=19.3608 rad=12.0 tmin=693964801.0 tmax=694224001.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.93
user 3.67
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644905/ft2_4FGL_J1357.1+1921_daily_bin1754.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/644905/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/644905/ft1_filtered_4FGL_J1357.1+1921_daily_bin1754.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.33
sys 0.16

Number of photons that the gtmktime cut: 632

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644905/ft1_filtered_4FGL_J1357.1+1921_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/644905/ft2_4FGL_J1357.1+1921_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/644905/ltcube_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.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/644905/ft2_4FGL_J1357.1+1921_daily_bin1754.fits
.....................!
real 14.82
user 14.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644905/ft1_filtered_4FGL_J1357.1+1921_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/644905/ft2_4FGL_J1357.1+1921_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/644905/ltcube_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.fits outfile=/scratch/kocevski/644905/expmap_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.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/644905/ltcube_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.fits
.....................!
real 192.41
user 186.04
sys 4.92

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/644905/ft1_filtered_4FGL_J1357.1+1921_daily_bin1754.fits scfile=/scratch/kocevski/644905/ft2_4FGL_J1357.1+1921_daily_bin1754.fits outfile=/scratch/kocevski/644905/cmap_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644905/ft1_filtered_4FGL_J1357.1+1921_daily_bin1754.fits scfile=/scratch/kocevski/644905/ft2_4FGL_J1357.1+1921_daily_bin1754.fits outfile=/scratch/kocevski/644905/cmap_HighResolution_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.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.57
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644905/ft1_filtered_4FGL_J1357.1+1921_daily_bin1754.fits', '/scratch/kocevski/644905/ft2_4FGL_J1357.1+1921_daily_bin1754.fits', expMap='/scratch/kocevski/644905/expmap_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.fits', expCube='/scratch/kocevski/644905/ltcube_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644905/Model_4FGL_J1357.1+1921_daily_bin1754.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  0.000e+00  1.000e+06 ( 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/644905/ft1_filtered_4FGL_J1357.1+1921_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/644905/ft2_4FGL_J1357.1+1921_daily_bin1754.fits
Exposure map: /scratch/kocevski/644905/expmap_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.fits
Exposure cube: /scratch/kocevski/644905/ltcube_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644905/Model_4FGL_J1357.1+1921_daily_bin1754.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) = 6923.20986556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.752       1.0000          .0000       .10000E+07
     2 'norm      '    23.717       1.0000          .0000       .10000E+07
     3 'Prefactor '    .94755E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .29005E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.408       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18288E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11338E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.3930       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8822       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13208E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1016       1.0000          .0000       .10000E+07
    12 'Prefactor '    29.449       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20753E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .10244E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .21520E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.4540       1.0000          .0000       .10000E+07
    17 'Normalizat'    .92259       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98545       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6923.189     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1399 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.761        1.2814       -.17649E-07    .24753E-01
   2  norm          23.704        7.5055       -.11890E-06   -.41284E-02
   3  Prefactor     .11102E-09    35.505        .33189E-06** at limit **
   4  norm          .33307E-09    32.024        .59228E-06** at limit **
   5  Prefactor     16.403        1.0150        .17021E-08   -.94617E-02
   6  Prefactor      .0000        5.7409        .27689E-06** at limit **
   7  Prefactor     .55511E-10    18.770        .40640E-07** at limit **
   8  Prefactor     2.3999        2.8932        .53549E-07   -.17218E-03
   9  Prefactor     1.8833        2.9571        .16622E-08    .57931E-04
  10  Prefactor      .0000        10.208        .98086E-07** at limit **
  11  Prefactor     1.1046        13.004        .48276E-06   -.28370E-03
  12  Prefactor     29.430        1.0691        .40667E-08   -.10305E-01
  13  Prefactor      .0000        2.2463       -.50235E-07** at limit **
  14  norm           .0000        3.6937        .56335E-07** at limit **
  15  norm           .0000        2.1045       -.12153E-06** at limit **
  16  Prefactor     5.4388        1.0530        .59480E-08   -.55879E-02
  17  Normalizat    .92268        .18502       -.56651E-05   -.40804E-04
  18  Prefactor     .98547        .15971        .37481E-05   -.32804E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7615
  norm       = 23.7038
  Prefactor  = 1.11022e-10
  norm       = 3.33067e-10
  Prefactor  = 16.4026
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.39994
  Prefactor  = 1.88328
  Prefactor  = 0
  Prefactor  = 1.10455
  Prefactor  = 29.4302
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 5.43878
  Normalizat = 0.922678
  Prefactor  = 0.985468
 **********
 **   18 **HESSE 
 **********

 FCN=   6923.189     FROM HESSE     STATUS=OK           286 CALLS     1685 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.761        13.044        .29197E-03   -1.5639    
   2  norm          23.704        7.5894        .20539E-03   -1.5611    
   3  Prefactor     .11102E-09    35.369        .14072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .33307E-09    31.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.403        15.227        .24699E-03   -1.5627    
   6  Prefactor      .0000        5.7406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    18.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3999        2.9037        .66176E-03   -1.5677    
   9  Prefactor     1.8833        2.9793        .75845E-03   -1.5681    
  10  Prefactor      .0000        10.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1046        12.687        .11309E-02   -1.5687    
  12  Prefactor     29.430        21.386        .18430E-03   -1.5599    
  13  Prefactor      .0000        2.2411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .95123        .31286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.0619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.4388        19.436        .43002E-03   -1.5661    
  17  Normalizat    .92268        .15698        .45190E-01   -.95668    
  18  Prefactor     .98547        .13512        .46085E-01   -.93216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67293e-06
Minuit parameter uncertainties:
  1  13.0443
  2  7.58943
  3  0.000129942
  4  0.000199183
  5  15.2271
  6  1.74932e-05
  7  7.21496e-05
  8  2.90368
  9  2.97927
  10  2.00303e-05
  11  7.48696
  12  21.3864
  13  1.76263e-07
  14  6.8234e-07
  15  1.57803e-06
  16  19.4366
  17  0.157053
  18  0.135167
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  1.105e+00  7.487e+00  0.000e+00  1.000e+06 ( 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:  9.855e-01  1.352e-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:  9.227e-01  1.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/644905/likelihoodResults_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.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) = 6923.18875255
delta logL = 7.8573591054e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6923.18874438
delta logL = 8.67447351993e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1299       1.0000          .0000       .10000E+07
     2 'Index     '    2.7241       1.0000          .0000       10.000    
     3 'Normalizat'    .92282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98535       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=   6923.189     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      257 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1315        15.495        .43958E-04   -.24360E-02
   2  Index         2.7251        2.4347        .21342E-01   -.55697E-04
   3  Normalizat    .92276        .18219        .24522E-03    .91856E-03
   4  Prefactor     .98540        .15905        .20733E-03    .10619E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.13149
  Index      = 2.72515
  Normalizat = 0.922761
  Prefactor  = 0.985401
 **********
 **   18 **HESSE 
 **********

 FCN=   6923.189     FROM HESSE     STATUS=OK            23 CALLS      280 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1315        13.799        .17583E-05   -1.5687    
   2  Index         2.7251        2.3149        .85369E-03   -.47234    
   3  Normalizat    .92276        .18240        .49044E-04   -.95665    
   4  Prefactor     .98540        .15914        .41466E-04   -.93218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13702e-09
Minuit parameter uncertainties:
  1  7.90275
  2  2.43438
  3  0.182524
  4  0.159217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644905': 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) = 6923.18874418
delta logL = 8.69459663591e-05

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  1.131e+00  7.903e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.725e+00  2.434e+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:  9.854e-01  1.592e-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:  9.228e-01  1.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/644905/cmap_HighResolution_693964801_694224001_4FGL_J1357.1+1921_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.08e-03', job_status='DONE', photon_flux_upper_limit='7.70e-08', time_completed='2023-01-01 01:27:48.242472', job_id='644905', GAL2='0.99', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1672565268.24', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='8.69e-05', ts2='0.02', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1754' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:27:48 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 644905: <4FGL_J1357.1+1921_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1754> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Jan  1 01:15:17 2023
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:15:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:15:59 2023
Terminated at Sun Jan  1 01:27:49 2023
Results reported at Sun Jan  1 01:27:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1754 209.29 19.3608 693964801 694224001 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 :                                   532.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            752 sec.

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

