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 100 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.2+4535_daily_bin1725
RA = 357.305, Dec = 45.5979
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='893314', job_status='RUN', time_executed='2022-10-06 01:09:18.861680', time_epoch_executed='1665043758.86' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893314

Creating custom pfile directory:
/scratch/kocevski/893314/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/893314/ft1_4FGL_J2349.2+4535_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/893314/ft2_4FGL_J2349.2+4535_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893314/ft1_4FGL_J2349.2+4535_daily_bin1725.fits outfile=/scratch/kocevski/893314/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin1725.fits ra=357.305 dec=45.5979 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.63
user 4.38
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/893314/ft2_4FGL_J2349.2+4535_daily_bin1725.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/893314/ft2_4FGL_J2349.2+4535_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/893314/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin1725.fits evtable="EVENTS" outfile="/scratch/kocevski/893314/ft1_filtered_4FGL_J2349.2+4535_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.54
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 1002

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/893314/ft1_filtered_4FGL_J2349.2+4535_daily_bin1725.fits" evtable="EVENTS" scfile=/scratch/kocevski/893314/ft2_4FGL_J2349.2+4535_daily_bin1725.fits sctable="SC_DATA" outfile=/scratch/kocevski/893314/ltcube_686448001_686707201_4FGL_J2349.2+4535_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/893314/ft2_4FGL_J2349.2+4535_daily_bin1725.fits
.....................!
real 16.10
user 15.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893314/ft1_filtered_4FGL_J2349.2+4535_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/893314/ft2_4FGL_J2349.2+4535_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/893314/ltcube_686448001_686707201_4FGL_J2349.2+4535_daily_bin1725.fits outfile=/scratch/kocevski/893314/expmap_686448001_686707201_4FGL_J2349.2+4535_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/893314/ltcube_686448001_686707201_4FGL_J2349.2+4535_daily_bin1725.fits
.....................!
real 193.43
user 187.10
sys 5.69

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 180 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2349.2+4535 @ 357.305 45.5979

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/893314/ft1_filtered_4FGL_J2349.2+4535_daily_bin1725.fits scfile=/scratch/kocevski/893314/ft2_4FGL_J2349.2+4535_daily_bin1725.fits outfile=/scratch/kocevski/893314/cmap_686448001_686707201_4FGL_J2349.2+4535_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.305 yref=45.5979 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/893314/ft1_filtered_4FGL_J2349.2+4535_daily_bin1725.fits scfile=/scratch/kocevski/893314/ft2_4FGL_J2349.2+4535_daily_bin1725.fits outfile=/scratch/kocevski/893314/cmap_HighResolution_686448001_686707201_4FGL_J2349.2+4535_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.305 yref=45.5979 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/893314/ft1_filtered_4FGL_J2349.2+4535_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/893314/ft2_4FGL_J2349.2+4535_daily_bin1725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/893314/Model_4FGL_J2349.2+4535_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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/893314/ft1_filtered_4FGL_J2349.2+4535_daily_bin1725.fits.....................!
real 128.74
user 127.08
sys 1.26

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

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

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  5.568e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.016       1.0000          .0000       .10000E+07
     2 'norm      '    12.701       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2025       1.0000          .0000       .10000E+07
     4 'norm      '    1.4261       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10249E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .41808E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.0982       1.0000          .0000       .10000E+07
     8 'Prefactor '    35.213       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.093       1.0000          .0000       .10000E+07
    10 'Prefactor '    29.587       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1205       1.0000          .0000       .10000E+07
    12 'norm      '    5.3015       1.0000          .0000       .10000E+07
    13 'norm      '    .12960E-04   1.0000          .0000       .10000E+07
    14 'norm      '    11.376       1.0000          .0000       .10000E+07
    15 'Prefactor '    .36258       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30036E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11376E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .62078       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0170       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10454.92     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1402 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.060        7.2406       -.22594E-05    .17322E-01
   2  norm          12.624        6.4501       -.16876E-05   -.32883E-01
   3  Prefactor     1.2110        5.3305       -.25891E-06   -.26766E-02
   4  norm          1.4245        1.7613        .21031E-06    .53881E-02
   5  Prefactor      .0000        2.1447        .68295E-07** at limit **
   6  Prefactor     .27200E-08    6.8959        .40282E-06** at limit **
   7  Prefactor     2.9606        11.242        .68157E-05   -.26462E-01
   8  Prefactor     35.952        38.185        .12448E-05   -.13696E-01
   9  Prefactor     11.051        6.0535        .33696E-07   -.72206E-02
  10  Prefactor     29.543        4.6354        .74013E-06   -.46465E-01
  11  Prefactor     4.1495        9.2621        .10362E-05    .51863E-01
  12  norm          5.2155        7.7216       -.70836E-09   -.32731E-02
  13  norm          .16653E-09    4.2710       -.55504E-06** at limit **
  14  norm          11.353        8.7499       -.20546E-05   -.95391E-01
  15  Prefactor     .74085E-06    15.849        .61415E-05** at limit **
  16  Prefactor     .21927E-07    15.442       -.18112E-05** at limit **
  17  Prefactor     .55511E-10    1.7484        .21437E-06** at limit **
  18  Normalizat    .62046        .21792       -.47482E-05    .16737E-03
  19  Prefactor     1.0171        .68852E-01    .21150E-05    .89464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0601
  norm       = 12.6235
  Prefactor  = 1.21104
  norm       = 1.42452
  Prefactor  = 0
  Prefactor  = 2.72005e-09
  Prefactor  = 2.96058
  Prefactor  = 35.9518
  Prefactor  = 11.0512
  Prefactor  = 29.5429
  Prefactor  = 4.14947
  norm       = 5.21551
  norm       = 1.66533e-10
  norm       = 11.353
  Prefactor  = 7.40852e-07
  Prefactor  = 2.19269e-08
  Prefactor  = 5.55112e-11
  Normalizat = 0.620459
  Prefactor  = 1.01711
 **********
 **   18 **HESSE 
 **********

 FCN=   10454.92     FROM HESSE     STATUS=OK           312 CALLS     1714 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.060        20.678        .31637E-03   -1.5645    
   2  norm          12.624        15.641        .28082E-03   -1.5637    
   3  Prefactor     1.2110        5.8044        .10341E-02   -1.5686    
   4  norm          1.4245        1.7856        .90482E-03   -1.5684    
   5  Prefactor      .0000        2.1316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27200E-08    6.8806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9606        38.481        .57588E-03   -1.5674    
   8  Prefactor     35.952        38.406        .16854E-03   -1.5588    
   9  Prefactor     11.051        6.0619        .30055E-03   -1.5641    
  10  Prefactor     29.543        28.057        .18387E-03   -1.5599    
  11  Prefactor     4.1495        12.350        .49636E-03   -1.5667    
  12  norm          5.2155        7.7547        .43627E-03   -1.5662    
  13  norm          .16653E-09    4.1841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.353        10.467        .29677E-03   -1.5641    
  15  Prefactor     .74085E-06    83.086        .93957E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .21927E-07    16.417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    1.7500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .62046        .23078        .11687       -1.0712    
  19  Prefactor     1.0171        .67561E-01    .29969E-01   -.92161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62255e-06
