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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1700
RA = 338.152, Dec = 11.7306
tmin = 679968001, tmax = 680227201
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='83395', job_status='RUN', time_executed='2022-07-23 00:38:02.733135', time_epoch_executed='1658561882.73' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83395

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83395/ft1_4FGL_J2232.6+1143_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83395/ft2_4FGL_J2232.6+1143_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83395/ft1_4FGL_J2232.6+1143_daily_bin1700.fits outfile=/scratch/kocevski/83395/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1700.fits ra=338.152 dec=11.7306 rad=12.0 tmin=679968001.0 tmax=680227201.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 4.55
user 4.31
sys 0.23

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

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

Number of photons that the gtmktime cut: 799

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83395/ft1_filtered_4FGL_J2232.6+1143_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83395/ft2_4FGL_J2232.6+1143_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83395/ltcube_679968001_680227201_4FGL_J2232.6+1143_daily_bin1700.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/83395/ft2_4FGL_J2232.6+1143_daily_bin1700.fits
.....................!
real 11.69
user 11.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83395/ft1_filtered_4FGL_J2232.6+1143_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83395/ft2_4FGL_J2232.6+1143_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83395/ltcube_679968001_680227201_4FGL_J2232.6+1143_daily_bin1700.fits outfile=/scratch/kocevski/83395/expmap_679968001_680227201_4FGL_J2232.6+1143_daily_bin1700.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/83395/ltcube_679968001_680227201_4FGL_J2232.6+1143_daily_bin1700.fits
.....................!
real 190.87
user 184.85
sys 5.47

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/83395/ft1_filtered_4FGL_J2232.6+1143_daily_bin1700.fits scfile=/scratch/kocevski/83395/ft2_4FGL_J2232.6+1143_daily_bin1700.fits outfile=/scratch/kocevski/83395/cmap_679968001_680227201_4FGL_J2232.6+1143_daily_bin1700.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83395/ft1_filtered_4FGL_J2232.6+1143_daily_bin1700.fits scfile=/scratch/kocevski/83395/ft2_4FGL_J2232.6+1143_daily_bin1700.fits outfile=/scratch/kocevski/83395/cmap_HighResolution_679968001_680227201_4FGL_J2232.6+1143_daily_bin1700.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 1.73
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.295       1.0000         .10000E-03   10000.    
     2 'norm      '    .13117E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3667       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.183       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.3610       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.392       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.5242       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .52735       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.175       1.0000         .10000E-03   10000.    
    12 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.0202       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.446       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.5694       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5728       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.545       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1309       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99843       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8720.056     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2210 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.155        60.343        .49924E-05    .12692E-03
   2  norm          .10004E-03    1.9361       -.12418E-05** at limit **
   3  norm          .10000E-03    12.117       -.20531E-06** at limit **
   4  norm          1.3669        1.0694        .64673E-08    .16786E-03
   5  Prefactor     18.188        19.485        .12477E-06    .61297E-04
   6  Prefactor     .10000E-03    44.354       -.59165E-06** at limit **
   7  norm          8.3626        5.5714       -.49935E-07    .48344E-04
   8  Prefactor     17.389        18.867       -.18001E-06    .65120E-04
   9  Prefactor     8.5301        12.353       -.26321E-06    .33386E-04
  10  Prefactor     .52753        .24799       -.93345E-08    .38030E-03
  11  Prefactor     14.176        8.6275       -.91893E-07    .10496E-04
  12  norm          .10000E-03    .61114        .22185E-06** at limit **
  13  Prefactor     2.8875        106.86       -.40861E-07    .24171E-05
  14  Prefactor     16.450        13.028       -.23923E-06   -.40189E-05
  15  Prefactor     8.5686        10.732       -.31927E-07   -.32571E-05
  16  Prefactor     1.5732        .24678       -.19580E-07    .51273E-03
  17  Prefactor     30.561        33.837       -.67531E-06    .51082E-05
  18  Prefactor     .10000E-03    1.8915       -.30661E-07** at limit **
  19  Prefactor     .10000E-03    9.1426       -.16234E-06** at limit **
  20  Normalizat    1.1300        .24597        .24560E-05    .30734E-03
  21  Prefactor     .99877        .12169        .36198E-07    .57685E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.1553
  norm       = 0.00010004
  norm       = 0.0001
  norm       = 1.36695
  Prefactor  = 18.1882
  Prefactor  = 0.0001
  norm       = 8.36263
  Prefactor  = 17.3893
  Prefactor  = 8.53009
  Prefactor  = 0.527533
  Prefactor  = 14.1755
  norm       = 0.0001
  Prefactor  = 2.88754
  Prefactor  = 16.4498
  Prefactor  = 8.56864
  Prefactor  = 1.57316
  Prefactor  = 30.5614
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.13001
  Prefactor  = 0.998766
 **********
 **   18 **HESSE 
 **********

 FCN=   8720.056     FROM HESSE     STATUS=OK           323 CALLS     2533 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.155        60.790        .30820E-03   -1.4409    
   2  norm          .10004E-03    8.7975        .20588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    12.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3669        1.0647        .81309E-04   -1.5474    
   5  Prefactor     18.188        19.509        .93926E-04   -1.4855    
   6  Prefactor     .10000E-03    44.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.3626        5.5658        .13864E-03   -1.5130    
   8  Prefactor     17.389        18.834        .96038E-04   -1.4874    
   9  Prefactor     8.5301        12.359        .13730E-03   -1.5124    
  10  Prefactor     .52753        .24461        .28298E-04   -1.5563    
  11  Prefactor     14.176        8.6271        .10638E-03   -1.4955    
  12  norm          .10000E-03    .61317        .71018E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8875        106.34        .23352E-03   -1.5368    
  14  Prefactor     16.450        13.019        .98762E-04   -1.4897    
  15  Prefactor     8.5686        10.732        .13694E-03   -1.5122    
  16  Prefactor     1.5732        .24733        .16705E-04   -1.5457    
  17  Prefactor     30.561        33.918        .72496E-04   -1.4602    
  18  Prefactor     .10000E-03    1.8968        .12542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.2177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1300        .28589        .37454E-03   -.88794    
  21  Prefactor     .99877        .14400        .21090E-03   -.92771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74123e-09
