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


Performing analysis on: 4FGL_J0024.7+0349_daily_bin1747
RA = 6.1975, Dec = 3.8321
tmin = 692150401, tmax = 692409601
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='787703', job_status='RUN', time_executed='2022-12-11 00:05:58.767604', time_epoch_executed='1670745958.77' WHERE source_name='4FGL J0024.7+0349' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/787703

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/787703/ft1_4FGL_J0024.7+0349_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/787703/ft1_4FGL_J0024.7+0349_daily_bin1747.fits outfile=/scratch/kocevski/787703/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1747.fits ra=6.1975 dec=3.8321 rad=12.0 tmin=692150401.0 tmax=692409601.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 4.35
user 3.78
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.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/787703/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/787703/ft1_filtered_4FGL_J0024.7+0349_daily_bin1747.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.35
sys 0.14

Number of photons that the gtmktime cut: 682

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/787703/ft1_filtered_4FGL_J0024.7+0349_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/787703/ltcube_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.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/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits
.....................!
real 17.29
user 16.64
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/787703/ft1_filtered_4FGL_J0024.7+0349_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/787703/ltcube_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.fits outfile=/scratch/kocevski/787703/expmap_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.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/787703/ltcube_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.fits
.....................!
real 190.73
user 185.02
sys 4.75

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

Setting source of interest to:
4FGL J0024.7+0349 @ 6.1975 3.8321

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/787703/ft1_filtered_4FGL_J0024.7+0349_daily_bin1747.fits scfile=/scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits outfile=/scratch/kocevski/787703/cmap_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.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=6.1975 yref=3.8321 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.83
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/787703/ft1_filtered_4FGL_J0024.7+0349_daily_bin1747.fits scfile=/scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits outfile=/scratch/kocevski/787703/cmap_HighResolution_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.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=6.1975 yref=3.8321 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.67
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/787703/ft1_filtered_4FGL_J0024.7+0349_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/787703/Model_4FGL_J0024.7+0349_daily_bin1747.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/787703/ft1_filtered_4FGL_J0024.7+0349_daily_bin1747.fits.....................!
real 84.06
user 72.33
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/787703/ft1_filtered_4FGL_J0024.7+0349_daily_bin1747.fits', '/scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits', expMap='/scratch/kocevski/787703/expmap_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.fits', expCube='/scratch/kocevski/787703/ltcube_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/787703/Model_4FGL_J0024.7+0349_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0024.7+0349'

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  1.144e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  2.391e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
120        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/787703/ft1_filtered_4FGL_J0024.7+0349_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/787703/ft2_4FGL_J0024.7+0349_daily_bin1747.fits
Exposure map: /scratch/kocevski/787703/expmap_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.fits
Exposure cube: /scratch/kocevski/787703/ltcube_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/787703/Model_4FGL_J0024.7+0349_daily_bin1747.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) = 7209.11866466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0488       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23583E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .23493E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35724E-03   1.0000          .0000       .10000E+07
     5 'norm      '    18.667       1.0000          .0000       .10000E+07
     6 'norm      '    .22370E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .64342E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .63425E-02   1.0000          .0000       .10000E+07
     9 'norm      '    11.113       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16842E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7652       1.0000          .0000       .10000E+07
    12 'Prefactor '    .91173E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.8845       1.0000          .0000       .10000E+07
    14 'norm      '    13.591       1.0000          .0000       .10000E+07
    15 'Prefactor '    93.136       1.0000          .0000       .10000E+07
    16 'norm      '    49.060       1.0000          .0000       .10000E+07
    17 'Prefactor '    54.764       1.0000          .0000       .10000E+07
    18 'Prefactor '    55.868       1.0000          .0000       .10000E+07
    19 'Normalizat'    .57749       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4173       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7209.118     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1559 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0390        2.7665       -.83309E-08   -.33420E-01
   2  Prefactor     .38858E-09    4.2410       -.36995E-07** at limit **
   3  norm          .27756E-09    2.2857       -.60923E-07** at limit **
   4  Prefactor     .73552E-07    6.6136       -.10756E-06** at limit **
   5  norm          18.761        5.8802        .33279E-07    .98670E-03
   6  norm          .11102E-09    1.0857       -.20626E-06** at limit **
   7  Prefactor     .53291E-07    6.3454       -.26432E-07** at limit **
   8  norm          .23315E-08    10.238       -.21618E-06** at limit **
   9  norm          11.114        1.0181       -.50346E-09    .20108E-02
  10  Prefactor      .0000        3.7294       -.11871E-06** at limit **
  11  Prefactor     2.7596        3.2411        .27013E-07    .51253E-03
  12  Prefactor     .16653E-09    1.8027       -.26393E-07** at limit **
  13  Prefactor     4.8751        4.1289        .99373E-07    .22827E-02
  14  norm          13.578        1.5655       -.13476E-08   -.99658E-02
  15  Prefactor     93.182        6.8641        .11857E-07   -.13785    
  16  norm          49.037        4.9836       -.17818E-07   -.35429E-02
  17  Prefactor     54.897        15.584        .35540E-07   -.22063    
  18  Prefactor     55.694        32.527       -.52429E-07   -.12229    
  19  Normalizat    .57665        .24978       -.14485E-05    .58266E-04
  20  Prefactor     1.4177        .19274        .17365E-05    .14944E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.03898
  Prefactor  = 3.88578e-10
  norm       = 2.77556e-10
  Prefactor  = 7.35523e-08
  norm       = 18.7606
  norm       = 1.11022e-10
  Prefactor  = 5.32907e-08
  norm       = 2.33147e-09
  norm       = 11.1137
  Prefactor  = 0
  Prefactor  = 2.75958
  Prefactor  = 1.66533e-10
  Prefactor  = 4.87512
  norm       = 13.5783
  Prefactor  = 93.1817
  norm       = 49.0371
  Prefactor  = 54.8971
  Prefactor  = 55.6941
  Normalizat = 0.576652
  Prefactor  = 1.41775
 **********
 **   18 **HESSE 
 **********

 FCN=   7209.118     FROM HESSE     STATUS=OK           331 CALLS     1890 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0390        10.693        .33294E-03   -1.5648    
   2  Prefactor     .38858E-09    4.2394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .27756E-09    2.2335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .73552E-07    6.8054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          18.761        5.8880        .23154E-03   -1.5621    
   6  norm          .11102E-09    1.0854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .53291E-07    6.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .23315E-08    10.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.114        9.8782        .30028E-03   -1.5641    
  10  Prefactor      .0000        3.7284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7596        3.2454        .61181E-03   -1.5675    
  12  Prefactor     .16653E-09    1.7943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.8751        4.1333        .45489E-03   -1.5664    
  14  norm          13.578        15.438        .27144E-03   -1.5634    
  15  Prefactor     93.182        92.163        .10363E-03   -1.5515    
  16  norm          49.037        5.1176        .14278E-03   -1.5568    
  17  Prefactor     54.897        50.029        .13514E-03   -1.5560    
  18  Prefactor     55.694        33.001        .13380E-03   -1.5559    
  19  Normalizat    .57665        .22842        .98924E-01   -1.0898    
  20  Prefactor     1.4177        .17233        .51018E-01   -.79870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09951e-06
