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


Performing analysis on: 4FGL_J1224.9+2122_daily_bin1770
RA = 186.228, Dec = 21.3814
tmin = 698112001, tmax = 698371201
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='485370', job_status='RUN', time_executed='2023-02-18 00:45:57.225244', time_epoch_executed='1676709957.23' WHERE source_name='4FGL J1224.9+2122' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/485370

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/485370/ft1_4FGL_J1224.9+2122_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/485370/ft2_4FGL_J1224.9+2122_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/485370/ft1_4FGL_J1224.9+2122_daily_bin1770.fits outfile=/scratch/kocevski/485370/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin1770.fits ra=186.228 dec=21.3814 rad=12.0 tmin=698112001.0 tmax=698371201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.31
user 4.11
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/485370/ft2_4FGL_J1224.9+2122_daily_bin1770.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/485370/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/485370/ft1_filtered_4FGL_J1224.9+2122_daily_bin1770.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 461

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/485370/ft1_filtered_4FGL_J1224.9+2122_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/485370/ft2_4FGL_J1224.9+2122_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/485370/ltcube_698112001_698371201_4FGL_J1224.9+2122_daily_bin1770.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/485370/ft2_4FGL_J1224.9+2122_daily_bin1770.fits
.....................!
real 11.98
user 11.66
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/485370/ft1_filtered_4FGL_J1224.9+2122_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/485370/ft2_4FGL_J1224.9+2122_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/485370/ltcube_698112001_698371201_4FGL_J1224.9+2122_daily_bin1770.fits outfile=/scratch/kocevski/485370/expmap_698112001_698371201_4FGL_J1224.9+2122_daily_bin1770.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/485370/ltcube_698112001_698371201_4FGL_J1224.9+2122_daily_bin1770.fits
.....................!
real 189.80
user 185.41
sys 4.01

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/485370/ft1_filtered_4FGL_J1224.9+2122_daily_bin1770.fits scfile=/scratch/kocevski/485370/ft2_4FGL_J1224.9+2122_daily_bin1770.fits outfile=/scratch/kocevski/485370/cmap_698112001_698371201_4FGL_J1224.9+2122_daily_bin1770.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/485370/ft1_filtered_4FGL_J1224.9+2122_daily_bin1770.fits scfile=/scratch/kocevski/485370/ft2_4FGL_J1224.9+2122_daily_bin1770.fits outfile=/scratch/kocevski/485370/cmap_HighResolution_698112001_698371201_4FGL_J1224.9+2122_daily_bin1770.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89228E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14688E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7832       1.0000          .0000       .10000E+07
     4 'norm      '    59.528       1.0000          .0000       .10000E+07
     5 'Prefactor '    .48445E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4705       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20631E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15304E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .36450E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .43806E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.5707       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4506       1.0000          .0000       .10000E+07
    13 'Prefactor '    .30465E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .57978E-01   1.0000          .0000       .10000E+07
    15 'norm      '    3.2203       1.0000          .0000       .10000E+07
    16 'Prefactor '    44.521       1.0000          .0000       .10000E+07
    17 'Prefactor '    .55874       1.0000          .0000       .10000E+07
    18 'Prefactor '    .31998E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    21.623       1.0000          .0000       .10000E+07
    20 'norm      '    1.5794       1.0000          .0000       .10000E+07
    21 'norm      '    20.640       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2395       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .70387       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=   4625.941     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1510 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        23.868       -.50422E-07** at limit **
   2  Prefactor      .0000        4.4413       -.69430E-07** at limit **
   3  Prefactor     1.7892        2.7431       -.12979E-08    .84278E-04
   4  norm          59.513        5.3900       -.27462E-08    .74639E-03
   5  Prefactor     .27756E-09    11.417       -.25861E-07** at limit **
   6  Prefactor     3.4774        5.0640       -.42556E-07    .21475E-03
   7  Prefactor     .55511E-10    101.09       -.43380E-06** at limit **
   8  Prefactor      .0000        1.6251        .26359E-07** at limit **
   9  Prefactor      .0000        1.8790        .83712E-07** at limit **
  10  norm           .0000        2.1595       -.38940E-07** at limit **
  11  Prefactor     3.5700        3.1312       -.36946E-07    .40135E-04
  12  Prefactor     1.4515        1.9950       -.90471E-08   -.30914E-04
  13  Prefactor     .11102E-09    8.8442        .16312E-06** at limit **
  14  norm          .57842E-01    .18042        .16093E-07** at limit **
  15  norm          3.1702        4.7995        .46543E-07   -.16194E-04
  16  Prefactor     44.481        16.772        .26643E-08   -.15369E-02
  17  Prefactor     .59807        2.0792       -.16017E-08    .40012E-02
  18  Prefactor      .0000        6.8566        .61650E-07** at limit **
  19  Prefactor     21.574        5.7725       -.25358E-08    .30439E-01
  20  norm          1.5777        2.5626       -.28937E-07   -.16171E-04
  21  norm          20.705        7.8653       -.34363E-08    .25422E-01
  22  Normalizat    1.2401        .27154       -.12319E-05   -.83611E-06
  23  Prefactor     .70368        .26869       -.33900E-06   -.11577E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.7892
  norm       = 59.5126
  Prefactor  = 2.77556e-10
  Prefactor  = 3.47742
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 3.56995
  Prefactor  = 1.45148
  Prefactor  = 1.11022e-10
  norm       = 0.0578423
  norm       = 3.17016
  Prefactor  = 44.4809
  Prefactor  = 0.598071
  Prefactor  = 0
  Prefactor  = 21.5743
  norm       = 1.57772
  norm       = 20.7053
  Normalizat = 1.24014
  Prefactor  = 0.703681
 **********
 **   18 **HESSE 
 **********

 FCN=   4625.941     FROM HESSE     STATUS=OK           420 CALLS     1930 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        23.687        .14228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.4396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7892        2.7706        .78331E-03   -1.5681    
   4  norm          59.513        5.3873        .12962E-03   -1.5554    
   5  Prefactor     .27756E-09    11.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4774        5.0783        .54258E-03   -1.5671    
   7  Prefactor     .55511E-10    101.00        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.6169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.8668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.1540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5700        3.1402        .53458E-03   -1.5670    
  12  Prefactor     1.4515        2.0311        .89418E-03   -1.5684    
  13  Prefactor     .11102E-09    8.8314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .57842E-01    .17728        .11143E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1702        4.8221        .56427E-03   -1.5672    
  16  Prefactor     44.481        19.656        .14988E-03   -1.5575    
  17  Prefactor     .59807        35.615        .73008E-03   -1.5692    
  18  Prefactor      .0000        6.8503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.574        16.575        .21511E-03   -1.5615    
  20  norm          1.5777        2.5972        .84488E-03   -1.5683    
  21  norm          20.705        22.812        .22018E-03   -1.5617    
  22  Normalizat    1.2401        .23008        .60329E-01   -.85371    
  23  Prefactor     .70368        .22749        .77672E-01   -1.0338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49585e-08
