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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1735
RA = 338.691, Dec = 9.732
tmin = 689040001, tmax = 689299201
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='866639', job_status='RUN', time_executed='2022-11-05 00:38:53.931534', time_epoch_executed='1667633933.93' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866639

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866639/ft1_4FGL_J2234.7+0943_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866639/ft1_4FGL_J2234.7+0943_daily_bin1735.fits outfile=/scratch/kocevski/866639/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1735.fits ra=338.691 dec=9.732 rad=12.0 tmin=689040001.0 tmax=689299201.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.64
user 3.42
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.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/866639/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/866639/ft1_filtered_4FGL_J2234.7+0943_daily_bin1735.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.34
sys 0.14

Number of photons that the gtmktime cut: 907

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866639/ft1_filtered_4FGL_J2234.7+0943_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866639/ltcube_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.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/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits
.....................!
real 12.39
user 12.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866639/ft1_filtered_4FGL_J2234.7+0943_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866639/ltcube_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.fits outfile=/scratch/kocevski/866639/expmap_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.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/866639/ltcube_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.fits
.....................!
real 192.75
user 187.28
sys 5.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2234.7+0943 @ 338.691 9.732

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/866639/ft1_filtered_4FGL_J2234.7+0943_daily_bin1735.fits scfile=/scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits outfile=/scratch/kocevski/866639/cmap_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.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=338.691 yref=9.732 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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866639/ft1_filtered_4FGL_J2234.7+0943_daily_bin1735.fits scfile=/scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits outfile=/scratch/kocevski/866639/cmap_HighResolution_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.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=338.691 yref=9.732 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866639/ft1_filtered_4FGL_J2234.7+0943_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866639/Model_4FGL_J2234.7+0943_daily_bin1735.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/866639/ft1_filtered_4FGL_J2234.7+0943_daily_bin1735.fits.....................!
real 98.90
user 97.46
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866639/ft1_filtered_4FGL_J2234.7+0943_daily_bin1735.fits', '/scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits', expMap='/scratch/kocevski/866639/expmap_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.fits', expCube='/scratch/kocevski/866639/ltcube_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866639/Model_4FGL_J2234.7+0943_daily_bin1735.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.7+0943'

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.256e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  9.408e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/866639/ft1_filtered_4FGL_J2234.7+0943_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866639/ft2_4FGL_J2234.7+0943_daily_bin1735.fits
Exposure map: /scratch/kocevski/866639/expmap_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866639/ltcube_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866639/Model_4FGL_J2234.7+0943_daily_bin1735.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) = 9702.00859694

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5223       1.0000          .0000       .10000E+07
     2 'norm      '    .46921E-04   1.0000          .0000       .10000E+07
     3 'norm      '    2.2328       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.923       1.0000          .0000       .10000E+07
     5 'norm      '    .19824E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .39877E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .56595E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4148       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2780       1.0000         .10000E-03   10000.    
    10 'norm      '    .65933       1.0000          .0000       .10000E+07
    11 'Prefactor '    19.902       1.0000          .0000       .10000E+07
    12 'Prefactor '    .65948E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.9867       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.9649       1.0000          .0000       .10000E+07
    15 'Prefactor '    .93303E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .39758E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0164       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90124       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9702.005     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1401 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5209        3.3530        .45104E-06    .43142E-02
   2  norm          .66613E-09    116.30       -.91180E-05** at limit **
   3  norm          2.2322        1.1259       -.76627E-07   -.12375E-01
   4  Prefactor     12.786        19.443        .10954E-04    .77562E-02
   5  norm          .16653E-09    7.4999        .12670E-05** at limit **
   6  Prefactor     .66613E-09    11.829        .19627E-05** at limit **
   7  Prefactor     .21012E-05    114.67        .43301E-04** at limit **
   8  Prefactor     2.4148        .33377        .68969E-06    .24423E-03
   9  Prefactor     1.2793        4.0977       -.96472E-05    .36816E-04
  10  norm          .65931        .80017       -.71452E-06   -.40162E-02
  11  Prefactor     19.903        1.2925        .36727E-06    .70940E-03
  12  Prefactor     .24425E-08    19.291        .48566E-06** at limit **
  13  Prefactor     2.9867        .29481        .20525E-06   -.50091E-03
  14  Prefactor     4.9755        1.1155        .36717E-06   -.69915E-03
  15  Prefactor     .22204E-09    5.1111        .12413E-05** at limit **
  16  Prefactor     .11102E-09    5.4745        .19586E-05** at limit **
  17  Normalizat    1.0168        .26188       -.33347E-04    .49432E-03
  18  Prefactor     .90117        .13827       -.70260E-05    .48619E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.52088
  norm       = 6.66134e-10
  norm       = 2.23221
  Prefactor  = 12.7857
  norm       = 1.66533e-10
  Prefactor  = 6.66134e-10
  Prefactor  = 2.10121e-06
  Prefactor  = 2.41476
  Prefactor  = 1.27934
  norm       = 0.659308
  Prefactor  = 19.9033
  Prefactor  = 2.44249e-09
  Prefactor  = 2.98668
  Prefactor  = 4.97545
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Normalizat = 1.01683
  Prefactor  = 0.90117
 **********
 **   18 **HESSE 
 **********

 FCN=   9702.005     FROM HESSE     STATUS=OK           286 CALLS     1687 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5209        3.3173        .47318E-03   -1.5665    
   2  norm          .66613E-09    113.88        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2322        1.1287        .68769E-03   -1.5678    
   4  Prefactor     12.786        23.630        .27839E-03   -1.5636    
   5  norm          .16653E-09    7.4868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .66613E-09    11.791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .21012E-05    10.388        .15287E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4148        .33327        .44957E-02   -1.5397    
   9  Prefactor     1.2793        4.1720        .98218E-02   -1.5482    
  10  norm          .65931        .80554        .64073E-03   -1.5692    
  11  Prefactor     19.903        21.762        .22423E-03   -1.5619    
  12  Prefactor     .24425E-08    19.284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.9867        .29623        .36079E-02   -1.5362    
  14  Prefactor     4.9755        14.604        .45111E-03   -1.5663    
  15  Prefactor     .22204E-09    5.1316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    5.4909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0168        .22441        .88016E-01   -.92469    
  18  Prefactor     .90117        .11684        .45021E-01   -.96100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1887e-08
