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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1667
RA = 338.152, Dec = 11.7306
tmin = 671414401, tmax = 671673601
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='533208', job_status='RUN', time_executed='2022-04-15 03:42:19.599930', time_epoch_executed='1650019339.6' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/533208

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/533208/ft1_4FGL_J2232.6+1143_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/533208/ft2_4FGL_J2232.6+1143_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/533208/ft1_4FGL_J2232.6+1143_daily_bin1667.fits outfile=/scratch/kocevski/533208/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1667.fits ra=338.152 dec=11.7306 rad=12.0 tmin=671414401.0 tmax=671673601.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.50
user 3.30
sys 0.18

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

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

Number of photons that the gtmktime cut: 835

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/533208/ft1_filtered_4FGL_J2232.6+1143_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/533208/ft2_4FGL_J2232.6+1143_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/533208/ltcube_671414401_671673601_4FGL_J2232.6+1143_daily_bin1667.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/533208/ft2_4FGL_J2232.6+1143_daily_bin1667.fits
.....................!
real 13.72
user 13.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/533208/ft1_filtered_4FGL_J2232.6+1143_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/533208/ft2_4FGL_J2232.6+1143_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/533208/ltcube_671414401_671673601_4FGL_J2232.6+1143_daily_bin1667.fits outfile=/scratch/kocevski/533208/expmap_671414401_671673601_4FGL_J2232.6+1143_daily_bin1667.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/533208/ltcube_671414401_671673601_4FGL_J2232.6+1143_daily_bin1667.fits
.....................!
real 190.70
user 185.54
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/533208/ft1_filtered_4FGL_J2232.6+1143_daily_bin1667.fits scfile=/scratch/kocevski/533208/ft2_4FGL_J2232.6+1143_daily_bin1667.fits outfile=/scratch/kocevski/533208/cmap_671414401_671673601_4FGL_J2232.6+1143_daily_bin1667.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.57
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/533208/ft1_filtered_4FGL_J2232.6+1143_daily_bin1667.fits scfile=/scratch/kocevski/533208/ft2_4FGL_J2232.6+1143_daily_bin1667.fits outfile=/scratch/kocevski/533208/cmap_HighResolution_671414401_671673601_4FGL_J2232.6+1143_daily_bin1667.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.59
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.150       1.0000         .10000E-03   10000.    
     2 'norm      '    .99398       1.0000         .10000E-03   10000.    
     3 'norm      '    .12774E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.630       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13680E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.597       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2261       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4633       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0401       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0576       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.406       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9232       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.6932       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .33270       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.758       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8556       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15244E-01   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0745       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82489       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=   9085.538     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2255 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.187        59.166        .21639E-05    .33498E-04
   2  norm          .99088        2.2317        .91680E-06   -.13825E-03
   3  norm          .10000E-03    89.744       -.29667E-06** at limit **
   4  norm          .10000E-03    .26257        .16524E-07** at limit **
   5  Prefactor     25.631        19.588        .15249E-07   -.69563E-05
   6  Prefactor     .10000E-03    86.576       -.91691E-06** at limit **
   7  norm          .10000E-03    .92356       -.30500E-08** at limit **
   8  Prefactor     17.598        12.717       -.23899E-07   -.13445E-04
   9  Prefactor     7.2260        8.5750       -.25965E-06   -.48761E-04
  10  Prefactor     1.4633        .26645        .73146E-08   -.23490E-03
  11  Prefactor     8.0394        7.7476       -.17700E-07   -.22821E-04
  12  norm          1.0591        1.9335        .39463E-06   -.10180E-04
  13  Prefactor     21.405        23.689        .45346E-07   -.45375E-05
  14  Prefactor     3.9144        13.343       -.24432E-06   -.34564E-04
  15  Prefactor     5.6925        11.560        .29851E-06   -.33084E-05
  16  Prefactor     .33269        .14522        .77472E-08   -.33835E-03
  17  Prefactor     22.755        31.546        .12236E-06   -.10574E-04
  18  Prefactor     5.8546        6.5938        .16694E-06   -.41983E-04
  19  Prefactor     .10001E-03    9.9488        .31731E-06** at limit **
  20  Normalizat    1.0745        .20302       -.30505E-06   -.84876E-04
  21  Prefactor     .82493        .10379       -.32883E-06   -.88731E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.187
  norm       = 0.990881
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 25.6314
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.5977
  Prefactor  = 7.22604
  Prefactor  = 1.46328
  Prefactor  = 8.03941
  norm       = 1.05912
  Prefactor  = 21.4054
  Prefactor  = 3.91435
  Prefactor  = 5.69249
  Prefactor  = 0.332692
  Prefactor  = 22.7548
  Prefactor  = 5.85455
  Prefactor  = 0.000100006
  Normalizat = 1.07446
  Prefactor  = 0.824931
 **********
 **   18 **HESSE 
 **********

 FCN=   9085.538     FROM HESSE     STATUS=OK           335 CALLS     2590 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.187        61.109        .28038E-03   -1.4276    
   2  norm          .99088        2.2705        .19909E-03   -1.5509    
   3  norm          .10000E-03    92.392        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .27208        .95327E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.631        19.635        .79128E-04   -1.4695    
   6  Prefactor     .10000E-03    89.141        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .92489        .89452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.598        12.753        .95476E-04   -1.4869    
   9  Prefactor     7.2260        8.6017        .14922E-03   -1.5170    
  10  Prefactor     1.4633        .26816        .19105E-04   -1.5466    
  11  Prefactor     8.0394        7.7668        .14140E-03   -1.5141    
  12  norm          1.0591        1.8591        .15379E-03   -1.5502    
  13  Prefactor     21.405        23.697        .86572E-04   -1.4782    
  14  Prefactor     3.9144        12.943        .20368E-03   -1.5312    
  15  Prefactor     5.6925        11.536        .16835E-03   -1.5231    
  16  Prefactor     .33269        .14290        .21971E-04   -1.5593    
  17  Prefactor     22.755        31.710        .83964E-04   -1.4754    
  18  Prefactor     5.8546        6.5814        .16596E-03   -1.5224    
  19  Prefactor     .10001E-03    11.892        .80999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0745        .24424        .32384E-03   -.90576    
  21  Prefactor     .82493        .12446        .19677E-03   -.98816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2617e-11
