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


Performing analysis on: 4FGL_J0024.4+4647_daily_bin1737
RA = 6.1212, Dec = 46.797
tmin = 689558401, tmax = 689817601
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='147064', job_status='RUN', time_executed='2022-11-11 00:08:43.605857', time_epoch_executed='1668154123.61' WHERE source_name='4FGL J0024.4+4647' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147064

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147064/ft1_4FGL_J0024.4+4647_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147064/ft1_4FGL_J0024.4+4647_daily_bin1737.fits outfile=/scratch/kocevski/147064/ft1_filteredMKT_4FGL_J0024.4+4647_daily_bin1737.fits ra=6.1212 dec=46.797 rad=12.0 tmin=689558401.0 tmax=689817601.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.81
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.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/147064/ft1_filteredMKT_4FGL_J0024.4+4647_daily_bin1737.fits evtable="EVENTS" outfile="/scratch/kocevski/147064/ft1_filtered_4FGL_J0024.4+4647_daily_bin1737.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.47
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 1144

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147064/ft1_filtered_4FGL_J0024.4+4647_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/147064/ltcube_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.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/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits
.....................!
real 14.65
user 14.31
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147064/ft1_filtered_4FGL_J0024.4+4647_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/147064/ltcube_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.fits outfile=/scratch/kocevski/147064/expmap_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.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/147064/ltcube_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.fits
.....................!
real 155.38
user 150.90
sys 4.12

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
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Added 170 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0024.4+4647 @ 6.1212 46.797

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/147064/ft1_filtered_4FGL_J0024.4+4647_daily_bin1737.fits scfile=/scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits outfile=/scratch/kocevski/147064/cmap_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.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.1212 yref=46.797 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.53
user 0.32
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/147064/ft1_filtered_4FGL_J0024.4+4647_daily_bin1737.fits scfile=/scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits outfile=/scratch/kocevski/147064/cmap_HighResolution_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.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.1212 yref=46.797 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.50
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/147064/ft1_filtered_4FGL_J0024.4+4647_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/147064/Model_4FGL_J0024.4+4647_daily_bin1737.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/147064/ft1_filtered_4FGL_J0024.4+4647_daily_bin1737.fits.....................!
real 114.66
user 112.41
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/147064/ft1_filtered_4FGL_J0024.4+4647_daily_bin1737.fits', '/scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits', expMap='/scratch/kocevski/147064/expmap_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.fits', expCube='/scratch/kocevski/147064/ltcube_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/147064/Model_4FGL_J0024.4+4647_daily_bin1737.xml', optimizer='MINUIT')

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

4FGL J0024.4+4647
   Spectrum: PowerLaw
