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


Performing analysis on: 4FGL_J2349.2+4535_daily_bin1751
RA = 357.305, Dec = 45.5979
tmin = 693187201, tmax = 693446401
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='90141', job_status='RUN', time_executed='2022-12-23 01:33:21.114132', time_epoch_executed='1671788001.11' WHERE source_name='4FGL J2349.2+4535' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90141

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90141/ft1_4FGL_J2349.2+4535_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90141/ft1_4FGL_J2349.2+4535_daily_bin1751.fits outfile=/scratch/kocevski/90141/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin1751.fits ra=357.305 dec=45.5979 rad=12.0 tmin=693187201.0 tmax=693446401.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.63
user 3.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.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/90141/ft1_filteredMKT_4FGL_J2349.2+4535_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/90141/ft1_filtered_4FGL_J2349.2+4535_daily_bin1751.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.49
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 1218

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90141/ft1_filtered_4FGL_J2349.2+4535_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/90141/ltcube_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.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/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.fits
.....................!
real 12.08
user 11.74
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90141/ft1_filtered_4FGL_J2349.2+4535_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/90141/ltcube_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.fits outfile=/scratch/kocevski/90141/expmap_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.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/90141/ltcube_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.fits
.....................!
real 191.15
user 185.36
sys 5.46

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/90141/ft1_filtered_4FGL_J2349.2+4535_daily_bin1751.fits scfile=/scratch/kocevski/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.fits outfile=/scratch/kocevski/90141/cmap_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90141/ft1_filtered_4FGL_J2349.2+4535_daily_bin1751.fits scfile=/scratch/kocevski/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.fits outfile=/scratch/kocevski/90141/cmap_HighResolution_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90141/ft1_filtered_4FGL_J2349.2+4535_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90141/Model_4FGL_J2349.2+4535_daily_bin1751.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/90141/ft1_filtered_4FGL_J2349.2+4535_daily_bin1751.fits.....................!
real 148.75
user 147.31
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90141/ft1_filtered_4FGL_J2349.2+4535_daily_bin1751.fits', '/scratch/kocevski/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.fits', expMap='/scratch/kocevski/90141/expmap_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.fits', expCube='/scratch/kocevski/90141/ltcube_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90141/Model_4FGL_J2349.2+4535_daily_bin1751.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/90141/ft1_filtered_4FGL_J2349.2+4535_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/90141/ft2_4FGL_J2349.2+4535_daily_bin1751.fits
Exposure map: /scratch/kocevski/90141/expmap_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.fits
Exposure cube: /scratch/kocevski/90141/ltcube_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90141/Model_4FGL_J2349.2+4535_daily_bin1751.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) = 12690.8865634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14327E-03   1.0000          .0000       .10000E+07
     2 'norm      '    8.3422       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25609E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .79529E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    6.5176       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15411E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .45531       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25432E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    10 'Prefactor '    41.022       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29217E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .94758E-07   1.0000          .0000       .10000E+07
    13 'norm      '    .94369E-09   1.0000          .0000       .10000E+07
    14 'norm      '    11.066       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29639E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26395E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .77716E-09   1.0000          .0000       .10000E+07
    18 'Normalizat'    .95782       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95446       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=   12690.78     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1220 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12818E-06    3.4389        .58736E-06** at limit **
   2  norm          8.2849        6.1219        .41038E-06   -.10308    
   3  Prefactor     .23315E-08    3.6790        .17248E-06** at limit **
   4  norm          .79479E-01    4.6495       -.81805E-06** at limit **
   5  Prefactor     6.5163        3.2403        .68821E-06    .46338E-03
   6  Prefactor     .44409E-09    8.4368       -.26150E-05** at limit **
   7  Prefactor     .52912        8.5115        .26424E-05   -.26318E-02
   8  Prefactor     .93392E-06    8.9553       -.15432E-05** at limit **
   9  Prefactor     .99309E-06    7.8285       -.32797E-05** at limit **
  10  Prefactor     40.562        33.034       -.23177E-05    .27973E-01
  11  Prefactor     .42355E-07    3.6183       -.17993E-05** at limit **
  12  norm          .33473E-07    4.4767       -.99458E-07** at limit **
  13  norm           .0000        .49173       -.12012E-06** at limit **
  14  norm          10.993        2.0259       -.33311E-06   -.76468E-01
  15  Prefactor     .13001E-06    20.358        .40041E-05** at limit **
  16  Prefactor      .0000        29.513       -.13138E-05** at limit **
  17  Prefactor     .55511E-10    2.7893       -.98008E-06** at limit **
  18  Normalizat    .95797        .20317        .11517E-04   -.17112E-04
  19  Prefactor     .95449        .63466E-01   -.25465E-05    .68552E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.28175e-07
  norm       = 8.28491
  Prefactor  = 2.33147e-09
  norm       = 0.079479
  Prefactor  = 6.51631
  Prefactor  = 4.44089e-10
  Prefactor  = 0.529118
  Prefactor  = 9.3392e-07
  Prefactor  = 9.93094e-07
  Prefactor  = 40.5624
  Prefactor  = 4.2355e-08
  norm       = 3.34732e-08
  norm       = 0
  norm       = 10.9931
  Prefactor  = 1.30007e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.957971
  Prefactor  = 0.954494
 **********
 **   18 **HESSE 
 **********

 FCN=   12690.78     FROM HESSE     STATUS=OK           312 CALLS     1532 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12818E-06    4.1575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.2849        11.001        .34685E-03   -1.5650    
   3  Prefactor     .23315E-08    3.6953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .79479E-01    .96794        .34070E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.5163        3.2324        .39287E-03   -1.5657    
   6  Prefactor     .44409E-09    8.4753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .52912        17.583        .13201E-01   -1.5693    
   8  Prefactor     .93392E-06    15.502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .99309E-06    15.967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     40.562        34.912        .15615E-03   -1.5581    
  11  Prefactor     .42355E-07    3.9966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .33473E-07    4.6616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .49196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.993        8.5112        .30092E-03   -1.5642    
  15  Prefactor     .13001E-06    21.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        29.301        .16647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    2.7893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .95797        .19236        .98770E-01   -.94452    
  19  Prefactor     .95449        .58632E-01    .31248E-01   -.94262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93861e-07