Minuit parameter uncertainties:
  1  9.52694e-06
  2  2.84586e-06
  3  2.77058
  4  5.38733
  5  0.000111703
  6  5.07835
  7  0.000115711
  8  2.92932e-07
  9  1.34584e-07
  10  8.9754e-07
  11  3.14018
  12  2.03107
  13  5.50005e-05
  14  0.17728
  15  4.82211
  16  19.6555
  17  9.23048
  18  6.82678e-07
  19  16.575
  20  2.59721
  21  22.8116
  22  0.230264
  23  0.227786
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  5.784e-02  1.773e-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:  7.037e-01  2.278e-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.240e+00  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/485370/likelihoodResults_698112001_698371201_4FGL_J1224.9+2122_daily_bin1770.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) = 4625.737545
delta logL = 0.203082386528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4625.72143112
delta logL = 0.219196263014

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90941E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    1.5439       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2527       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68474       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=   4625.721     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      224 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90990E-01    .16602        .71466E-03** at limit **
   2  alpha         1.5444        .58493        .31720       -.39117E-04
   3  Normalizat    1.2528        .22455        .60047E-01    .14539E-05
   4  Prefactor     .68468        .22620        .78590E-01    .15966E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0909896
  alpha      = 1.54438
  Normalizat = 1.25279
  Prefactor  = 0.684675
 **********
 **   18 **HESSE 
 **********

 FCN=   4625.721     FROM HESSE     STATUS=OK            35 CALLS      259 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90990E-01    .16168        .35639E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5444        .79727        .16768E-01   -.39223    
   3  Normalizat    1.2528        .26616        .26555E-03   -.84987    
   4  Prefactor     .68468        .26762        .34800E-03   -1.0413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82233e-09
Minuit parameter uncertainties:
  1  0.161683
  2  0.81401
  3  0.266453
  4  0.268123
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/485370': 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) = 4625.72143091
delta logL = 0.219196476664

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  9.099e-02  1.617e-01  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  1.544e+00  8.140e-01  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:  6.847e-01  2.681e-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.253e+00  2.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/485370/cmap_HighResolution_698112001_698371201_4FGL_J1224.9+2122_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-05', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2023-02-18 00:54:46.480373', job_id='485370', GAL2='0.68', fit_tolerance='1e-08', EG2='1.25', EG='1.24', time_epoch_completed='1676710486.48', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='2.19e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1770' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:54:46 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 485370: <4FGL_J1224.9+2122_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1224.9+2122_daily_bin1770> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Feb 18 00:45:21 2023
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:45:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:45:21 2023
Terminated at Sat Feb 18 00:54:47 2023
Results reported at Sat Feb 18 00:54:47 2023

Your job looked like:

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

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

