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


Performing analysis on: 4FGL_J1224.9+2122_daily_bin1754
RA = 186.228, Dec = 21.3814
tmin = 693964801, tmax = 694224001
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='642017', job_status='RUN', time_executed='2023-01-01 01:10:19.756474', time_epoch_executed='1672564219.76' WHERE source_name='4FGL J1224.9+2122' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/642017

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/642017/ft1_4FGL_J1224.9+2122_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/642017/ft2_4FGL_J1224.9+2122_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/642017/ft1_4FGL_J1224.9+2122_daily_bin1754.fits outfile=/scratch/kocevski/642017/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin1754.fits ra=186.228 dec=21.3814 rad=12.0 tmin=693964801.0 tmax=694224001.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.97
user 3.68
sys 0.24

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

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

Number of photons that the gtmktime cut: 587

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/642017/ft1_filtered_4FGL_J1224.9+2122_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/642017/ft2_4FGL_J1224.9+2122_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/642017/ltcube_693964801_694224001_4FGL_J1224.9+2122_daily_bin1754.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/642017/ft2_4FGL_J1224.9+2122_daily_bin1754.fits
.....................!
real 15.37
user 14.89
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/642017/ft1_filtered_4FGL_J1224.9+2122_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/642017/ft2_4FGL_J1224.9+2122_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/642017/ltcube_693964801_694224001_4FGL_J1224.9+2122_daily_bin1754.fits outfile=/scratch/kocevski/642017/expmap_693964801_694224001_4FGL_J1224.9+2122_daily_bin1754.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/642017/ltcube_693964801_694224001_4FGL_J1224.9+2122_daily_bin1754.fits
.....................!
real 193.12
user 186.14
sys 5.69

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/642017/ft1_filtered_4FGL_J1224.9+2122_daily_bin1754.fits scfile=/scratch/kocevski/642017/ft2_4FGL_J1224.9+2122_daily_bin1754.fits outfile=/scratch/kocevski/642017/cmap_693964801_694224001_4FGL_J1224.9+2122_daily_bin1754.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/642017/ft1_filtered_4FGL_J1224.9+2122_daily_bin1754.fits scfile=/scratch/kocevski/642017/ft2_4FGL_J1224.9+2122_daily_bin1754.fits outfile=/scratch/kocevski/642017/cmap_HighResolution_693964801_694224001_4FGL_J1224.9+2122_daily_bin1754.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.55
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.460       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.205       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.4808       1.0000          .0000       .10000E+07
     4 'norm      '    27.445       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.6717       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.8285       1.0000          .0000       .10000E+07
     7 'Prefactor '    .88357E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .53416E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4812       1.0000          .0000       .10000E+07
    10 'norm      '    .86876       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21615E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4026       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.8011       1.0000          .0000       .10000E+07
    14 'norm      '    .58444E-01   1.0000          .0000       .10000E+07
    15 'norm      '    2.5581       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.0443       1.0000          .0000       .10000E+07
    17 'Prefactor '    .39135E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .30126       1.0000          .0000       .10000E+07
    19 'Prefactor '    16.393       1.0000          .0000       .10000E+07
    20 'norm      '    .25483E-05   1.0000          .0000       .10000E+07
    21 'norm      '    16.399       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1450       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82536       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=   6169.021     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1558 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.557        3.0546        .72095E-08    .55288E-01
   2  Prefactor     10.251        4.7023       -.14930E-07   -.47299E-01
   3  Prefactor     4.4796        2.5647        .26831E-07    .17689E-02
   4  norm          27.442        3.2605       -.21864E-08   -.85202E-03
   5  Prefactor     7.5731        14.703       -.17343E-07   -.17163E-02
   6  Prefactor     2.8363        4.3970        .12525E-07    .19539E-02
   7  Prefactor     .38858E-09    37.401       -.28014E-06** at limit **
   8  Prefactor      .0000        1.0973        .31302E-08** at limit **
   9  Prefactor     4.4850        3.4168       -.89847E-09    .15364E-03
  10  norm          .87463        2.7111       -.18442E-07    .10149E-03
  11  Prefactor      .0000        1.1279       -.57507E-07** at limit **
  12  Prefactor     1.4033        1.6481        .20164E-07    .12940E-02
  13  Prefactor     2.8022        2.7963        .29992E-07    .12361E-02
  14  norm          .58680E-01    .23204       -.24155E-08** at limit **
  15  norm          2.5590        2.7867        .24527E-07    .99955E-03
  16  Prefactor     8.0272        8.3463       -.56776E-07    .26653E-01
  17  Prefactor      .0000        3.4148        .16636E-07** at limit **
  18  Prefactor     .42103        39.773        .27322E-07    .52736E-03
  19  Prefactor     16.393        2.4343       -.20646E-08   -.62169E-02
  20  norm           .0000        1.1452       -.20278E-07** at limit **
  21  norm          16.420        3.8995        .38368E-08   -.53638E-03
  22  Normalizat    1.1442        .22520       -.93387E-06    .93993E-04
  23  Prefactor     .82551        .21402        .24152E-05    .10639E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.5571
  Prefactor  = 10.2513
  Prefactor  = 4.47962
  norm       = 27.4424
  Prefactor  = 7.57315
  Prefactor  = 2.83628
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 4.48497
  norm       = 0.874629
  Prefactor  = 0
  Prefactor  = 1.40327
  Prefactor  = 2.80224
  norm       = 0.0586801
  norm       = 2.55904
  Prefactor  = 8.02716
  Prefactor  = 0
  Prefactor  = 0.421025
  Prefactor  = 16.3925
  norm       = 0
  norm       = 16.4198
  Normalizat = 1.14425
  Prefactor  = 0.825511
 **********
 **   18 **HESSE 
 **********

 FCN=   6169.021     FROM HESSE     STATUS=OK           434 CALLS     1992 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.557        25.141        .20224E-03   -1.5609    
   2  Prefactor     10.251        12.254        .31342E-03   -1.5644    
   3  Prefactor     4.4796        2.6562        .47542E-03   -1.5666    
   4  norm          27.442        3.2830        .19092E-03   -1.5603    
   5  Prefactor     7.5731        15.627        .36181E-03   -1.5653    
   6  Prefactor     2.8363        4.4681        .60444E-03   -1.5674    
   7  Prefactor     .38858E-09    37.507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.1010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4850        3.4329        .47540E-03   -1.5666    
  10  norm          .87463        2.7475        .47945E-03   -1.5689    
  11  Prefactor      .0000        1.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4033        1.6768        .91553E-03   -1.5684    
  13  Prefactor     2.8022        2.7871        .60759E-03   -1.5674    
  14  norm          .58680E-01    .19222        .11232E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5590        2.7916        .63805E-03   -1.5676    
  16  Prefactor     8.0272        8.7931        .35327E-03   -1.5651    
  17  Prefactor      .0000        3.4072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .42103        7.4217        .67219E-02   -1.5695    
  19  Prefactor     16.393        14.227        .24710E-03   -1.5627    
  20  norm           .0000        1.1414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          16.420        15.976        .24706E-03   -1.5627    
  22  Normalizat    1.1442        .19461        .56836E-01   -.88344    
  23  Prefactor     .82551        .18157        .66735E-01   -.98795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21314e-07
