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


Performing analysis on: 4FGL_J1224.9+2122_daily_bin1776
RA = 186.228, Dec = 21.3814
tmin = 699667201, tmax = 699926401
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='832547', job_status='RUN', time_executed='2023-03-08 00:35:51.981500', time_epoch_executed='1678264551.98' WHERE source_name='4FGL J1224.9+2122' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832547

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832547/ft1_4FGL_J1224.9+2122_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832547/ft2_4FGL_J1224.9+2122_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832547/ft1_4FGL_J1224.9+2122_daily_bin1776.fits outfile=/scratch/kocevski/832547/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin1776.fits ra=186.228 dec=21.3814 rad=12.0 tmin=699667201.0 tmax=699926401.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.87
user 3.65
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/832547/ft2_4FGL_J1224.9+2122_daily_bin1776.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/832547/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/832547/ft1_filtered_4FGL_J1224.9+2122_daily_bin1776.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 601

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832547/ft1_filtered_4FGL_J1224.9+2122_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/832547/ft2_4FGL_J1224.9+2122_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/832547/ltcube_699667201_699926401_4FGL_J1224.9+2122_daily_bin1776.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/832547/ft2_4FGL_J1224.9+2122_daily_bin1776.fits
.....................!
real 12.20
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832547/ft1_filtered_4FGL_J1224.9+2122_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832547/ft2_4FGL_J1224.9+2122_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/832547/ltcube_699667201_699926401_4FGL_J1224.9+2122_daily_bin1776.fits outfile=/scratch/kocevski/832547/expmap_699667201_699926401_4FGL_J1224.9+2122_daily_bin1776.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/832547/ltcube_699667201_699926401_4FGL_J1224.9+2122_daily_bin1776.fits
.....................!
real 190.96
user 185.28
sys 5.30

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/832547/ft1_filtered_4FGL_J1224.9+2122_daily_bin1776.fits scfile=/scratch/kocevski/832547/ft2_4FGL_J1224.9+2122_daily_bin1776.fits outfile=/scratch/kocevski/832547/cmap_699667201_699926401_4FGL_J1224.9+2122_daily_bin1776.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/832547/ft1_filtered_4FGL_J1224.9+2122_daily_bin1776.fits scfile=/scratch/kocevski/832547/ft2_4FGL_J1224.9+2122_daily_bin1776.fits outfile=/scratch/kocevski/832547/cmap_HighResolution_699667201_699926401_4FGL_J1224.9+2122_daily_bin1776.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67496E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.748       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8585       1.0000          .0000       .10000E+07
     4 'norm      '    27.877       1.0000          .0000       .10000E+07
     5 'Prefactor '    .77693E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29347E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .69765E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10442E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.8132       1.0000          .0000       .10000E+07
    10 'norm      '    3.5486       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.7917       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6355       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.3771       1.0000          .0000       .10000E+07
    14 'norm      '    .10039       1.0000          .0000       .10000E+07
    15 'norm      '    .61960E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    15.351       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11383E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .25586E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .69681E-02   1.0000          .0000       .10000E+07
    20 'norm      '    3.8070       1.0000          .0000       .10000E+07
    21 'norm      '    .28769E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .80023       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1287       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=   6567.440     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1503 TOTAL
                     EDM=   .68E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.7096       -.42693E-09** at limit **
   2  Prefactor     10.756        1.4008        .14008E-08   -.10855E-01
   3  Prefactor     1.8580        1.5843        .23338E-08    .10921E-03
   4  norm          27.881        2.9796       -.83525E-08    .46037E-04
   5  Prefactor     .36637E-08    10.675        .13489E-06** at limit **
   6  Prefactor      .0000        1.7922       -.54840E-07** at limit **
   7  Prefactor     .55511E-10    39.311        .54410E-07** at limit **
   8  Prefactor      .0000        1.0084       -.11260E-07** at limit **
   9  Prefactor     3.8106        3.1971        .51516E-08   -.64490E-04
  10  norm          3.5460        2.5378        .59377E-07   -.41716E-03
  11  Prefactor     1.7923        1.7287       -.26944E-07    .70463E-05
  12  Prefactor     7.6374        2.7860        .20720E-07   -.18631E-03
  13  Prefactor     2.3922        3.7281        .14702E-06   -.22365E-03
  14  norm          .10034        .15899        .23149E-09** at limit **
  15  norm          .55511E-10    7.1252       -.22633E-07** at limit **
  16  Prefactor     15.348        1.0495        .35043E-09    .23007E-02
  17  Prefactor      .0000        4.0098       -.51694E-07** at limit **
  18  Prefactor      .0000        2.7240       -.13033E-07** at limit **
  19  Prefactor     .46074E-08    9.5352        .12825E-06** at limit **
  20  norm          3.7916        3.3954        .15818E-07   -.14726E-03
  21  norm           .0000        11.956        .78441E-07** at limit **
  22  Normalizat    .80028        .20795       -.79215E-06    .14100E-05
  23  Prefactor     1.1287        .21189        .54575E-06   -.91708E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 10.7562
  Prefactor  = 1.85798
  norm       = 27.881
  Prefactor  = 3.66374e-09
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 3.81062
  norm       = 3.54599
  Prefactor  = 1.79229
  Prefactor  = 7.63737
  Prefactor  = 2.39221
  norm       = 0.100345
  norm       = 5.55112e-11
  Prefactor  = 15.3483
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.60743e-09
  norm       = 3.79161
  norm       = 0
  Normalizat = 0.800281
  Prefactor  = 1.12867
 **********
 **   18 **HESSE 
 **********

 FCN=   6567.440     FROM HESSE     STATUS=OK           418 CALLS     1921 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.7259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.756        10.411        .30535E-03   -1.5642    
   3  Prefactor     1.8580        1.6006        .76416E-03   -1.5681    
   4  norm          27.881        2.9794        .18943E-03   -1.5602    
   5  Prefactor     .36637E-08    19.879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    39.319        .14826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.0052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8106        3.2054        .51664E-03   -1.5669    
  10  norm          3.5460        2.5349        .53632E-03   -1.5670    
  11  Prefactor     1.7923        1.7181        .78107E-03   -1.5681    
  12  Prefactor     7.6374        2.7898        .36268E-03   -1.5653    
  13  Prefactor     2.3922        3.7530        .66419E-03   -1.5677    
  14  norm          .10034        .17893        .88615E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    6.9903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.348        10.445        .25537E-03   -1.5630    
  17  Prefactor      .0000        4.0111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.7256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .46074E-08    20.345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.7916        3.3992        .51708E-03   -1.5669    
  21  norm           .0000        11.964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .80028        .17739        .67249E-01   -1.0006    
  23  Prefactor     1.1287        .17938        .59597E-01   -.88555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92731e-09
