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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1702
RA = 338.691, Dec = 9.732
tmin = 680486401, tmax = 680745601
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='258977', job_status='RUN', time_executed='2022-07-29 01:39:14.965890', time_epoch_executed='1659083954.97' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258977

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258977/ft1_4FGL_J2234.7+0943_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258977/ft2_4FGL_J2234.7+0943_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/258977/ft1_4FGL_J2234.7+0943_daily_bin1702.fits outfile=/scratch/kocevski/258977/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1702.fits ra=338.691 dec=9.732 rad=12.0 tmin=680486401.0 tmax=680745601.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 2.96
user 2.75
sys 0.20

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

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

Number of photons that the gtmktime cut: 443

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258977/ft1_filtered_4FGL_J2234.7+0943_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/258977/ft2_4FGL_J2234.7+0943_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/258977/ltcube_680486401_680745601_4FGL_J2234.7+0943_daily_bin1702.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/258977/ft2_4FGL_J2234.7+0943_daily_bin1702.fits
.....................!
real 15.62
user 15.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258977/ft1_filtered_4FGL_J2234.7+0943_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258977/ft2_4FGL_J2234.7+0943_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/258977/ltcube_680486401_680745601_4FGL_J2234.7+0943_daily_bin1702.fits outfile=/scratch/kocevski/258977/expmap_680486401_680745601_4FGL_J2234.7+0943_daily_bin1702.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/258977/ltcube_680486401_680745601_4FGL_J2234.7+0943_daily_bin1702.fits
.....................!
real 191.12
user 186.12
sys 4.63

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/258977/ft1_filtered_4FGL_J2234.7+0943_daily_bin1702.fits scfile=/scratch/kocevski/258977/ft2_4FGL_J2234.7+0943_daily_bin1702.fits outfile=/scratch/kocevski/258977/cmap_680486401_680745601_4FGL_J2234.7+0943_daily_bin1702.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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258977/ft1_filtered_4FGL_J2234.7+0943_daily_bin1702.fits scfile=/scratch/kocevski/258977/ft2_4FGL_J2234.7+0943_daily_bin1702.fits outfile=/scratch/kocevski/258977/cmap_HighResolution_680486401_680745601_4FGL_J2234.7+0943_daily_bin1702.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=338.691 yref=9.732 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/258977/ft1_filtered_4FGL_J2234.7+0943_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258977/ft2_4FGL_J2234.7+0943_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/258977/Model_4FGL_J2234.7+0943_daily_bin1702.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/258977/ft1_filtered_4FGL_J2234.7+0943_daily_bin1702.fits.....................!
real 59.99
user 58.60
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    32.430       1.0000         .10000E-03   10000.    
     3 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12263E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11480E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7886       1.0000         .10000E-03   10000.    
     7 'norm      '    .10182E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8091       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5375       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .91902       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0700       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0217       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9788       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.3287       1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.379       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .50064       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.578       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.391       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88802       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94583       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=   5092.918     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2396 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5325        .44824E-07** at limit **
   2  norm          32.412        44.315        .15627E-04    .23227E-04
   3  norm          .10000E-03    .40141       -.48565E-07** at limit **
   4  Prefactor     .10000E-03    66.542       -.32973E-05** at limit **
   5  Prefactor     .10000E-03    59.262        .18235E-05** at limit **
   6  Prefactor     1.6351        537.52       -.95010E-04   -.60445E-06
   7  norm          .10000E-03    4.7936        .24588E-06** at limit **
   8  Prefactor     8.8105        15.168        .19036E-06    .19800E-04
   9  Prefactor     3.5287        23.550        .52315E-06   -.70806E-04
  10  Prefactor     .91904        .32086        .59433E-07    .35811E-03
  11  Prefactor     8.0681        11.520       -.12495E-05   -.26491E-04
  12  norm          2.0213        1.3802       -.14794E-07    .56218E-04
  13  Prefactor     1.9697        81.226        .25835E-04   -.49851E-04
  14  Prefactor     .10000E-03    18.037       -.43844E-07** at limit **
  15  Prefactor     .10000E-03    9.8421        .71894E-07** at limit **
  16  Prefactor     1.3289        .25715       -.54982E-07   -.49386E-03
  17  Prefactor     39.312        55.084       -.44096E-05   -.49795E-05
  18  Prefactor     .47513        4.6136       -.25352E-06   -.14364E-03
  19  Prefactor     12.576        14.643       -.10557E-05   -.23547E-04
  20  Prefactor     23.360        40.710        .27657E-04   -.60640E-06
  21  Normalizat    .88810        .31576        .16175E-06    .66857E-04
  22  Prefactor     .94610        .15509       -.40449E-06    .17366E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 32.4119
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.63509
  norm       = 0.0001
  Prefactor  = 8.81055
  Prefactor  = 3.52872
  Prefactor  = 0.919035
  Prefactor  = 8.06809
  norm       = 2.02125
  Prefactor  = 1.96972
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.32885
  Prefactor  = 39.3123
  Prefactor  = 0.475128
  Prefactor  = 12.5764
  Prefactor  = 23.3603
  Normalizat = 0.888101
  Prefactor  = 0.946103
 **********
 **   18 **HESSE 
 **********

 FCN=   5092.918     FROM HESSE     STATUS=OK           350 CALLS     2746 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5344        .86272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          32.412        44.362        .70363E-04   -1.4569    
   3  norm          .10000E-03    .40838        .44106E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    66.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    59.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6351        548.29        .31278E-03   -1.5452    
   7  norm          .10000E-03    4.8936        .15241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.8105        15.169        .13505E-03   -1.5114    
   9  Prefactor     3.5287        23.684        .21492E-03   -1.5332    
  10  Prefactor     .91904        .32122        .21866E-04   -1.5516    
  11  Prefactor     8.0681        11.564        .14114E-03   -1.5140    
  12  norm          2.0213        1.3829        .67415E-04   -1.5424    
  13  Prefactor     1.9697        80.363        .29466E-03   -1.5427    
  14  Prefactor     .10000E-03    18.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.8539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.3289        .25691        .14236E-04   -1.5477    
  17  Prefactor     39.312        55.152        .63873E-04   -1.4453    
  18  Prefactor     .47513        21.361        .28708E-02   -1.5570    
  19  Prefactor     12.576        14.627        .11295E-03   -1.4999    
  20  Prefactor     23.360        40.644        .82822E-04   -1.4741    
  21  Normalizat    .88810        .36874        .39741E-03   -.96880    
  22  Prefactor     .94610        .18462        .20397E-03   -.94548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01681e-10
