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


Performing analysis on: 4FGL_J1357.1+1921_daily_bin1779
RA = 209.29, Dec = 19.3608
tmin = 700444801, tmax = 700704001
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='27970', job_status='RUN', time_executed='2023-03-17 01:49:36.237632', time_epoch_executed='1679042976.24' WHERE source_name='4FGL J1357.1+1921' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27970

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/27970/ft1_4FGL_J1357.1+1921_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/27970/ft2_4FGL_J1357.1+1921_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27970/ft1_4FGL_J1357.1+1921_daily_bin1779.fits outfile=/scratch/kocevski/27970/ft1_filteredMKT_4FGL_J1357.1+1921_daily_bin1779.fits ra=209.29 dec=19.3608 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.29
user 5.00
sys 0.25

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

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

Number of photons that the gtmktime cut: 522

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27970/ft1_filtered_4FGL_J1357.1+1921_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/27970/ft2_4FGL_J1357.1+1921_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/27970/ltcube_700444801_700704001_4FGL_J1357.1+1921_daily_bin1779.fits outfile=/scratch/kocevski/27970/expmap_700444801_700704001_4FGL_J1357.1+1921_daily_bin1779.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/27970/ltcube_700444801_700704001_4FGL_J1357.1+1921_daily_bin1779.fits
.....................!
real 189.89
user 185.27
sys 4.29

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/27970/ft1_filtered_4FGL_J1357.1+1921_daily_bin1779.fits scfile=/scratch/kocevski/27970/ft2_4FGL_J1357.1+1921_daily_bin1779.fits outfile=/scratch/kocevski/27970/cmap_700444801_700704001_4FGL_J1357.1+1921_daily_bin1779.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27970/ft1_filtered_4FGL_J1357.1+1921_daily_bin1779.fits scfile=/scratch/kocevski/27970/ft2_4FGL_J1357.1+1921_daily_bin1779.fits outfile=/scratch/kocevski/27970/cmap_HighResolution_700444801_700704001_4FGL_J1357.1+1921_daily_bin1779.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/27970/ft1_filtered_4FGL_J1357.1+1921_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/27970/ft2_4FGL_J1357.1+1921_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/27970/Model_4FGL_J1357.1+1921_daily_bin1779.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/27970/ft1_filtered_4FGL_J1357.1+1921_daily_bin1779.fits.....................!
real 49.43
user 47.34
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63782E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.968       1.0000          .0000       .10000E+07
     3 'Prefactor '    .49063E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .48942E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32180E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.1497       1.0000          .0000       .10000E+07
     7 'Prefactor '    .44016E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.3627       1.0000          .0000       .10000E+07
     9 'Prefactor '    .97822E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .60674E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.0446       1.0000          .0000       .10000E+07
    12 'Prefactor '    26.483       1.0000          .0000       .10000E+07
    13 'Prefactor '    22.841       1.0000          .0000       .10000E+07
    14 'norm      '    2.4804       1.0000          .0000       .10000E+07
    15 'norm      '    .10545E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28412E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .99522       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0866       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=   6005.663     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1015 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79498E-06    6.7783       -.14509E-06** at limit **
   2  norm          16.058        8.0998       -.45687E-06    .23457E-02
   3  Prefactor     .35255E-06    7.4522       -.49407E-06** at limit **
   4  norm          .64804E-06    5.6168        .70447E-06** at limit **
   5  Prefactor     .30198E-07    11.840        .10897E-05** at limit **
   6  Prefactor     .70047        5.0873       -.76672E-06    .10379E-01
   7  Prefactor     .14216E-05    51.197        .23100E-05** at limit **
   8  Prefactor     7.3695        6.1399       -.72787E-06   -.24940E-03
   9  Prefactor     .27756E-09    3.7143       -.11674E-05** at limit **
  10  Prefactor     .13778E-06    6.0804       -.19134E-06** at limit **
  11  Prefactor     8.0370        1.2734       -.23646E-08   -.36231E-02
  12  Prefactor     26.815        8.8868        .37281E-06   -.17864    
  13  Prefactor     22.854        3.0430        .52584E-07    .92448E-01
  14  norm          2.4801        2.0662        .21395E-06    .93878E-03
  15  norm           .0000        1.2435        .13906E-06** at limit **
  16  Prefactor     .57593E-06    21.213        .22445E-06** at limit **
  17  Normalizat    .99527        .23136        .12916E-04    .49067E-04
  18  Prefactor     1.0864        .19214       -.57883E-05    .65641E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.94975e-07
  norm       = 16.0585
  Prefactor  = 3.52551e-07
  norm       = 6.48037e-07
  Prefactor  = 3.01981e-08
  Prefactor  = 0.70047
  Prefactor  = 1.42159e-06
  Prefactor  = 7.36947
  Prefactor  = 2.77556e-10
  Prefactor  = 1.37779e-07
  Prefactor  = 8.03705
  Prefactor  = 26.8154
  Prefactor  = 22.8539
  norm       = 2.48008
  norm       = 0
  Prefactor  = 5.75928e-07
  Normalizat = 0.995267
  Prefactor  = 1.08643
 **********
 **   18 **HESSE 
 **********

 FCN=   6005.663     FROM HESSE     STATUS=OK           282 CALLS     1297 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79498E-06    9.0093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          16.058        8.1259        .25037E-03   -1.5628    
   3  Prefactor     .35255E-06    11.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .64804E-06    7.2323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .30198E-07    14.746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .70047        22.087        .12887E-01   -1.5691    
   7  Prefactor     .14216E-05    52.498        .15787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.3695        6.1492        .36940E-03   -1.5654    
   9  Prefactor     .27756E-09    3.7011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13778E-06    6.4966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.0370        14.644        .35326E-03   -1.5651    
  12  Prefactor     26.815        31.489        .19436E-03   -1.5604    
  13  Prefactor     22.854        11.222        .20929E-03   -1.5612    
  14  norm          2.4801        2.0681        .64887E-03   -1.5676    
  15  norm           .0000        1.2402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .57593E-06    22.036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99527        .20494        .46107E-01   -.93189    
  18  Prefactor     1.0864        .16610        .38121E-01   -.89901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58956e-06
