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


Performing analysis on: 4FGL_J0244.7+1316_daily_bin1673
RA = 41.192, Dec = 13.2799
tmin = 672969601, tmax = 673228801
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='351279', job_status='RUN', time_executed='2022-05-03 00:14:17.068422', time_epoch_executed='1651562057.07' WHERE source_name='4FGL J0244.7+1316' and cadence='daily' and bin_id='1673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351279

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351279/ft1_4FGL_J0244.7+1316_daily_bin1673.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351279/ft2_4FGL_J0244.7+1316_daily_bin1673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351279/ft1_4FGL_J0244.7+1316_daily_bin1673.fits outfile=/scratch/kocevski/351279/ft1_filteredMKT_4FGL_J0244.7+1316_daily_bin1673.fits ra=41.192 dec=13.2799 rad=12.0 tmin=672969601.0 tmax=673228801.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.07
user 2.80
sys 0.20

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

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

Number of photons that the gtmktime cut: 21

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351279/ft1_filtered_4FGL_J0244.7+1316_daily_bin1673.fits" evtable="EVENTS" scfile=/scratch/kocevski/351279/ft2_4FGL_J0244.7+1316_daily_bin1673.fits sctable="SC_DATA" outfile=/scratch/kocevski/351279/ltcube_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.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/351279/ft2_4FGL_J0244.7+1316_daily_bin1673.fits
.....................!
real 16.13
user 15.57
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351279/ft1_filtered_4FGL_J0244.7+1316_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/351279/ft2_4FGL_J0244.7+1316_daily_bin1673.fits sctable="SC_DATA" expcube=/scratch/kocevski/351279/ltcube_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.fits outfile=/scratch/kocevski/351279/expmap_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.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/351279/ltcube_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.fits
.....................!
real 191.88
user 186.07
sys 4.63

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/351279/ft1_filtered_4FGL_J0244.7+1316_daily_bin1673.fits scfile=/scratch/kocevski/351279/ft2_4FGL_J0244.7+1316_daily_bin1673.fits outfile=/scratch/kocevski/351279/cmap_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351279/ft1_filtered_4FGL_J0244.7+1316_daily_bin1673.fits scfile=/scratch/kocevski/351279/ft2_4FGL_J0244.7+1316_daily_bin1673.fits outfile=/scratch/kocevski/351279/cmap_HighResolution_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/351279/ft1_filtered_4FGL_J0244.7+1316_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/351279/ft2_4FGL_J0244.7+1316_daily_bin1673.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351279/Model_4FGL_J0244.7+1316_daily_bin1673.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/351279/ft1_filtered_4FGL_J0244.7+1316_daily_bin1673.fits.....................!
real 16.94
user 15.54
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/351279/ft1_filtered_4FGL_J0244.7+1316_daily_bin1673.fits', '/scratch/kocevski/351279/ft2_4FGL_J0244.7+1316_daily_bin1673.fits', expMap='/scratch/kocevski/351279/expmap_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.fits', expCube='/scratch/kocevski/351279/ltcube_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/351279/Model_4FGL_J0244.7+1316_daily_bin1673.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/351279/ft1_filtered_4FGL_J0244.7+1316_daily_bin1673.fits
Spacecraft file(s): /scratch/kocevski/351279/ft2_4FGL_J0244.7+1316_daily_bin1673.fits
Exposure map: /scratch/kocevski/351279/expmap_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.fits
Exposure cube: /scratch/kocevski/351279/ltcube_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/351279/Model_4FGL_J0244.7+1316_daily_bin1673.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) = 271.435382978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.846       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.340       1.0000         .10000E-03   10000.    
     3 'norm      '    .12232E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    68.055       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .77709E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10550E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4178.5       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .33888E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25872       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11412E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12785E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9999.9       1.0000         .10000E-03   10000.    
    14 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.129       1.0000         .10000E-03   10000.    
    16 'Prefactor '    82.656       1.0000         .10000E-03   10000.    
    17 'norm      '    174.62       1.0000         .10000E-03   10000.    
    18 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    19 'Prefactor '    83.264       1.0000         .10000E-03   10000.    
    20 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    21 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    120.75       1.0000         .10000E-03   10000.    
    24 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .37959E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    27.116       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .83584E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .35781       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=   257.6554     FROM MIGRAD    STATUS=CONVERGED    942 CALLS     6054 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.830        51.513       -.56970E-06    .38218E-04
   2  Prefactor     25.294        29.044       -.13113E-05    .38548E-04
   3  norm          .10000E-03    78.246        .10352E-05** at limit **
   4  Prefactor     68.085        67.578       -.25242E-05    .17073E-04
   5  Prefactor     .10000E-03    883.02        .12123E-04** at limit **
   6  Prefactor    10000.0        7645.3       -.51057E-04** at limit **
   7  Prefactor     .10006E-03    715.79       -.99991E-05** at limit **
   8  Prefactor     4178.2        6942.7        .50708E-04    .25787E-05
   9  Prefactor     .10022E-03    9874.3       -.32748E-04** at limit **
  10  Prefactor     .10000E-03    5811.9        .15794E-03** at limit **
  11  Prefactor     .10001E-03    399.66       -.12151E-04** at limit **
  12  Prefactor     .10000E-03    651.79        .80344E-05** at limit **
  13  Prefactor    10000.0        6184.8        .75863E-05** at limit **
  14  norm         10000.0        1749.3       -.24205E-04** at limit **
  15  Prefactor    10000.0        8721.9       -.33524E-03** at limit **
  16  Prefactor     82.618        122.27        .12338E-05    .40839E-04
  17  norm         10000.0        9937.4       -.40297E-04** at limit **
  18  Prefactor    10000.0        9495.6        .10642E-03** at limit **
  19  Prefactor    10000.0        5774.7       -.37889E-03** at limit **
  20  Prefactor    10000.0        6919.6       -.19308E-04** at limit **
  21  Prefactor    10000.0        9896.6       -.57360E-04** at limit **
  22  Prefactor     .10000E-03    16.235        .63693E-07** at limit **
  23  norm          124.19        9869.6       -.96650E-04    .21383E-05
  24  norm          .10000E-03    64.466       -.27394E-06** at limit **
  25  norm          .10000E-03    40.813        .26208E-06** at limit **
  26  Prefactor     .10000E-03    13.568       -.49350E-06** at limit **
  27  norm          .10000E-03    62.724       -.33677E-05** at limit **
  28  Prefactor     .10000E-03    1602.0       -.81707E-04** at limit **
  29  Prefactor     27.377        62.105       -.12790E-04    .54014E-04
  30  Prefactor     .10000E-03    24.976        .48488E-07** at limit **
  31  Prefactor     .10000E-03    71.488        .22140E-05** at limit **
  32  Normalizat    .88016E-01    5.7655       -.14714E-03   -.66080E-05
  33  Prefactor     .35505        .43094        .28693E-04   -.71535E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.8303
  Prefactor  = 25.2938
  norm       = 0.0001
  Prefactor  = 68.0847
  Prefactor  = 0.000100001
  Prefactor  = 10000
  Prefactor  = 0.00010006
  Prefactor  = 4178.24
  Prefactor  = 0.000100219
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 82.618
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  norm       = 124.19
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 27.3774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.0880159
  Prefactor  = 0.355049
 **********
 **   18 **HESSE 
 **********

 FCN=   257.6554     FROM HESSE     STATUS=OK           679 CALLS     6733 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.830        51.678        .57970E-04   -1.4324    
   2  Prefactor     25.294        29.091        .79578E-04   -1.4702    
   3  norm          .10000E-03    80.772        .14114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     68.085        67.450        .48655E-04   -1.4056    
   5  Prefactor     .10000E-03    879.42        .20919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        7622.2        .20438E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10006E-03    715.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4178.2        6949.4        .40551E-04   -.16510    
   9  Prefactor     .10022E-03    9876.2        .19692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5832.2        .20485E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    403.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    649.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor    10000.0        6207.5        .18988E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm         10000.0        1798.8        .20342E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor    10000.0        8592.3        .43568E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     82.618        123.12        .22090E-03   -1.3888    
  17  norm         10000.0        9993.3        .15269E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor    10000.0        9534.4        .20148E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor    10000.0        6062.2        .22010E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor    10000.0        6908.4        .20926E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor    10000.0        9894.9        .18156E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    16.339        .63449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          124.19        9914.0        .18312E-02   -1.3475    
  24  norm          .10000E-03    66.182        .12781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    41.468        .10114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    13.636        .57963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    63.537        .12526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1599.4        .21287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     27.377        63.301        .76933E-04   -1.4661    
  30  Prefactor     .10000E-03    25.229        .78854E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    72.558        .13387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .88016E-01    5.8560        .77258E-02   -1.3938    
  33  Prefactor     .35505        .45231        .16458E-03   -1.1917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50406e-10
