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 208 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1665
RA = 353.557, Dec = 7.602
tmin = 670896001, tmax = 671155201
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='358185', job_status='RUN', time_executed='2022-04-09 00:43:57.060139', time_epoch_executed='1649490237.06' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/358185

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/358185/ft1_4FGL_J2334.2+0736_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/358185/ft1_4FGL_J2334.2+0736_daily_bin1665.fits outfile=/scratch/kocevski/358185/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1665.fits ra=353.557 dec=7.602 rad=12.0 tmin=670896001.0 tmax=671155201.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.41
user 5.12
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.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/358185/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1665.fits evtable="EVENTS" outfile="/scratch/kocevski/358185/ft1_filtered_4FGL_J2334.2+0736_daily_bin1665.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: 591

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/358185/ft1_filtered_4FGL_J2334.2+0736_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/358185/ltcube_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.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/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits
.....................!
real 12.54
user 12.20
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/358185/ft1_filtered_4FGL_J2334.2+0736_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/358185/ltcube_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.fits outfile=/scratch/kocevski/358185/expmap_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.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/358185/ltcube_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.fits
.....................!
real 191.76
user 185.57
sys 5.73

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

Setting source of interest to:
4FGL J2334.2+0736 @ 353.557 7.602

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/358185/ft1_filtered_4FGL_J2334.2+0736_daily_bin1665.fits scfile=/scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits outfile=/scratch/kocevski/358185/cmap_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.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=353.557 yref=7.602 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/358185/ft1_filtered_4FGL_J2334.2+0736_daily_bin1665.fits scfile=/scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits outfile=/scratch/kocevski/358185/cmap_HighResolution_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.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=353.557 yref=7.602 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/358185/ft1_filtered_4FGL_J2334.2+0736_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/358185/Model_4FGL_J2334.2+0736_daily_bin1665.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/358185/ft1_filtered_4FGL_J2334.2+0736_daily_bin1665.fits.....................!
real 72.08
user 70.63
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/358185/ft1_filtered_4FGL_J2334.2+0736_daily_bin1665.fits', '/scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits', expMap='/scratch/kocevski/358185/expmap_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.fits', expCube='/scratch/kocevski/358185/ltcube_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/358185/Model_4FGL_J2334.2+0736_daily_bin1665.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.2+0736'

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  5.621e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/358185/ft1_filtered_4FGL_J2334.2+0736_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/358185/ft2_4FGL_J2334.2+0736_daily_bin1665.fits
Exposure map: /scratch/kocevski/358185/expmap_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.fits
Exposure cube: /scratch/kocevski/358185/ltcube_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/358185/Model_4FGL_J2334.2+0736_daily_bin1665.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) = 6687.61158941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.299       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.520       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.023       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10518E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .44530E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.2921       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    53.311       1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.389       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1043       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82237       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6687.566     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2764 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.291        22.928       -.33649E-05    .43847E-04
   2  Prefactor     .10000E-03    6.4841       -.29239E-05** at limit **
   3  Prefactor     19.510        33.281       -.12801E-04    .34027E-04
   4  Prefactor     .10000E-03    1.8839       -.77609E-07** at limit **
   5  Prefactor     .10000E-03    5.0032       -.19696E-06** at limit **
   6  Prefactor     16.023        14.431       -.24504E-06    .65346E-04
   7  norm          .10000E-03    .27506       -.65187E-07** at limit **
   8  Prefactor     .10000E-03    2.3017        .18140E-07** at limit **
   9  Prefactor     .10000E-03    7.8221        .15048E-05** at limit **
  10  Prefactor     .10000E-03    35.857       -.10600E-04** at limit **
  11  norm          .10000E-03    3.5526       -.13919E-05** at limit **
  12  Prefactor     .10000E-03    2.3331       -.70371E-07** at limit **
  13  Prefactor     .10000E-03    50.436        .16993E-04** at limit **
  14  Prefactor     .10007E-03    7.5910        .13292E-05** at limit **
  15  Prefactor     .10000E-03    15.099        .17521E-05** at limit **
  16  norm          .10000E-03    14.921        .44146E-06** at limit **
  17  norm          4.3349        19.088       -.25549E-05   -.28419E-03
  18  Prefactor     .10000E-03    2.4087        .21209E-06** at limit **
  19  Prefactor     53.250        45.055       -.56257E-04    .39068E-04
  20  Prefactor     36.382        26.500        .19446E-05    .98236E-04
  21  Prefactor     .10000E-03    5.8118        .79661E-06** at limit **
  22  Prefactor     .10000E-03    7.2767        .18496E-05** at limit **
  23  Normalizat    1.1046        .20110        .99522E-05   -.20700E-03
  24  Prefactor     .82227        .12151        .11081E-05    .38430E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.2912
  Prefactor  = 0.0001
  Prefactor  = 19.51
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0228
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100066
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.33486
  Prefactor  = 0.0001
  Prefactor  = 53.2502
  Prefactor  = 36.3819
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10456
  Prefactor  = 0.822274
 **********
 **   18 **HESSE 
 **********

 FCN=   6687.566     FROM HESSE     STATUS=OK           385 CALLS     3149 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.291        23.008        .66519E-04   -1.4502    
   2  Prefactor     .10000E-03    6.4854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.510        33.293        .90653E-04   -1.4824    
   4  Prefactor     .10000E-03    1.8900        .10962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.0192        .17864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.023        14.442        .10006E-03   -1.4907    
   7  norm          .10000E-03    .28296        .83694E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.3034        .12116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.8320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    9.0227        .29845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.3388        .12195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    50.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10007E-03    23.408        .36012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    15.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3349        15.047        .19446E-03   -1.5292    
  18  Prefactor     .10000E-03    2.4821        .24611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     53.250        45.018        .54933E-04   -1.4247    
  20  Prefactor     36.382        26.550        .66437E-04   -1.4501    
  21  Prefactor     .10000E-03    5.8577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.3011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1046        .23485        .28841E-03   -.89606    
  24  Prefactor     .82227        .14280        .20727E-03   -.98912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27135e-09
