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 48 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0244.7+1316_weekly_bin729
RA = 41.192, Dec = 13.2799
tmin = 679881601, tmax = 680486401
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='193512', job_status='RUN', time_executed='2022-07-26 02:18:49.762519', time_epoch_executed='1658827129.76' WHERE source_name='4FGL J0244.7+1316' and cadence='weekly' and bin_id='729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193512

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193512/ft1_4FGL_J0244.7+1316_weekly_bin729.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193512/ft1_4FGL_J0244.7+1316_weekly_bin729.fits outfile=/scratch/kocevski/193512/ft1_filteredMKT_4FGL_J0244.7+1316_weekly_bin729.fits ra=41.192 dec=13.2799 rad=12.0 tmin=679881601.0 tmax=680486401.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 8.27
user 7.95
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.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/193512/ft1_filteredMKT_4FGL_J0244.7+1316_weekly_bin729.fits evtable="EVENTS" outfile="/scratch/kocevski/193512/ft1_filtered_4FGL_J0244.7+1316_weekly_bin729.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.38
sys 0.13

Number of photons that the gtmktime cut: 2979

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193512/ft1_filtered_4FGL_J0244.7+1316_weekly_bin729.fits" evtable="EVENTS" scfile=/scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits sctable="SC_DATA" outfile=/scratch/kocevski/193512/ltcube_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.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/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits
.....................!
real 28.37
user 27.94
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193512/ft1_filtered_4FGL_J0244.7+1316_weekly_bin729.fits evtable="EVENTS" scfile=/scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits sctable="SC_DATA" expcube=/scratch/kocevski/193512/ltcube_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.fits outfile=/scratch/kocevski/193512/expmap_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.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/193512/ltcube_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.fits
.....................!
real 191.69
user 186.00
sys 5.32

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

Setting source of interest to:
4FGL J0244.7+1316 @ 41.192 13.2799

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/193512/ft1_filtered_4FGL_J0244.7+1316_weekly_bin729.fits scfile=/scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits outfile=/scratch/kocevski/193512/cmap_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.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=41.192 yref=13.2799 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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193512/ft1_filtered_4FGL_J0244.7+1316_weekly_bin729.fits scfile=/scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits outfile=/scratch/kocevski/193512/cmap_HighResolution_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.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=41.192 yref=13.2799 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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193512/ft1_filtered_4FGL_J0244.7+1316_weekly_bin729.fits evtable="EVENTS" scfile=/scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193512/Model_4FGL_J0244.7+1316_weekly_bin729.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/193512/ft1_filtered_4FGL_J0244.7+1316_weekly_bin729.fits.....................!
real 379.55
user 376.69
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/193512/ft1_filtered_4FGL_J0244.7+1316_weekly_bin729.fits', '/scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits', expMap='/scratch/kocevski/193512/expmap_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.fits', expCube='/scratch/kocevski/193512/ltcube_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/193512/Model_4FGL_J0244.7+1316_weekly_bin729.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0244.7+1316'

4FGL J0244.7+1316
   Spectrum: PowerLaw