Minuit parameter uncertainties:
  1  51.7261
  2  29.1069
  3  0.000192371
  4  67.5254
  5  0.00199535
  6  0.0308964
  7  0.0132542
  8  8589.42
  9  0.132147
  10  0.0105803
  11  0.00313662
  12  0.000334807
  13  0.798475
  14  0.0100597
  15  1.29652
  16  123.505
  17  0.744462
  18  0.0179581
  19  0.979773
  20  0.00763153
  21  0.00402249
  22  7.39511e-05
  23  3573.29
  24  4.38707e-05
  25  0.000104638
  26  9.66849e-06
  27  2.27005e-05
  28  0.00497064
  29  63.4565
  30  6.78991e-06
  31  0.000170125
  32  0.926616
  33  0.456938
Done.

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

Extracting fit parameters...

4FGL J0244.7+1316
   Spectrum: PowerLaw
270    Prefactor:  1.000e+04  9.798e-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:  3.550e-01  4.569e-01  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.802e-02  9.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 1.41514533425e-08

TS (Fixed Index): 0.03
Ra Dec: 41.192 13.280
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.83e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351279/likelihoodResults_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.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) = 249.481883702
delta logL = 8.17348845919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 249.48134246
delta logL = 8.17402970133

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    10.000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   249.4813     FROM MIGRAD    STATUS=CONVERGED     33 CALLS       78 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index      10.0000        .27743         .0000    ** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   249.4813     FROM HESSE     STATUS=OK             5 CALLS       83 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index      10.0000        .27611        .25838E-02    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19283e-07
Minuit parameter uncertainties:
  1  0.000261969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351279': 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) = 249.48134246
