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


Performing analysis on: 4FGL_J0224.9+1843_daily_bin1722
RA = 36.2294, Dec = 18.7194
tmin = 685670401, tmax = 685929601
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='229309', job_status='RUN', time_executed='2022-09-27 00:06:06.848581', time_epoch_executed='1664262366.85' WHERE source_name='4FGL J0224.9+1843' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229309

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229309/ft1_4FGL_J0224.9+1843_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229309/ft2_4FGL_J0224.9+1843_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229309/ft1_4FGL_J0224.9+1843_daily_bin1722.fits outfile=/scratch/kocevski/229309/ft1_filteredMKT_4FGL_J0224.9+1843_daily_bin1722.fits ra=36.2294 dec=18.7194 rad=12.0 tmin=685670401.0 tmax=685929601.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.73
user 3.47
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229309/ft2_4FGL_J0224.9+1843_daily_bin1722.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/229309/ft1_filteredMKT_4FGL_J0224.9+1843_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/229309/ft1_filtered_4FGL_J0224.9+1843_daily_bin1722.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.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 772

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229309/ft1_filtered_4FGL_J0224.9+1843_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/229309/ft2_4FGL_J0224.9+1843_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/229309/ltcube_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.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/229309/ft2_4FGL_J0224.9+1843_daily_bin1722.fits
.....................!
real 13.89
user 13.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229309/ft1_filtered_4FGL_J0224.9+1843_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229309/ft2_4FGL_J0224.9+1843_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/229309/ltcube_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.fits outfile=/scratch/kocevski/229309/expmap_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.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/229309/ltcube_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.fits
.....................!
real 191.49
user 186.18
sys 4.95

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/229309/ft1_filtered_4FGL_J0224.9+1843_daily_bin1722.fits scfile=/scratch/kocevski/229309/ft2_4FGL_J0224.9+1843_daily_bin1722.fits outfile=/scratch/kocevski/229309/cmap_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229309/ft1_filtered_4FGL_J0224.9+1843_daily_bin1722.fits scfile=/scratch/kocevski/229309/ft2_4FGL_J0224.9+1843_daily_bin1722.fits outfile=/scratch/kocevski/229309/cmap_HighResolution_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.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.56
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229309/ft1_filtered_4FGL_J0224.9+1843_daily_bin1722.fits', '/scratch/kocevski/229309/ft2_4FGL_J0224.9+1843_daily_bin1722.fits', expMap='/scratch/kocevski/229309/expmap_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.fits', expCube='/scratch/kocevski/229309/ltcube_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229309/Model_4FGL_J0224.9+1843_daily_bin1722.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/229309/ft1_filtered_4FGL_J0224.9+1843_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/229309/ft2_4FGL_J0224.9+1843_daily_bin1722.fits
Exposure map: /scratch/kocevski/229309/expmap_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.fits
Exposure cube: /scratch/kocevski/229309/ltcube_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229309/Model_4FGL_J0224.9+1843_daily_bin1722.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) = 8370.93775598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19977E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    16.792       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21089E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.3958       1.0000          .0000       .10000E+07
     5 'norm      '    2.7453       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50571E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0759       1.0000          .0000       .10000E+07
     8 'norm      '    .49323E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    35.446       1.0000          .0000       .10000E+07
    10 'Prefactor '    69.226       1.0000          .0000       .10000E+07
    11 'Prefactor '    40.225       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19801E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8091       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18150E-03   1.0000          .0000       .10000E+07
    15 'norm      '    2.6496       1.0000          .0000       .10000E+07
    16 'Prefactor '    .65273E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.2607       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10245E-01   1.0000          .0000       .10000E+07
    19 'norm      '    8.2267       1.0000          .0000       .10000E+07
    20 'Prefactor '    14.337       1.0000          .0000       .10000E+07
    21 'Prefactor '    152.32       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.3657       1.0000          .0000       .10000E+07
    23 'Prefactor '    26.295       1.0000          .0000       .10000E+07
    24 'norm      '    .13219E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    .73413       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0227       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=   8370.456     FROM MIGRAD    STATUS=CONVERGED    212 CALLS     2336 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        85.223        .13797E-06** at limit **
   2  Prefactor     17.061        11.692        .76672E-07    .28969E-03
   3  Prefactor      .0000        14.855       -.18953E-06** at limit **
   4  Prefactor     8.4118        3.9138        .19475E-07    .38810E-04
   5  norm          2.7478        4.3791       -.25256E-07   -.13793E-04
   6  Prefactor      .0000        2.5322        .52051E-07** at limit **
   7  Prefactor     4.0565        3.2841        .55388E-07   -.93029E-03
   8  norm          .48214E-05    165.46       -.15399E-06** at limit **
   9  Prefactor     34.869        21.378        .29987E-08    .86290E-01
  10  Prefactor     69.252        3.1156        .45665E-08   -.43084E-01
  11  Prefactor     45.494        93.659       -.43557E-06    .99433E-02
  12  Prefactor      .0000        65.703        .41476E-06** at limit **
  13  Prefactor     5.7087        9.2048        .59068E-07    .31260E-03
  14  Prefactor     .26645E-08    64.729        .39231E-10** at limit **
  15  norm          2.6546        1.6970       -.26050E-07    .33469E-04
  16  Prefactor      .0000        8.0770       -.30654E-08** at limit **
  17  norm          1.2591        .61664       -.98927E-08   -.82829E-04
  18  Prefactor     .33862E-08    33.185        .21398E-06** at limit **
  19  norm          8.0470        10.733        .43662E-07    .38442E-03
  20  Prefactor     14.493        15.982       -.94350E-07   -.44805E-03
  21  Prefactor     154.73        50.561       -.36147E-07   -.63957E-01
  22  Prefactor     5.4424        9.1817        .12419E-06    .19628E-03
  23  Prefactor     26.308        19.482        .14122E-06    .59113E-02
  24  norm           .0000        5.6794       -.54063E-07** at limit **
  25  Normalizat    .73141        .25180       -.33650E-05    .42524E-06
  26  Prefactor     1.0225        .10844        .12878E-05    .34052E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 17.0614
  Prefactor  = 0
  Prefactor  = 8.41185
  norm       = 2.74776
  Prefactor  = 0
  Prefactor  = 4.05654
  norm       = 4.82137e-06
  Prefactor  = 34.8688
  Prefactor  = 69.2515
  Prefactor  = 45.4941
  Prefactor  = 0
  Prefactor  = 5.70867
  Prefactor  = 2.66454e-09
  norm       = 2.65456
  Prefactor  = 0
  norm       = 1.25915
  Prefactor  = 3.38618e-09
  norm       = 8.04695
  Prefactor  = 14.4929
  Prefactor  = 154.732
  Prefactor  = 5.44242
  Prefactor  = 26.3077
  norm       = 0
  Normalizat = 0.731413
  Prefactor  = 1.02254
 **********
 **   18 **HESSE 
 **********

 FCN=   8370.456     FROM HESSE     STATUS=OK           512 CALLS     2848 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        83.935        .17038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.061        11.669        .24415E-03   -1.5625    
   3  Prefactor      .0000        14.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4118        3.9106        .34574E-03   -1.5650    
   5  norm          2.7478        4.3993        .61418E-03   -1.5675    
   6  Prefactor      .0000        2.5280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.0565        3.4508        .49915E-03   -1.5668    
   8  norm          .48214E-05    174.53        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     34.869        42.798        .16798E-03   -1.5590    
  10  Prefactor     69.252        38.440        .12020E-03   -1.5542    
  11  Prefactor     45.494        93.712        .15769E-03   -1.5573    
  12  Prefactor      .0000        64.776        .17050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.7087        9.2626        .41646E-03   -1.5660    
  14  Prefactor     .26645E-08    64.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6546        1.7019        .62603E-03   -1.5675    
  16  Prefactor      .0000        8.0676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2591        .62383        .99295E-03   -1.5686    
  18  Prefactor     .33862E-08    33.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.0470        10.768        .34930E-03   -1.5651    
  20  Prefactor     14.493        15.922        .26427E-03   -1.5632    
  21  Prefactor     154.73        55.321        .81033E-04   -1.5459    
  22  Prefactor     5.4424        9.2062        .43361E-03   -1.5661    
  23  Prefactor     26.308        19.500        .19505E-03   -1.5605    
  24  norm           .0000        5.6731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .73141        .23506        .97497E-01   -1.0267    
  26  Prefactor     1.0225        .97968E-01    .41882E-01   -.91982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13002e-07