270    Prefactor:  6.183e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
271        Index:  2.606e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  7.795e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/193512/ft1_filtered_4FGL_J0244.7+1316_weekly_bin729.fits
Spacecraft file(s): /scratch/kocevski/193512/ft2_4FGL_J0244.7+1316_weekly_bin729.fits
Exposure map: /scratch/kocevski/193512/expmap_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.fits
Exposure cube: /scratch/kocevski/193512/ltcube_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/193512/Model_4FGL_J0244.7+1316_weekly_bin729.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) = 31616.4068725

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0282       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4170       1.0000         .10000E-03   10000.    
     3 'norm      '    3.3937       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0220       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.230       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3694       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.8133       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.0350       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.0069       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0143       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.9322       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9521       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .36996E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.7137       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.2845       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    14.414       1.0000         .10000E-03   10000.    
    25 'norm      '    33.071       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.3839       1.0000         .10000E-03   10000.    
    27 'norm      '    .32080       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.4684       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .30079E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    6.1785       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .86698       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0558       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   31616.36     FROM MIGRAD    STATUS=CONVERGED    887 CALLS     3952 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0280        3.6706       -.71838E-07   -.77795E-04
   2  Prefactor     5.4169        1.6239       -.42516E-07   -.68026E-04
   3  norm          3.3937        2.2395        .28081E-07   -.10721E-02
   4  Prefactor     2.0219        1.2097       -.10525E-06   -.10646E-02
   5  Prefactor     27.229        13.360       -.32298E-06   -.30884E-03
   6  Prefactor     .10000E-03    4.3349       -.34631E-07** at limit **
   7  Prefactor     .10000E-03    1.5271       -.10589E-06** at limit **
   8  Prefactor     .10000E-03    16.635        .97852E-06** at limit **
   9  Prefactor     .10000E-03    17.456       -.81049E-06** at limit **
  10  Prefactor     7.3689        5.4370       -.34832E-06   -.68988E-03
  11  Prefactor     7.8125        9.3500       -.19019E-06   -.19834E-03
  12  Prefactor     3.0348        4.3355       -.22278E-06   -.83577E-03
  13  Prefactor     .10000E-03    6.1792       -.31118E-06** at limit **
  14  norm          3.0069        .44389       -.28373E-07   -.34970E-02
  15  Prefactor     .10000E-03    10.091        .98603E-07** at limit **
  16  Prefactor     .10000E-03    2.1420       -.11519E-06** at limit **
  17  norm          3.0132        5.3136        .81883E-07   -.52475E-03
  18  Prefactor     7.9320        8.9448        .16508E-07   -.11786E-03
  19  Prefactor     5.9507        20.798       -.12948E-05   -.13051E-03
  20  Prefactor     .10000E-03    7.6239        .10316E-04** at limit **
  21  Prefactor     5.7134        9.9253       -.48547E-07   -.91026E-04
  22  Prefactor     4.2852        2.8492       -.10109E-06   -.12876E-03
  23  norm          .10000E-03    1.2849       -.14449E-07** at limit **
  24  norm          14.414        6.1433       -.46425E-07    .63968E-05
  25  norm          33.070        3.8113        .37559E-07    .82320E-03
  26  Prefactor     2.3838        1.7238        .16510E-06   -.16218E-02
  27  norm          .31765        1.2084       -.82211E-07   -.80584E-04
  28  Prefactor     .10000E-03    76.475        .39857E-06** at limit **
  29  Prefactor     1.4683        1.2903       -.16351E-07    .77348E-04
  30  Prefactor     .10000E-03    4.3759        .72573E-05** at limit **
  31  Prefactor     6.1783        7.3162        .12083E-07    .22468E-04
  32  Normalizat    .86703        .12618        .78297E-06    .43721E-03
  33  Prefactor     1.0558        .47373E-01    .22850E-06    .17472E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.02804
  Prefactor  = 5.41691
  norm       = 3.39365
  Prefactor  = 2.02193
  Prefactor  = 27.2287
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.3689
  Prefactor  = 7.81249
  Prefactor  = 3.03483
  Prefactor  = 0.0001
  norm       = 3.00692
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.01323
  Prefactor  = 7.93199
  Prefactor  = 5.95074
  Prefactor  = 0.0001
  Prefactor  = 5.71344
  Prefactor  = 4.28518
  norm       = 0.0001
  norm       = 14.4142
  norm       = 33.0702
  Prefactor  = 2.38376
  norm       = 0.317653
  Prefactor  = 0.0001
  Prefactor  = 1.46835
  Prefactor  = 0.000100002
  Prefactor  = 6.1783
  Normalizat = 0.867027
  Prefactor  = 1.05576
 **********
 **   18 **HESSE 
 **********

 FCN=   31616.36     FROM HESSE     STATUS=OK           705 CALLS     4657 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0280        3.6692        .14151E-03   -1.5141    
   2  Prefactor     5.4169        1.6245        .11881E-03   -1.5242    
   3  norm          3.3937        2.3754        .10981E-02   -1.5340    
   4  Prefactor     2.0219        1.2008        .14253E-03   -1.5424    
   5  Prefactor     27.229        13.356        .76772E-04   -1.4664    
   6  Prefactor     .10000E-03    4.3394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.3689        5.4200        .14775E-03   -1.5165    
  11  Prefactor     7.8125        9.3415        .71727E-03   -1.5149    
  12  Prefactor     3.0348        4.4627        .11646E-02   -1.5360    
  13  Prefactor     .10000E-03    6.3419        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.0069        .44414        .41590E-04   -1.5361    
  15  Prefactor     .10000E-03    10.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.1491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0132        5.5327        .11688E-02   -1.5361    
  18  Prefactor     7.9320        8.9816        .71183E-03   -1.5145    
  19  Prefactor     5.9507        20.692        .16459E-03   -1.5220    
  20  Prefactor     .10000E-03    10.788        .40800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.7134        9.9690        .84019E-03   -1.5230    
  22  Prefactor     4.2852        2.8456        .19464E-03   -1.5294    
  23  norm          .10000E-03    1.2895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          14.414        6.1433        .10550E-03   -1.4948    
  25  norm          33.070        3.8027        .69680E-04   -1.4557    
  26  Prefactor     2.3838        3.0524        .13265E-02   -1.5399    
  27  norm          .31765        4.0879        .36485E-02   -1.5595    
  28  Prefactor     .10000E-03    76.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     1.4683        1.2846        .18408E-03   -1.5466    
  30  Prefactor     .10000E-03    10.021        .37810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     6.1783        7.3026        .16151E-03   -1.5211    
  32  Normalizat    .86703        .13630        .44644E-03   -.97629    
  33  Prefactor     1.0558        .51954E-01    .16698E-03   -.90893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62751e-07
