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

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7477
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1669
RA = 338.691, Dec = 9.732
tmin = 671932801, tmax = 672192001
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='692217', job_status='RUN', time_executed='2022-04-21 00:37:04.162930', time_epoch_executed='1650526624.16' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692217

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692217/ft1_4FGL_J2234.7+0943_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692217/ft2_4FGL_J2234.7+0943_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692217/ft1_4FGL_J2234.7+0943_daily_bin1669.fits outfile=/scratch/kocevski/692217/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1669.fits ra=338.691 dec=9.732 rad=12.0 tmin=671932801.0 tmax=672192001.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.77
user 3.54
sys 0.21

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

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

Number of photons that the gtmktime cut: 814

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692217/ft1_filtered_4FGL_J2234.7+0943_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/692217/ft2_4FGL_J2234.7+0943_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/692217/ltcube_671932801_672192001_4FGL_J2234.7+0943_daily_bin1669.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/692217/ft2_4FGL_J2234.7+0943_daily_bin1669.fits
.....................!
real 12.29
user 11.92
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692217/ft1_filtered_4FGL_J2234.7+0943_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692217/ft2_4FGL_J2234.7+0943_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/692217/ltcube_671932801_672192001_4FGL_J2234.7+0943_daily_bin1669.fits outfile=/scratch/kocevski/692217/expmap_671932801_672192001_4FGL_J2234.7+0943_daily_bin1669.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/692217/ltcube_671932801_672192001_4FGL_J2234.7+0943_daily_bin1669.fits
.....................!
real 191.02
user 185.13
sys 5.56

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/692217/ft1_filtered_4FGL_J2234.7+0943_daily_bin1669.fits scfile=/scratch/kocevski/692217/ft2_4FGL_J2234.7+0943_daily_bin1669.fits outfile=/scratch/kocevski/692217/cmap_671932801_672192001_4FGL_J2234.7+0943_daily_bin1669.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692217/ft1_filtered_4FGL_J2234.7+0943_daily_bin1669.fits scfile=/scratch/kocevski/692217/ft2_4FGL_J2234.7+0943_daily_bin1669.fits outfile=/scratch/kocevski/692217/cmap_HighResolution_671932801_672192001_4FGL_J2234.7+0943_daily_bin1669.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/692217/ft1_filtered_4FGL_J2234.7+0943_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692217/ft2_4FGL_J2234.7+0943_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692217/Model_4FGL_J2234.7+0943_daily_bin1669.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/692217/ft1_filtered_4FGL_J2234.7+0943_daily_bin1669.fits.....................!
real 87.51
user 86.12
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10322E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .11017E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.507       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19635E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.917       1.0000         .10000E-03   10000.    
     7 'norm      '    .35365E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.304       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1601       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3174       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5833       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0628       1.0000         .10000E-03   10000.    
    13 'Prefactor '    75.765       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.721       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .29973       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.8138       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10576E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0636       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84342       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=   9006.136     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2453 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3284        .75202E-07** at limit **
   2  norm          .10000E-03    12.664       -.59725E-09** at limit **
   3  norm          .10000E-03    .20900        .19188E-07** at limit **
   4  Prefactor     24.494        20.003       -.17420E-05   -.56163E-04
   5  Prefactor     .10001E-03    9.7215        .61213E-06** at limit **
   6  Prefactor     38.931        33.914        .10392E-04   -.13258E-04
   7  norm          .10002E-03    2.0895        .31080E-06** at limit **
   8  Prefactor     19.307        13.423        .45733E-06   -.32704E-04
   9  Prefactor     1.1586        2.5224        .34404E-06   -.87113E-03
  10  Prefactor     1.3174        .26010       -.18068E-07   -.50289E-03
  11  Prefactor     3.5857        4.5022        .20686E-07   -.50875E-03
  12  norm          2.0627        1.3934        .33035E-07   -.11580E-04
  13  Prefactor     75.781        39.360        .97775E-05    .63017E-05
  14  Prefactor     35.734        17.860       -.49471E-06   -.43238E-05
  15  Prefactor     .10000E-03    6.6114       -.61829E-07** at limit **
  16  Prefactor     .29969        .14074       -.13821E-06   -.87555E-03
  17  Prefactor     .10000E-03    46.193       -.67426E-06** at limit **
  18  Prefactor     .10000E-03    1.8542        .29856E-07** at limit **
  19  Prefactor     8.8176        11.073        .14733E-05   -.27503E-05
  20  Prefactor     .10000E-03    19.749        .64571E-07** at limit **
  21  Normalizat    1.0636        .19859       -.23422E-05   -.86328E-04
  22  Prefactor     .84340        .10447       -.48187E-06   -.24205E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 24.4936
  Prefactor  = 0.000100007
  Prefactor  = 38.9307
  norm       = 0.000100021
  Prefactor  = 19.3071
  Prefactor  = 1.15855
  Prefactor  = 1.31735
  Prefactor  = 3.58574
  norm       = 2.06267
  Prefactor  = 75.7813
  Prefactor  = 35.7335
  Prefactor  = 0.0001
  Prefactor  = 0.299693
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.8176
  Prefactor  = 0.0001
  Normalizat = 1.06358
  Prefactor  = 0.843395
 **********
 **   18 **HESSE 
 **********

 FCN=   9006.136     FROM HESSE     STATUS=OK           360 CALLS     2813 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4815        .21140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    12.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .26173        .84565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.494        19.951        .80916E-04   -1.4718    
   5  Prefactor     .10001E-03    77.836        .56774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.931        33.936        .64250E-04   -1.4459    
   7  norm          .10002E-03    3.8008        .47497E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.307        13.465        .91160E-04   -1.4829    
   9  Prefactor     1.1586        18.295        .21395E-02   -1.5493    
  10  Prefactor     1.3174        .26080        .19732E-04   -1.5478    
  11  Prefactor     3.5857        4.5558        .10674E-02   -1.5329    
  12  norm          2.0627        1.3947        .88469E-04   -1.5421    
  13  Prefactor     75.781        39.350        .46130E-04   -1.3965    
  14  Prefactor     35.734        17.849        .67053E-04   -1.4512    
  15  Prefactor     .10000E-03    6.6186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29969        .13817        .22215E-04   -1.5598    
  17  Prefactor     .10000E-03    47.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.8614        .12619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.8176        11.071        .13501E-03   -1.5114    
  20  Prefactor     .10000E-03    19.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0636        .23255        .32853E-03   -.90930    
  22  Prefactor     .84340        .12400        .19964E-03   -.98148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49994e-09
