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 60 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 17510
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1224.9+2122_weekly_bin759
RA = 186.228, Dec = 21.3814
tmin = 698025601, tmax = 698630401
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='589726', job_status='RUN', time_executed='2023-02-21 03:31:34.502752', time_epoch_executed='1676979094.5' WHERE source_name='4FGL J1224.9+2122' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589726

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589726/ft1_4FGL_J1224.9+2122_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589726/ft1_4FGL_J1224.9+2122_weekly_bin759.fits outfile=/scratch/kocevski/589726/ft1_filteredMKT_4FGL_J1224.9+2122_weekly_bin759.fits ra=186.228 dec=21.3814 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.49
user 8.16
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.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/589726/ft1_filteredMKT_4FGL_J1224.9+2122_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/589726/ft1_filtered_4FGL_J1224.9+2122_weekly_bin759.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.59
user 0.37
sys 0.19

Number of photons that the gtmktime cut: 855

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/589726/ft1_filtered_4FGL_J1224.9+2122_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/589726/ltcube_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.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/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits
.....................!
real 27.35
user 26.49
sys 0.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589726/ft1_filtered_4FGL_J1224.9+2122_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/589726/ltcube_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.fits outfile=/scratch/kocevski/589726/expmap_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.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/589726/ltcube_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.fits
.....................!
real 190.98
user 185.38
sys 4.79

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

Setting source of interest to:
4FGL J1224.9+2122 @ 186.228 21.3814

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/589726/ft1_filtered_4FGL_J1224.9+2122_weekly_bin759.fits scfile=/scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits outfile=/scratch/kocevski/589726/cmap_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.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=186.228 yref=21.3814 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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589726/ft1_filtered_4FGL_J1224.9+2122_weekly_bin759.fits scfile=/scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits outfile=/scratch/kocevski/589726/cmap_HighResolution_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.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=186.228 yref=21.3814 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.65
user 0.43
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/589726/ft1_filtered_4FGL_J1224.9+2122_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/589726/Model_4FGL_J1224.9+2122_weekly_bin759.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/589726/ft1_filtered_4FGL_J1224.9+2122_weekly_bin759.fits.....................!
real 75.97
user 74.48
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/589726/ft1_filtered_4FGL_J1224.9+2122_weekly_bin759.fits', '/scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits', expMap='/scratch/kocevski/589726/expmap_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.fits', expCube='/scratch/kocevski/589726/ltcube_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/589726/Model_4FGL_J1224.9+2122_weekly_bin759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.9+2122'

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.090e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/589726/ft1_filtered_4FGL_J1224.9+2122_weekly_bin759.fits
Spacecraft file(s): /scratch/kocevski/589726/ft2_4FGL_J1224.9+2122_weekly_bin759.fits
Exposure map: /scratch/kocevski/589726/expmap_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.fits
Exposure cube: /scratch/kocevski/589726/ltcube_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/589726/Model_4FGL_J1224.9+2122_weekly_bin759.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) = 8850.67843344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59274E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .54310E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .34412       1.0000          .0000       .10000E+07
     4 'norm      '    54.877       1.0000          .0000       .10000E+07
     5 'Prefactor '    .27500E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .60834E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36456E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13691E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7004       1.0000          .0000       .10000E+07
    10 'norm      '    .18504E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4167       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2176       1.0000          .0000       .10000E+07
    13 'Prefactor '    .49431E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .29295E-01   1.0000          .0000       .10000E+07
    15 'norm      '    12.638       1.0000          .0000       .10000E+07
    16 'Prefactor '    32.774       1.0000          .0000       .10000E+07
    17 'Prefactor '    10.719       1.0000          .0000       .10000E+07
    18 'Prefactor '    .88314E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    15.224       1.0000          .0000       .10000E+07
    20 'norm      '    1.2694       1.0000          .0000       .10000E+07
    21 'norm      '    25.846       1.0000          .0000       .10000E+07
    22 'Normalizat'    .98624       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1132       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8850.534     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1543 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19873E-07    12.294        .13431E-06** at limit **
   2  Prefactor      .0000        3.5006       -.20695E-07** at limit **
   3  Prefactor     .34732        2.7321       -.27446E-06   -.51371E-03
   4  norm          54.873        3.9945        .35544E-08   -.24568E-02
   5  Prefactor      .0000        7.2881        .33480E-07** at limit **
   6  Prefactor     .32196E-08    12.704        .21991E-06** at limit **
   7  Prefactor     .93259E-08    30.668       -.43657E-07** at limit **
   8  Prefactor      .0000        1.6805        .29737E-07** at limit **
   9  Prefactor     1.7006        2.1044       -.58802E-07   -.65985E-03
  10  norm           .0000        1.6158       -.22205E-08** at limit **
  11  Prefactor     1.4169        1.4625       -.16802E-07    .12936E-03
  12  Prefactor     1.2176        1.4587        .15928E-07   -.50463E-03
  13  Prefactor     .55511E-10    2.8648        .81275E-07** at limit **
  14  norm          .29278E-01    .19353        .19392E-07** at limit **
  15  norm          12.658        5.3951        .52844E-07   -.20139E-02
  16  Prefactor     32.845        2.1361       -.82290E-09   -.10014    
  17  Prefactor     10.745        7.5512       -.13097E-07   -.61528E-02
  18  Prefactor     .72164E-09    4.3043       -.10269E-06** at limit **
  19  Prefactor     15.374        2.5841       -.42372E-10   -.10407    
  20  norm          1.2776        2.2106        .10360E-06    .17744E-03
  21  norm          25.033        11.256        .56864E-07   -.31898E-01
  22  Normalizat    .98627        .20318        .16926E-05    .25230E-04
  23  Prefactor     1.1132        .20627       -.49186E-05    .20755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9873e-08
  Prefactor  = 0
  Prefactor  = 0.347317
  norm       = 54.8728
  Prefactor  = 0
  Prefactor  = 3.21965e-09
  Prefactor  = 9.32587e-09
  Prefactor  = 0
  Prefactor  = 1.70059
  norm       = 0
  Prefactor  = 1.41689
  Prefactor  = 1.21757
  Prefactor  = 5.55112e-11
  norm       = 0.0292782
  norm       = 12.6577
  Prefactor  = 32.8452
  Prefactor  = 10.7453
  Prefactor  = 7.21645e-10
  Prefactor  = 15.3745
  norm       = 1.27759
  norm       = 25.033
  Normalizat = 0.986272
  Prefactor  = 1.11316
 **********
 **   18 **HESSE 
 **********

 FCN=   8850.534     FROM HESSE     STATUS=OK           434 CALLS     1977 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19873E-07    12.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.4954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .34732        1.4432        .35565E-02   -1.5696    
   4  norm          54.873        4.0027        .13500E-03   -1.5560    
   5  Prefactor      .0000        7.3077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .32196E-08    2.4253        .51053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .93259E-08    30.770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.6692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7006        2.1244        .80640E-03   -1.5682    
  10  norm           .0000        1.6129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4169        1.4575        .90904E-03   -1.5684    
  12  Prefactor     1.2176        1.4987        .10227E-02   -1.5686    
  13  Prefactor     .55511E-10    2.8572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .29278E-01    .11190        .10804E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.658        5.4043        .28151E-03   -1.5637    
  16  Prefactor     32.845        13.036        .17470E-03   -1.5593    
  17  Prefactor     10.745        7.5663        .30577E-03   -1.5642    
  18  Prefactor     .72164E-09    4.3008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.374        12.335        .25643E-03   -1.5630    
  20  norm          1.2776        2.2628        .98740E-03   -1.5685    
  21  norm          25.033        20.375        .19674E-03   -1.5608    
  22  Normalizat    .98627        .17227        .68220E-01   -.93492    
  23  Prefactor     1.1132        .17253        .66541E-01   -.89047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.821e-07
