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


Performing analysis on: 4FGL_J0224.2+0700_daily_bin1777
RA = 36.0577, Dec = 7.0126
tmin = 699926401, tmax = 700185601
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='905787', job_status='RUN', time_executed='2023-03-11 00:05:39.677860', time_epoch_executed='1678521939.68' WHERE source_name='4FGL J0224.2+0700' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/905787

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/905787/ft1_4FGL_J0224.2+0700_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/905787/ft2_4FGL_J0224.2+0700_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/905787/ft1_4FGL_J0224.2+0700_daily_bin1777.fits outfile=/scratch/kocevski/905787/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin1777.fits ra=36.0577 dec=7.0126 rad=12.0 tmin=699926401.0 tmax=700185601.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.65
user 3.41
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/905787/ft2_4FGL_J0224.2+0700_daily_bin1777.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/905787/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/905787/ft1_filtered_4FGL_J0224.2+0700_daily_bin1777.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.55
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 658

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/905787/ft1_filtered_4FGL_J0224.2+0700_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/905787/ft2_4FGL_J0224.2+0700_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/905787/ltcube_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.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/905787/ft2_4FGL_J0224.2+0700_daily_bin1777.fits
.....................!
real 11.98
user 11.59
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/905787/ft1_filtered_4FGL_J0224.2+0700_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/905787/ft2_4FGL_J0224.2+0700_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/905787/ltcube_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.fits outfile=/scratch/kocevski/905787/expmap_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.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/905787/ltcube_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.fits
.....................!
real 192.91
user 187.64
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/905787/ft1_filtered_4FGL_J0224.2+0700_daily_bin1777.fits scfile=/scratch/kocevski/905787/ft2_4FGL_J0224.2+0700_daily_bin1777.fits outfile=/scratch/kocevski/905787/cmap_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/905787/ft1_filtered_4FGL_J0224.2+0700_daily_bin1777.fits scfile=/scratch/kocevski/905787/ft2_4FGL_J0224.2+0700_daily_bin1777.fits outfile=/scratch/kocevski/905787/cmap_HighResolution_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.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.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/905787/ft1_filtered_4FGL_J0224.2+0700_daily_bin1777.fits', '/scratch/kocevski/905787/ft2_4FGL_J0224.2+0700_daily_bin1777.fits', expMap='/scratch/kocevski/905787/expmap_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.fits', expCube='/scratch/kocevski/905787/ltcube_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/905787/Model_4FGL_J0224.2+0700_daily_bin1777.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/905787/ft1_filtered_4FGL_J0224.2+0700_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/905787/ft2_4FGL_J0224.2+0700_daily_bin1777.fits
Exposure map: /scratch/kocevski/905787/expmap_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.fits
Exposure cube: /scratch/kocevski/905787/ltcube_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/905787/Model_4FGL_J0224.2+0700_daily_bin1777.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) = 7000.81505929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16581E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .79141E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5903       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.166       1.0000          .0000       .10000E+07
     5 'norm      '    11.602       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.722       1.0000          .0000       .10000E+07
     7 'norm      '    1.7476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16607E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.922       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.0880       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.124       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.3181       1.0000          .0000       .10000E+07
    13 'Prefactor '    .62719E-03   1.0000          .0000       .10000E+07
    14 'norm      '    1.0593       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.574       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.3776       1.0000          .0000       .10000E+07
    17 'norm      '    .17457E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .68854E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.4207       1.0000          .0000       .10000E+07
    20 'Prefactor '    .61572E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.6824       1.0000          .0000       .10000E+07
    22 'norm      '    20.186       1.0000          .0000       .10000E+07
    23 'norm      '    16.747       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.4814       1.0000          .0000       .10000E+07
    25 'norm      '    3.8536       1.0000          .0000       .10000E+07
    26 'Normalizat'    .68830       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .98282       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=   7000.791     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2373 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7344        .15271E-06** at limit **
   2  norm          .55511E-09    5.8865        .63520E-06** at limit **
   3  Prefactor     7.5921        6.2460       -.18818E-06   -.26965E-02
   4  Prefactor     13.174        3.6793        .27562E-06    .18920E-03
   5  norm          11.609        5.7239       -.89585E-07   -.11130E-03
   6  Prefactor     10.731        3.4298        .50719E-07    .92850E-03
   7  norm          1.7494        .99485        .48085E-07   -.27249E-03
   8  Prefactor      .0000        19.287        .21942E-05** at limit **
   9  Prefactor     22.100        47.034        .46131E-05   -.40377E-01
  10  Prefactor     4.9426        1.9250       -.10133E-06   -.79250E-02
  11  Prefactor     12.097        8.4415       -.33934E-06    .81315E-02
  12  Prefactor     1.4745        23.895        .19645E-06   -.91685E-03
  13  Prefactor     .16653E-09    5.7593        .20242E-06** at limit **
  14  norm          1.0579        .51787       -.13169E-07    .13834E-02
  15  Prefactor     19.185        21.454       -.22780E-05   -.11300    
  16  Prefactor     2.3241        29.267        .34926E-06   -.27389E-01
  17  norm          .38858E-08    12.321        .26642E-05** at limit **
  18  Prefactor      .0000        8.1643       -.45868E-06** at limit **
  19  Prefactor     4.9833        10.159        .86287E-06   -.49924E-01
  20  Prefactor     .12800E-05    58.404        .29403E-05** at limit **
  21  Prefactor     4.6871        6.8448       -.37295E-07    .57294E-03
  22  norm          20.213        1.6733        .37967E-07    .49216E-01
  23  norm          16.807        5.8239        .20809E-06   -.36442E-02
  24  Prefactor     3.5128        6.6488       -.83838E-06   -.21023E-02
  25  norm          3.9034        7.3901        .15504E-06    .10160E-02
  26  Normalizat    .68760        .20900       -.61615E-05   -.16218E-04
  27  Prefactor     .98217        .12375       -.40792E-05   -.27362E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 5.55112e-10
  Prefactor  = 7.59206
  Prefactor  = 13.1742
  norm       = 11.6091
  Prefactor  = 10.7307
  norm       = 1.74944
  Prefactor  = 0
  Prefactor  = 22.1001
  Prefactor  = 4.94263
  Prefactor  = 12.0969
  Prefactor  = 1.47448
  Prefactor  = 1.66533e-10
  norm       = 1.05787
  Prefactor  = 19.1846
  Prefactor  = 2.32411
  norm       = 3.88578e-09
  Prefactor  = 0
  Prefactor  = 4.98331
  Prefactor  = 1.28003e-06
  Prefactor  = 4.68711
  norm       = 20.2133
  norm       = 16.8072
  Prefactor  = 3.51277
  norm       = 3.90335
  Normalizat = 0.687603
  Prefactor  = 0.982169
 **********
 **   18 **HESSE 
 **********

 FCN=   7000.791     FROM HESSE     STATUS=OK           552 CALLS     2925 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-09    5.8894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.5921        6.2638        .36377E-03   -1.5653    
   4  Prefactor     13.174        3.6906        .27580E-03   -1.5635    
   5  norm          11.609        5.7327        .29386E-03   -1.5640    
   6  Prefactor     10.731        3.4575        .30572E-03   -1.5642    
   7  norm          1.7494        .99886        .79296E-03   -1.5682    
   8  Prefactor      .0000        19.038        .17271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.100        54.261        .21869E-03   -1.5614    
  10  Prefactor     4.9426        79.108        .44551E-03   -1.5663    
  11  Prefactor     12.097        8.7890        .28745E-03   -1.5638    
  12  Prefactor     1.4745        71.596        .95854E-03   -1.5684    
  13  Prefactor     .16653E-09    5.7512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0579        .52636        .90778E-03   -1.5687    
  15  Prefactor     19.185        43.380        .22610E-03   -1.5620    
  16  Prefactor     2.3241        40.966        .66411E-03   -1.5677    
  17  norm          .38858E-08    12.291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        8.1446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.9833        76.082        .47873E-03   -1.5663    
  20  Prefactor     .12800E-05    59.631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.6871        6.9049        .46482E-03   -1.5665    
  22  norm          20.213        13.092        .22265E-03   -1.5618    
  23  norm          16.807        5.8829        .24447E-03   -1.5626    
  24  Prefactor     3.5128        6.6788        .54169E-03   -1.5670    
  25  norm          3.9034        7.3753        .51383E-03   -1.5668    
  26  Normalizat    .68760        .19925        .83707E-01   -1.0438    
  27  Prefactor     .98217        .11224        .46052E-01   -.93326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09037e-06
