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


Performing analysis on: 4FGL_J1224.9+2122_daily_bin1771
RA = 186.228, Dec = 21.3814
tmin = 698371201, 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='547572', job_status='RUN', time_executed='2023-02-21 00:54:15.398453', time_epoch_executed='1676969655.4' WHERE source_name='4FGL J1224.9+2122' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/547572

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=698371201.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>=698371201.0 && nMetStart<698630401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/547572/ft1_4FGL_J1224.9+2122_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/547572/ft2_4FGL_J1224.9+2122_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/547572/ft1_4FGL_J1224.9+2122_daily_bin1771.fits outfile=/scratch/kocevski/547572/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin1771.fits ra=186.228 dec=21.3814 rad=12.0 tmin=698371201.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 3.14
user 2.87
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/547572/ft2_4FGL_J1224.9+2122_daily_bin1771.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/547572/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/547572/ft1_filtered_4FGL_J1224.9+2122_daily_bin1771.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.79
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 113

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/547572/ft1_filtered_4FGL_J1224.9+2122_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/547572/ft2_4FGL_J1224.9+2122_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/547572/ltcube_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.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/547572/ft2_4FGL_J1224.9+2122_daily_bin1771.fits
.....................!
real 13.20
user 12.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/547572/ft1_filtered_4FGL_J1224.9+2122_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/547572/ft2_4FGL_J1224.9+2122_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/547572/ltcube_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.fits outfile=/scratch/kocevski/547572/expmap_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.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/547572/ltcube_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.fits
.....................!
real 190.69
user 185.41
sys 4.83

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/547572/ft1_filtered_4FGL_J1224.9+2122_daily_bin1771.fits scfile=/scratch/kocevski/547572/ft2_4FGL_J1224.9+2122_daily_bin1771.fits outfile=/scratch/kocevski/547572/cmap_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/547572/ft1_filtered_4FGL_J1224.9+2122_daily_bin1771.fits scfile=/scratch/kocevski/547572/ft2_4FGL_J1224.9+2122_daily_bin1771.fits outfile=/scratch/kocevski/547572/cmap_HighResolution_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.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.54
user 0.40
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/547572/ft1_filtered_4FGL_J1224.9+2122_daily_bin1771.fits', '/scratch/kocevski/547572/ft2_4FGL_J1224.9+2122_daily_bin1771.fits', expMap='/scratch/kocevski/547572/expmap_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.fits', expCube='/scratch/kocevski/547572/ltcube_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/547572/Model_4FGL_J1224.9+2122_daily_bin1771.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/547572/ft1_filtered_4FGL_J1224.9+2122_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/547572/ft2_4FGL_J1224.9+2122_daily_bin1771.fits
Exposure map: /scratch/kocevski/547572/expmap_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.fits
Exposure cube: /scratch/kocevski/547572/ltcube_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/547572/Model_4FGL_J1224.9+2122_daily_bin1771.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) = 1307.98529774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    226.47       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12139E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10309E-03   1.0000          .0000       .10000E+07
     4 'norm      '    66.135       1.0000          .0000       .10000E+07
     5 'Prefactor '    .15311E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19420E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0954       1.0000          .0000       .10000E+07
     8 'Prefactor '    .77993E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .68589E-04   1.0000          .0000       .10000E+07
    10 'norm      '    15.947       1.0000          .0000       .10000E+07
    11 'Prefactor '    .28570E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18199E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .88946E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .19829E-06   1.0000          .0000       .10000E+07
    15 'norm      '    30.070       1.0000          .0000       .10000E+07
    16 'Prefactor '    76.325       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30604E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    29.196       1.0000          .0000       .10000E+07
    19 'Prefactor '    .17938E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .21184E-02   1.0000          .0000       .10000E+07
    21 'norm      '    34.292       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0154       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83266       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=   1307.688     FROM MIGRAD    STATUS=CONVERGED    209 CALLS     1907 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     216.21        380.46       -.39517E-04    .10565E-02
   2  Prefactor     .14466E-06    35.170        .16243E-05** at limit **
   3  Prefactor     .10481E-06    61.507        .92004E-06** at limit **
   4  norm          66.415        7.0603        .87069E-06   -.63341E-01
   5  Prefactor     .19074E-06    26.976       -.38599E-06** at limit **
   6  Prefactor     .33307E-09    8.1660        .20753E-06** at limit **
   7  Prefactor     .13435E-05    135.73        .54159E-04** at limit **
   8  Prefactor     .11102E-09    3.5481        .46907E-06** at limit **
   9  Prefactor     .16653E-09    3.5912       -.31618E-06** at limit **
  10  norm          15.965        14.336       -.52045E-07    .22553E-02
  11  Prefactor     .55511E-10    7.0454       -.18002E-05** at limit **
  12  Prefactor     .55511E-10    4.7835       -.12343E-05** at limit **
  13  Prefactor     .32196E-08    16.023        .15670E-05** at limit **
  14  norm          .55511E-10    .67826        .15353E-06** at limit **
  15  norm          29.612        3.2713        .42313E-06    .36254E-02
  16  Prefactor     78.637        41.646        .16127E-04   -.80761E-02
  17  Prefactor     .48683E-07    20.698       -.63133E-05** at limit **
  18  Prefactor     28.604        6.1015       -.55297E-06   -.16668    
  19  Prefactor     .28311E-08    17.199       -.51079E-05** at limit **
  20  norm          .38858E-09    11.478        .64374E-05** at limit **
  21  norm          36.799        45.901       -.17811E-04    .87768E-02
  22  Normalizat    1.0175        .49290        .88637E-05   -.89453E-04
  23  Prefactor     .82979        .45196       -.58267E-04   -.20634E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 216.206
  Prefactor  = 1.44662e-07
  Prefactor  = 1.04805e-07
  norm       = 66.4153
  Prefactor  = 1.90736e-07
  Prefactor  = 3.33067e-10
  Prefactor  = 1.34354e-06
  Prefactor  = 1.11022e-10
  Prefactor  = 1.66533e-10
  norm       = 15.9652
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 3.21965e-09
  norm       = 5.55112e-11
  norm       = 29.6118
  Prefactor  = 78.6371
  Prefactor  = 4.86833e-08
  Prefactor  = 28.604
  Prefactor  = 2.83107e-09
  norm       = 3.88578e-10
  norm       = 36.7995
  Normalizat = 1.01746
  Prefactor  = 0.829795
 **********
 **   18 **HESSE 
 **********

 FCN=   1307.688     FROM HESSE     STATUS=OK           408 CALLS     2315 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     216.21        382.44        .66458E-04   -1.5414    
   2  Prefactor     .14466E-06    35.391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10481E-06    61.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          66.415        23.753        .12297E-03   -1.5545    
   5  Prefactor     .19074E-06    27.610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33307E-09    8.1732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13435E-05    137.85        .11387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    3.5529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    3.5914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.965        15.411        .25054E-03   -1.5628    
  11  Prefactor     .55511E-10    7.0478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    4.7846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .32196E-08    16.036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    .66836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          29.612        23.882        .18239E-03   -1.5599    
  16  Prefactor     78.637        41.956        .11447E-03   -1.5531    
  17  Prefactor     .48683E-07    20.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.604        25.270        .18510E-03   -1.5601    
  19  Prefactor     .28311E-08    17.203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .38858E-09    11.448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          36.799        46.085        .17079E-03   -1.5587    
  22  Normalizat    1.0175        .45092        .66718E-01   -.92448    
  23  Prefactor     .82979        .38982        .68012E-01   -.98639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98235e-07