Minuit parameter uncertainties:
  1  10.6929
  2  7.88906e-05
  3  4.8616e-05
  4  0.00141483
  5  5.88799
  6  2.39771e-05
  7  0.00118633
  8  0.00031012
  9  9.87819
  10  2.54829e-06
  11  3.24537
  12  3.62175e-05
  13  4.1333
  14  15.4381
  15  92.1645
  16  5.1176
  17  50.0293
  18  33.0014
  19  0.228796
  20  0.172404
Done.

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

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  5.329e-08  1.186e-03  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  2.391e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
120        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.418e+00  1.724e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  5.767e-01  2.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 6.197 3.832
Photon Flux Upper Limit: 7.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/787703/likelihoodResults_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.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): 102
logL (Free Index) = 7209.19269042
delta logL = -0.0745161272825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7209.11817451
delta logL = -2.2024687496e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97411E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.2566       1.0000          .0000       10.000    
     3 'Normalizat'    .57656       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4178       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7209.118     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      217 TOTAL
                     EDM=   .42E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.7174        .42118E-03** at limit **
   2  Index         2.2257        1.3641        .60379E-05     .0000    
   3  Normalizat    .57665        .91299       -.76575E-05    .12001E-04
   4  Prefactor     1.4177        1.0581        .67770E-05    .10308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.22565
  Normalizat = 0.576652
  Prefactor  = 1.41775
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7209.118     FROM HESSE     STATUS=FAILED         9 CALLS      226 TOTAL
                     EDM=   .42E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.7174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .54804        1.8310        .60379E-05   -.58821    
   3  Normalizat    .57665        .91299       -.76575E-05   -1.0898    
   4  Prefactor     1.4177        1.0581        .67770E-05   -.79870    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.23962e-13
Minuit parameter uncertainties:
  1  3.17458e-06
  2  1.38984
  3  0.938587
  4  1.07504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/787703': 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): 101
logL (Free Index) = 7209.11817429
delta logL = 4.03633748647e-09

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  0.000e+00  3.175e-06  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  2.226e+00  1.390e+00  0.000e+00  1.000e+01 (-1.000e+00)
120        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.418e+00  1.075e+00  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  5.767e-01  9.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 6.197 3.832

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/787703/cmap_HighResolution_692150401_692409601_4FGL_J0024.7+0349_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.61e-08', time_completed='2022-12-11 00:16:46.320382', job_id='787703', GAL2='1.42', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1670746606.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='4.04e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1747' AND source_name='4FGL J0024.7+0349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:16:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 787703: <4FGL_J0024.7+0349_daily_bin1747> in cluster <slac> Done

Job <4FGL_J0024.7+0349_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:05:03 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:05:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:05:04 2022
Terminated at Sun Dec 11 00:16:47 2022
Results reported at Sun Dec 11 00:16:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.7+0349_daily_bin1747 6.1975 3.8321 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0024.7+0349 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   620.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             372.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