Minuit parameter uncertainties:
  1  0.00100625
  2  5.73555e-06
  3  1.416
  4  4.00266
  5  2.35372e-05
  6  0.000176633
  7  0.00107036
  8  2.44965e-06
  9  2.12437
  10  3.7312e-06
  11  1.45748
  12  1.49868
  13  2.34265e-05
  14  0.111898
  15  5.40434
  16  13.0355
  17  7.56635
  18  0.000112263
  19  12.3346
  20  2.26284
  21  20.3747
  22  0.172371
  23  0.172613
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.928e-02  1.119e-01  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.113e+00  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.863e-01  1.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 7.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/589726/likelihoodResults_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.txt

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) = 8850.51816056
delta logL = 0.0153653954512

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8850.51690393
delta logL = 0.016622023506

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36225E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    1.9640       1.0000          .0000       5.0000    
     3 'Normalizat'    .98775       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1109       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8850.517     FROM MIGRAD    STATUS=FAILED       102 CALLS      306 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36258E-01    .14130        .54662E-04** at limit **
   2  alpha         1.9640        1.4219        .40844E-01   -.14209E-03
   3  Normalizat    .98777        .19803        .30157E-03    .30159E-06
   4  Prefactor     1.1108        .20563        .29460E-03    .61744E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8850.517     FROM SIMPLEX   STATUS=UNCHANGED     70 CALLS      376 TOTAL
                     EDM=   .74E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36258E-01    .14130        .33703E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9640        1.4219        .21679E-02   -.21606    
   3  Normalizat    .98777        .19803        .18916E-03   -.93441    
   4  Prefactor     1.1108        .20563        .24185E-03   -.89121    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8850.517     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      406 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36258E-01    .14242        .10932E-04** at limit **
   2  alpha         1.9640        1.4371        .81688E-02   -.55535E-05
   3  Normalizat    .98777        .19822        .12063E-04    .37699E-06
   4  Prefactor     1.1108        .20575        .11784E-04    .38590E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0362579
  alpha      = 1.96405
  Normalizat = 0.987766
  Prefactor  = 1.11085
 **********
 **   18 **HESSE 
 **********

 FCN=   8850.517     FROM HESSE     STATUS=OK            27 CALLS      433 TOTAL
                     EDM=   .21E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36258E-01    .14274        .21865E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9640        1.4403        .16338E-02   -.21606    
   3  Normalizat    .98777        .19783        .24125E-05   -.93441    
   4  Prefactor     1.1108        .20540        .23568E-05   -.89121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0894e-14
Minuit parameter uncertainties:
  1  0.142741
  2  1.54052
  3  0.197979
  4  0.205544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589726': 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) = 8850.5169039
delta logL = 0.0166220583542

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  3.626e-02  1.427e-01  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  1.964e+00  1.541e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.111e+00  2.055e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.878e-01  1.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 186.228 21.381

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/589726/cmap_HighResolution_698025601_698630401_4FGL_J1224.9+2122_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', job_status='DONE', photon_flux_upper_limit='7.35e-08', time_completed='2023-02-21 03:44:41.203201', job_id='589726', GAL2='1.11', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1676979881.2', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.66e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='759' AND source_name='4FGL J1224.9+2122' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:44:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 589726: <4FGL_J1224.9+2122_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1224.9+2122_weekly_bin759> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Feb 21 03:30:24 2023
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:30:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:30:25 2023
Terminated at Tue Feb 21 03:44:42 2023
Results reported at Tue Feb 21 03:44:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1224.9+2122_weekly_bin759 186.228 21.3814 698025601 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1224.9+2122 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   784.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             315.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            858 sec.

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