Minuit parameter uncertainties:
  1  382.486
  2  0.00452565
  3  0.00507858
  4  23.7528
  5  0.00458963
  6  0.000100817
  7  0.0272193
  8  4.35824e-05
  9  4.70817e-05
  10  15.4106
  11  3.8529e-05
  12  2.45915e-05
  13  0.000455171
  14  1.42716e-05
  15  23.8823
  16  41.9566
  17  0.00201262
  18  25.2701
  19  0.000439563
  20  0.000135521
  21  46.0852
  22  0.452629
  23  0.391129
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  5.551e-11  1.427e-05  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:  8.298e-01  3.911e-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:  1.017e+00  4.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 3.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/547572/likelihoodResults_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.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) = 1307.27426252
delta logL = 0.413828009764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1307.27156711
delta logL = 0.416523418843

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21613       1.0000          .0000       .10000E+07
     2 'alpha     '    4.5246       1.0000          .0000       5.0000    
     3 'Normalizat'    .82157       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93510       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.

 FCN=   1307.272     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      314 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21623        11.717        .41863E-03** at limit **
   2  alpha         4.5260        3.8101        .50000        .15566E-05
   3  Normalizat    .82186        .28535        .73043E-01   -.17872E-05
   4  Prefactor     .93507        .19705        .45451E-01   -.25373E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.21623
  alpha      = 4.52599
  Normalizat = 0.821861
  Prefactor  = 0.935074
 **********
 **   18 **HESSE 
 **********

 FCN=   1307.272     FROM HESSE     STATUS=OK            33 CALLS      347 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21623        .46448        .18767E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.5260        3.8706        .28096E-01    .94483    
   3  Normalizat    .82186        .52181        .32327E-03   -.99263    
   4  Prefactor     .93507        .46791        .28460E-03   -.94926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52771e-11
Minuit parameter uncertainties:
  1  0.464483
  2  1.80883
  3  0.525046
  4  0.469953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/547572': 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) = 1307.27156437
delta logL = 0.416526158397

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.162e-01  4.645e-01  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  4.526e+00  1.809e+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:  9.351e-01  4.700e-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:  8.219e-01  5.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/547572/cmap_HighResolution_698371201_698630401_4FGL_J1224.9+2122_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-04', job_status='DONE', photon_flux_upper_limit='3.46e-07', time_completed='2023-02-21 01:00:33.734560', job_id='547572', GAL2='0.94', fit_tolerance='1e-08', EG2='0.82', EG='1.02', time_epoch_completed='1676970033.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.17e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1771' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:00:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 547572: <4FGL_J1224.9+2122_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1224.9+2122_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 00:50:19 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:50:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:50:21 2023
Terminated at Tue Feb 21 01:00:34 2023
Results reported at Tue Feb 21 01:00:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1224.9+2122_daily_bin1771 186.228 21.3814 698371201 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 :                                   379.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             221.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            615 sec.

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

