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


Performing analysis on: 4FGL_J0224.9+1843_daily_bin1748
RA = 36.2294, Dec = 18.7194
tmin = 692409601, tmax = 692668801
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='875679', job_status='RUN', time_executed='2022-12-14 00:06:32.046437', time_epoch_executed='1671005192.05' WHERE source_name='4FGL J0224.9+1843' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875679

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875679/ft1_4FGL_J0224.9+1843_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875679/ft1_4FGL_J0224.9+1843_daily_bin1748.fits outfile=/scratch/kocevski/875679/ft1_filteredMKT_4FGL_J0224.9+1843_daily_bin1748.fits ra=36.2294 dec=18.7194 rad=12.0 tmin=692409601.0 tmax=692668801.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.67
user 3.33
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.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/875679/ft1_filteredMKT_4FGL_J0224.9+1843_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/875679/ft1_filtered_4FGL_J0224.9+1843_daily_bin1748.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.62
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 785

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875679/ft1_filtered_4FGL_J0224.9+1843_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/875679/ltcube_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.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/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits
.....................!
real 13.30
user 12.77
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875679/ft1_filtered_4FGL_J0224.9+1843_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/875679/ltcube_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.fits outfile=/scratch/kocevski/875679/expmap_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.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/875679/ltcube_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.fits
.....................!
real 192.21
user 186.49
sys 5.08

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

Setting source of interest to:
4FGL J0224.9+1843 @ 36.2294 18.7194

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/875679/ft1_filtered_4FGL_J0224.9+1843_daily_bin1748.fits scfile=/scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits outfile=/scratch/kocevski/875679/cmap_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.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=36.2294 yref=18.7194 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.56
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875679/ft1_filtered_4FGL_J0224.9+1843_daily_bin1748.fits scfile=/scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits outfile=/scratch/kocevski/875679/cmap_HighResolution_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.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=36.2294 yref=18.7194 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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875679/ft1_filtered_4FGL_J0224.9+1843_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875679/Model_4FGL_J0224.9+1843_daily_bin1748.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/875679/ft1_filtered_4FGL_J0224.9+1843_daily_bin1748.fits.....................!
real 113.11
user 110.88
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875679/ft1_filtered_4FGL_J0224.9+1843_daily_bin1748.fits', '/scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits', expMap='/scratch/kocevski/875679/expmap_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.fits', expCube='/scratch/kocevski/875679/ltcube_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875679/Model_4FGL_J0224.9+1843_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0224.9+1843'

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  9.429e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.951e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  3.218e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/875679/ft1_filtered_4FGL_J0224.9+1843_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/875679/ft2_4FGL_J0224.9+1843_daily_bin1748.fits
Exposure map: /scratch/kocevski/875679/expmap_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.fits
Exposure cube: /scratch/kocevski/875679/ltcube_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875679/Model_4FGL_J0224.9+1843_daily_bin1748.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) = 8623.137681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28635E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    31.464       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.9985       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.1754       1.0000          .0000       .10000E+07
     5 'norm      '    13.944       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.8617       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11004       1.0000          .0000       .10000E+07
     8 'norm      '    .63216E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    31.329       1.0000          .0000       .10000E+07
    10 'Prefactor '    .90874E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    105.66       1.0000          .0000       .10000E+07
    12 'Prefactor '    42.423       1.0000          .0000       .10000E+07
    13 'Prefactor '    .76101E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .38362E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.1342       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17171E-02   1.0000          .0000       .10000E+07
    17 'norm      '    1.0204       1.0000          .0000       .10000E+07
    18 'Prefactor '    51.432       1.0000          .0000       .10000E+07
    19 'norm      '    .16209E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .82121E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    79.689       1.0000          .0000       .10000E+07
    22 'Prefactor '    .12854E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .43874E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .14099E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    .80704       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0047       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8623.097     FROM MIGRAD    STATUS=CONVERGED    216 CALLS     2844 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34700E-06    7.6520       -.13211E-07** at limit **
   2  Prefactor     31.451        4.4366       -.44511E-08   -.81355E-01
   3  Prefactor     3.9144        8.9571        .10042E-06   -.10590E-02
   4  Prefactor     6.1704        3.6428       -.13055E-07   -.86092E-03
   5  norm          13.759        7.8191       -.58633E-07   -.16878E-02
   6  Prefactor     3.8747        5.3824        .13620E-07    .63125E-03
   7  Prefactor     .91626E-01    22.716        .36636E-06** at limit **
   8  norm          .15543E-08    23.519        .11872E-07** at limit **
   9  Prefactor     31.499        20.028        .14802E-07   -.62974E-01
  10  Prefactor     .63227E-07    14.345        .14508E-07** at limit **
  11  Prefactor     105.91        8.2648       -.19845E-08   -.91422E-01
  12  Prefactor     36.758        46.074        .82166E-07   -.25176E-02
  13  Prefactor      .0000        2.9132        .13996E-07** at limit **
  14  Prefactor     .18874E-07    10.184        .60403E-07** at limit **
  15  norm          3.1313        1.7586       -.90105E-09    .65320E-04
  16  Prefactor      .0000        5.4676        .15641E-06** at limit **
  17  norm          1.0196        .49759        .18412E-08    .15067E-02
  18  Prefactor     51.385        27.594        .61822E-08    .57938E-01
  19  norm          .22204E-09    4.4720       -.81243E-07** at limit **
  20  Prefactor      .0000        7.1382       -.11834E-06** at limit **
  21  Prefactor     79.984        17.577        .55327E-09   -.22589E-02
  22  Prefactor      .0000        4.6492        .37692E-08** at limit **
  23  Prefactor     .19512E-06    9.4147        .19963E-07** at limit **
  24  norm           .0000        9.5986       -.34889E-07** at limit **
  25  Normalizat    .80876        .23830        .13315E-05    .65901E-04
  26  Prefactor     1.0056        .10165       -.31226E-06    .87901E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.47e-07
  Prefactor  = 31.4511
  Prefactor  = 3.91441
  Prefactor  = 6.17045
  norm       = 13.7586
  Prefactor  = 3.87467
  Prefactor  = 0.0916257
  norm       = 1.55431e-09
  Prefactor  = 31.4989
  Prefactor  = 6.32272e-08
  Prefactor  = 105.915
  Prefactor  = 36.7578
  Prefactor  = 0
  Prefactor  = 1.88738e-08
  norm       = 3.13133
  Prefactor  = 0
  norm       = 1.01957
  Prefactor  = 51.3853
  norm       = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 79.984
  Prefactor  = 0
  Prefactor  = 1.95122e-07
  norm       = 0
  Normalizat = 0.808755
  Prefactor  = 1.00559
 **********
 **   18 **HESSE 
 **********

 FCN=   8623.097     FROM HESSE     STATUS=OK           514 CALLS     3358 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34700E-06    15.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.451        13.105        .17830E-03   -1.5596    
   3  Prefactor     3.9144        9.0149        .50412E-03   -1.5668    
   4  Prefactor     6.1704        3.6384        .40374E-03   -1.5658    
   5  norm          13.759        7.8665        .26797E-03   -1.5634    
   6  Prefactor     3.8747        5.3739        .51327E-03   -1.5669    
   7  Prefactor     .91626E-01    1.3344        .72178E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .15543E-08    23.645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     31.499        32.342        .17868E-03   -1.5596    
  10  Prefactor     .63227E-07    17.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     105.91        71.910        .97291E-04   -1.5502    
  12  Prefactor     36.758        46.228        .15355E-03   -1.5587    
  13  Prefactor      .0000        2.9059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .18874E-07    11.043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1313        1.7646        .57238E-03   -1.5673    
  16  Prefactor      .0000        5.4490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0196        .50247        .99539E-03   -1.5688    
  18  Prefactor     51.385        54.277        .13945E-03   -1.5565    
  19  norm          .22204E-09    4.4655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        7.1154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     79.984        54.263        .11203E-03   -1.5529    
  22  Prefactor      .0000        4.6319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .19512E-06    13.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        9.8039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .80876        .22215        .93080E-01   -.99745    
  26  Prefactor     1.0056        .91250E-01    .44248E-01   -.92543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40359e-07
