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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin1725
RA = 357.356, Dec = 5.579
tmin = 686448001, tmax = 686707201
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='893316', job_status='RUN', time_executed='2022-10-06 01:08:40.096806', time_epoch_executed='1665043720.1' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893316

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893316/ft1_4FGL_J2349.4+0534_daily_bin1725.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893316/ft1_4FGL_J2349.4+0534_daily_bin1725.fits outfile=/scratch/kocevski/893316/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1725.fits ra=357.356 dec=5.579 rad=12.0 tmin=686448001.0 tmax=686707201.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 4.69
user 4.40
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.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/893316/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1725.fits evtable="EVENTS" outfile="/scratch/kocevski/893316/ft1_filtered_4FGL_J2349.4+0534_daily_bin1725.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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 384

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/893316/ft1_filtered_4FGL_J2349.4+0534_daily_bin1725.fits" evtable="EVENTS" scfile=/scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits sctable="SC_DATA" outfile=/scratch/kocevski/893316/ltcube_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.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/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits
.....................!
real 15.91
user 15.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893316/ft1_filtered_4FGL_J2349.4+0534_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/893316/ltcube_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.fits outfile=/scratch/kocevski/893316/expmap_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.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/893316/ltcube_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.fits
.....................!
real 193.67
user 187.90
sys 4.60

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/893316/ft1_filtered_4FGL_J2349.4+0534_daily_bin1725.fits scfile=/scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits outfile=/scratch/kocevski/893316/cmap_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.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=357.356 yref=5.579 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/893316/ft1_filtered_4FGL_J2349.4+0534_daily_bin1725.fits scfile=/scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits outfile=/scratch/kocevski/893316/cmap_HighResolution_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.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=357.356 yref=5.579 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/893316/ft1_filtered_4FGL_J2349.4+0534_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/893316/Model_4FGL_J2349.4+0534_daily_bin1725.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/893316/ft1_filtered_4FGL_J2349.4+0534_daily_bin1725.fits.....................!
real 51.25
user 49.82
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/893316/ft1_filtered_4FGL_J2349.4+0534_daily_bin1725.fits', '/scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits', expMap='/scratch/kocevski/893316/expmap_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.fits', expCube='/scratch/kocevski/893316/ltcube_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/893316/Model_4FGL_J2349.4+0534_daily_bin1725.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/893316/ft1_filtered_4FGL_J2349.4+0534_daily_bin1725.fits
Spacecraft file(s): /scratch/kocevski/893316/ft2_4FGL_J2349.4+0534_daily_bin1725.fits
Exposure map: /scratch/kocevski/893316/expmap_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.fits
Exposure cube: /scratch/kocevski/893316/ltcube_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/893316/Model_4FGL_J2349.4+0534_daily_bin1725.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) = 4227.04972627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2524       1.0000          .0000       .10000E+07
     2 'norm      '    .40659E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .19879E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .37130E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .20869E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    26.364       1.0000          .0000       .10000E+07
     7 'norm      '    2.1540       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.659       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13340E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .16500       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.015       1.0000          .0000       .10000E+07
    12 'Prefactor '    68.621       1.0000          .0000       .10000E+07
    13 'norm      '    .22759E-05   1.0000          .0000       .10000E+07
    14 'norm      '    41.650       1.0000          .0000       .10000E+07
    15 'Prefactor '    .24582E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19370E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.991       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4854       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .63102       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4226.931     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1453 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7586        62.136       -.25161E-06   -.45222E-02
   2  norm           .0000        3.4269        .27535E-07** at limit **
   3  norm          .55511E-09    25.828       -.46922E-06** at limit **
   4  Prefactor     .11102E-09    7.3374       -.73286E-07** at limit **
   5  Prefactor     .17336E-06    11.959        .11478E-06** at limit **
   6  Prefactor     26.372        1.5326        .84850E-08    .71114E-03
   7  norm          2.1542        1.4605        .94623E-08    .40856E-03
   8  Prefactor     10.619        11.082        .17631E-07    .12018E-01
   9  Prefactor     .35982E-05    27.934       -.47829E-08** at limit **
  10  norm          .18822        8.0741       -.18189E-06** at limit **
  11  Prefactor     11.926        9.1562       -.90407E-07   -.43009E-02
  12  Prefactor     70.394        40.631        .15070E-06   -.86781E-01
  13  norm          .55511E-10    4.2786        .31893E-06** at limit **
  14  norm          42.317        16.276        .69724E-07    .21800    
  15  Prefactor     .20539E-08    10.326        .37509E-06** at limit **
  16  Prefactor     .95796E-06    13.437        .12068E-06** at limit **
  17  Prefactor     19.904        2.8344       -.18785E-07    .11098E-01
  18  Normalizat    1.4832        .30065       -.21118E-05   -.11224E-03
  19  Prefactor     .63091        .19436        .39438E-06   -.85565E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.75858
  norm       = 0
  norm       = 5.55112e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 1.73361e-07
  Prefactor  = 26.3719
  norm       = 2.15425
  Prefactor  = 10.619
  Prefactor  = 3.59823e-06
  norm       = 0.188221
  Prefactor  = 11.9256
  Prefactor  = 70.394
  norm       = 5.55112e-11
  norm       = 42.3165
  Prefactor  = 2.05391e-09
  Prefactor  = 9.57956e-07
  Prefactor  = 19.9038
  Normalizat = 1.48324
  Prefactor  = 0.630911
 **********
 **   18 **HESSE 
 **********

 FCN=   4226.931     FROM HESSE     STATUS=OK           318 CALLS     1771 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7586        63.117        .99841E-03   -1.5681    
   2  norm           .0000        3.4194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-09    3.5822        .74313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    7.3270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17336E-06    26.145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.372        24.820        .19479E-03   -1.5605    
   7  norm          2.1542        1.4691        .70171E-03   -1.5679    
   8  Prefactor     10.619        12.099        .30663E-03   -1.5643    
   9  Prefactor     .35982E-05    30.328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .18822        7.2781        .88610E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.926        10.439        .28874E-03   -1.5639    
  12  Prefactor     70.394        43.577        .12073E-03   -1.5540    
  13  norm          .55511E-10    4.2849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          42.317        33.432        .15497E-03   -1.5578    
  15  Prefactor     .20539E-08    10.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .95796E-06    25.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.904        27.859        .22373E-03   -1.5619    
  18  Normalizat    1.4832        .26143        .58872E-01   -.78250    
  19  Prefactor     .63091        .16862        .41475E-01   -1.0630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62976e-06