Minuit parameter uncertainties:
  1  2.9195e-06
  2  44.4074
  3  2.88393e-07
  4  0.000414317
  5  9.54902e-05
  6  60.4478
  7  1.15797e-06
  8  15.176
  9  18.2941
  10  0.321217
  11  11.5675
  12  1.38294
  13  25.1985
  14  4.11736e-07
  15  4.10643e-06
  16  0.256914
  17  55.2233
  18  6.37339
  19  14.6311
  20  40.6917
  21  0.369796
  22  0.184742
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  8.068e+00  1.157e+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:  9.461e-01  1.847e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.881e-01  3.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/258977/likelihoodResults_680486401_680745601_4FGL_J2234.7+0943_daily_bin1702.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) = 5092.32087475
delta logL = 0.597600797835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5092.27588413
delta logL = 0.642591422686

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8931       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.6876       1.0000          .0000       10.000    
     3 'Normalizat'    .77906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97839       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=   5092.276     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      261 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8829        31.325        .75595E-02    .49164E-03
   2  Index1        2.6897        3.0671        .10004        .14026E-03
   3  Normalizat    .77945        .96972E-01    .94921E-01    .23536E-04
   4  Prefactor     .97814        .46421E-01    .45996E-01   -.21602E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88286
  Index1     = 2.68966
  Normalizat = 0.779453
  Prefactor  = 0.978144
 **********
 **   18 **HESSE 
 **********

 FCN=   5092.276     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      294 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8829        56.756        .75931E-04   -1.5434    
   2  Index1        2.6897        6.3054        .51642E-02   -.48032    
   3  Normalizat    .77945        .45744        .42058E-03   -1.0084    
   4  Prefactor     .97814        .22458        .20062E-03   -.93462    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.06663e-07
Minuit parameter uncertainties:
  1  20.696
  2  5.62427
  3  0.459716
  4  0.224796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258977': 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) = 5092.27588002
delta logL = 0.642595529936

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.883e+00  2.070e+01  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  2.690e+00  5.624e+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.781e-01  2.248e-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:  7.795e-01  4.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.05
Ra Dec: 338.691 9.732
Photon Index (Free Index): 2.69 +/- 5.62
Photon Flux (Free Index): 1.48e-07 +/- 3.16e-07
Energy Flux (Free Index): 2.83e-05 +/- 2.30e-05

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/258977/cmap_HighResolution_680486401_680745601_4FGL_J2234.7+0943_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.15e-05', comment='SUCCESS', energy_flux2='2.83e-05', dlogl='6.43e-01', photon_flux2='1.48e-07', job_status='DONE', time_completed='2022-07-29 01:48:34.491567', photon_index_error2='5.62', photon_index2='2.69', ts='0.73', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='9.69e-08', energy_flux_error2='2.30e-05', EG='0.89', time_epoch_completed='1659084514.49', return_code='0', job_id='258977', GAL2='0.98', EG2='0.78', return_code2='102', photon_flux_error2='3.16e-07', ts2='2.05', photon_index='0.94' WHERE bin_id='1702' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:48:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 258977: <4FGL_J2234.7+0943_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:21 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:35:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:35:46 2022
Terminated at Fri Jul 29 01:48:35 2022
Results reported at Fri Jul 29 01:48:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1702 338.691 9.732 680486401 680745601 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 :                                   562.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             256.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            794 sec.

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

