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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1698
RA = 338.152, Dec = 11.7306
tmin = 679449601, tmax = 679708801
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='925711', job_status='RUN', time_executed='2022-07-17 00:39:33.672056', time_epoch_executed='1658043573.67' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925711

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925711/ft1_4FGL_J2232.6+1143_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925711/ft2_4FGL_J2232.6+1143_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925711/ft1_4FGL_J2232.6+1143_daily_bin1698.fits outfile=/scratch/kocevski/925711/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1698.fits ra=338.152 dec=11.7306 rad=12.0 tmin=679449601.0 tmax=679708801.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.42
user 3.21
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/925711/ft2_4FGL_J2232.6+1143_daily_bin1698.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/925711/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1698.fits evtable="EVENTS" outfile="/scratch/kocevski/925711/ft1_filtered_4FGL_J2232.6+1143_daily_bin1698.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.15

Number of photons that the gtmktime cut: 844

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925711/ft1_filtered_4FGL_J2232.6+1143_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/925711/ft2_4FGL_J2232.6+1143_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/925711/ltcube_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.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/925711/ft2_4FGL_J2232.6+1143_daily_bin1698.fits
.....................!
real 12.06
user 11.72
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925711/ft1_filtered_4FGL_J2232.6+1143_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925711/ft2_4FGL_J2232.6+1143_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/925711/ltcube_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.fits outfile=/scratch/kocevski/925711/expmap_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.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/925711/ltcube_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.fits
.....................!
real 191.63
user 186.66
sys 4.64

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/925711/ft1_filtered_4FGL_J2232.6+1143_daily_bin1698.fits scfile=/scratch/kocevski/925711/ft2_4FGL_J2232.6+1143_daily_bin1698.fits outfile=/scratch/kocevski/925711/cmap_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925711/ft1_filtered_4FGL_J2232.6+1143_daily_bin1698.fits scfile=/scratch/kocevski/925711/ft2_4FGL_J2232.6+1143_daily_bin1698.fits outfile=/scratch/kocevski/925711/cmap_HighResolution_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/925711/ft1_filtered_4FGL_J2232.6+1143_daily_bin1698.fits', '/scratch/kocevski/925711/ft2_4FGL_J2232.6+1143_daily_bin1698.fits', expMap='/scratch/kocevski/925711/expmap_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.fits', expCube='/scratch/kocevski/925711/ltcube_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/925711/Model_4FGL_J2232.6+1143_daily_bin1698.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/925711/ft1_filtered_4FGL_J2232.6+1143_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/925711/ft2_4FGL_J2232.6+1143_daily_bin1698.fits
Exposure map: /scratch/kocevski/925711/expmap_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.fits
Exposure cube: /scratch/kocevski/925711/ltcube_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/925711/Model_4FGL_J2232.6+1143_daily_bin1698.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) = 9105.53015167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.3100       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .33751       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.040       1.0000         .10000E-03   10000.    
     7 'norm      '    .14981E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.978       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0297       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13954E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .65750       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12792E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.742       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1034       1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.380       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.9492       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2846       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81084       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9105.492     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2600 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.714        .90712E-02** at limit **
   2  norm          2.3099        1.8031        .67488E-02    .25951E-04
   3  norm          .10000E-03    8.2916        .90712E-02** at limit **
   4  norm          .33642        .64440        .21483E-01    .21751E-02
   5  Prefactor     .10000E-03    6.6872        .90712E-02** at limit **
   6  Prefactor     22.038        25.499        .21330E-02    .37011E-04
   7  norm          .10000E-03    1.6197        .43938E-01** at limit **
   8  Prefactor     14.976        15.698        .25873E-02   -.16310E-03
   9  Prefactor     .10000E-03    4.1527        .90712E-02** at limit **
  10  Prefactor     1.0298        .25967        .49387E-02    .54573E-03
  11  Prefactor     .10000E-03    3.1382        .90712E-01** at limit **
  12  norm          .65754        1.3028        .27334E-01    .11606E-02
  13  Prefactor     .10000E-03    16.527        .13834    ** at limit **
  14  Prefactor     31.741        13.795        .17780E-02    .32674E-04
  15  Prefactor     .10000E-03    5.0920        .90712E-02** at limit **
  16  Prefactor     1.1034        .19474        .37274E-02    .58951E-03
  17  Prefactor     28.376        39.180        .18801E-02    .97982E-03
  18  Prefactor     .10000E-03    2.2169        .90712E-02** at limit **
  19  Prefactor     7.9471        13.779        .35553E-02    .15788E-02
  20  Normalizat    1.2849        .21324        .73538E-01    .29518E-04
  21  Prefactor     .81068        .10829        .43858E-01    .31129E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.30993
  norm       = 0.0001
  norm       = 0.336423
  Prefactor  = 0.0001
  Prefactor  = 22.0382
  norm       = 0.0001
  Prefactor  = 14.9764
  Prefactor  = 0.0001
  Prefactor  = 1.02977
  Prefactor  = 0.0001
  norm       = 0.657544
  Prefactor  = 0.0001
  Prefactor  = 31.7408
  Prefactor  = 0.0001
  Prefactor  = 1.10336
  Prefactor  = 28.3758
  Prefactor  = 0.0001
  Prefactor  = 7.94708
  Normalizat = 1.28493
  Prefactor  = 0.810684
 **********
 **   18 **HESSE 
 **********

 FCN=   9105.492     FROM HESSE     STATUS=OK           331 CALLS     2931 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3099        1.8029        .10998E-03   -1.5404    
   3  norm          .10000E-03    8.3000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .33642        .55532        .10164E-02   -1.5592    
   5  Prefactor     .10000E-03    6.6930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.038        25.518        .85320E-04   -1.4769    
   7  norm          .10000E-03    4.4748        .23629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.976        15.746        .10349E-03   -1.4934    
   9  Prefactor     .10000E-03    4.1716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0298        .25709        .21905E-04   -1.5505    
  11  Prefactor     .10000E-03    36.235        .32529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .65754        1.0079        .14413E-02   -1.5546    
  13  Prefactor     .10000E-03    143.95        .74054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.741        13.561        .71119E-04   -1.4581    
  15  Prefactor     .10000E-03    5.0937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.1034        .19204        .16492E-04   -1.5498    
  17  Prefactor     28.376        39.342        .75203E-04   -1.4642    
  18  Prefactor     .10000E-03    2.2258        .13873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.9471        13.788        .71106E-03   -1.5144    
  20  Normalizat    1.2849        .25262        .32543E-03   -.84017    
  21  Prefactor     .81068        .12776        .21279E-03   -.99336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25414e-08