Minuit parameter uncertainties:
  1  25.1415
  2  12.2539
  3  2.65615
  4  3.28303
  5  15.6275
  6  4.46811
  7  0.000247923
  8  2.54203e-06
  9  3.43286
  10  2.74748
  11  5.23067e-06
  12  1.67679
  13  2.7871
  14  0.192217
  15  2.79162
  16  8.79315
  17  4.88187e-06
  18  3.53537
  19  14.2269
  20  5.13894e-06
  21  15.9758
  22  0.194733
  23  0.181698
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  5.868e-02  1.922e-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:  8.255e-01  1.817e-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.144e+00  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/642017/likelihoodResults_693964801_694224001_4FGL_J1224.9+2122_daily_bin1754.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) = 6166.96620071
delta logL = 2.05448903584

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6166.93960196
delta logL = 2.08108779015

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46080E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91290       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=   6166.940     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      259 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46052E-01    .85100        .15700E-03** at limit **
   2  alpha         5.0000        3.5629        .46309    ** at limit **
   3  Normalizat    1.0127        .25064        .44831E-01   -.15105E-03
   4  Prefactor     .91271        .19681        .45169E-01    .30486E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0460524
  alpha      = 5
  Normalizat = 1.01267
  Prefactor  = 0.912708
 **********
 **   18 **HESSE 
 **********

 FCN=   6166.940     FROM HESSE     STATUS=OK            29 CALLS      288 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46052E-01    .28040E-01    .95095E-06   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.2213        .58649E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0127        .22006        .26458E-03   -.92607    
   4  Prefactor     .91271        .21918        .28203E-03   -.95698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08591e-09
Minuit parameter uncertainties:
  1  0.0280403
  2  4.66905e-06
  3  0.220253
  4  0.21939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/642017': 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) = 6166.93960016
delta logL = 2.08108958714

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  4.605e-02  2.804e-02  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  5.000e+00  4.669e-06  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.127e-01  2.194e-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.013e+00  2.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.55
Ra Dec: 186.228 21.381
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.01e-07 +/- 6.14e-08
Energy Flux (Free Index): 1.36e-05 +/- 8.24e-06

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/642017/cmap_HighResolution_693964801_694224001_4FGL_J1224.9+2122_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-05', comment='SUCCESS', energy_flux2='1.36e-05', dlogl='2.08e+00', photon_flux2='1.01e-07', job_status='DONE', time_completed='2023-01-01 01:20:30.659717', photon_index_error2='0.00', photon_index2='5.00', ts='0.08', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='8.24e-06', EG='1.14', time_epoch_completed='1672564830.66', return_code='0', job_id='642017', GAL2='0.91', EG2='1.01', return_code2='0', photon_flux_error2='6.14e-08', ts2='4.55', photon_index='2.28' WHERE bin_id='1754' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:20:30 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 642017: <4FGL_J1224.9+2122_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1224.9+2122_daily_bin1754> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan  1 01:05:20 2023
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:06:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:06:35 2023
Terminated at Sun Jan  1 01:20:31 2023
Results reported at Sun Jan  1 01:20:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1224.9+2122_daily_bin1754 186.228 21.3814 693964801 694224001 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 :                                   611.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            911 sec.

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