Minuit parameter uncertainties:
  1  3.31726
  2  0.000560174
  3  1.12867
  4  23.63
  5  7.34623e-05
  6  0.000175274
  7  0.00934395
  8  0.333274
  9  4.17296
  10  0.805538
  11  21.7625
  12  0.000435457
  13  0.296227
  14  14.6038
  15  6.96742e-05
  16  4.61353e-05
  17  0.224621
  18  0.116869
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.279e+00  4.173e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  9.408e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.012e-01  1.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.017e+00  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 338.691 9.732
Photon Flux Upper Limit: 4.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866639/likelihoodResults_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.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) = 9699.62300745
delta logL = 2.38156308276

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9699.54804886
delta logL = 2.45652167089

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30895       1.0000         .10000E-03   10000.    
     2 'Index1    '    3.5402       1.0000          .0000       10.000    
     3 'Normalizat'    .86868       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94398       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9699.548     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      234 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30869        1.6851        .59599E-02    .23064E-02
   2  Index1        3.5406        1.5519        .91582E-01    .30546E-03
   3  Normalizat    .86877        .56818E-01    .93795E-01    .37162E-04
   4  Prefactor     .94394        .30714E-01    .45563E-01    .35952E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.308692
  Index1     = 3.54061
  Normalizat = 0.868769
  Prefactor  = 0.943939
 **********
 **   18 **HESSE 
 **********

 FCN=   9699.548     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      267 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30869        3.8781        .26882E-04   -1.5597    
   2  Index1        3.5406        2.7496        .34208E-02   -.29619    
   3  Normalizat    .86877        .23951        .41554E-03   -.97566    
   4  Prefactor     .94394        .12951        .21629E-03   -.94622    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.67148e-07
Minuit parameter uncertainties:
  1  2.18811
  2  2.92938
  3  0.239801
  4  0.129555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866639': 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) = 9699.54804869
delta logL = 2.45652183628

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.087e-01  2.188e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  3.541e+00  2.929e+00  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.439e-01  1.296e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.688e-01  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.29
Ra Dec: 338.691 9.732
Photon Index (Free Index): 3.54 +/- 2.93
Photon Flux (Free Index): 1.84e-07 +/- 9.41e-08
Energy Flux (Free Index): 2.83e-05 +/- 1.89e-05

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/866639/cmap_HighResolution_689040001_689299201_4FGL_J2234.7+0943_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.15e-05', comment='SUCCESS', energy_flux2='2.83e-05', dlogl='2.46e+00', photon_flux2='1.84e-07', job_status='DONE', time_completed='2022-11-05 00:49:36.257112', photon_index_error2='2.93', photon_index2='3.54', ts='0.12', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='4.26e-08', energy_flux_error2='1.89e-05', EG='1.02', time_epoch_completed='1667634576.26', return_code='0', job_id='866639', GAL2='0.94', EG2='0.87', return_code2='102', photon_flux_error2='9.41e-08', ts2='5.29', photon_index='0.94' WHERE bin_id='1735' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:49:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 866639: <4FGL_J2234.7+0943_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:23 2022
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:24 2022
Terminated at Sat Nov  5 00:49:37 2022
Results reported at Sat Nov  5 00:49:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1735 338.691 9.732 689040001 689299201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.7+0943 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   644.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            854 sec.

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

