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


Performing analysis on: 4FGL_J0224.2+0700_daily_bin1719
RA = 36.0577, Dec = 7.0126
tmin = 684892801, tmax = 685152001
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='644185', job_status='RUN', time_executed='2022-09-18 00:07:25.987799', time_epoch_executed='1663484845.99' WHERE source_name='4FGL J0224.2+0700' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644185

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644185/ft1_4FGL_J0224.2+0700_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644185/ft1_4FGL_J0224.2+0700_daily_bin1719.fits outfile=/scratch/kocevski/644185/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin1719.fits ra=36.0577 dec=7.0126 rad=12.0 tmin=684892801.0 tmax=685152001.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.18
user 2.90
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.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/644185/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/644185/ft1_filtered_4FGL_J0224.2+0700_daily_bin1719.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 552

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644185/ft1_filtered_4FGL_J0224.2+0700_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/644185/ltcube_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.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/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits
.....................!
real 13.89
user 13.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644185/ft1_filtered_4FGL_J0224.2+0700_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/644185/ltcube_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.fits outfile=/scratch/kocevski/644185/expmap_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.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/644185/ltcube_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.fits
.....................!
real 190.94
user 185.66
sys 4.88

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

Setting source of interest to:
4FGL J0224.2+0700 @ 36.0577 7.0126

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/644185/ft1_filtered_4FGL_J0224.2+0700_daily_bin1719.fits scfile=/scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits outfile=/scratch/kocevski/644185/cmap_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.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.0577 yref=7.0126 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644185/ft1_filtered_4FGL_J0224.2+0700_daily_bin1719.fits scfile=/scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits outfile=/scratch/kocevski/644185/cmap_HighResolution_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.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.0577 yref=7.0126 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/644185/ft1_filtered_4FGL_J0224.2+0700_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/644185/Model_4FGL_J0224.2+0700_daily_bin1719.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/644185/ft1_filtered_4FGL_J0224.2+0700_daily_bin1719.fits.....................!
real 82.85
user 80.68
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644185/ft1_filtered_4FGL_J0224.2+0700_daily_bin1719.fits', '/scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits', expMap='/scratch/kocevski/644185/expmap_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.fits', expCube='/scratch/kocevski/644185/ltcube_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644185/Model_4FGL_J0224.2+0700_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0224.2+0700'

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  3.952e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
252        Index:  2.502e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  9.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/644185/ft1_filtered_4FGL_J0224.2+0700_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/644185/ft2_4FGL_J0224.2+0700_daily_bin1719.fits
Exposure map: /scratch/kocevski/644185/expmap_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.fits
Exposure cube: /scratch/kocevski/644185/ltcube_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644185/Model_4FGL_J0224.2+0700_daily_bin1719.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) = 6348.48911776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5647       1.0000          .0000       .10000E+07
     2 'norm      '    .32451E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6970       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20556E-06   1.0000          .0000       .10000E+07
     5 'norm      '    6.9214       1.0000          .0000       .10000E+07
     6 'Prefactor '    .58194E-01   1.0000          .0000       .10000E+07
     7 'norm      '    2.8657       1.0000          .0000       .10000E+07
     8 'Prefactor '    .20421E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.533       1.0000          .0000       .10000E+07
    10 'Prefactor '    16.485       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1931       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16371       1.0000          .0000       .10000E+07
    13 'Prefactor '    20.710       1.0000          .0000       .10000E+07
    14 'norm      '    .86118       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17874       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.3402       1.0000          .0000       .10000E+07
    17 'norm      '    .19223E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.9874       1.0000          .0000       .10000E+07
    19 'Prefactor '    .49699E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .77629E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.3902       1.0000          .0000       .10000E+07
    22 'norm      '    14.163       1.0000          .0000       .10000E+07
    23 'norm      '    1.8485       1.0000          .0000       .10000E+07
    24 'Prefactor '    .49922E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .23968E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    .71909       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6348.450     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1886 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6312        8.1583       -.83703E-06   -.86799E-01
   2  norm          .83267E-09    8.3703       -.39793E-07** at limit **
   3  Prefactor     6.7011        7.7039       -.41155E-06   -.94253E-03
   4  Prefactor      .0000        1.3574       -.12804E-06** at limit **
   5  norm          6.8890        5.5049       -.30016E-06   -.14535E-02
   6  Prefactor     .59458E-02    11.958        .76737E-06** at limit **
   7  norm          2.8637        1.5198       -.18324E-06    .99312E-03
   8  Prefactor     .22145E-05    12.091       -.32671E-06** at limit **
   9  Prefactor     14.925        28.139        .47094E-05   -.12276    
  10  Prefactor     20.593        60.171       -.50467E-05   -.47955E-01
  11  Prefactor     1.1816        23.404       -.53728E-06   -.16113E-02
  12  Prefactor     .10251E-03    258.32        .13022E-04** at limit **
  13  Prefactor     20.833        13.388       -.77832E-06    .18181E-01
  14  norm          .86664        .57369        .16769E-06   -.27186E-02
  15  Prefactor     .16647E-04    80.296       -.20938E-05** at limit **
  16  Prefactor     9.3781        3.5939        .53649E-06    .32752E-01
  17  norm           .0000        5.8745        .42068E-06** at limit **
  18  Prefactor     6.4322        15.209       -.34355E-06    .70102E-02
  19  Prefactor     .22369E-05    13.506        .91789E-06** at limit **
  20  Prefactor      .0000        38.555       -.67044E-06** at limit **
  21  Prefactor     3.2809        6.7395        .45926E-07   -.23301E-02
  22  norm          14.150        1.2557        .52042E-07    .12865E-01
  23  norm          1.8495        3.0414       -.38359E-06   -.51911E-04
  24  Prefactor     .13878E-08    6.8872        .82339E-06** at limit **
  25  norm          .55511E-10    3.8345        .10222E-05** at limit **
  26  Normalizat    .72028        .25786       -.17823E-04   -.10074E-04
  27  Prefactor     1.1842        .13213        .61855E-05    .31978E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.63124
  norm       = 8.32667e-10
  Prefactor  = 6.70108
  Prefactor  = 0
  norm       = 6.88897
  Prefactor  = 0.00594577
  norm       = 2.86371
  Prefactor  = 2.21451e-06
  Prefactor  = 14.9248
  Prefactor  = 20.5932
  Prefactor  = 1.18158
  Prefactor  = 0.000102508
  Prefactor  = 20.8334
  norm       = 0.866636
  Prefactor  = 1.66471e-05
  Prefactor  = 9.3781
  norm       = 0
  Prefactor  = 6.43216
  Prefactor  = 2.23688e-06
  Prefactor  = 0
  Prefactor  = 3.28089
  norm       = 14.1501
  norm       = 1.84951
  Prefactor  = 1.38778e-09
  norm       = 5.55112e-11
  Normalizat = 0.720278
  Prefactor  = 1.18422
 **********
 **   18 **HESSE 
 **********

 FCN=   6348.450     FROM HESSE     STATUS=OK           558 CALLS     2444 TOTAL
                     EDM=   .55E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6312        14.054        .34229E-03   -1.5649    
   2  norm          .83267E-09    8.3638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.7011        7.7248        .38751E-03   -1.5656    
   4  Prefactor      .0000        1.3580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.8890        5.5827        .38111E-03   -1.5655    
   6  Prefactor     .59458E-02    1.3837        .89107E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.8637        1.5239        .60023E-03   -1.5674    
   8  Prefactor     .22145E-05    20.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.925        53.185        .24605E-03   -1.5631    
  10  Prefactor     20.593        64.013        .24641E-03   -1.5617    
  11  Prefactor     1.1816        27.760        .10414E-02   -1.5686    
  12  Prefactor     .10251E-03    17.182        .12461E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.833        16.419        .21981E-03   -1.5617    
  14  norm          .86664        .61229        .48482E-03   -1.5689    
  15  Prefactor     .16647E-04    206.80        .12167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.3781        20.864        .32768E-03   -1.5647    
  17  norm           .0000        5.8711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.4322        24.323        .37928E-03   -1.5657    
  19  Prefactor     .22369E-05    20.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        38.455        .14574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.2809        6.8715        .54926E-03   -1.5672    
  22  norm          14.150        13.250        .26588E-03   -1.5633    
  23  norm          1.8495        3.0957        .76661E-03   -1.5681    
  24  Prefactor     .13878E-08    6.8488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .55511E-10    3.8328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .72028        .25661        .96784E-01   -1.0310    
  27  Prefactor     1.1842        .12291        .35018E-01   -.86818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.53563e-06