Minuit parameter uncertainties:
  1  1.17958e-05
  2  3.80907e-06
  3  1.50506e-06
  4  19.9562
  5  0.00142778
  6  33.9525
  7  0.000559704
  8  13.4667
  9  9.21068
  10  0.260801
  11  4.55621
  12  1.39476
  13  39.3639
  14  17.8515
  15  1.09701e-05
  16  0.138167
  17  0.00015074
  18  2.25451e-06
  19  11.0734
  20  4.28692e-05
  21  0.232774
  22  0.124043
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.586e+00  4.556e+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:  8.434e-01  1.240e-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.064e+00  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 338.691 9.732
Photon Index (Fixed Index): 0.94 +/- 0.00
Photon Flux (Fixed Index): 9.21e-09 +/- 1.17e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 8.64e-06

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

Saving results to:
/scratch/kocevski/692217/likelihoodResults_671932801_672192001_4FGL_J2234.7+0943_daily_bin1669.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) = 9006.13488123
delta logL = 0.000654601042697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9006.13478864
delta logL = 0.000747189034882

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9006.135     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      239 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6519        4.9731        .21138E-03    .48739E-03
   2  Index1        .89598        1.1442        .17819E-01    .70611E-04
   3  Normalizat    1.0639        .22370        .32850E-03    .41460E-04
   4  Prefactor     .84335        .12343        .19965E-03    .44188E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.65188
  Index1     = 0.895976
  Normalizat = 1.06386
  Prefactor  = 0.843352
 **********
 **   18 **HESSE 
 **********

 FCN=   9006.135     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6519        4.8916        .84552E-05   -1.5326    
   2  Index1        .89598        1.1269        .71277E-03   -.96282    
   3  Normalizat    1.0639        .22391        .13140E-04   -.90921    
   4  Prefactor     .84335        .12356        .79859E-05   -.98150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59572e-10
Minuit parameter uncertainties:
  1  4.89216
  2  1.15845
  3  0.224112
  4  0.123598
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692217': 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) = 9006.13478846
delta logL = 0.000747369849705

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.652e+00  4.892e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  8.960e-01  1.158e+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:  8.434e-01  1.236e-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.064e+00  2.241e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 338.691 9.732
Photon Index (Free Index): 0.90 +/- 1.16
Photon Flux (Free Index): 8.83e-09 +/- 1.48e-08
Energy Flux (Free Index): 6.88e-06 +/- 8.94e-06

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/692217/cmap_HighResolution_671932801_672192001_4FGL_J2234.7+0943_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-05', comment='SUCCESS', photon_flux='9.21e-09', energy_flux2='6.88e-06', photon_flux_error='1.17e-08', dlogl='7.47e-04', energy_flux='6.80e-06', photon_flux2='8.83e-09', job_status='DONE', time_completed='2022-04-21 00:49:37.051914', photon_index_error2='1.16', photon_index2='0.90', ts='1.03', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='4.36e-08', energy_flux_error2='8.94e-06', EG='1.06', time_epoch_completed='1650527377.05', return_code='0', job_id='692217', GAL2='0.84', EG2='1.06', return_code2='0', energy_flux_error='8.64e-06', photon_flux_error2='1.48e-08', ts2='1.03', photon_index='0.94' WHERE bin_id='1669' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:49:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 692217: <4FGL_J2234.7+0943_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1669> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Apr 21 00:35:37 2022
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:35:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:35:38 2022
Terminated at Thu Apr 21 00:49:37 2022
Results reported at Thu Apr 21 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_bin1669 338.691 9.732 671932801 672192001 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 :                                   755.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            840 sec.

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