Minuit parameter uncertainties:
  1  23.014
  2  5.06999e-06
  3  33.3243
  4  7.25537e-06
  5  2.24686e-05
  6  14.4455
  7  2.29282e-06
  8  4.07882e-06
  9  3.39516e-05
  10  0.000262511
  11  0.000332268
  12  1.15192e-05
  13  2.30495e-06
  14  0.00248858
  15  8.80338e-05
  16  0.000136921
  17  15.06
  18  2.68572e-05
  19  45.0465
  20  26.5588
  21  6.74252e-05
  22  3.83966e-06
  23  0.235077
  24  0.14286
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.000e-04  8.803e-05  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  8.223e-01  1.429e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.105e+00  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 9.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/358185/likelihoodResults_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.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) = 6687.56582742
delta logL = -0.00031491343907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6687.56551252
delta logL = -8.80663719727e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4626       1.0000          .0000       10.000    
     3 'Normalizat'    1.1046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+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=   6687.566     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      244 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10034E-03    224.77        .18142E-02** at limit **
   2  Index         2.4277        5.3435        .50000        .35195E-05
   3  Normalizat    1.1046        .19627E-01    .28841E-03    .21680E-05
   4  Prefactor     .82227        .12427E-01    .20727E-03    .29070E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100344
  Index      = 2.42768
  Normalizat = 1.10456
  Prefactor  = 0.82227
 **********
 **   18 **HESSE 
 **********

 FCN=   6687.566     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10034E-03    947.35        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4277        8.7781        .50000       -.54038    
   3  Normalizat    1.1046        .43367E-01    .11536E-04   -.89605    
   4  Prefactor     .82227        .27457E-01    .82908E-05   -.98913    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.45685e-09
Minuit parameter uncertainties:
  1  0.0367041
  2  1472.97
  3  0.0433682
  4  0.0274573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/358185': 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) = 6687.56551248
delta logL = 2.98996383208e-08

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.003e-04  3.670e-02  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.428e+00  1.473e+03  0.000e+00  1.000e+01 (-1.000e+00)
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  8.223e-01  2.746e-02  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.105e+00  4.337e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.557 7.602

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/358185/cmap_HighResolution_670896001_671155201_4FGL_J2334.2+0736_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.35e-03', job_status='DONE', photon_flux_upper_limit='9.47e-08', time_completed='2022-04-09 00:55:11.884675', job_id='358185', GAL2='0.82', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1649490911.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.99e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1665' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:55:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 358185: <4FGL_J2334.2+0736_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:40:16 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:40:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:40:18 2022
Terminated at Sat Apr  9 00:55:12 2022
Results reported at Sat Apr  9 00:55:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1665 353.557 7.602 670896001 671155201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.2+0736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   677.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            896 sec.

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

