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


Performing analysis on: 4FGL_J0024.4+4647_daily_bin1729
RA = 6.1212, Dec = 46.797
tmin = 687484801, tmax = 687744001
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='368981', job_status='RUN', time_executed='2022-10-18 00:07:50.167093', time_epoch_executed='1666076870.17' WHERE source_name='4FGL J0024.4+4647' and cadence='daily' and bin_id='1729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/368981

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/368981/ft1_4FGL_J0024.4+4647_daily_bin1729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/368981/ft1_4FGL_J0024.4+4647_daily_bin1729.fits outfile=/scratch/kocevski/368981/ft1_filteredMKT_4FGL_J0024.4+4647_daily_bin1729.fits ra=6.1212 dec=46.797 rad=12.0 tmin=687484801.0 tmax=687744001.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.14
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.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/368981/ft1_filteredMKT_4FGL_J0024.4+4647_daily_bin1729.fits evtable="EVENTS" outfile="/scratch/kocevski/368981/ft1_filtered_4FGL_J0024.4+4647_daily_bin1729.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 1.97
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 501

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/368981/ft1_filtered_4FGL_J0024.4+4647_daily_bin1729.fits" evtable="EVENTS" scfile=/scratch/kocevski/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.fits sctable="SC_DATA" outfile=/scratch/kocevski/368981/ltcube_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.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/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.fits
.....................!
real 13.47
user 12.08
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/368981/ft1_filtered_4FGL_J0024.4+4647_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.fits sctable="SC_DATA" expcube=/scratch/kocevski/368981/ltcube_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.fits outfile=/scratch/kocevski/368981/expmap_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.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/368981/ltcube_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.fits
.....................!
real 199.20
user 185.51
sys 5.05

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/368981/ft1_filtered_4FGL_J0024.4+4647_daily_bin1729.fits scfile=/scratch/kocevski/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.fits outfile=/scratch/kocevski/368981/cmap_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.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 1.66
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/368981/ft1_filtered_4FGL_J0024.4+4647_daily_bin1729.fits scfile=/scratch/kocevski/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.fits outfile=/scratch/kocevski/368981/cmap_HighResolution_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.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 1.07
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/368981/ft1_filtered_4FGL_J0024.4+4647_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/368981/Model_4FGL_J0024.4+4647_daily_bin1729.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/368981/ft1_filtered_4FGL_J0024.4+4647_daily_bin1729.fits.....................!
real 87.59
user 64.86
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/368981/ft1_filtered_4FGL_J0024.4+4647_daily_bin1729.fits', '/scratch/kocevski/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.fits', expMap='/scratch/kocevski/368981/expmap_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.fits', expCube='/scratch/kocevski/368981/ltcube_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/368981/Model_4FGL_J0024.4+4647_daily_bin1729.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/368981/ft1_filtered_4FGL_J0024.4+4647_daily_bin1729.fits
Spacecraft file(s): /scratch/kocevski/368981/ft2_4FGL_J0024.4+4647_daily_bin1729.fits
Exposure map: /scratch/kocevski/368981/expmap_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.fits
Exposure cube: /scratch/kocevski/368981/ltcube_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/368981/Model_4FGL_J0024.4+4647_daily_bin1729.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) = 5178.26520589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5811       1.0000          .0000       .10000E+07
     2 'norm      '    9.8591       1.0000          .0000       .10000E+07
     3 'Prefactor '    .78731E-05   1.0000          .0000       .10000E+07
     4 'norm      '    2.0580       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.8061       1.0000          .0000       .10000E+07
     6 'Prefactor '    15.618       1.0000          .0000       .10000E+07
     7 'Prefactor '    40.358       1.0000          .0000       .10000E+07
     8 'Prefactor '    34.387       1.0000          .0000       .10000E+07
     9 'norm      '    .11875E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10386E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.847       1.0000          .0000       .10000E+07
    12 'norm      '    156.07       1.0000          .0000       .10000E+07
    13 'Prefactor '    38.669       1.0000          .0000       .10000E+07
    14 'norm      '    .23561       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31316E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .65324E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .20548E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    88.139       1.0000          .0000       .10000E+07
    19 'Prefactor '    .22161E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .46725E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .90708       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85957       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=   5178.203     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1828 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0983        19.016       -.39749E-05    .12648E-01
   2  norm          9.9808        20.953       -.28568E-05    .39596E-03
   3  Prefactor     .16653E-09    3.4045        .62639E-06** at limit **
   4  norm          2.0574        2.3657       -.40504E-06    .34203E-02
   5  Prefactor     3.6985        5.1751        .30788E-06   -.72135E-02
   6  Prefactor     16.951        15.368        .88411E-06    .40035E-01
   7  Prefactor     41.643        31.997       -.36863E-05   -.48526E-01
   8  Prefactor     36.769        46.775       -.16093E-04   -.16956E-01
   9  norm          .11102E-09    13.336       -.11898E-05** at limit **
  10  Prefactor     .33307E-09    2.5565       -.86069E-06** at limit **
  11  Prefactor     20.814        14.124       -.16639E-05   -.59786E-03
  12  norm          150.01        60.118        .41612E-05   -.18428    
  13  Prefactor     39.235        27.063        .28904E-05    .11160E-01
  14  norm          .22129        8.6383       -.38110E-05** at limit **
  15  Prefactor     .16653E-09    29.834        .59510E-08** at limit **
  16  norm          .24425E-08    5.8392       -.37160E-06** at limit **
  17  norm          .15543E-08    6.7557        .73301E-06** at limit **
  18  Prefactor     96.104        83.602       -.32017E-05   -.99203E-01
  19  Prefactor     .95757E-07    71.828        .36744E-05** at limit **
  20  Prefactor     .11102E-09    6.7502        .12538E-06** at limit **
  21  Normalizat    .89460        .33395        .15205E-03   -.42030E-03
  22  Prefactor     .86193        .97791E-01   -.30845E-04   -.10082E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.09834
  norm       = 9.98084
  Prefactor  = 1.66533e-10
  norm       = 2.05736
  Prefactor  = 3.69855
  Prefactor  = 16.9505
  Prefactor  = 41.6434
  Prefactor  = 36.7693
  norm       = 1.11022e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 20.8142
  norm       = 150.01
  Prefactor  = 39.2346
  norm       = 0.221292
  Prefactor  = 1.66533e-10
  norm       = 2.44249e-09
  norm       = 1.55431e-09
  Prefactor  = 96.1044
  Prefactor  = 9.57567e-08
  Prefactor  = 1.11022e-10
  Normalizat = 0.894597
  Prefactor  = 0.861933
 **********
 **   18 **HESSE 
 **********

 FCN=   5178.203     FROM HESSE     STATUS=OK           392 CALLS     2220 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0983        106.33        .53377E-03   -1.5673    
   2  norm          9.9808        20.917        .31889E-03   -1.5645    
   3  Prefactor     .16653E-09    3.4099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0574        2.3750        .72012E-03   -1.5679    
   5  Prefactor     3.6985        6.1959        .51714E-03   -1.5670    
   6  Prefactor     16.951        39.052        .25317E-03   -1.5626    
   7  Prefactor     41.643        34.508        .15743E-03   -1.5579    
   8  Prefactor     36.769        47.995        .17055E-03   -1.5587    
   9  norm          .11102E-09    13.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33307E-09    2.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.814        14.091        .21908E-03   -1.5617    
  12  norm          150.01        97.044        .80052E-04   -1.5463    
  13  Prefactor     39.235        27.157        .16083E-03   -1.5583    
  14  norm          .22129        3.1150        .40506E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    29.918        .16382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .24425E-08    5.8504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .15543E-08    6.7578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     96.104        106.23        .10652E-03   -1.5512    
  19  Prefactor     .95757E-07    76.767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    6.7033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .89460        .31034        .95902E-01   -.96650    
  22  Prefactor     .86193        .89311E-01    .31604E-01   -.97484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7377e-06
