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


Performing analysis on: 4FGL_J0024.7+0349_daily_bin1770
RA = 6.1975, Dec = 3.8321
tmin = 698112001, tmax = 698371201
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='474884', job_status='RUN', time_executed='2023-02-18 00:05:24.471472', time_epoch_executed='1676707524.47' WHERE source_name='4FGL J0024.7+0349' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474884

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474884/ft1_4FGL_J0024.7+0349_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474884/ft2_4FGL_J0024.7+0349_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474884/ft1_4FGL_J0024.7+0349_daily_bin1770.fits outfile=/scratch/kocevski/474884/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1770.fits ra=6.1975 dec=3.8321 rad=12.0 tmin=698112001.0 tmax=698371201.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.41
user 4.11
sys 0.23

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

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

Number of photons that the gtmktime cut: 618

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474884/ft1_filtered_4FGL_J0024.7+0349_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/474884/ft2_4FGL_J0024.7+0349_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/474884/ltcube_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.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/474884/ft2_4FGL_J0024.7+0349_daily_bin1770.fits
.....................!
real 11.88
user 11.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474884/ft1_filtered_4FGL_J0024.7+0349_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/474884/ft2_4FGL_J0024.7+0349_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/474884/ltcube_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.fits outfile=/scratch/kocevski/474884/expmap_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.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/474884/ltcube_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.fits
.....................!
real 192.27
user 186.77
sys 4.85

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/474884/ft1_filtered_4FGL_J0024.7+0349_daily_bin1770.fits scfile=/scratch/kocevski/474884/ft2_4FGL_J0024.7+0349_daily_bin1770.fits outfile=/scratch/kocevski/474884/cmap_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.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.69
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474884/ft1_filtered_4FGL_J0024.7+0349_daily_bin1770.fits scfile=/scratch/kocevski/474884/ft2_4FGL_J0024.7+0349_daily_bin1770.fits outfile=/scratch/kocevski/474884/cmap_HighResolution_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.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.95
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474884/ft1_filtered_4FGL_J0024.7+0349_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/474884/ft2_4FGL_J0024.7+0349_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474884/Model_4FGL_J0024.7+0349_daily_bin1770.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/474884/ft1_filtered_4FGL_J0024.7+0349_daily_bin1770.fits.....................!
real 86.43
user 71.11
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/474884/ft1_filtered_4FGL_J0024.7+0349_daily_bin1770.fits', '/scratch/kocevski/474884/ft2_4FGL_J0024.7+0349_daily_bin1770.fits', expMap='/scratch/kocevski/474884/expmap_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.fits', expCube='/scratch/kocevski/474884/ltcube_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/474884/Model_4FGL_J0024.7+0349_daily_bin1770.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/474884/ft1_filtered_4FGL_J0024.7+0349_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/474884/ft2_4FGL_J0024.7+0349_daily_bin1770.fits
Exposure map: /scratch/kocevski/474884/expmap_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.fits
Exposure cube: /scratch/kocevski/474884/ltcube_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/474884/Model_4FGL_J0024.7+0349_daily_bin1770.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) = 6843.4869231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27656E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .69328       1.0000          .0000       .10000E+07
     3 'norm      '    .10913E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24972E-03   1.0000          .0000       .10000E+07
     5 'norm      '    4.2669       1.0000          .0000       .10000E+07
     6 'norm      '    3.4792       1.0000          .0000       .10000E+07
     7 'Prefactor '    .61045E-03   1.0000          .0000       .10000E+07
     8 'norm      '    1.3930       1.0000          .0000       .10000E+07
     9 'norm      '    6.1342       1.0000          .0000       .10000E+07
    10 'Prefactor '    .36057E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .72310E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11871E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .24452       1.0000          .0000       .10000E+07
    14 'norm      '    7.6881       1.0000          .0000       .10000E+07
    15 'Prefactor '    27.350       1.0000          .0000       .10000E+07
    16 'norm      '    28.099       1.0000          .0000       .10000E+07
    17 'Prefactor '    .20972E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .53983E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    .82931       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99690       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=   6843.468     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1554 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    65.783       -.24717E-05** at limit **
   2  Prefactor     .69591        8.9778       -.56003E-05   -.17689E-01
   3  norm          .55511E-10    .96530       -.27134E-06** at limit **
   4  Prefactor      .0000        4.2723       -.34600E-06** at limit **
   5  norm          4.2665        3.1848        .75234E-06    .17245E-02
   6  norm          3.4883        4.1707       -.31335E-07    .21034E-02
   7  Prefactor     .60618E-07    7.3697       -.30084E-06** at limit **
   8  norm          1.4335        10.423       -.35976E-06    .31137E-03
   9  norm          6.1510        6.3698        .35701E-07    .12437E-02
  10  Prefactor     .38525E-07    3.0898       -.11933E-06** at limit **
  11  Prefactor      .0000        5.2854       -.22225E-06** at limit **
  12  Prefactor     .24980E-08    15.244       -.63098E-06** at limit **
  13  Prefactor     .21949        10.643       -.72783E-06** at limit **
  14  norm          7.7234        9.6076        .25211E-05   -.43778E-01
  15  Prefactor     28.499        76.807        .35929E-05   -.69102E-03
  16  norm          28.094        3.5523        .96558E-08    .23605E-02
  17  Prefactor     .40079E-07    6.5754        .66138E-06** at limit **
  18  Prefactor     .43965E-07    3.5553       -.26420E-06** at limit **
  19  Normalizat    .82904        .21698        .48741E-05    .13761E-03
  20  Prefactor     .99693        .15631        .21742E-06    .14331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 0.695913
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 4.26651
  norm       = 3.4883
  Prefactor  = 6.06182e-08
  norm       = 1.43349
  norm       = 6.15105
  Prefactor  = 3.85247e-08
  Prefactor  = 0
  Prefactor  = 2.498e-09
  Prefactor  = 0.219492
  norm       = 7.72336
  Prefactor  = 28.4991
  norm       = 28.0936
  Prefactor  = 4.00791e-08
  Prefactor  = 4.39648e-08
  Normalizat = 0.829036
  Prefactor  = 0.996933
 **********
 **   18 **HESSE 
 **********

 FCN=   6843.468     FROM HESSE     STATUS=OK           341 CALLS     1895 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    64.315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .69591        11.240        .61255E-03   -1.5691    
   3  norm          .55511E-10    .97055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.2827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.2665        3.3316        .48752E-03   -1.5667    
   6  norm          3.4883        4.1849        .54187E-03   -1.5671    
   7  Prefactor     .60618E-07    8.0112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4335        10.475        .92003E-03   -1.5684    
   9  norm          6.1510        6.3758        .40512E-03   -1.5658    
  10  Prefactor     .38525E-07    7.4838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        5.2800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .24980E-08    2.1098        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .21949        1.5797        .64427E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.7234        14.941        .36142E-03   -1.5652    
  15  Prefactor     28.499        76.715        .19125E-03   -1.5601    
  16  norm          28.094        3.5646        .18868E-03   -1.5602    
  17  Prefactor     .40079E-07    7.0480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .43965E-07    7.4250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .82904        .19008        .70412E-01   -.99001    
  20  Prefactor     .99693        .13429        .46228E-01   -.92832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32483e-08