Minuit parameter uncertainties:
  1  8.06234e-05
  2  11.6693
  3  3.95342e-06
  4  3.91063
  5  4.3993
  6  6.61739e-07
  7  3.45078
  8  0.0580171
  9  42.7982
  10  38.4397
  11  93.715
  12  6.18157e-06
  13  9.2626
  14  0.000828016
  15  1.70192
  16  2.72129e-06
  17  0.623831
  18  0.000669915
  19  10.768
  20  15.9223
  21  55.3209
  22  9.20625
  23  19.5
  24  4.34141e-06
  25  0.235384
  26  0.097985
Done.

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

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  6.925e+01  3.844e+01  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.023e+00  9.799e-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:  7.314e-01  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.74
Ra Dec: 36.229 18.719
Photon Index (Fixed Index): 2.95 +/- 0.00
Photon Flux (Fixed Index): 1.12e-07 +/- 6.20e-08
Energy Flux (Fixed Index): 2.29e-05 +/- 1.27e-05

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) = 8370.44925641
delta logL = 0.00691236259081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8370.44631261
delta logL = 0.00985616350954

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.110       1.0000          .0000       .10000E+07
     2 'Index     '    3.0642       1.0000          .0000       10.000    
     3 'Normalizat'    .72502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0251       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8370.446     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      264 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.106        46.651        .49199E-05    .63999E-02
   2  Index         3.0643        .87770        .10865E-01    .20582E-03
   3  Normalizat    .72524        .23727        .43371E-03   -.12404E-03
   4  Prefactor     1.0250        .10840        .17012E-03   -.48780E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.1062
  Index      = 3.06426
  Normalizat = 0.725237
  Prefactor  = 1.02498
 **********
 **   18 **HESSE 
 **********

 FCN=   8370.446     FROM HESSE     STATUS=OK            23 CALLS      287 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.106        44.618        .98397E-06   -1.5545    
   2  Index         3.0643        .83940        .43461E-03   -.39754    
   3  Normalizat    .72524        .23722        .17348E-04   -1.0290    
   4  Prefactor     1.0250        .10829        .34025E-04   -.91901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21421e-09