Minuit parameter uncertainties:
  1  60.8795
  2  0.00119065
  3  6.96612e-06
  4  1.06469
  5  19.5159
  6  0.000123232
  7  5.56614
  8  18.8402
  9  12.3629
  10  0.244606
  11  8.62781
  12  1.14097e-06
  13  35.1137
  14  13.0217
  15  10.7339
  16  0.247327
  17  33.9393
  18  2.208e-06
  19  2.36619e-05
  20  0.286284
  21  0.14406
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  5.275e-01  2.446e-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:  9.988e-01  1.441e-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.130e+00  2.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.49
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 1.34e-07 +/- 6.23e-08
Energy Flux (Fixed Index): 4.99e-05 +/- 2.31e-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) = 8717.5792565
delta logL = 2.47634031768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8717.57382801
delta logL = 2.48176880526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42549       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.9937       1.0000          .0000       10.000    
     3 'Normalizat'    .95078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0587       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=   8717.574     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      211 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42552        1.5629        .41522E-02    .16708E-02
   2  Index1        2.9937        2.7750        .12375        .22956E-04
   3  Normalizat    .95080        .97363E-01    .90965E-01    .86063E-04
   4  Prefactor     1.0587        .49209E-01    .39425E-01   -.29911E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.425523
  Index1     = 2.9937
  Normalizat = 0.950805
  Prefactor  = 1.05869
 **********
 **   18 **HESSE 
 **********

 FCN=   8717.574     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42552        .22163        .18466E-04   -1.5578    
   2  Index1        2.9937        .47299        .50040E-02   -.41289    
   3  Normalizat    .95080        .28268        .40287E-03   -.94697    
   4  Prefactor     1.0587        .14706        .20522E-03   -.90798    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31017e-10
Minuit parameter uncertainties:
  1  0.221626
  2  0.473838
  3  0.283121
  4  0.147121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83395': 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) = 8717.57382794
delta logL = 2.48176887576

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  4.255e-01  2.216e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.994e+00  4.738e-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:  1.059e+00  1.471e-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:  9.508e-01  2.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.07
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.99 +/- 0.47
Photon Flux (Free Index): 2.90e-07 +/- 1.05e-07
Energy Flux (Free Index): 5.49e-05 +/- 1.81e-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/83395/cmap_HighResolution_679968001_680227201_4FGL_J2232.6+1143_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.34e-07', energy_flux2='5.49e-05', photon_flux_error='6.23e-08', dlogl='2.48e+00', energy_flux='4.99e-05', photon_flux2='2.90e-07', job_status='DONE', time_completed='2022-07-23 00:48:56.076769', photon_index_error2='0.47', photon_index2='2.99', ts='11.49', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.81e-05', EG='1.13', time_epoch_completed='1658562536.08', return_code='0', job_id='83395', GAL2='1.06', EG2='0.95', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='1.05e-07', ts2='17.07', photon_index='2.05' WHERE bin_id='1700' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:48:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 83395: <4FGL_J2232.6+1143_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:44 2022
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:45 2022
Terminated at Sat Jul 23 00:48:56 2022
Results reported at Sat Jul 23 00:48:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1700 338.152 11.7306 679968001 680227201 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 :                                   642.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            792 sec.

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