Minuit parameter uncertainties:
  1  21.0712
  2  1.45928e-05
  3  8.73364e-05
  4  5.58821e-05
  5  0.00425773
  6  24.8205
  7  1.46906
  8  12.099
  9  0.0208928
  10  2.34084
  11  10.4389
  12  43.5777
  13  3.07978e-05
  14  33.4318
  15  0.000291008
  16  0.0099284
  17  27.8593
  18  0.261671
  19  0.168754
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.990e+01  2.786e+01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  6.309e-01  1.688e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.483e+00  2.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.70
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 1.73e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.34e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/893316/likelihoodResults_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.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) = 4226.90035431
delta logL = 0.0309330198816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4226.89874471
delta logL = 0.0325426136151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.611       1.0000          .0000       .10000E+07
     2 'Index     '    2.2413       1.0000          .0000       10.000    
     3 'Normalizat'    1.4896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62708       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+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=   4226.899     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.613        39.991        .79056E-05   -.18634E-02
   2  Index         2.2412        .85555        .92917E-02   -.10776E-03
   3  Normalizat    1.4899        .29044        .25985E-03    .94537E-04
   4  Prefactor     .62687        .19370        .25318E-03    .14724E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.613
  Index      = 2.24122
  Normalizat = 1.48987
  Prefactor  = 0.626865
 **********
 **   18 **HESSE 
 **********

 FCN=   4226.899     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.613        38.746        .15811E-05   -1.5607    
   2  Index         2.2412        .82918        .37167E-03   -.58447    
   3  Normalizat    1.4899        .29052        .51970E-04   -.78063    
   4  Prefactor     .62687        .19374        .10127E-04   -1.0647    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04956e-10
Minuit parameter uncertainties:
  1  38.7463
  2  0.834746
  3  0.290843
  4  0.193952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893316': 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) = 4226.89874409
delta logL = 0.0325432376731

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  2.561e+01  3.875e+01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.241e+00  8.347e-01  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  6.269e-01  1.940e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.490e+00  2.908e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.70
Ra Dec: 357.356 5.579

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/893316/cmap_HighResolution_686448001_686707201_4FGL_J2349.4+0534_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', job_status='DONE', photon_flux_upper_limit='1.73e-07', time_completed='2022-10-06 01:16:54.852412', job_id='893316', GAL2='0.63', fit_tolerance='1e-08', EG2='1.49', EG='1.48', time_epoch_completed='1665044214.85', return_code2='0', ts='0.70', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='3.25e-02', ts2='0.77', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1725' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 01:16:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 893316: <4FGL_J2349.4+0534_daily_bin1725> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1725> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct  6 01:06:45 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 01:07:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 01:07:29 2022
Terminated at Thu Oct  6 01:16:55 2022
Results reported at Thu Oct  6 01:16:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1725 357.356 5.579 686448001 686707201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2349.4+0534 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   495.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            610 sec.

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