Minuit parameter uncertainties:
  1  36.3016
  2  20.9168
  3  5.05134e-05
  4  2.37495
  5  6.19594
  6  39.0529
  7  34.5084
  8  47.9959
  9  7.88362e-05
  10  5.96548e-05
  11  14.0914
  12  97.0452
  13  27.1568
  14  1.66051
  15  0.000131853
  16  0.00023992
  17  0.000203956
  18  106.236
  19  0.00542312
  20  6.08517e-05
  21  0.310958
  22  0.0893257
Done.

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

Extracting fit parameters...

4FGL J0024.4+4647
   Spectrum: PowerLaw
70     Prefactor:  1.695e+01  3.905e+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.619e-01  8.933e-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:  8.946e-01  3.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/368981/likelihoodResults_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.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) = 5177.96788636
delta logL = 0.235400875468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5177.95279421
delta logL = 0.250493018672

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5177.953     FROM MIGRAD    STATUS=FAILED       100 CALLS      311 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1813        336.81        .17640E-04   -.58003E-05
   2  Index         3.5323        6.5625        .66066E-02    .52177E-03
   3  Normalizat    .84864        .27888        .43507E-03    .34492E-05
   4  Prefactor     .87060        .89195E-01    .13901E-03   -.11940E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5177.953     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      396 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1813        336.81        .45861E-04   -.58003E-05
   2  Index         3.5323        6.5625        .14508E-02    .52177E-03
   3  Normalizat    .84864        .27888        .40667E-03    .34492E-05
   4  Prefactor     .87060        .89195E-01    .68046E-04   -.11940E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5177.953     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      426 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1813        21.812        .70561E-06   -.97423E-05
   2  Index         3.5323        1.9782        .13213E-02    .20428E-04
   3  Normalizat    .84864        .30263        .17403E-04    .33970E-05
   4  Prefactor     .87060        .95017E-01    .55604E-05   -.11859E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.18128
  Index      = 3.53227
  Normalizat = 0.848644
  Prefactor  = 0.870604
 **********
 **   18 **HESSE 
 **********

 FCN=   5177.953     FROM HESSE     STATUS=OK            25 CALLS      451 TOTAL
                     EDM=   .54E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1813        18.519        .37342E-06   -1.5662    
   2  Index         3.5323        1.7353        .26426E-03   -.29793    
   3  Normalizat    .84864        .30259        .34806E-05   -.98289    
   4  Prefactor     .87060        .94945E-01    .11121E-05   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36993e-13