Minuit parameter uncertainties:
  1  1.74135e-05
  2  1.80294
  3  4.61445e-06
  4  0.555333
  5  5.25418e-06
  6  25.5302
  7  3.73322e-06
  8  15.7506
  9  2.20197e-07
  10  0.257088
  11  1.54056e-05
  12  1.00793
  13  0.000523772
  14  13.562
  15  3.52908e-06
  16  0.192044
  17  39.3781
  18  4.56488e-07
  19  13.7937
  20  0.252858
  21  0.12781
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.030e+00  2.571e-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.107e-01  1.278e-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.285e+00  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 34.59
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 2.63e-07 +/- 6.55e-08
Energy Flux (Fixed Index): 9.73e-05 +/- 2.43e-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) = 9103.85426165
delta logL = 1.63738415252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9103.8518054
delta logL = 1.63984040252

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9103.852     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      215 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89036        2.5921        .42507E-02    .54501E-03
   2  Index1        2.4991        2.4612        .97514E-01    .12713E-03
   3  Normalizat    1.1866        .13924        .75898E-01    .19537E-04
   4  Prefactor     .84611        .78675E-01    .44315E-01    .11337E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.890363
  Index1     = 2.49907
  Normalizat = 1.18663
  Prefactor  = 0.846105
 **********
 **   18 **HESSE 
 **********

 FCN=   9103.852     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89036        .25026        .18847E-04   -1.5519    
   2  Index1        2.4991        .26589        .41416E-02   -.52381    
   3  Normalizat    1.1866        .24616        .33592E-03   -.87017    
   4  Prefactor     .84611        .12937        .20867E-03   -.98051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.78489e-10
Minuit parameter uncertainties:
  1  0.250256
  2  0.266059
  3  0.246397
  4  0.129418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925711': 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) = 9103.851805
delta logL = 1.63984080635

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  8.904e-01  2.503e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.499e+00  2.661e-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.461e-01  1.294e-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.187e+00  2.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 38.01
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.50 +/- 0.27
Photon Flux (Free Index): 3.47e-07 +/- 8.61e-08
Energy Flux (Free Index): 8.53e-05 +/- 2.01e-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/925711/cmap_HighResolution_679449601_679708801_4FGL_J2232.6+1143_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.63e-07', energy_flux2='8.53e-05', photon_flux_error='6.55e-08', dlogl='1.64e+00', energy_flux='9.73e-05', photon_flux2='3.47e-07', job_status='DONE', time_completed='2022-07-17 00:50:53.583766', photon_index_error2='0.27', photon_index2='2.50', ts='34.59', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.28', time_epoch_completed='1658044253.58', return_code='0', job_id='925711', GAL2='0.85', EG2='1.19', return_code2='0', energy_flux_error='2.43e-05', photon_flux_error2='8.61e-08', ts2='38.01', photon_index='2.05' WHERE bin_id='1698' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:50:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 925711: <4FGL_J2232.6+1143_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:35:25 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:35:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:35:26 2022
Terminated at Sun Jul 17 00:50:54 2022
Results reported at Sun Jul 17 00:50:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1698 338.152 11.7306 679449601 679708801 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 :                                   682.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            929 sec.

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