Minuit parameter uncertainties:
  1  0.000120711
  2  5.59348
  3  1.29335e-05
  4  5.24676e-06
  5  3.33157
  6  4.1849
  7  0.00139393
  8  7.74996
  9  6.37582
  10  0.00107373
  11  8.17271e-06
  12  0.000145117
  13  1.17769
  14  14.9413
  15  76.7174
  16  3.56458
  17  0.00106296
  18  0.00114239
  19  0.190234
  20  0.134334
Done.

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

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  6.062e-08  1.394e-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:  9.969e-01  1.343e-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:  8.290e-01  1.902e-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: 8.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474884/likelihoodResults_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.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) = 6843.52918252
delta logL = -0.0614676303057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6841.42338912
delta logL = 2.04432576743

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38410E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.4175       1.0000          .0000       10.000    
     3 'Normalizat'    .67296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0749       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=   6843.468     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      287 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3828       -.81724E-07** at limit **
   2  Index         1.5730        .13730       -.14993E-05     .0000    
   3  Normalizat    .82904        .21004       -.13970E-04   -.87669E-04
   4  Prefactor     .99693        .16003        .27960E-05    .55599E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.57298
  Normalizat = 0.829037
  Prefactor  = 0.996932
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6843.468     FROM HESSE     STATUS=FAILED        11 CALLS      298 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .23172        1.4169       -.14993E-05   -63.587    
   3  Normalizat    .82904        1.1158       -.13970E-04   -2.1516    
   4  Prefactor     .99693        1.1287        .27960E-05   -2.2133    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.4308e-11
Minuit parameter uncertainties:
  1  1.67426e-05
  2  0.766482
  3  1.14913
  4  1.15731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474884': 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) = 6843.46771489
delta logL = 3.75075615011e-09

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  0.000e+00  1.674e-05  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  1.573e+00  7.665e-01  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:  9.969e-01  1.157e+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:  8.290e-01  1.149e+00  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/474884/cmap_HighResolution_698112001_698371201_4FGL_J0024.7+0349_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.33e-03', job_status='DONE', photon_flux_upper_limit='8.20e-08', time_completed='2023-02-18 00:15:56.486388', job_id='474884', GAL2='1.00', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1676708156.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.75e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1770' AND source_name='4FGL J0024.7+0349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:15:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 474884: <4FGL_J0024.7+0349_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0024.7+0349_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 00:04:58 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:04:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:04:59 2023
Terminated at Sat Feb 18 00:15:57 2023
Results reported at Sat Feb 18 00:15:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.7+0349_daily_bin1770 6.1975 3.8321 698112001 698371201 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 :                                   596.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             379.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            659 sec.

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

