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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1719
RA = 338.691, Dec = 9.732
tmin = 684892801, tmax = 685152001
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='668223', job_status='RUN', time_executed='2022-09-18 01:22:13.029297', time_epoch_executed='1663489333.03' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668223

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668223/ft1_4FGL_J2234.7+0943_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668223/ft2_4FGL_J2234.7+0943_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668223/ft1_4FGL_J2234.7+0943_daily_bin1719.fits outfile=/scratch/kocevski/668223/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1719.fits ra=338.691 dec=9.732 rad=12.0 tmin=684892801.0 tmax=685152001.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.16
user 2.95
sys 0.20

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

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

Number of photons that the gtmktime cut: 375

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668223/ft1_filtered_4FGL_J2234.7+0943_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/668223/ft2_4FGL_J2234.7+0943_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/668223/ltcube_684892801_685152001_4FGL_J2234.7+0943_daily_bin1719.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/668223/ft2_4FGL_J2234.7+0943_daily_bin1719.fits
.....................!
real 15.69
user 15.31
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668223/ft1_filtered_4FGL_J2234.7+0943_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668223/ft2_4FGL_J2234.7+0943_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/668223/ltcube_684892801_685152001_4FGL_J2234.7+0943_daily_bin1719.fits outfile=/scratch/kocevski/668223/expmap_684892801_685152001_4FGL_J2234.7+0943_daily_bin1719.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/668223/ltcube_684892801_685152001_4FGL_J2234.7+0943_daily_bin1719.fits
.....................!
real 194.56
user 189.98
sys 4.22

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/668223/ft1_filtered_4FGL_J2234.7+0943_daily_bin1719.fits scfile=/scratch/kocevski/668223/ft2_4FGL_J2234.7+0943_daily_bin1719.fits outfile=/scratch/kocevski/668223/cmap_684892801_685152001_4FGL_J2234.7+0943_daily_bin1719.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668223/ft1_filtered_4FGL_J2234.7+0943_daily_bin1719.fits scfile=/scratch/kocevski/668223/ft2_4FGL_J2234.7+0943_daily_bin1719.fits outfile=/scratch/kocevski/668223/cmap_HighResolution_684892801_685152001_4FGL_J2234.7+0943_daily_bin1719.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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668223/ft1_filtered_4FGL_J2234.7+0943_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668223/ft2_4FGL_J2234.7+0943_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668223/Model_4FGL_J2234.7+0943_daily_bin1719.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/668223/ft1_filtered_4FGL_J2234.7+0943_daily_bin1719.fits.....................!
real 52.28
user 50.93
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.409       1.0000          .0000       .10000E+07
     2 'norm      '    .10224       1.0000          .0000       .10000E+07
     3 'norm      '    .36138E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35764E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .95313E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16368E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .33166E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .52382       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.2066       1.0000         .10000E-03   10000.    
    10 'norm      '    3.4214       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63745E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.9840       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5764       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1853       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.788       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.0202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1992       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=   4243.249     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1034 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.399        7.6063        .95131E-07   -.23047E-02
   2  norm           .0000        48.180        .37007E-05** at limit **
   3  norm           .0000        .39202        .51578E-06** at limit **
   4  Prefactor     .11102E-09    74.981       -.39339E-05** at limit **
   5  norm          .55511E-10    3.2553        .73432E-06** at limit **
   6  Prefactor     .35610E-06    14.959       -.32504E-05** at limit **
   7  Prefactor     .34861E-07    13.173        .15335E-05** at limit **
   8  Prefactor     .52369        .30891       -.17509E-05   -.12306E-02
   9  Prefactor     3.1970        5.2191       -.16482E-04   -.48656E-02
  10  norm          3.4231        2.1442       -.37850E-07   -.14913E-02
  11  Prefactor     .70666E-07    22.574       -.67565E-05** at limit **
  12  Prefactor     3.9090        1.1312        .78657E-07    .30332E-02
  13  Prefactor     4.5760        .45412       -.66459E-06    .25072E-03
  14  Prefactor     .55339E-06    260.27       -.45871E-04** at limit **
  15  Prefactor     10.853        1.3183        .53568E-07    .26421E-01
  16  Prefactor     .29716E-05    10.101       -.14560E-05** at limit **
  17  Normalizat    .10000E-01    .28404        .70240E-04** at limit **
  18  Prefactor     1.1996        .11335       -.41617E-07    .20969E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3988
  norm       = 0
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 5.55112e-11
  Prefactor  = 3.56104e-07
  Prefactor  = 3.4861e-08
  Prefactor  = 0.523686
  Prefactor  = 3.197
  norm       = 3.42314
  Prefactor  = 7.06657e-08
  Prefactor  = 3.90899
  Prefactor  = 4.57598
  Prefactor  = 5.53391e-07
  Prefactor  = 10.853
  Prefactor  = 2.97162e-06
  Normalizat = 0.01
  Prefactor  = 1.19961
 **********
 **   18 **HESSE 
 **********

 FCN=   4243.249     FROM HESSE     STATUS=OK           278 CALLS     1312 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.399        7.5959        .25488E-03   -1.5629    
   2  norm           .0000        47.941        .13869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .39527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    75.011        .16161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .55511E-10    3.2643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .35610E-06    16.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .34861E-07    13.882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .52369        .32956        .59466E-02   -1.5563    
   9  Prefactor     3.1970        21.358        .56564E-02   -1.5350    
  10  norm          3.4231        2.2234        .54663E-03   -1.5671    
  11  Prefactor     .70666E-07    22.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.9090        21.953        .50507E-03   -1.5668    
  13  Prefactor     4.5760        .45839        .29690E-02   -1.5280    
  14  Prefactor     .55339E-06    260.76        .10478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.853        10.634        .30478E-03   -1.5642    
  16  Prefactor     .29716E-05    134.25        .12793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .10000E-01    .18485        .32094       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1996        .14191        .34650E-01   -.86343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53781e-07