Minuit parameter uncertainties:
  1  3.66932
  2  1.62455
  3  2.37543
  4  1.2008
  5  13.3576
  6  6.72934e-06
  7  1.1446e-05
  8  5.02229e-05
  9  0.000145621
  10  5.42034
  11  9.34321
  12  4.46321
  13  8.77636e-05
  14  0.444139
  15  2.11317e-05
  16  1.36805e-05
  17  5.53362
  18  8.98317
  19  20.7164
  20  6.41852e-05
  21  9.9719
  22  2.84567
  23  2.47838e-06
  24  6.14361
  25  3.8027
  26  3.05256
  27  2.27891
  28  0.000169068
  29  1.28461
  30  0.000278795
  31  7.30367
  32  0.13635
  33  0.0519563
Done.

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

Extracting fit parameters...

4FGL J0244.7+1316
   Spectrum: PowerLaw
270    Prefactor:  5.951e+00  2.072e+01  1.000e-04  1.000e+04 ( 1.000e-13)
271        Index:  2.606e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  7.795e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  1.056e+00  5.196e-02  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  8.670e-01  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 41.192 13.280
Photon Flux Upper Limit: 6.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193512/likelihoodResults_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.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) = 31616.1726765
delta logL = 0.188909185086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 31616.1689559
delta logL = 0.19262982193

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8797       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3227       1.0000          .0000       10.000    
     3 'Normalizat'    .85256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0581       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+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=   31616.17     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      299 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8404        15.984        .82808E-03    .19434E-03
   2  Index         3.3285        1.4382        .64964E-02    .19214E-03
   3  Normalizat    .85261        .12655        .44977E-03   -.90995E-06
   4  Prefactor     1.0581        .50907E-01    .16680E-03   -.59979E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.84035
  Index      = 3.32846
  Normalizat = 0.852611
  Prefactor  = 1.05812
 **********
 **   18 **HESSE 
 **********

 FCN=   31616.17     FROM HESSE     STATUS=OK            27 CALLS      326 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8404        13.369        .16562E-03   -1.5225    
   2  Index         3.3285        1.2080        .12993E-02   -.34087    
   3  Normalizat    .85261        .12667        .17991E-04   -.98146    
   4  Prefactor     1.0581        .50913E-01    .66720E-05   -.90816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45041e-13
Minuit parameter uncertainties:
  1  13.3762
  2  1.22164
  3  0.126712
  4  0.050915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193512': 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) = 31616.1689427
delta logL = 0.192642981434

Extracting fit parameters...

4FGL J0244.7+1316
   Spectrum: PowerLaw
270    Prefactor:  5.840e+00  1.338e+01  1.000e-04  1.000e+04 ( 1.000e-13)
271        Index:  3.328e+00  1.222e+00  0.000e+00  1.000e+01 (-1.000e+00)
272        Scale:  7.795e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  1.058e+00  5.092e-02  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  8.526e-01  1.267e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 41.192 13.280

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/193512/cmap_HighResolution_679881601_680486401_4FGL_J0244.7+1316_weekly_bin729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.05e-03', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2022-07-26 03:12:11.961969', job_id='193512', GAL2='1.06', fit_tolerance='1e-08', EG2='0.85', EG='0.87', time_epoch_completed='1658830331.96', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.93e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='729' AND source_name='4FGL J0244.7+1316' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 26 03:12:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0157>
Subject: Job 193512: <4FGL_J0244.7+1316_weekly_bin729> in cluster <slac> Done

Job <4FGL_J0244.7+1316_weekly_bin729> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jul 26 02:15:35 2022
Job was executed on host(s) <bullet0157>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:17:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:17:52 2022
Terminated at Tue Jul 26 03:12:12 2022
Results reported at Tue Jul 26 03:12:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0244.7+1316_weekly_bin729 41.192 13.2799 679881601 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0244.7+1316 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   3196.79 sec.
    Max Memory :                                 628 MB
    Average Memory :                             357.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2935 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   3260 sec.
    Turnaround time :                            3397 sec.

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

