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 102 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 = 7579
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0224.9+1843_daily_bin1740
RA = 36.2294, Dec = 18.7194
tmin = 690336001, tmax = 690595201
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='822883', job_status='RUN', time_executed='2022-11-20 00:11:46.750158', time_epoch_executed='1668931906.75' WHERE source_name='4FGL J0224.9+1843' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822883

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822883/ft1_4FGL_J0224.9+1843_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822883/ft2_4FGL_J0224.9+1843_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822883/ft1_4FGL_J0224.9+1843_daily_bin1740.fits outfile=/scratch/kocevski/822883/ft1_filteredMKT_4FGL_J0224.9+1843_daily_bin1740.fits ra=36.2294 dec=18.7194 rad=12.0 tmin=690336001.0 tmax=690595201.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.08
user 2.77
sys 0.20

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

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

Number of photons that the gtmktime cut: 126

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822883/ft1_filtered_4FGL_J0224.9+1843_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822883/ft2_4FGL_J0224.9+1843_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822883/ltcube_690336001_690595201_4FGL_J0224.9+1843_daily_bin1740.fits outfile=/scratch/kocevski/822883/expmap_690336001_690595201_4FGL_J0224.9+1843_daily_bin1740.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/822883/ltcube_690336001_690595201_4FGL_J0224.9+1843_daily_bin1740.fits
.....................!
real 190.95
user 185.90
sys 4.55

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/822883/ft1_filtered_4FGL_J0224.9+1843_daily_bin1740.fits scfile=/scratch/kocevski/822883/ft2_4FGL_J0224.9+1843_daily_bin1740.fits outfile=/scratch/kocevski/822883/cmap_690336001_690595201_4FGL_J0224.9+1843_daily_bin1740.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.55
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822883/ft1_filtered_4FGL_J0224.9+1843_daily_bin1740.fits scfile=/scratch/kocevski/822883/ft2_4FGL_J0224.9+1843_daily_bin1740.fits outfile=/scratch/kocevski/822883/cmap_HighResolution_690336001_690595201_4FGL_J0224.9+1843_daily_bin1740.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.728       1.0000          .0000       .10000E+07
     2 'Prefactor '    63.426       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.2293       1.0000          .0000       .10000E+07
     4 'Prefactor '    .99920E-09   1.0000          .0000       .10000E+07
     5 'norm      '    .44409E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29515E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.1954       1.0000          .0000       .10000E+07
     8 'norm      '    1205.7       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13212E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    122.68       1.0000          .0000       .10000E+07
    11 'Prefactor '    153.35       1.0000          .0000       .10000E+07
    12 'Prefactor '    136.01       1.0000          .0000       .10000E+07
    13 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
    14 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
    15 'norm      '    .36304E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .50665E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .67024E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16023E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .16326E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .97700E-08   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11746E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18610E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10519E-06   1.0000          .0000       .10000E+07
    24 'norm      '    .15876E-07   1.0000          .0000       .10000E+07
    25 'Normalizat'    .10004E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3119       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=   1595.325     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     3185 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.708        2.7389       -.17233E-06   -.85670E-02
   2  Prefactor     63.421        3.9749        .26476E-07    .14949E-01
   3  Prefactor     7.2239        13.692        .25399E-05   -.53702E-02
   4  Prefactor     .12212E-08    6.2819       -.17406E-05** at limit **
   5  norm           .0000        3.5212       -.18903E-06** at limit **
   6  Prefactor     .69983E-06    34.035       -.16732E-05** at limit **
   7  Prefactor     7.1943        5.1553       -.13309E-06    .63490E-03
   8  norm          1205.7        1.1762       -.79724E-08    .21426E-01
   9  Prefactor     .55286E-04    38.345        .81287E-06** at limit **
  10  Prefactor     122.62        1.3944        .35350E-07   -.75210E-02
  11  Prefactor     153.34        1.0026       -.10187E-08   -.15393E-02
  12  Prefactor     136.01        1.2810        .29816E-07   -.65588E-02
  13  Prefactor     .55511E-10    19.490       -.43925E-06** at limit **
  14  Prefactor     .28255E-06    31.939       -.21453E-05** at limit **
  15  norm          .11102E-09    15.713       -.81000E-06** at limit **
  16  Prefactor     .45532E-04    64.572        .71083E-07** at limit **
  17  norm           .0000        8.2135       -.27241E-06** at limit **
  18  Prefactor     .21636E-03    116.57       -.52757E-06** at limit **
  19  norm           .0000        23.572       -.56080E-06** at limit **
  20  Prefactor     .57276E-06    19.563       -.54404E-06** at limit **
  21  Prefactor     .10513E-03    557.33       -.22338E-04** at limit **
  22  Prefactor     .99319E-04    66.954        .11815E-05** at limit **
  23  Prefactor     .52026E-04    66.434       -.33143E-06** at limit **
  24  norm          .21195E-04    29.365       -.10979E-05** at limit **
  25  Normalizat    .10000E-01    .91262       -.20887E-04** at limit **
  26  Prefactor     1.3120        .15497        .90646E-05   -.33083E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.7081
  Prefactor  = 63.4209
  Prefactor  = 7.22388
  Prefactor  = 1.22125e-09
  norm       = 0
  Prefactor  = 6.99829e-07
  Prefactor  = 7.1943
  norm       = 1205.72
  Prefactor  = 5.5286e-05
  Prefactor  = 122.619
  Prefactor  = 153.336
  Prefactor  = 136.008
  Prefactor  = 5.55112e-11
  Prefactor  = 2.82552e-07
  norm       = 1.11022e-10
  Prefactor  = 4.55323e-05
  norm       = 0
  Prefactor  = 0.000216363
  norm       = 0
  Prefactor  = 5.72764e-07
  Prefactor  = 0.000105128
  Prefactor  = 9.9319e-05
  Prefactor  = 5.20265e-05
  norm       = 2.11955e-05
  Normalizat = 0.01
  Prefactor  = 1.31199
 **********
 **   18 **HESSE 
 **********

 FCN=   1595.325     FROM HESSE     STATUS=OK           500 CALLS     3685 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.708        83.256        .17756E-03   -1.5595    
   2  Prefactor     63.421        38.287        .12557E-03   -1.5549    
   3  Prefactor     7.2239        13.789        .37282E-03   -1.5654    
   4  Prefactor     .12212E-08    6.2368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.5196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .69983E-06    34.165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1943        5.2009        .37371E-03   -1.5654    
   8  norm          1205.7        662.09        .28816E-04   -1.5013    
   9  Prefactor     .55286E-04    56.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     122.62        170.31        .90290E-04   -1.5486    
  11  Prefactor     153.34        170.76        .80761E-04   -1.5460    
  12  Prefactor     136.01        269.20        .85754E-04   -1.5475    
  13  Prefactor     .55511E-10    19.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .28255E-06    32.046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .11102E-09    15.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .45532E-04    115.71        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        3.3203        .23229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .21636E-03    185.15        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        23.585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .57276E-06    52.784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10513E-03    578.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .99319E-04    150.99        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .52026E-04    84.504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .21195E-04    51.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .10000E-01    .43981        .32162       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.3120        .21078        .32406E-01   -.82951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68081e-06