Minuit parameter uncertainties:
  1  14.0536
  2  0.000167431
  3  7.72479
  4  3.92425e-07
  5  5.5827
  6  0.181409
  7  1.52385
  8  0.0135899
  9  53.1862
  10  64.0156
  11  11.4544
  12  0.0839362
  13  16.4191
  14  0.612294
  15  0.117351
  16  20.8643
  17  2.41199e-06
  18  24.323
  19  0.0135678
  20  3.24094e-05
  21  6.87151
  22  13.2498
  23  3.09573
  24  0.000193664
  25  2.98552e-05
  26  0.257041
  27  0.122944
Done.

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

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  2.215e-06  1.359e-02  0.000e+00  1.000e+06 ( 1.000e-13)
252        Index:  2.502e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  9.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.184e+00  1.229e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  7.203e-01  2.570e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.058 7.013
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/644185/likelihoodResults_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.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) = 6348.47348413
delta logL = -0.0231464301078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6348.45031199
delta logL = 2.57159390458e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6348.450     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      258 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12836E-01    .41272        .41688E-02** at limit **
   2  Index         4.4624        2.1258        .50000        .26446E-05
   3  Normalizat    .71953        .49029E-02    .96832E-01    .59565E-03
   4  Prefactor     1.1844        .25481E-02    .35009E-01    .98912E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0128358
  Index      = 4.46241
  Normalizat = 0.719525
  Prefactor  = 1.18443
 **********
 **   18 **HESSE 
 **********

 FCN=   6348.450     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      299 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12836E-01    1.5221        .22082E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4624        3.3621        .44380       -.10773    
   3  Normalizat    .71953        .60112E-02    .42916E-03   -1.0313    
   4  Prefactor     1.1844        .31347E-02    .17713E-03   -.86812    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28557e-10
Minuit parameter uncertainties:
  1  0.279552
  2  3.69233
  3  0.00601122
  4  0.0031347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644185': 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) = 6348.45029403
delta logL = 4.36720620201e-05

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  1.284e-02  2.796e-01  0.000e+00  1.000e+06 ( 1.000e-13)
252        Index:  4.462e+00  3.692e+00  0.000e+00  1.000e+01 (-1.000e+00)
253        Scale:  9.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.184e+00  3.135e-03  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  7.195e-01  6.011e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.058 7.013

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/644185/cmap_HighResolution_684892801_685152001_4FGL_J0224.2+0700_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.77e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2022-09-18 00:17:54.488202', job_id='644185', GAL2='1.18', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1663485474.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='4.37e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1719' AND source_name='4FGL J0224.2+0700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 00:17:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 644185: <4FGL_J0224.2+0700_daily_bin1719> in cluster <slac> Done

Job <4FGL_J0224.2+0700_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 00:04:52 2022
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 00:06:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 00:06:23 2022
Terminated at Sun Sep 18 00:17:55 2022
Results reported at Sun Sep 18 00:17:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.2+0700_daily_bin1719 36.0577 7.0126 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0224.2+0700 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   629.21 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             371.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            783 sec.

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