Minuit parameter uncertainties:
  1  0.00457396
  2  13.1054
  3  9.01494
  4  3.63845
  5  7.86652
  6  5.37395
  7  0.699324
  8  0.000380014
  9  32.3421
  10  0.00209392
  11  71.9104
  12  46.2287
  13  6.12164e-06
  14  0.000913107
  15  1.76458
  16  1.22268e-05
  17  0.50247
  18  54.2773
  19  6.27748e-05
  20  1.8062e-05
  21  54.2632
  22  1.01337e-05
  23  0.00320993
  24  4.74049e-06
  25  0.2224
  26  0.0912641
Done.

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

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  6.323e-08  2.094e-03  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.951e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  3.218e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.006e+00  9.126e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  8.088e-01  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.229 18.719
Photon Flux Upper Limit: 9.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875679/likelihoodResults_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.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): 102
logL (Free Index) = 8623.1031081
delta logL = -0.0064581524548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8623.0966508
delta logL = -8.55972757563e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16522E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.4488       1.0000          .0000       10.000    
     3 'Normalizat'    .80883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0056       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8623.097     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      268 TOTAL
                     EDM=   .60E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    8.6822        .42118E-03** at limit **
   2  Index         1.9017        6.0954        .50000        .90949E-11
   3  Normalizat    .80875        .22418E-02    .93080E-01    .11400E-03
   4  Prefactor     1.0056        .10168E-02    .44070E-01    .18359E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 1.90174
  Normalizat = 0.808755
  Prefactor  = 1.00559
 **********
 **   18 **HESSE 
 **********

 FCN=   8623.097     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      297 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    43.582        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9017        7.8554        .51000       -.66830    
   3  Normalizat    .80875        .49910E-02    .41236E-03   -.99745    
   4  Prefactor     1.0056        .22700E-02    .16850E-03   -.92543    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.02722e-12
Minuit parameter uncertainties:
  1  0.000196461
  2  58129.9
  3  0.00499099
  4  0.00227003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875679': 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): 102
logL (Free Index) = 8623.09664994
delta logL = 1.81898940355e-09

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  2.220e-10  1.965e-04  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  1.902e+00  5.813e+04  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  3.218e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.006e+00  2.270e-03  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  8.088e-01  4.991e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.229 18.719

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/875679/cmap_HighResolution_692409601_692668801_4FGL_J0224.9+1843_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='9.68e-08', time_completed='2022-12-14 00:20:33.275681', job_id='875679', GAL2='1.01', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1671006033.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.82e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.95' WHERE bin_id='1748' AND source_name='4FGL J0224.9+1843' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:20:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 875679: <4FGL_J0224.9+1843_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0224.9+1843_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:04:59 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:05:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:05:01 2022
Terminated at Wed Dec 14 00:20:34 2022
Results reported at Wed Dec 14 00:20:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.9+1843_daily_bin1748 36.2294 18.7194 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0224.9+1843 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   838.07 sec.
    Max Memory :                                 1046 MB
    Average Memory :                             310.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            935 sec.

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

