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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1772
RA = 338.691, Dec = 9.732
tmin = 698630401, tmax = 698889601
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='653607', job_status='RUN', time_executed='2023-02-24 03:02:19.483449', time_epoch_executed='1677236539.48' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/653607

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/653607/ft1_4FGL_J2234.7+0943_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/653607/ft2_4FGL_J2234.7+0943_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/653607/ft1_4FGL_J2234.7+0943_daily_bin1772.fits outfile=/scratch/kocevski/653607/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1772.fits ra=338.691 dec=9.732 rad=12.0 tmin=698630401.0 tmax=698889601.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.01
user 2.79
sys 0.21

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

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

Number of photons that the gtmktime cut: 667

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/653607/ft1_filtered_4FGL_J2234.7+0943_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/653607/ft2_4FGL_J2234.7+0943_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/653607/ltcube_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.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/653607/ft2_4FGL_J2234.7+0943_daily_bin1772.fits
.....................!
real 12.94
user 12.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/653607/ft1_filtered_4FGL_J2234.7+0943_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/653607/ft2_4FGL_J2234.7+0943_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/653607/ltcube_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.fits outfile=/scratch/kocevski/653607/expmap_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.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/653607/ltcube_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.fits
.....................!
real 191.41
user 186.09
sys 4.99

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/653607/ft1_filtered_4FGL_J2234.7+0943_daily_bin1772.fits scfile=/scratch/kocevski/653607/ft2_4FGL_J2234.7+0943_daily_bin1772.fits outfile=/scratch/kocevski/653607/cmap_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.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.66
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/653607/ft1_filtered_4FGL_J2234.7+0943_daily_bin1772.fits scfile=/scratch/kocevski/653607/ft2_4FGL_J2234.7+0943_daily_bin1772.fits outfile=/scratch/kocevski/653607/cmap_HighResolution_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/653607/ft1_filtered_4FGL_J2234.7+0943_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/653607/ft2_4FGL_J2234.7+0943_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/653607/Model_4FGL_J2234.7+0943_daily_bin1772.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/653607/ft1_filtered_4FGL_J2234.7+0943_daily_bin1772.fits.....................!
real 81.17
user 79.78
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/653607/ft1_filtered_4FGL_J2234.7+0943_daily_bin1772.fits', '/scratch/kocevski/653607/ft2_4FGL_J2234.7+0943_daily_bin1772.fits', expMap='/scratch/kocevski/653607/expmap_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.fits', expCube='/scratch/kocevski/653607/ltcube_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/653607/Model_4FGL_J2234.7+0943_daily_bin1772.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/653607/ft1_filtered_4FGL_J2234.7+0943_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/653607/ft2_4FGL_J2234.7+0943_daily_bin1772.fits
Exposure map: /scratch/kocevski/653607/expmap_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.fits
Exposure cube: /scratch/kocevski/653607/ltcube_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/653607/Model_4FGL_J2234.7+0943_daily_bin1772.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) = 7459.16678962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8958       1.0000          .0000       .10000E+07
     2 'norm      '    .39839E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .12396E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    54.860       1.0000          .0000       .10000E+07
     5 'norm      '    .21716E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .98867E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    14.095       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9135       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0910       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4074       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12848E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.5658       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.3890       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .31647E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3624       1.0000          .0000       .10000E+07
    16 'Prefactor '    31.280       1.0000          .0000       .10000E+07
    17 'Normalizat'    .62773       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2357       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=   7459.149     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1383 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8982        4.5328       -.29031E-06   -.44611E-03
   2  norm          .26584E-05    70.529       -.72539E-06** at limit **
   3  norm           .0000        1.0319       -.10247E-07** at limit **
   4  Prefactor     54.798        19.224       -.36240E-06    .15864    
   5  norm           .0000        2.3272        .48079E-06** at limit **
   6  Prefactor     .33540E-06    50.464       -.42347E-05** at limit **
   7  Prefactor     14.113        2.1097       -.57710E-07   -.33103E-01
   8  Prefactor     1.9132        .37902       -.37068E-06   -.71403E-03
   9  Prefactor     3.2609        9.7674        .44225E-05   -.72454E-03
  10  norm          1.4064        1.1479       -.51521E-07   -.99321E-03
  11  Prefactor     .94369E-09    10.419       -.19632E-07** at limit **
  12  Prefactor     8.6516        7.3440        .23368E-06    .14364    
  13  Prefactor     2.3891        .28442       -.26202E-07    .46133E-03
  14  Prefactor     .99920E-09    22.761        .10618E-05** at limit **
  15  Prefactor     4.3606        4.7033        .31907E-07    .26945E-03
  16  Prefactor     31.437        26.445        .63973E-06    .12986E-01
  17  Normalizat    .62813        .35391       -.21886E-04   -.45834E-04
  18  Prefactor     1.2354        .18242        .39597E-05   -.10824E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89821
  norm       = 2.65837e-06
  norm       = 0
  Prefactor  = 54.7976
  norm       = 0
  Prefactor  = 3.35398e-07
  Prefactor  = 14.1125
  Prefactor  = 1.91317
  Prefactor  = 3.26085
  norm       = 1.40644
  Prefactor  = 9.4369e-10
  Prefactor  = 8.6516
  Prefactor  = 2.38907
  Prefactor  = 9.99201e-10
  Prefactor  = 4.36064
  Prefactor  = 31.4373
  Normalizat = 0.628132
  Prefactor  = 1.2354
 **********
 **   18 **HESSE 
 **********

 FCN=   7459.149     FROM HESSE     STATUS=OK           294 CALLS     1677 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8982        4.5621        .45435E-03   -1.5664    
   2  norm          .26584E-05    72.896        .15971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .46076        .20198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     54.798        66.785        .13502E-03   -1.5560    
   5  norm           .0000        2.3206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33540E-06    49.415        .13960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.113        16.002        .26652E-03   -1.5633    
   8  Prefactor     1.9132        .38217        .48965E-02   -1.5431    
   9  Prefactor     3.2609        9.7839        .57669E-02   -1.5347    
  10  norm          1.4064        1.1508        .91328E-03   -1.5684    
  11  Prefactor     .94369E-09    10.477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.6516        13.277        .34226E-03   -1.5649    
  13  Prefactor     2.3891        .28629        .33278E-02   -1.5399    
  14  Prefactor     .99920E-09    22.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.3606        4.7068        .48200E-03   -1.5666    
  16  Prefactor     31.437        32.417        .17883E-03   -1.5596    
  17  Normalizat    .62813        .33929        .12592       -1.0680    
  18  Prefactor     1.2354        .16797        .48863E-01   -.85249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56578e-06