Minuit parameter uncertainties:
  1  20.6786
  2  15.6411
  3  5.30261
  4  1.78557
  5  6.96828e-07
  6  0.000274329
  7  21.3473
  8  38.4059
  9  6.06195
  10  28.0566
  11  12.3502
  12  7.75475
  13  5.22849e-05
  14  10.4674
  15  0.0156914
  16  0.00119937
  17  2.35978e-05
  18  0.231135
  19  0.0675667
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  7.409e-07  1.569e-02  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.017e+00  6.757e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  6.205e-01  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.305 45.598
Photon Flux Upper Limit: 7.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/893314/likelihoodResults_686448001_686707201_4FGL_J2349.2+4535_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) = 10454.9248833
delta logL = -0.00591850316414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10454.918418
delta logL = 0.000546858993403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48114       1.0000          .0000       .10000E+07
     2 'Index     '    2.7882       1.0000          .0000       10.000    
     3 'Normalizat'    .61794       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0174       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10454.92     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      275 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44892        6.8371        .10394E-01    .38781E-02
   2  Index         2.8316        .28762        .50000        .36089E-05
   3  Normalizat    .61904        .48969E-02    .11700        .76120E-04
   4  Prefactor     1.0173        .15802E-02    .29967E-01   -.14130E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.44892
  Index      = 2.83163
  Normalizat = 0.619042
  Prefactor  = 1.01725
 **********
 **   18 **HESSE 
 **********

 FCN=   10454.92     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      310 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44892        18647.        .59251E-03   -1.5695    
   2  Index         2.8316        7.4151        .72378E-02   -.44857    
   3  Normalizat    .61904        .38953        .51901E-03   -1.0718    
   4  Prefactor     1.0173        .61586E-01    .13243E-03   -.92157    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.53566e-08
Minuit parameter uncertainties:
  1  183.561
  2  71.2781
  3  0.39127
  4  0.0615903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893314': 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) = 10454.9183571
delta logL = 0.00060776744067

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  4.489e-01  1.836e+02  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  2.832e+00  7.128e+01  0.000e+00  1.000e+01 (-1.000e+00)
569        Scale:  2.096e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.017e+00  6.159e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  6.190e-01  3.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.305 45.598

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/893314/cmap_HighResolution_686448001_686707201_4FGL_J2349.2+4535_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='7.04e-08', time_completed='2022-10-06 01:22:55.847985', job_id='893314', GAL2='1.02', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1665044575.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='6.08e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1725' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 01:22:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 893314: <4FGL_J2349.2+4535_daily_bin1725> in cluster <slac> Done

Job <4FGL_J2349.2+4535_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) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 01:07:28 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:28 2022
Terminated at Thu Oct  6 01:22:56 2022
Results reported at Thu Oct  6 01:22:56 2022

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   817.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            971 sec.

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

