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 72 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_bin1721
RA = 338.691, Dec = 9.732
tmin = 685411201, tmax = 685670401
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='70672', job_status='RUN', time_executed='2022-09-24 01:14:23.575498', time_epoch_executed='1664007263.58' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70672

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70672/ft1_4FGL_J2234.7+0943_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70672/ft2_4FGL_J2234.7+0943_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70672/ft1_4FGL_J2234.7+0943_daily_bin1721.fits outfile=/scratch/kocevski/70672/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1721.fits ra=338.691 dec=9.732 rad=12.0 tmin=685411201.0 tmax=685670401.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.22
user 4.96
sys 0.23

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

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

Number of photons that the gtmktime cut: 733

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70672/ft1_filtered_4FGL_J2234.7+0943_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70672/ft2_4FGL_J2234.7+0943_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70672/ltcube_685411201_685670401_4FGL_J2234.7+0943_daily_bin1721.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/70672/ft2_4FGL_J2234.7+0943_daily_bin1721.fits
.....................!
real 14.53
user 14.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70672/ft1_filtered_4FGL_J2234.7+0943_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70672/ft2_4FGL_J2234.7+0943_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70672/ltcube_685411201_685670401_4FGL_J2234.7+0943_daily_bin1721.fits outfile=/scratch/kocevski/70672/expmap_685411201_685670401_4FGL_J2234.7+0943_daily_bin1721.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/70672/ltcube_685411201_685670401_4FGL_J2234.7+0943_daily_bin1721.fits
.....................!
real 192.35
user 187.09
sys 4.85

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/70672/ft1_filtered_4FGL_J2234.7+0943_daily_bin1721.fits scfile=/scratch/kocevski/70672/ft2_4FGL_J2234.7+0943_daily_bin1721.fits outfile=/scratch/kocevski/70672/cmap_685411201_685670401_4FGL_J2234.7+0943_daily_bin1721.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70672/ft1_filtered_4FGL_J2234.7+0943_daily_bin1721.fits scfile=/scratch/kocevski/70672/ft2_4FGL_J2234.7+0943_daily_bin1721.fits outfile=/scratch/kocevski/70672/cmap_HighResolution_685411201_685670401_4FGL_J2234.7+0943_daily_bin1721.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/70672/ft1_filtered_4FGL_J2234.7+0943_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70672/ft2_4FGL_J2234.7+0943_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/70672/Model_4FGL_J2234.7+0943_daily_bin1721.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/70672/ft1_filtered_4FGL_J2234.7+0943_daily_bin1721.fits.....................!
real 79.70
user 78.29
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3260       1.0000          .0000       .10000E+07
     2 'norm      '    .94837E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.5662       1.0000          .0000       .10000E+07
     4 'Prefactor '    .65679E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .17856E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12469E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.3048       1.0000          .0000       .10000E+07
     8 'Prefactor '    .92643       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0075       1.0000         .10000E-03   10000.    
    10 'norm      '    2.0228       1.0000          .0000       .10000E+07
    11 'Prefactor '    .15004E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    35.464       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9892       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.357       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20768E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    21.628       1.0000          .0000       .10000E+07
    17 'Normalizat'    .63815       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96037       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=   7890.151     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      790 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3265        2.4705       -.26277E-06    .49480E-03
   2  norm          .39080E-07    7.1968        .44411E-06** at limit **
   3  norm          1.5672        1.1608        .11640E-06    .50971E-04
   4  Prefactor     .35250E-07    5.9681       -.25361E-05** at limit **
   5  norm          .90483E-08    6.2978        .42391E-06** at limit **
   6  Prefactor     .19473E-06    6.3492        .10327E-05** at limit **
   7  Prefactor     7.0731        1.2447       -.15275E-07    .33459E-02
   8  Prefactor     .92601        .25857        .30195E-06    .19735E-03
   9  Prefactor     1.0727        28.364       -.14030E-04   -.32299E-06
  10  norm          2.0336        1.9131        .49559E-07    .57241E-03
  11  Prefactor     .21039E-06    12.172       -.69433E-06** at limit **
  12  Prefactor     34.875        13.822       -.11490E-05   -.16051    
  13  Prefactor     3.9900        .36022        .36296E-06    .38218E-03
  14  Prefactor     16.680        14.477        .18999E-05   -.75283E-01
  15  Prefactor     .10547E-08    4.2896        .68838E-06** at limit **
  16  Prefactor     21.381        17.867       -.20633E-05    .27311E-01
  17  Normalizat    .63857        .23852        .27908E-04   -.19976E-05
  18  Prefactor     .96026        .13699       -.57741E-05   -.41099E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.32655
  norm       = 3.90799e-08
  norm       = 1.56722
  Prefactor  = 3.52496e-08
  norm       = 9.04832e-09
  Prefactor  = 1.94733e-07
  Prefactor  = 7.07313
  Prefactor  = 0.926013
  Prefactor  = 1.07267
  norm       = 2.03357
  Prefactor  = 2.10387e-07
  Prefactor  = 34.8748
  Prefactor  = 3.99
  Prefactor  = 16.68
  Prefactor  = 1.05471e-09
  Prefactor  = 21.3811
  Normalizat = 0.638565
  Prefactor  = 0.960265
 **********
 **   18 **HESSE 
 **********

 FCN=   7890.151     FROM HESSE     STATUS=OK           286 CALLS     1076 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3265        2.4789        .55478E-03   -1.5671    
   2  norm          .39080E-07    7.2602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5672        1.1675        .84947E-03   -1.5683    
   4  Prefactor     .35250E-07    6.0425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .90483E-08    6.2891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .19473E-06    10.339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0731        12.188        .37087E-03   -1.5655    
   8  Prefactor     .92601        .26348        .49622E-02   -1.5516    
   9  Prefactor     1.0727        8.8429        .81329E-01   -1.5501    
  10  norm          2.0336        1.9484        .72729E-03   -1.5679    
  11  Prefactor     .21039E-06    12.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.875        21.738        .16794E-03   -1.5590    
  13  Prefactor     3.9900        .36161        .34716E-02   -1.5308    
  14  Prefactor     16.680        29.706        .24738E-03   -1.5626    
  15  Prefactor     .10547E-08    11.062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.381        26.218        .21509E-03   -1.5615    
  17  Normalizat    .63857        .21567        .94345E-01   -1.0637    
  18  Prefactor     .96026        .11943        .45770E-01   -.94066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43541e-07