delta logL = 8.17402970133

Extracting fit parameters...

4FGL J0244.7+1316
   Spectrum: PowerLaw
270    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
271        Index:  1.000e+01  2.620e-04  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:  3.553e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.724e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 16.38
Ra Dec: 41.192 13.280
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 9.51e+00 +/- 4.69e-03
Energy Flux (Free Index): 1.06e+03 +/- 5.23e-01

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/351279/cmap_HighResolution_672969601_673228801_4FGL_J0244.7+1316_daily_bin1673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.83e+04', comment='SUCCESS', energy_flux2='1.06e+03', dlogl='8.17e+00', photon_flux2='9.51e+00', job_status='DONE', time_completed='2022-05-03 00:20:09.556087', photon_index_error2='0.00', photon_index2='10.00', ts='0.03', fit_tolerance='1e-08', GAL='0.36', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='5.23e-01', EG='0.09', time_epoch_completed='1651562409.56', return_code='0', job_id='351279', GAL2='0.36', EG2='0.09', return_code2='0', photon_flux_error2='4.69e-03', ts2='16.38', photon_index='2.61' WHERE bin_id='1673' AND source_name='4FGL J0244.7+1316' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May  3 00:20:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 351179: <4FGL_J0244.7+1316_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0244.7+1316_daily_bin1673> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue May  3 00:05:39 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:08:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:08:07 2022
Terminated at Tue May  3 00:16:48 2022
Results reported at Tue May  3 00:16:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0244.7+1316_daily_bin1673 41.192 13.2799 672969601 673228801 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 :                                   357.06 sec.
    Max Memory :                                 781 MB
    Average Memory :                             217.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   521 sec.
    Turnaround time :                            669 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 351279: <4FGL_J0244.7+1316_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0244.7+1316_daily_bin1673> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue May  3 00:05:43 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:10:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:10:15 2022
Terminated at Tue May  3 00:20:10 2022
Results reported at Tue May  3 00:20:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0244.7+1316_daily_bin1673 41.192 13.2799 672969601 673228801 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 :                                   354.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            867 sec.

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