Minuit parameter uncertainties:
  1  7.5959
  2  1.49712e-05
  3  1.86503e-07
  4  0.000158559
  5  3.26986e-05
  6  0.00486163
  7  0.00139078
  8  0.329562
  9  16.5347
  10  2.22335
  11  0.00254259
  12  18.5272
  13  0.45839
  14  0.0240257
  15  10.6344
  16  0.0399473
  17  6.79198e-07
  18  0.141952
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.197e+00  1.653e+01  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.200e+00  1.420e-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.000e-02  6.792e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 338.691 9.732
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.75e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668223/likelihoodResults_684892801_685152001_4FGL_J2234.7+0943_daily_bin1719.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4243.22677549
delta logL = 0.0222697438494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4243.21418355
delta logL = 0.0348616752153

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4727       1.0000         .10000E-03   10000.    
     2 'Index1    '    .88851E-04   1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1989       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4243.214     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      262 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4614        17.011       -.28824E-05   -.41079E-04
   2  Index1        .34872E-11    9.3784       -.28410E-03** at limit **
   3  Normalizat    .10000E-01    .18062        .57986E-05** at limit **
   4  Prefactor     1.1988        .13592       -.21320E-06   -.45019E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.46136
  Index1     = 3.48721e-12
  Normalizat = 0.01
  Prefactor  = 1.19877
 **********
 **   18 **HESSE 
 **********

 FCN=   4243.214     FROM HESSE     STATUS=OK            31 CALLS      293 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4614        17.055        .17176E-03   -1.5241    
   2  Index1        .34872E-11    9.2692        .13369       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .10000E-01    .28981        .13100E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1988        .10404        .20183E-03   -.86369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17393e-10
Minuit parameter uncertainties:
  1  17.0702
  2  1.39191e-05
  3  2.4249e-06
  4  0.104055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668223': 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): 0
logL (Free Index) = 4243.21417949
delta logL = 0.0348657386266

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  5.461e+00  1.707e+01  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  3.487e-12  1.392e-05  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.199e+00  1.041e-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.000e-02  2.425e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 338.691 9.732

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/668223/cmap_HighResolution_684892801_685152001_4FGL_J2234.7+0943_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.75e-05', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2022-09-18 01:29:37.024667', job_id='668223', GAL2='1.20', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1663489777.02', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='3.49e-02', ts2='0.12', photon_index_error='0.00', photon_index='0.94' WHERE bin_id='1719' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:29:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 668223: <4FGL_J2234.7+0943_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 18 01:20:18 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:20:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:20:30 2022
Terminated at Sun Sep 18 01:29:37 2022
Results reported at Sun Sep 18 01:29:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1719 338.691 9.732 684892801 685152001 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 :                                   446.66 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            559 sec.

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