Minuit parameter uncertainties:
  1  0.00535253
  2  8.12588
  3  0.00406788
  4  0.00432976
  5  0.00133496
  6  7.86672
  7  0.0172778
  8  6.14918
  9  6.21659e-05
  10  0.00189229
  11  14.6439
  12  31.4891
  13  11.2217
  14  2.06806
  15  1.46276e-06
  16  0.00712497
  17  0.205106
  18  0.166181
Done.

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

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  8.037e+00  1.464e+01  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:  1.086e+00  1.662e-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.953e-01  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/27970/likelihoodResults_700444801_700704001_4FGL_J1357.1+1921_daily_bin1779.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) = 6005.64182746
delta logL = 0.0211419146217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6005.63547032
delta logL = 0.0274990544467

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3931       1.0000          .0000       .10000E+07
     2 'Index     '    3.1714       1.0000          .0000       10.000    
     3 'Normalizat'    .98561       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0928       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=   6005.635     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      251 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3924        18.181        .15869E-04   -.50865E-04
   2  Index         3.1711        2.2203        .15381E-01    .23599E-03
   3  Normalizat    .98562        .23414        .27798E-03   -.17173E-03
   4  Prefactor     1.0928        .19331        .22163E-03   -.21584E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.39236
  Index      = 3.17106
  Normalizat = 0.985622
  Prefactor  = 1.09276
 **********
 **   18 **HESSE 
 **********

 FCN=   6005.635     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3924        15.392        .63476E-06   -1.5657    
   2  Index         3.1711        1.8999        .30763E-02   -.37448    
   3  Normalizat    .98562        .23410        .11119E-04   -.93514    
   4  Prefactor     1.0928        .19275        .44325E-04   -.89698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61935e-11
Minuit parameter uncertainties:
  1  15.3924
  2  1.95704
  3  0.234347
  4  0.192872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27970': 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) = 6005.63547027
delta logL = 0.0274991030465

Extracting fit parameters...

4FGL J1357.1+1921
   Spectrum: PowerLaw
267    Prefactor:  6.392e+00  1.539e+01  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  3.171e+00  1.957e+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.093e+00  1.929e-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.856e-01  2.343e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
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/27970/cmap_HighResolution_700444801_700704001_4FGL_J1357.1+1921_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.52e-07', time_completed='2023-03-17 01:57:20.743300', job_id='27970', GAL2='1.09', fit_tolerance='1e-08', EG2='0.99', EG='1.00', time_epoch_completed='1679043440.74', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.75e-02', ts2='0.41', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1779' AND source_name='4FGL J1357.1+1921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:57:20 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 27970: <4FGL_J1357.1+1921_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1357.1+1921_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:45:28 2023
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:45:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:45:29 2023
Terminated at Fri Mar 17 01:57:21 2023
Results reported at Fri Mar 17 01:57:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1357.1+1921_daily_bin1779 209.29 19.3608 700444801 700704001 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 :                                   466.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            713 sec.

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