Minuit parameter uncertainties:
  1  2.75108e-06
  2  0.000116598
  3  6.26378
  4  3.69055
  5  5.73274
  6  3.45754
  7  0.998855
  8  8.61176e-07
  9  54.2624
  10  39.5481
  11  8.78897
  12  20.5495
  13  5.73115e-05
  14  0.526364
  15  43.3811
  16  19.5153
  17  0.000435879
  18  2.86342e-06
  19  38.9435
  20  0.0174734
  21  6.90494
  22  13.0922
  23  5.88295
  24  6.67883
  25  7.37531
  26  0.199456
  27  0.112266
Done.

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

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  0.000e+00  8.612e-07  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:  9.822e-01  1.123e-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:  6.876e-01  1.995e-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: 8.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/905787/likelihoodResults_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.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) = 7000.81577656
delta logL = -0.0252625341882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7000.75548843
delta logL = 0.0350255982985

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13064E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.9197       1.0000          .0000       10.000    
     3 'Normalizat'    .67303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98681       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=   7000.755     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      301 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12770E-01    .82171        .42118E-04** at limit **
   2  Index         5.9301        1.8890        .38025        .33299E-04
   3  Normalizat    .67302        .22265E-01    .84520E-01    .43359E-03
   4  Prefactor     .98682        .13236E-01    .46102E-01    .18276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0127703
  Index      = 5.93008
  Normalizat = 0.673024
  Prefactor  = 0.986816
 **********
 **   18 **HESSE 
 **********

 FCN=   7000.755     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      332 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12770E-01    9.4422        .16847E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.9301        6.8692        .75194E-02    .18711    
   3  Normalizat    .67302        .16218        .37436E-03   -1.0497    
   4  Prefactor     .98682        .94653E-01    .18559E-03   -.93170    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.11204e-09
Minuit parameter uncertainties:
  1  0.694493
  2  25.8688
  3  0.162298
  4  0.0946692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/905787': 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) = 7000.75548769
delta logL = 0.0350263321479

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  1.277e-02  6.945e-01  0.000e+00  1.000e+06 ( 1.000e-13)
252        Index:  5.930e+00  2.587e+01  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:  9.868e-01  9.467e-02  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:  6.730e-01  1.623e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/905787/cmap_HighResolution_699926401_700185601_4FGL_J0224.2+0700_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.89e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2023-03-11 00:17:40.720349', job_id='905787', GAL2='0.99', fit_tolerance='1e-08', EG2='0.67', EG='0.69', time_epoch_completed='1678522660.72', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.50e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1777' AND source_name='4FGL J0224.2+0700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:17:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 905787: <4FGL_J0224.2+0700_daily_bin1777> in cluster <slac> Done

Job <4FGL_J0224.2+0700_daily_bin1777> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Mar 11 00:05:08 2023
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:05:11 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:05:11 2023
Terminated at Sat Mar 11 00:17:41 2023
Results reported at Sat Mar 11 00:17:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.2+0700_daily_bin1777 36.0577 7.0126 699926401 700185601 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 :                                   716.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            753 sec.

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

