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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1670
RA = 338.152, Dec = 11.7306
tmin = 672192001, tmax = 672451201
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='875941', job_status='RUN', time_executed='2022-04-24 00:51:08.752582', time_epoch_executed='1650786668.75' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875941

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875941/ft1_4FGL_J2232.6+1143_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875941/ft2_4FGL_J2232.6+1143_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875941/ft1_4FGL_J2232.6+1143_daily_bin1670.fits outfile=/scratch/kocevski/875941/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1670.fits ra=338.152 dec=11.7306 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.08
user 4.82
sys 0.25

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

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

Number of photons that the gtmktime cut: 789

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875941/ft1_filtered_4FGL_J2232.6+1143_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/875941/ft2_4FGL_J2232.6+1143_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/875941/ltcube_672192001_672451201_4FGL_J2232.6+1143_daily_bin1670.fits outfile=/scratch/kocevski/875941/expmap_672192001_672451201_4FGL_J2232.6+1143_daily_bin1670.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/875941/ltcube_672192001_672451201_4FGL_J2232.6+1143_daily_bin1670.fits
.....................!
real 191.00
user 185.74
sys 4.90

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/875941/ft1_filtered_4FGL_J2232.6+1143_daily_bin1670.fits scfile=/scratch/kocevski/875941/ft2_4FGL_J2232.6+1143_daily_bin1670.fits outfile=/scratch/kocevski/875941/cmap_672192001_672451201_4FGL_J2232.6+1143_daily_bin1670.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875941/ft1_filtered_4FGL_J2232.6+1143_daily_bin1670.fits scfile=/scratch/kocevski/875941/ft2_4FGL_J2232.6+1143_daily_bin1670.fits outfile=/scratch/kocevski/875941/cmap_HighResolution_672192001_672451201_4FGL_J2232.6+1143_daily_bin1670.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10535E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    34.001       1.0000         .10000E-03   10000.    
     4 'norm      '    .68885       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    68.925       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6667       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0752       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4783       1.0000         .10000E-03   10000.    
    12 'norm      '    1.5960       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.195       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .43386       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .42549E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0959       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94616       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=   8634.574     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2255 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.513        .80838E-05** at limit **
   2  norm          .10000E-03    .97252        .11120E-06** at limit **
   3  norm          34.001        25.382        .21301E-06   -.15460E-04
   4  norm          .68884        .88874        .32501E-07   -.18253E-03
   5  Prefactor     .10000E-03    9.8773       -.19132E-05** at limit **
   6  Prefactor     68.934        34.093        .62473E-05    .12897E-03
   7  norm          .10000E-03    7.8192       -.46719E-06** at limit **
   8  Prefactor     .10000E-03    20.492        .13273E-05** at limit **
   9  Prefactor     1.6704        5.2986        .17037E-05   -.92537E-03
  10  Prefactor     1.0753        .23399       -.14983E-07   -.35154E-03
  11  Prefactor     3.4782        4.9922        .26461E-05    .10692E-03
  12  norm          1.5962        1.4921        .38525E-07    .47096E-04
  13  Prefactor     .10000E-03    11.617        .20692E-05** at limit **
  14  Prefactor     15.195        14.174        .88498E-07    .53597E-05
  15  Prefactor     .10000E-03    11.317        .20642E-05** at limit **
  16  Prefactor     .43383        .15889        .30208E-07    .17294E-02
  17  Prefactor     .10000E-03    16.021       -.61913E-05** at limit **
  18  Prefactor     .10034E-03    4.8331       -.13353E-05** at limit **
  19  Prefactor     .10000E-03    6.9667       -.61272E-08** at limit **
  20  Normalizat    1.0957        .21142       -.12659E-05    .16216E-03
  21  Prefactor     .94625        .11054       -.12239E-06    .21317E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 34.0013
  norm       = 0.688836
  Prefactor  = 0.0001
  Prefactor  = 68.9341
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.67037
  Prefactor  = 1.07527
  Prefactor  = 3.47823
  norm       = 1.59618
  Prefactor  = 0.0001
  Prefactor  = 15.1953
  Prefactor  = 0.0001
  Prefactor  = 0.433826
  Prefactor  = 0.0001
  Prefactor  = 0.000100337
  Prefactor  = 0.0001
  Normalizat = 1.09571
  Prefactor  = 0.946249
 **********
 **   18 **HESSE 
 **********

 FCN=   8634.574     FROM HESSE     STATUS=OK           321 CALLS     2576 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.5929        .17613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          34.001        25.143        .68723E-04   -1.4541    
   4  norm          .68884        .80428        .94765E-03   -1.5542    
   5  Prefactor     .10000E-03    9.9386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     68.934        34.122        .48349E-04   -1.4046    
   7  norm          .10000E-03    8.1101        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6704        25.547        .16331E-02   -1.5449    
  10  Prefactor     1.0753        .23417        .19916E-04   -1.5501    
  11  Prefactor     3.4782        4.9920        .21681E-03   -1.5335    
  12  norm          1.5962        1.5003        .10358E-03   -1.5455    
  13  Prefactor     .10000E-03    11.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.195        14.126        .10275E-03   -1.4928    
  15  Prefactor     .10000E-03    11.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .43383        .15674        .20966E-04   -1.5576    
  17  Prefactor     .10000E-03    16.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10034E-03    37.931        .38497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.0069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0957        .25140        .33904E-03   -.89890    
  21  Prefactor     .94625        .13102        .19691E-03   -.94543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07065e-08