Minuit parameter uncertainties:
  1  2.4789
  2  0.00106503
  3  1.1675
  4  0.000922845
  5  0.000477143
  6  0.00283785
  7  12.1878
  8  0.263481
  9  6.16065
  10  1.94837
  11  0.00325302
  12  21.7384
  13  0.361605
  14  29.7064
  15  0.00021469
  16  26.2177
  17  0.215959
  18  0.119459
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.073e+00  6.161e+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.603e-01  1.195e-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.386e-01  2.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/70672/likelihoodResults_685411201_685670401_4FGL_J2234.7+0943_daily_bin1721.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) = 7889.87135742
delta logL = 0.279587070493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7889.86196855
delta logL = 0.288975946187

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9598       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0570       1.0000          .0000       10.000    
     3 'Normalizat'    .62449       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95677       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=   7889.862     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      238 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9599        74.366        .74079E-02    .11557E-02
   2  Index1        2.0575        3.3863        .15191        .14006E-03
   3  Normalizat    .62446        .54164E-01    .95202E-01    .46975E-04
   4  Prefactor     .95678        .30215E-01    .45725E-01    .66351E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95994
  Index1     = 2.05748
  Normalizat = 0.624457
  Prefactor  = 0.956783
 **********
 **   18 **HESSE 
 **********

 FCN=   7889.862     FROM HESSE     STATUS=OK            31 CALLS      269 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9599        13.862        .16493E-03   -1.5428    
   2  Index1        2.0575        2.3315        .94781E-02   -.62921    
   3  Normalizat    .62446        .24156        .42197E-03   -1.0696    
   4  Prefactor     .95678        .13882        .19622E-03   -.94184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16764e-07
Minuit parameter uncertainties:
  1  10.4278
  2  2.48513
  3  0.241974
  4  0.138876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70672': 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) = 7889.86196826
delta logL = 0.288976234369

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.960e+00  1.043e+01  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  2.057e+00  2.485e+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.568e-01  1.389e-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.245e-01  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/70672/cmap_HighResolution_685411201_685670401_4FGL_J2234.7+0943_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-05', job_status='DONE', photon_flux_upper_limit='6.99e-08', time_completed='2022-09-24 01:23:23.476727', job_id='70672', GAL2='0.96', fit_tolerance='1e-08', EG2='0.62', EG='0.64', time_epoch_completed='1664007803.48', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.89e-01', ts2='0.59', photon_index_error='0.00', photon_index='0.94' WHERE bin_id='1721' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:23:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 70672: <4FGL_J2234.7+0943_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:38 2022
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:13:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:13:02 2022
Terminated at Sat Sep 24 01:23:24 2022
Results reported at Sat Sep 24 01:23:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1721 338.691 9.732 685411201 685670401 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 :                                   542.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             334.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   621 sec.
    Turnaround time :                            766 sec.

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