Minuit parameter uncertainties:
  1  44.6178
  2  0.844109
  3  0.237558
  4  0.108315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229309': 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) = 8370.44631215
delta logL = 0.00985662881067

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  6.611e+01  4.462e+01  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  3.064e+00  8.441e-01  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.025e+00  1.083e-01  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:  7.252e-01  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.77
Ra Dec: 36.229 18.719
Photon Index (Free Index): 3.06 +/- 0.84
Photon Flux (Free Index): 1.15e-07 +/- 6.67e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.30e-05

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/229309/cmap_HighResolution_685670401_685929601_4FGL_J0224.9+1843_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='2.23e-05', photon_flux_error='6.20e-08', dlogl='9.86e-03', energy_flux='2.29e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2022-09-27 00:18:23.837992', photon_index_error2='0.84', photon_index2='3.06', ts='4.74', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='0.73', time_epoch_completed='1664263103.84', return_code='0', job_id='229309', GAL2='1.02', EG2='0.73', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='6.67e-08', ts2='4.77', photon_index='2.95' WHERE bin_id='1722' AND source_name='4FGL J0224.9+1843' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 00:18:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 229309: <4FGL_J0224.9+1843_daily_bin1722> in cluster <slac> Done

Job <4FGL_J0224.9+1843_daily_bin1722> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 27 00:05:00 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 00:05:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 00:05:13 2022
Terminated at Tue Sep 27 00:18:24 2022
Results reported at Tue Sep 27 00:18:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.9+1843_daily_bin1722 36.2294 18.7194 685670401 685929601 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 :                                   735.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            804 sec.

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

