aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 16 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7534
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0024.7+0349_daily_bin1721
RA = 6.1975, Dec = 3.8321
tmin = 685411201, tmax = 685670401
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='48656', job_status='RUN', time_executed='2022-09-24 00:05:28.150641', time_epoch_executed='1664003128.15' WHERE source_name='4FGL J0024.7+0349' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48656

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48656/ft1_4FGL_J0024.7+0349_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48656/ft2_4FGL_J0024.7+0349_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48656/ft1_4FGL_J0024.7+0349_daily_bin1721.fits outfile=/scratch/kocevski/48656/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1721.fits ra=6.1975 dec=3.8321 rad=12.0 tmin=685411201.0 tmax=685670401.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 5.27
user 4.95
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/48656/ft2_4FGL_J0024.7+0349_daily_bin1721.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/48656/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/48656/ft1_filtered_4FGL_J0024.7+0349_daily_bin1721.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 693

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48656/ft1_filtered_4FGL_J0024.7+0349_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/48656/ft2_4FGL_J0024.7+0349_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/48656/ltcube_685411201_685670401_4FGL_J0024.7+0349_daily_bin1721.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/48656/ft2_4FGL_J0024.7+0349_daily_bin1721.fits
.....................!
real 13.86
user 13.30
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48656/ft1_filtered_4FGL_J0024.7+0349_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/48656/ft2_4FGL_J0024.7+0349_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/48656/ltcube_685411201_685670401_4FGL_J0024.7+0349_daily_bin1721.fits outfile=/scratch/kocevski/48656/expmap_685411201_685670401_4FGL_J0024.7+0349_daily_bin1721.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/48656/ltcube_685411201_685670401_4FGL_J0024.7+0349_daily_bin1721.fits
.....................!
real 195.36
user 189.08
sys 5.61

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/48656/ft1_filtered_4FGL_J0024.7+0349_daily_bin1721.fits scfile=/scratch/kocevski/48656/ft2_4FGL_J0024.7+0349_daily_bin1721.fits outfile=/scratch/kocevski/48656/cmap_685411201_685670401_4FGL_J0024.7+0349_daily_bin1721.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48656/ft1_filtered_4FGL_J0024.7+0349_daily_bin1721.fits scfile=/scratch/kocevski/48656/ft2_4FGL_J0024.7+0349_daily_bin1721.fits outfile=/scratch/kocevski/48656/cmap_HighResolution_685411201_685670401_4FGL_J0024.7+0349_daily_bin1721.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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/48656/ft1_filtered_4FGL_J0024.7+0349_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/48656/ft2_4FGL_J0024.7+0349_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/48656/Model_4FGL_J0024.7+0349_daily_bin1721.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/48656/ft1_filtered_4FGL_J0024.7+0349_daily_bin1721.fits.....................!
real 81.85
user 77.48
sys 1.86

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1189       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58013E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .12803E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.403       1.0000          .0000       .10000E+07
     5 'norm      '    .25842E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .25493E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    21.500       1.0000          .0000       .10000E+07
     8 'norm      '    .79963E-03   1.0000          .0000       .10000E+07
     9 'norm      '    3.9197       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30348E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10305E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .81655E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .81992E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .59996       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13142E-02   1.0000          .0000       .10000E+07
    16 'norm      '    76.158       1.0000          .0000       .10000E+07
    17 'Prefactor '    .81101       1.0000          .0000       .10000E+07
    18 'Prefactor '    .37038E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1710       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88050       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=   7240.041     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1568 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0411        3.5706       -.71102E-07    .15533E-02
   2  Prefactor     .66613E-09    8.3651        .71644E-06** at limit **
   3  norm          .55511E-10    4.8597        .13074E-06** at limit **
   4  Prefactor     24.488        13.975        .22428E-06    .16672E-01
   5  norm          .78826E-07    21.213       -.41742E-05** at limit **
   6  norm          .11102E-09    1.3102       -.68415E-07** at limit **
   7  Prefactor     21.411        9.7621        .21332E-05    .29114E-01
   8  norm          .98865E-07    9.4661       -.36012E-05** at limit **
   9  norm          3.8809        2.8398       -.11711E-05   -.13822E-02
  10  Prefactor     .31974E-07    5.7391       -.12948E-05** at limit **
  11  Prefactor     .10825E-07    5.5859        .18980E-05** at limit **
  12  Prefactor     .44409E-09    2.5881        .21535E-06** at limit **
  13  Prefactor     .27756E-09    4.4180        .51184E-07** at limit **
  14  norm          .47936        6.3684       -.17830E-06   -.59993E-02
  15  Prefactor     .11102E-09    63.730        .15737E-05** at limit **
  16  norm          76.104        6.0317        .92231E-08   -.72788E-03
  17  Prefactor     .59175E-07    158.47       -.13232E-05** at limit **
  18  Prefactor     .72609E-07    11.866        .30388E-05** at limit **
  19  Normalizat    1.1715        .24280       -.14025E-04    .14833E-04
  20  Prefactor     .88076        .17491        .82051E-05    .17430E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.04111
  Prefactor  = 6.66134e-10
  norm       = 5.55112e-11
  Prefactor  = 24.488
  norm       = 7.88258e-08
  norm       = 1.11022e-10
  Prefactor  = 21.4113
  norm       = 9.88654e-08
  norm       = 3.88094
  Prefactor  = 3.19744e-08
  Prefactor  = 1.08247e-08
  Prefactor  = 4.44089e-10
  Prefactor  = 2.77556e-10
  norm       = 0.479359
  Prefactor  = 1.11022e-10
  norm       = 76.1041
  Prefactor  = 5.91749e-08
  Prefactor  = 7.26086e-08
  Normalizat = 1.17155
  Prefactor  = 0.880756
 **********
 **   18 **HESSE 
 **********

 FCN=   7240.041     FROM HESSE     STATUS=OK           333 CALLS     1901 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0411        37.636        .70827E-03   -1.5679    
   2  Prefactor     .66613E-09    8.3166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    4.8327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.488        16.845        .20247E-03   -1.5609    
   5  norm          .78826E-07    2.9019        .48074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    1.3118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.411        15.182        .21573E-03   -1.5615    
   8  norm          .98865E-07    14.027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8809        19.031        .50932E-03   -1.5669    
  10  Prefactor     .31974E-07    9.2865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10825E-07    9.6476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44409E-09    2.5680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    4.3304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .47936        53.223        .69231E-03   -1.5694    
  15  Prefactor     .11102E-09    63.730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          76.104        6.0312        .11460E-03   -1.5533    
  17  Prefactor     .59175E-07    157.60        .52118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .72609E-07    14.267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1715        .21491        .70674E-01   -.87487    
  20  Prefactor     .88076        .15028        .44756E-01   -.96817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52125e-08
