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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1740
RA = 338.152, Dec = 11.7306
tmin = 690336001, tmax = 690595201
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='835983', job_status='RUN', time_executed='2022-11-20 00:49:42.916702', time_epoch_executed='1668934182.92' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835983

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835983/ft1_4FGL_J2232.6+1143_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835983/ft1_4FGL_J2232.6+1143_daily_bin1740.fits outfile=/scratch/kocevski/835983/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1740.fits ra=338.152 dec=11.7306 rad=12.0 tmin=690336001.0 tmax=690595201.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.47
user 2.26
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.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/835983/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/835983/ft1_filtered_4FGL_J2232.6+1143_daily_bin1740.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.45
user 0.28
sys 0.15

Number of photons that the gtmktime cut: 1198

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835983/ft1_filtered_4FGL_J2232.6+1143_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/835983/ltcube_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.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/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits
.....................!
real 11.90
user 11.56
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835983/ft1_filtered_4FGL_J2232.6+1143_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/835983/ltcube_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.fits outfile=/scratch/kocevski/835983/expmap_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.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/835983/ltcube_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.fits
.....................!
real 157.16
user 151.71
sys 4.16

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2232.6+1143 @ 338.152 11.7306

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/835983/ft1_filtered_4FGL_J2232.6+1143_daily_bin1740.fits scfile=/scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits outfile=/scratch/kocevski/835983/cmap_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.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.152 yref=11.7306 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.47
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835983/ft1_filtered_4FGL_J2232.6+1143_daily_bin1740.fits scfile=/scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits outfile=/scratch/kocevski/835983/cmap_HighResolution_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.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.152 yref=11.7306 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.48
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835983/ft1_filtered_4FGL_J2232.6+1143_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835983/Model_4FGL_J2232.6+1143_daily_bin1740.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/835983/ft1_filtered_4FGL_J2232.6+1143_daily_bin1740.fits.....................!
real 96.88
user 93.92
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/835983/ft1_filtered_4FGL_J2232.6+1143_daily_bin1740.fits', '/scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits', expMap='/scratch/kocevski/835983/expmap_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.fits', expCube='/scratch/kocevski/835983/ltcube_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/835983/Model_4FGL_J2232.6+1143_daily_bin1740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2232.6+1143'

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  3.234e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
271    Expfactor:  2.832e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
272       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/835983/ft1_filtered_4FGL_J2232.6+1143_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/835983/ft2_4FGL_J2232.6+1143_daily_bin1740.fits
Exposure map: /scratch/kocevski/835983/expmap_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.fits
Exposure cube: /scratch/kocevski/835983/ltcube_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/835983/Model_4FGL_J2232.6+1143_daily_bin1740.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) = 12561.0925223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84744       1.0000          .0000       .10000E+07
     2 'norm      '    4.1304       1.0000          .0000       .10000E+07
     3 'norm      '    .10492E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .13051E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14355E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.3130       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6477       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9974       1.0000         .10000E-03   10000.    
     9 'norm      '    3.3760       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8054       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.0435       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.0939       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11967E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.6520       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1784       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .84078       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12560.31     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      914 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .83811        2.0543       -.31314E-06   -.99117E-03
   2  norm          4.4963        22.159       -.16493E-05    .28994E-02
   3  norm           .0000        .66288       -.51673E-07** at limit **
   4  norm           .0000        3.3366        .35427E-06** at limit **
   5  Prefactor     .33307E-09    7.4616       -.30069E-06** at limit **
   6  Prefactor     3.3272        8.9127       -.21028E-06   -.30935E-02
   7  Prefactor     1.6474        .22972       -.30688E-06    .91473E-04
   8  Prefactor     3.0614        7.0740       -.16257E-05   -.81773E-04
   9  norm          3.3753        1.7113       -.28537E-06   -.76189E-02
  10  Prefactor     9.7955        2.8113       -.58634E-06    .32172E-01
  11  Prefactor     3.0565        10.009        .41266E-05    .48746E-02
  12  Prefactor     2.0940        .21261       -.16823E-06   -.14937E-02
  13  Prefactor      .0000        60.587        .31431E-05** at limit **
  14  Prefactor     1.6544        4.2857       -.10440E-06   -.43630E-03
  15  Normalizat    1.1783        .20668        .56452E-05    .30019E-04
  16  Prefactor     .84057        .11049        .21103E-05   -.28311E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.838113
  norm       = 4.49628
  norm       = 0
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 3.32716
  Prefactor  = 1.64744
  Prefactor  = 3.06143
  norm       = 3.37531
  Prefactor  = 9.7955
  Prefactor  = 3.05648
  Prefactor  = 2.09396
  Prefactor  = 0
  Prefactor  = 1.6544
  Normalizat = 1.17829
  Prefactor  = 0.840575
 **********
 **   18 **HESSE 
 **********

 FCN=   12560.31     FROM HESSE     STATUS=OK           245 CALLS     1159 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .83811        2.0833        .49464E-03   -1.5690    
   2  norm          4.4963        23.242        .49575E-03   -1.5666    
   3  norm           .0000        .27540        .20520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.3121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33307E-09    7.4853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3272        8.8205        .55592E-03   -1.5671    
   7  Prefactor     1.6474        .22981        .42545E-02   -1.5451    
   8  Prefactor     3.0614        7.0751        .58615E-02   -1.5358    
   9  norm          3.3753        1.7255        .55046E-03   -1.5671    
  10  Prefactor     9.7955        13.164        .31977E-03   -1.5645    
  11  Prefactor     3.0565        10.259        .58134E-03   -1.5673    
  12  Prefactor     2.0940        .21396        .35498E-02   -1.5419    
  13  Prefactor      .0000        60.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6544        4.3264        .82104E-03   -1.5682    
  15  Normalizat    1.1783        .17418        .75382E-01   -.87276    
  16  Prefactor     .84057        .93033E-01    .44246E-01   -.98250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61626e-06