70     Prefactor:  1.757e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
71         Index:  2.541e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/147064/ft1_filtered_4FGL_J0024.4+4647_daily_bin1737.fits
Spacecraft file(s): /scratch/kocevski/147064/ft2_4FGL_J0024.4+4647_daily_bin1737.fits
Exposure map: /scratch/kocevski/147064/expmap_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.fits
Exposure cube: /scratch/kocevski/147064/ltcube_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/147064/Model_4FGL_J0024.4+4647_daily_bin1737.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) = 12101.5481282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27500E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .55265       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.8057       1.0000          .0000       .10000E+07
     4 'norm      '    2.1736       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.0355       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.057       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.445       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55749E-04   1.0000          .0000       .10000E+07
     9 'norm      '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19384E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5020       1.0000          .0000       .10000E+07
    12 'norm      '    40.235       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17808E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .86042E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12766       1.0000          .0000       .10000E+07
    16 'norm      '    .53982       1.0000          .0000       .10000E+07
    17 'norm      '    4.4384       1.0000          .0000       .10000E+07
    18 'Prefactor '    88.481       1.0000          .0000       .10000E+07
    19 'Prefactor '    .33398E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.090       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1487       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89166       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12101.55     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1808 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.663       -.52463E-07** at limit **
   2  norm          .10679        474.78        .26296E-05** at limit **
   3  Prefactor     9.8992        6.8102        .18764E-08    .65312E-03
   4  norm          2.1727        2.0646       -.17052E-07   -.10073E-02
   5  Prefactor     6.0306        3.7012        .59975E-08   -.14771E-02
   6  Prefactor     17.057        2.0170       -.10582E-07    .56997E-01
   7  Prefactor     14.438        1.1323       -.70987E-08    .68189E-02
   8  Prefactor     .55511E-10    22.579        .94602E-07** at limit **
   9  norm          10.350        1.0230       -.12623E-09    .50621E-02
  10  Prefactor     .57732E-08    .91881        .16676E-07** at limit **
  11  Prefactor     8.4681        11.820        .21393E-07    .56503E-02
  12  norm          40.134        7.1464        .67477E-07   -.44499E-01
  13  Prefactor      .0000        7.9889       -.77080E-07** at limit **
  14  norm          .66613E-08    .94471        .29343E-07** at limit **
  15  Prefactor     .55511E-10    46.304        .16585E-06** at limit **
  16  norm          .54041        .61852       -.41370E-08    .44922E-02
  17  norm          4.4785        6.2542        .50056E-07   -.10919E-04
  18  Prefactor     88.514        1.4796       -.70056E-08    .60970E-02
  19  Prefactor      .0000        31.586        .13980E-06** at limit **
  20  Prefactor     11.023        9.1457       -.67947E-07    .10585E-02
  21  Normalizat    1.1497        .22103       -.27701E-06   -.18860E-04
  22  Prefactor     .89157        .64801E-01   -.37986E-07   -.58921E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.106795
  Prefactor  = 9.89916
  norm       = 2.17269
  Prefactor  = 6.0306
  Prefactor  = 17.0569
  Prefactor  = 14.4378
  Prefactor  = 5.55112e-11
  norm       = 10.3497
  Prefactor  = 5.77316e-09
  Prefactor  = 8.46808
  norm       = 40.1336
  Prefactor  = 0
  norm       = 6.66134e-09
  Prefactor  = 5.55112e-11
  norm       = 0.540414
  norm       = 4.47847
  Prefactor  = 88.5136
  Prefactor  = 0
  Prefactor  = 11.0231
  Normalizat = 1.14971
  Prefactor  = 0.891568
 **********
 **   18 **HESSE 
 **********

 FCN=   12101.55     FROM HESSE     STATUS=OK           400 CALLS     2208 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.509        .16586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10679        11.491        .10934E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.8992        6.8106        .31976E-03   -1.5645    
   4  norm          2.1727        2.0790        .69814E-03   -1.5678    
   5  Prefactor     6.0306        3.7990        .40846E-03   -1.5659    
   6  Prefactor     17.057        16.914        .24224E-03   -1.5625    
   7  Prefactor     14.438        24.621        .26327E-03   -1.5632    
   8  Prefactor     .55511E-10    22.617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.350        13.746        .31120E-03   -1.5644    
  10  Prefactor     .57732E-08    1.7246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.4681        11.896        .34356E-03   -1.5650    
  12  norm          40.134        38.650        .15767E-03   -1.5581    
  13  Prefactor      .0000        8.0170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66613E-08    1.9016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    45.682        .13239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .54041        43.114        .74800E-03   -1.5693    
  17  norm          4.4785        6.2654        .47775E-03   -1.5666    
  18  Prefactor     88.514        60.187        .10632E-03   -1.5520    
  19  Prefactor      .0000        31.602        .16276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.023        9.1314        .30059E-03   -1.5642    
  21  Normalizat    1.1497        .21088        .95167E-01   -.88171    
  22  Prefactor     .89157        .60267E-01    .33145E-01   -.96436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76574e-07
Minuit parameter uncertainties:
  1  1.63572e-05
  2  2.21554
  3  6.81064
  4  2.079
  5  3.79899
  6  16.9141
  7  24.6207
  8  8.38707e-05
  9  13.7464
  10  0.000199995
  11  11.8956
  12  38.6498
  13  2.02121e-05
  14  0.000224743
  15  8.249e-05
  16  9.65395
  17  6.26538
  18  60.1874
  19  2.95922e-05
  20  9.13146
  21  0.211035
  22  0.0602713