Minuit parameter uncertainties:
  1  17.5295
  2  0.000148248
  3  2.74389e-05
  4  16.845
  5  0.00095642
  6  2.44236e-05
  7  15.1821
  8  0.00235542
  9  17.1882
  10  0.00109006
  11  0.000646862
  12  6.69687e-05
  13  6.64667e-05
  14  10.1022
  15  0.000175953
  16  6.03124
  17  0.00610728
  18  0.0020354
  19  0.215069
  20  0.150355
Done.

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

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  2.141e+01  1.518e+01  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:  8.808e-01  1.504e-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:  1.172e+00  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.87
Ra Dec: 6.197 3.832
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 7.53e-08 +/- 5.33e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.77e-05

TS (Fixed Index): 2.87
Ra Dec: 6.197 3.832
Photon Flux Upper Limit: 1.82e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/48656/likelihoodResults_685411201_685670401_4FGL_J0024.7+0349_daily_bin1721.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) = 7239.34986931
delta logL = 0.691464621746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7239.3302086
delta logL = 0.711125329417

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6741       1.0000          .0000       .10000E+07
     2 'Index     '    3.2077       1.0000          .0000       10.000    
     3 'Normalizat'    1.1082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91372       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7239.330     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      282 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6749        78.991        .11861E-04    .16128E-01
   2  Index         3.2078        3.0037        .39773E-02    .42561E-03
   3  Normalizat    1.1082        .25665        .32001E-03    .36645E-03
   4  Prefactor     .91371        .18824        .25446E-03    .40709E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.67491
  Index      = 3.20778
  Normalizat = 1.1082
  Prefactor  = 0.91371
 **********
 **   18 **HESSE 
 **********

 FCN=   7239.330     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6749        12.061        .47443E-06   -1.5656    
   2  Index         3.2078        .85132        .15909E-03   -.36660    
   3  Normalizat    1.1082        .24900        .64003E-04   -.89489    
   4  Prefactor     .91371        .17824        .50893E-04   -.95664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04073e-10
Minuit parameter uncertainties:
  1  12.0615
  2  0.856111
  3  0.249263
  4  0.178351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48656': 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) = 7239.33020851
delta logL = 0.711125417751

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  6.675e+00  1.206e+01  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  3.208e+00  8.561e-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.137e-01  1.784e-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:  1.108e+00  2.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.44
Ra Dec: 6.197 3.832
Photon Index (Free Index): 3.21 +/- 0.86
Photon Flux (Free Index): 1.23e-07 +/- 7.27e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.38e-05

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/48656/cmap_HighResolution_685411201_685670401_4FGL_J0024.7+0349_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', comment='SUCCESS', photon_flux='7.53e-08', energy_flux2='2.24e-05', photon_flux_error='5.33e-08', dlogl='7.11e-01', energy_flux='2.50e-05', photon_flux2='1.23e-07', job_status='DONE', time_completed='2022-09-24 00:16:14.594808', photon_index_error2='0.86', photon_index2='3.21', ts='2.87', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.82e-07', energy_flux_error2='1.38e-05', EG='1.17', time_epoch_completed='1664003774.59', return_code='0', job_id='48656', GAL2='0.91', EG2='1.11', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='7.27e-08', ts2='4.44', photon_index='2.39' WHERE bin_id='1721' AND source_name='4FGL J0024.7+0349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 00:16:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 48656: <4FGL_J0024.7+0349_daily_bin1721> in cluster <slac> Done

Job <4FGL_J0024.7+0349_daily_bin1721> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 24 00:04:54 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 00:04:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 00:04:55 2022
Terminated at Sat Sep 24 00:16:15 2022
Results reported at Sat Sep 24 00:16:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.7+0349_daily_bin1721 6.1975 3.8321 685411201 685670401 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 :                                   625.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            681 sec.

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