Minuit parameter uncertainties:
  1  2.08328
  2  20.4454
  3  3.43047e-06
  4  3.76753e-06
  5  9.97935e-05
  6  8.82052
  7  0.229815
  8  7.07701
  9  1.72554
  10  13.1642
  11  10.2595
  12  0.213959
  13  3.49736e-05
  14  4.32645
  15  0.17427
  16  0.0930501
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.647e+00  2.298e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
271    Expfactor:  2.832e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
272       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  8.406e-01  9.305e-02  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.178e+00  1.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 172.88
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 4.20e-07 +/- 5.86e-08
Energy Flux (Fixed Index): 1.56e-04 +/- 2.17e-05

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) = 12559.9020899
delta logL = 0.412419674658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12559.9020395
delta logL = 0.412470077308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6903       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.9286       1.0000          .0000       10.000    
     3 'Normalizat'    1.2105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82889       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12559.90     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      211 TOTAL
                     EDM=   .97E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6903        .22625        .15602E-08    .13740E-03
   2  Index1        1.9286        .96251E-01   -.47456E-07   -.19057E-04
   3  Normalizat    1.2105        .17117       -.20577E-07   -.23846E-04
   4  Prefactor     .82889        .94582E-01    .20859E-07   -.51394E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.69034
  Index1     = 1.92856
  Normalizat = 1.21052
  Prefactor  = 0.828893
 **********
 **   18 **HESSE 
 **********

 FCN=   12559.90     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6903        .23612        .19330E-04   -1.5448    
   2  Index1        1.9286        .13463        .35593E-03   -.66148    
   3  Normalizat    1.2105        .20314        .33010E-03   -.86278    
   4  Prefactor     .82889        .10964        .21245E-03   -.98672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66668e-12
Minuit parameter uncertainties:
  1  0.236116
  2  0.134655
  3  0.203277
  4  0.109669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835983': 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) = 12559.9020395
delta logL = 0.41247007731

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.690e+00  2.361e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  1.929e+00  1.347e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  5.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
271    Expfactor:  2.832e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
272       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  8.289e-01  1.097e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.211e+00  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 172.56
Ra Dec: 338.152 11.731
Photon Index (Free Index): 1.93 +/- 0.13
Photon Flux (Free Index): 3.90e-07 +/- 6.36e-08
Energy Flux (Free Index): 1.69e-04 +/- 2.87e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/835983/cmap_HighResolution_690336001_690595201_4FGL_J2232.6+1143_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.20e-07', energy_flux2='1.69e-04', photon_flux_error='5.86e-08', dlogl='4.12e-01', energy_flux='1.56e-04', photon_flux2='3.90e-07', job_status='DONE', time_completed='2022-11-20 00:58:10.751410', photon_index_error2='0.13', photon_index2='1.93', ts='172.88', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.87e-05', EG='1.18', time_epoch_completed='1668934690.75', return_code='0', job_id='835983', GAL2='0.83', EG2='1.21', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='6.36e-08', ts2='172.56', photon_index='2.05' WHERE bin_id='1740' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:58:10 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 835983: <4FGL_J2232.6+1143_daily_bin1740> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:45:39 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:49:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:49:11 2022
Terminated at Sun Nov 20 00:58:11 2022
Results reported at Sun Nov 20 00:58:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1740 338.152 11.7306 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2232.6+1143 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   506.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             363.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   540 sec.
    Turnaround time :                            752 sec.

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