Minuit parameter uncertainties:
  1  2.13083e-05
  2  10.4112
  3  1.60062
  4  2.97936
  5  0.000539174
  6  1.53791e-06
  7  9.38633e-05
  8  3.438e-07
  9  3.20536
  10  2.53486
  11  1.71807
  12  2.78982
  13  3.75298
  14  0.178928
  15  3.10312e-05
  16  10.4447
  17  2.36041e-06
  18  4.44894e-07
  19  0.000610793
  20  3.3992
  21  7.67942e-06
  22  0.177517
  23  0.179474
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  1.003e-01  1.789e-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.129e+00  1.795e-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.003e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/832547/likelihoodResults_699667201_699926401_4FGL_J1224.9+2122_daily_bin1776.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) = 6567.42421461
delta logL = 0.0156914176323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6567.42394377
delta logL = 0.0159622631882

Fit tolerance = 1e-08

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

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

 FCN=   6567.424     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      250 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10240        .16016        .42188E-04** at limit **
   2  alpha         2.4703        1.0808        .29813E-01   -.21051E-04
   3  Normalizat    .79695        .20447        .29812E-03    .37906E-04
   4  Prefactor     1.1308        .21176        .26333E-03   -.82289E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.102405
  alpha      = 2.47026
  Normalizat = 0.79695
  Prefactor  = 1.13082
 **********
 **   18 **HESSE 
 **********

 FCN=   6567.424     FROM HESSE     STATUS=OK            27 CALLS      277 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10240        .15839        .16875E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4703        1.0711        .11925E-02   -.11898E-01
   3  Normalizat    .79695        .20467        .11925E-04   -1.0018    
   4  Prefactor     1.1308        .21192        .10533E-04   -.88487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96855e-10
Minuit parameter uncertainties:
  1  0.158393
  2  1.10691
  3  0.204871
  4  0.212076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832547': 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) = 6567.42394376
delta logL = 0.015962268797

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  1.024e-01  1.584e-01  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.470e+00  1.107e+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.131e+00  2.121e-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:  7.970e-01  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
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/832547/cmap_HighResolution_699667201_699926401_4FGL_J1224.9+2122_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-05', job_status='DONE', photon_flux_upper_limit='8.66e-08', time_completed='2023-03-08 00:45:50.314597', job_id='832547', GAL2='1.13', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1678265150.31', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.60e-02', ts2='0.58', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1776' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:45:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 832547: <4FGL_J1224.9+2122_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1224.9+2122_daily_bin1776> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Mar  8 00:35:27 2023
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:35:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:35:27 2023
Terminated at Wed Mar  8 00:45:51 2023
Results reported at Wed Mar  8 00:45:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1224.9+2122_daily_bin1776 186.228 21.3814 699667201 699926401 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 :                                   600.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            624 sec.

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