Minuit parameter uncertainties:
  1  4.56212
  2  0.0278417
  3  2.07333e-06
  4  66.7857
  5  1.58255e-05
  6  0.00814209
  7  16.0018
  8  0.382171
  9  9.7887
  10  1.15082
  11  0.000198334
  12  13.2766
  13  0.28629
  14  0.000298078
  15  4.70677
  16  32.4171
  17  0.340421
  18  0.168042
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.261e+00  9.789e+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:  1.235e+00  1.680e-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:  6.281e-01  3.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/653607/likelihoodResults_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.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) = 7457.60116655
delta logL = 1.54761197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7457.57987971
delta logL = 1.56889881328

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59972       1.0000         .10000E-03   10000.    
     2 'Index1    '    3.4454       1.0000          .0000       10.000    
     3 'Normalizat'    .39480       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3056       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=   7457.580     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      236 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59802        3.8504        .82212E-02    .13600E-02
   2  Index1        3.4467        1.6979        .93442E-01    .21696E-03
   3  Normalizat    .39510        .71743E-01    .15641        .79114E-04
   4  Prefactor     1.3054        .37919E-01    .47567E-01    .22021E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.598018
  Index1     = 3.44665
  Normalizat = 0.395103
  Prefactor  = 1.30542
 **********
 **   18 **HESSE 
 **********

 FCN=   7457.580     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59802        8.9730        .36844E-04   -1.5553    
   2  Index1        3.4467        3.0306        .34282E-02   -.31590    
   3  Normalizat    .39510        .33346        .69231E-03   -1.1756    
   4  Prefactor     1.3054        .17689        .21024E-03   -.83146    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.16035e-07
Minuit parameter uncertainties:
  1  4.63338
  2  3.28633
  3  0.335154
  4  0.176969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/653607': 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) = 7457.57987854
delta logL = 1.56889998677

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  5.980e-01  4.633e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  3.447e+00  3.286e+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:  1.305e+00  1.770e-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:  3.951e-01  3.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.67
Ra Dec: 338.691 9.732
Photon Index (Free Index): 3.45 +/- 3.29
Photon Flux (Free Index): 2.83e-07 +/- 1.83e-07
Energy Flux (Free Index): 4.44e-05 +/- 3.07e-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/653607/cmap_HighResolution_698630401_698889601_4FGL_J2234.7+0943_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-05', comment='SUCCESS', energy_flux2='4.44e-05', dlogl='1.57e+00', photon_flux2='2.83e-07', job_status='DONE', time_completed='2023-02-24 03:11:36.485495', photon_index_error2='3.29', photon_index2='3.45', ts='0.14', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='7.97e-08', energy_flux_error2='3.07e-05', EG='0.63', time_epoch_completed='1677237096.49', return_code='0', job_id='653607', GAL2='1.31', EG2='0.40', return_code2='102', photon_flux_error2='1.83e-07', ts2='3.67', photon_index='0.94' WHERE bin_id='1772' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 03:11:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 653607: <4FGL_J2234.7+0943_daily_bin1772> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1772> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Feb 24 03:00:30 2023
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 03:00:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 03:00:30 2023
Terminated at Fri Feb 24 03:11:36 2023
Results reported at Fri Feb 24 03:11:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1772 338.691 9.732 698630401 698889601 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 :                                   558.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             344.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            666 sec.

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