Minuit parameter uncertainties:
  1  18.519
  2  1.77583
  3  0.303199
  4  0.0949626
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/368981': 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) = 5177.95279394
delta logL = 0.250493289803

Extracting fit parameters...

4FGL J0024.4+4647
   Spectrum: PowerLaw
70     Prefactor:  5.181e+00  1.852e+01  0.000e+00  1.000e+06 ( 1.000e-13)
71         Index:  3.532e+00  1.776e+00  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.706e-01  9.496e-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:  8.486e-01  3.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
Ra Dec: 6.121 46.797

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/368981/cmap_HighResolution_687484801_687744001_4FGL_J0024.4+4647_daily_bin1729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.59e-02', job_status='DONE', photon_flux_upper_limit='2.04e-07', time_completed='2022-10-18 00:18:33.603938', job_id='368981', GAL2='0.87', fit_tolerance='1e-08', EG2='0.85', EG='0.89', time_epoch_completed='1666077513.6', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.50e-01', ts2='0.90', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1729' AND source_name='4FGL J0024.4+4647' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:18:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 368981: <4FGL_J0024.4+4647_daily_bin1729> in cluster <slac> Done

Job <4FGL_J0024.4+4647_daily_bin1729> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Oct 18 00:05:00 2022
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:05:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:05:01 2022
Terminated at Tue Oct 18 00:18:34 2022
Results reported at Tue Oct 18 00:18:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.4+4647_daily_bin1729 6.1212 46.797 687484801 687744001 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 :                                   592.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            814 sec.

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