Minuit parameter uncertainties:
  1  0.00146006
  2  11.0012
  3  0.000185975
  4  0.554728
  5  3.2324
  6  0.000126353
  7  6.10034
  8  0.00760997
  9  0.00796411
  10  34.9127
  11  0.000822688
  12  0.000789877
  13  1.08272e-06
  14  8.51119
  15  0.0033089
  16  2.25803e-06
  17  2.69846e-05
  18  0.192498
  19  0.0586356
Done.

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

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  1.300e-07  3.309e-03  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:  9.545e-01  5.864e-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:  9.580e-01  1.925e-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: 5.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/90141/likelihoodResults_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12690.8070472
delta logL = -0.0227684434449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12690.7842788
delta logL = -3.59268597094e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47229E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0423       1.0000          .0000       10.000    
     3 'Normalizat'    .95793       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95450       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=   12690.78     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      208 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        26.553       -.25452E-06** at limit **
   2  Index         1.9836        5.8490        .12644E-04     .0000    
   3  Normalizat    .95797        .19905       -.30123E-05   -.50127E-04
   4  Prefactor     .95449        .63277E-01   -.46876E-06   -.16180E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.9836
  Normalizat = 0.957971
  Prefactor  = 0.954494
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12690.78     FROM HESSE     STATUS=FAILED        11 CALLS      219 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        26.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42078        1.8055        .12644E-04   -.64761    
   3  Normalizat    .95797        1.2902       -.30123E-05   -.94452    
   4  Prefactor     .95449        1.2965       -.46876E-06   -.94262    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.63202e-12
Minuit parameter uncertainties:
  1  2.68774e-05
  2  1.61044
  3  1.33614
  4  1.34271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90141': 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): 101
logL (Free Index) = 12690.7842788
delta logL = 3.08864400722e-09

Extracting fit parameters...

4FGL J2349.2+4535
   Spectrum: PowerLaw
567    Prefactor:  0.000e+00  2.688e-05  0.000e+00  1.000e+06 ( 1.000e-14)
568        Index:  1.984e+00  1.610e+00  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:  9.545e-01  1.343e+00  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:  9.580e-01  1.336e+00  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/90141/cmap_HighResolution_693187201_693446401_4FGL_J2349.2+4535_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2022-12-23 01:46:55.836088', job_id='90141', GAL2='0.95', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1671788815.84', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.09e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1751' AND source_name='4FGL J2349.2+4535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:46:55 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0039>
Subject: Job 90141: <4FGL_J2349.2+4535_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2349.2+4535_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 01:30:26 2022
Job was executed on host(s) <bullet0039>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:30:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:30:27 2022
Terminated at Fri Dec 23 01:46:56 2022
Results reported at Fri Dec 23 01:46:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.2+4535_daily_bin1751 357.305 45.5979 693187201 693446401 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 :                                   816.75 sec.
    Max Memory :                                 643 MB
    Average Memory :                             313.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2931 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            990 sec.

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