Minuit parameter uncertainties:
  1  83.2588
  2  38.2875
  3  13.7893
  4  0.00017355
  5  3.37569e-06
  6  0.00977957
  7  5.20094
  8  662.13
  9  0.112043
  10  170.32
  11  170.765
  12  269.221
  13  5.47138e-05
  14  0.00601815
  15  7.34698e-05
  16  0.145174
  17  1.334e-06
  18  0.400313
  19  2.05032e-05
  20  0.0109971
  21  0.493355
  22  0.24492
  23  0.132613
  24  0.0660315
  25  2.21227e-07
  26  0.210917
Done.

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

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  1.226e+02  1.703e+02  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.312e+00  2.109e-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:  1.000e-02  2.212e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.80
Ra Dec: 36.229 18.719
Photon Flux Upper Limit: 9.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.33e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822883/likelihoodResults_690336001_690595201_4FGL_J0224.9+1843_daily_bin1740.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) = 1594.9520452
delta logL = 0.372817420418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1594.91054703
delta logL = 0.414315587157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5571       1.0000          .0000       .10000E+07
     2 'Index     '    7.0300       1.0000          .0000       10.000    
     3 'Normalizat'    .10004E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3084       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1594.911     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      369 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5986        67.081        .11181E-04   -.15542E-02
   2  Index         7.0267        7.9211        .43841E-02   -.19554E-04
   3  Normalizat    .10000E-01    .41163        .12169E-01** at limit **
   4  Prefactor     1.3081        .14852        .17020E-03   -.29808E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.59856
  Index      = 7.0267
  Normalizat = 0.01
  Prefactor  = 1.30813
 **********
 **   18 **HESSE 
 **********

 FCN=   1594.911     FROM HESSE     STATUS=OK            23 CALLS      392 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5986        31.584        .44723E-06   -1.5649    
   2  Index         7.0267        3.4195        .17536E-03    .41735    
   3  Normalizat    .10000E-01    .41180        .24339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3081        .14843        .68080E-05   -.83066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15545e-11
Minuit parameter uncertainties:
  1  31.5844
  2  3.86327
  3  2.56369e-07
  4  0.148476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822883': 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) = 1594.91053839
delta logL = 0.414324227635

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  8.599e+00  3.158e+01  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  7.027e+00  3.863e+00  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.308e+00  1.485e-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:  1.000e-02  2.564e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 36.229 18.719
Photon Index (Free Index): 7.03 +/- 3.86
Photon Flux (Free Index): 5.34e-07 +/- 5.48e-07
Energy Flux (Free Index): 6.37e-05 +/- 6.35e-05

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/822883/cmap_HighResolution_690336001_690595201_4FGL_J0224.9+1843_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.33e-02', comment='SUCCESS', energy_flux2='6.37e-05', dlogl='4.14e-01', photon_flux2='5.34e-07', job_status='DONE', time_completed='2022-11-20 00:18:45.328048', photon_index_error2='3.86', photon_index2='7.03', ts='0.80', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='9.19e-07', energy_flux_error2='6.35e-05', EG='0.01', time_epoch_completed='1668932325.33', return_code='0', job_id='822883', GAL2='1.31', EG2='0.01', return_code2='0', photon_flux_error2='5.48e-07', ts2='1.62', photon_index='2.95' WHERE bin_id='1740' AND source_name='4FGL J0224.9+1843' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:18:45 PST 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 822907: <4FGL_J0224.9+1843_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0224.9+1843_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:19 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:09:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:09:48 2022
Terminated at Sun Nov 20 00:17:42 2022
Results reported at Sun Nov 20 00:17:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.9+1843_daily_bin1740 36.2294 18.7194 690336001 690595201 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 :                                   420.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   474 sec.
    Turnaround time :                            743 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 822883: <4FGL_J0224.9+1843_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0224.9+1843_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:18 2022
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:09:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:09:48 2022
Terminated at Sun Nov 20 00:18:46 2022
Results reported at Sun Nov 20 00:18:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.9+1843_daily_bin1740 36.2294 18.7194 690336001 690595201 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 :                                   417.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   537 sec.
    Turnaround time :                            808 sec.

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