Minuit parameter uncertainties:
  1  61.1836
  2  2.27069
  3  0.000338366
  4  3.83991e-07
  5  19.6404
  6  5.08417e-05
  7  4.12626e-07
  8  12.7554
  9  8.60321
  10  0.268161
  11  7.76773
  12  1.85921
  13  23.7072
  14  12.9526
  15  11.5409
  16  0.142899
  17  31.7337
  18  6.58225
  19  0.000512527
  20  0.244497
  21  0.124498
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.463e+00  2.682e-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.249e-01  1.245e-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.074e+00  2.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 84.80
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 3.73e-07 +/- 6.83e-08
Energy Flux (Fixed Index): 1.38e-04 +/- 2.53e-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) = 9082.60060183
delta logL = 2.93743699635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9082.59402643
delta logL = 2.94401240169

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2253       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.5322       1.0000          .0000       10.000    
     3 'Normalizat'    .92142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88340       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=   9082.594     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      235 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2254        2.6474        .36090E-02    .23100E-03
   2  Index1        2.5322        1.9826        .72408E-01    .14265E-03
   3  Normalizat    .92138        .18413        .77919E-01    .29500E-04
   4  Prefactor     .88343        .93911E-01    .44793E-01    .59287E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.22537
  Index1     = 2.53219
  Normalizat = 0.921381
  Prefactor  = 0.883433
 **********
 **   18 **HESSE 
 **********

 FCN=   9082.594     FROM HESSE     STATUS=OK            31 CALLS      266 TOTAL
                     EDM=   .25E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2254        .25819        .15969E-04   -1.5487    
   2  Index1        2.5322        .20834        .31342E-03   -.51618    
   3  Normalizat    .92138        .23707        .34487E-03   -.95713    
   4  Prefactor     .88343        .12617        .19068E-03   -.96722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50202e-15
Minuit parameter uncertainties:
  1  0.258187
  2  0.20842
  3  0.237335
  4  0.126208
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/533208': 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) = 9082.59402635
delta logL = 2.94401247942

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.225e+00  2.582e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.532e+00  2.084e-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.834e-01  1.262e-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.214e-01  2.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 92.29
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.53 +/- 0.21
Photon Flux (Free Index): 4.95e-07 +/- 9.03e-08
Energy Flux (Free Index): 1.19e-04 +/- 2.02e-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/533208/cmap_HighResolution_671414401_671673601_4FGL_J2232.6+1143_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.73e-07', energy_flux2='1.19e-04', photon_flux_error='6.83e-08', dlogl='2.94e+00', energy_flux='1.38e-04', photon_flux2='4.95e-07', job_status='DONE', time_completed='2022-04-15 03:53:22.244321', photon_index_error2='0.21', photon_index2='2.53', ts='84.80', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='2.02e-05', EG='1.07', time_epoch_completed='1650020002.24', return_code='0', job_id='533208', GAL2='0.88', EG2='0.92', return_code2='0', energy_flux_error='2.53e-05', photon_flux_error2='9.03e-08', ts2='92.29', photon_index='2.05' WHERE bin_id='1667' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:53:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0177>
Subject: Job 533208: <4FGL_J2232.6+1143_daily_bin1667> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 03:40:42 2022
Job was executed on host(s) <bullet0177>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:41:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:41:52 2022
Terminated at Fri Apr 15 03:53:22 2022
Results reported at Fri Apr 15 03:53:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1667 338.152 11.7306 671414401 671673601 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 :                                   662.93 sec.
    Max Memory :                                 624 MB
    Average Memory :                             309.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            760 sec.

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