Minuit parameter uncertainties:
  1  0.000142264
  2  1.88757e-05
  3  25.1513
  4  0.804288
  5  5.58203e-05
  6  34.1318
  7  2.14946e-05
  8  2.36119e-05
  9  13.0711
  10  0.234171
  11  4.99264
  12  1.50032
  13  2.64544e-05
  14  14.1289
  15  2.66537e-05
  16  0.15674
  17  7.41183e-05
  18  0.00715105
  19  1.13805e-05
  20  0.251676
  21  0.131066
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.075e+00  2.342e-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.462e-01  1.311e-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.096e+00  2.517e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 64.23
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 2.74e-07 +/- 5.97e-08
Energy Flux (Fixed Index): 1.02e-04 +/- 2.21e-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) = 8634.5701295
delta logL = 0.00358683408558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8634.56985258
delta logL = 0.00386375387097

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0771       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0330       1.0000          .0000       10.000    
     3 'Normalizat'    1.1001       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94480       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=   8634.570     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0771        .31737        .45227E-02    .11204E-03
   2  Index1        2.0330        .28653        .10782        .39627E-04
   3  Normalizat    1.1001        .20628        .76475E-01    .21593E-04
   4  Prefactor     .94478        .11100        .45573E-01    .58431E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07715
  Index1     = 2.033
  Normalizat = 1.10012
  Prefactor  = 0.944784
 **********
 **   18 **HESSE 
 **********

 FCN=   8634.570     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0771        .23526        .20002E-04   -1.5500    
   2  Index1        2.0330        .21949        .46038E-02   -.63528    
   3  Normalizat    1.1001        .24453        .33848E-03   -.89748    
   4  Prefactor     .94478        .13126        .19706E-03   -.94593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.50502e-11
Minuit parameter uncertainties:
  1  0.235265
  2  0.219599
  3  0.244785
  4  0.131307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875941': 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) = 8634.56985257
delta logL = 0.00386376640381

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.077e+00  2.353e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.033e+00  2.196e-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:  9.448e-01  1.313e-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.100e+00  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 64.01
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.03 +/- 0.22
Photon Flux (Free Index): 2.70e-07 +/- 7.31e-08
Energy Flux (Free Index): 1.03e-04 +/- 2.47e-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/875941/cmap_HighResolution_672192001_672451201_4FGL_J2232.6+1143_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.74e-07', energy_flux2='1.03e-04', photon_flux_error='5.97e-08', dlogl='3.86e-03', energy_flux='1.02e-04', photon_flux2='2.70e-07', job_status='DONE', time_completed='2022-04-24 01:01:55.305317', photon_index_error2='0.22', photon_index2='2.03', ts='64.23', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.47e-05', EG='1.10', time_epoch_completed='1650787315.31', return_code='0', job_id='875941', GAL2='0.94', EG2='1.10', return_code2='0', energy_flux_error='2.21e-05', photon_flux_error2='7.31e-08', ts2='64.01', photon_index='2.05' WHERE bin_id='1670' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 01:01:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 875941: <4FGL_J2232.6+1143_daily_bin1670> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1670> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Apr 24 00:45:47 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:48:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:48:34 2022
Terminated at Sun Apr 24 01:01:56 2022
Results reported at Sun Apr 24 01:01:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1670 338.152 11.7306 672192001 672451201 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 :                                   649.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            969 sec.

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