Done.

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

Extracting fit parameters...

4FGL J0024.4+4647
   Spectrum: PowerLaw
70     Prefactor:  1.706e+01  1.691e+01  0.000e+00  1.000e+06 ( 1.000e-13)
71         Index:  2.541e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
72         Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  8.916e-01  6.027e-02  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.150e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.59
Ra Dec: 6.121 46.797
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 4.12e-08 +/- 4.08e-08
Energy Flux (Fixed Index): 1.15e-05 +/- 1.14e-05

TS (Fixed Index): 1.59
Ra Dec: 6.121 46.797
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/147064/likelihoodResults_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.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) = 12101.5347339
delta logL = 0.0113626819602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12101.5285738
delta logL = 0.0175227598702

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.299       1.0000          .0000       .10000E+07
     2 'Index     '    2.3999       1.0000          .0000       10.000    
     3 'Normalizat'    1.1544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89075       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12101.53     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      216 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.299        457.23        .22771E-03    .50268E-02
   2  Index         2.3998        3.5632        .23904        .88361E-04
   3  Normalizat    1.1544        .85552E-01    .94997E-01   -.40151E-04
   4  Prefactor     .89075        .20724E-01    .33158E-01   -.24552E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2987
  Index      = 2.39981
  Normalizat = 1.15443
  Prefactor  = 0.890755
 **********
 **   18 **HESSE 
 **********

 FCN=   12101.53     FROM HESSE     STATUS=OK            29 CALLS      245 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.299        22.323        .91085E-05   -1.5620    
   2  Index         2.3998        .76566        .10351E-01   -.54690    
   3  Normalizat    1.1544        .20690        .42085E-03   -.88023    
   4  Prefactor     .89075        .63693E-01    .14652E-03   -.96465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24921e-09
Minuit parameter uncertainties:
  1  22.3234
  2  0.769823
  3  0.207047
  4  0.0636985
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147064': 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) = 12101.5285738
delta logL = 0.0175227672407

Extracting fit parameters...

4FGL J0024.4+4647
   Spectrum: PowerLaw
70     Prefactor:  1.930e+01  2.232e+01  0.000e+00  1.000e+06 ( 1.000e-13)
71         Index:  2.400e+00  7.698e-01  0.000e+00  1.000e+01 (-1.000e+00)
72         Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  8.908e-01  6.370e-02  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.154e+00  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 6.121 46.797
Photon Index (Free Index): 2.40 +/- 0.77
Photon Flux (Free Index): 3.70e-08 +/- 4.24e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.27e-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/147064/cmap_HighResolution_689558401_689817601_4FGL_J0024.4+4647_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', photon_flux='4.12e-08', energy_flux2='1.21e-05', photon_flux_error='4.08e-08', dlogl='1.75e-02', energy_flux='1.15e-05', photon_flux2='3.70e-08', job_status='DONE', time_completed='2022-11-11 00:21:41.351453', photon_index_error2='0.77', photon_index2='2.40', ts='1.59', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='1.27e-05', EG='1.15', time_epoch_completed='1668154901.35', return_code='0', job_id='147064', GAL2='0.89', EG2='1.15', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='4.24e-08', ts2='1.62', photon_index='2.54' WHERE bin_id='1737' AND source_name='4FGL J0024.4+4647' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 00:21:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 147064: <4FGL_J0024.4+4647_daily_bin1737> in cluster <slac> Done

Job <4FGL_J0024.4+4647_daily_bin1737> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Nov 11 00:05:05 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 00:07:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 00:07:30 2022
Terminated at Fri Nov 11 00:21:42 2022
Results reported at Fri Nov 11 00:21:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.4+4647_daily_bin1737 6.1212 46.797 689558401 689817601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0024.4+4647 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   777.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            997 sec.

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

