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


Performing analysis on: 4FGL_J0044.2-8424_daily_bin1758
RA = 11.0711, Dec = -84.4016
tmin = 695001601, tmax = 695260801
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='354631', job_status='RUN', time_executed='2023-01-13 00:08:30.264289', time_epoch_executed='1673597310.26' WHERE source_name='4FGL J0044.2-8424' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354631

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354631/ft1_4FGL_J0044.2-8424_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354631/ft1_4FGL_J0044.2-8424_daily_bin1758.fits outfile=/scratch/kocevski/354631/ft1_filteredMKT_4FGL_J0044.2-8424_daily_bin1758.fits ra=11.0711 dec=-84.4016 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.82
user 2.56
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.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/354631/ft1_filteredMKT_4FGL_J0044.2-8424_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/354631/ft1_filtered_4FGL_J0044.2-8424_daily_bin1758.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.33
sys 0.16

Number of photons that the gtmktime cut: 1492

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354631/ft1_filtered_4FGL_J0044.2-8424_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/354631/ltcube_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.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/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits
.....................!
real 17.25
user 16.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354631/ft1_filtered_4FGL_J0044.2-8424_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/354631/ltcube_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.fits outfile=/scratch/kocevski/354631/expmap_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.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/354631/ltcube_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.fits
.....................!
real 192.12
user 186.17
sys 5.28

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 SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Added 175 point sources and 4 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 J0044.2-8424 @ 11.0711 -84.4016

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/354631/ft1_filtered_4FGL_J0044.2-8424_daily_bin1758.fits scfile=/scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits outfile=/scratch/kocevski/354631/cmap_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.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=11.0711 yref=-84.4016 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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354631/ft1_filtered_4FGL_J0044.2-8424_daily_bin1758.fits scfile=/scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits outfile=/scratch/kocevski/354631/cmap_HighResolution_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.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=11.0711 yref=-84.4016 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/354631/ft1_filtered_4FGL_J0044.2-8424_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354631/Model_4FGL_J0044.2-8424_daily_bin1758.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source SMC-Galaxy
Working on...
/scratch/kocevski/354631/ft1_filtered_4FGL_J0044.2-8424_daily_bin1758.fits.....................!
real 12638.12
user 12595.19
sys 8.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/354631/ft1_filtered_4FGL_J0044.2-8424_daily_bin1758.fits', '/scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits', expMap='/scratch/kocevski/354631/expmap_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.fits', expCube='/scratch/kocevski/354631/ltcube_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/354631/Model_4FGL_J0044.2-8424_daily_bin1758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0044.2-8424'

4FGL J0044.2-8424
   Spectrum: PowerLaw
22     Prefactor:  9.438e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
23         Index:  2.662e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
24         Scale:  6.808e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/354631/ft1_filtered_4FGL_J0044.2-8424_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/354631/ft2_4FGL_J0044.2-8424_daily_bin1758.fits
Exposure map: /scratch/kocevski/354631/expmap_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.fits
Exposure cube: /scratch/kocevski/354631/ltcube_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/354631/Model_4FGL_J0044.2-8424_daily_bin1758.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) = 15355.2095832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.423       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4162       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37068       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24183E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12225E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10875       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14863E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.8053       1.0000          .0000       .10000E+07
     9 'norm      '    1.0775       1.0000          .0000       .10000E+07
    10 'norm      '    .14242E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    57.136       1.0000          .0000       .10000E+07
    12 'norm      '    1.4815       1.0000          .0000       .10000E+07
    13 'norm      '    14.657       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.9170       1.0000          .0000       .10000E+07
    15 'Prefactor '    63.568       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.408       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0414       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15355.20     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1760 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.392        3.8344       -.85618E-06    .76095E-01
   2  Prefactor     1.4242        3.6155        .33710E-06    .15563E-02
   3  Prefactor     .41356E-07    191.19       -.31621E-05** at limit **
   4  Prefactor     .44409E-09    3.9343        .38576E-06** at limit **
   5  Prefactor     .59952E-08    11.471       -.44424E-06** at limit **
   6  Prefactor     .32757E-06    42.041       -.10652E-04** at limit **
   7  Prefactor      .0000        5.1899        .22567E-06** at limit **
   8  Prefactor     5.8028        2.9661        .57700E-07   -.56638E-02
   9  norm          1.0840        6.3217        .51437E-06   -.39655E-03
  10  norm          .32918E-07    92.437       -.30313E-05** at limit **
  11  Prefactor     56.982        2.8882        .12030E-06   -.93040E-01
  12  norm          1.4826        1.3123        .45373E-07   -.37810E-02
  13  norm          14.648        5.3224       -.31568E-07   -.92388E-02
  14  Prefactor     5.8871        9.1163        .60529E-06    .10585E-01
  15  Prefactor     63.683        1.5105       -.92907E-09    .12499E-01
  16  Prefactor     11.450        7.0746        .12624E-08    .34535E-02
  17  Normalizat    1.0422        .19530        .19882E-06   -.37901E-03
  18  Prefactor     1.0010        .77281E-01   -.49589E-06   -.82809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3915
  Prefactor  = 1.42416
  Prefactor  = 4.13558e-08
  Prefactor  = 4.44089e-10
  Prefactor  = 5.9952e-09
  Prefactor  = 3.27571e-07
  Prefactor  = 0
  Prefactor  = 5.80278
  norm       = 1.08403
  norm       = 3.29181e-08
  Prefactor  = 56.9822
  norm       = 1.48263
  norm       = 14.6479
  Prefactor  = 5.88706
  Prefactor  = 63.6831
  Prefactor  = 11.4501
  Normalizat = 1.04222
  Prefactor  = 1.00103
 **********
 **   18 **HESSE 
 **********

 FCN=   15355.20     FROM HESSE     STATUS=OK           296 CALLS     2056 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.392        23.026        .31011E-03   -1.5643    
   2  Prefactor     1.4242        3.6496        .90928E-03   -1.5684    
   3  Prefactor     .41356E-07    8.0230        .12027E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .44409E-09    3.9376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .59952E-08    11.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .32757E-06    8.0926        .13700E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.1983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.8028        2.9993        .41660E-03   -1.5660    
   9  norm          1.0840        6.2095        .11630E-02   -1.5687    
  10  norm          .32918E-07    92.818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     56.982        35.894        .13230E-03   -1.5557    
  12  norm          1.4826        1.3770        .88138E-03   -1.5684    
  13  norm          14.648        5.5769        .26135E-03   -1.5631    
  14  Prefactor     5.8871        9.5099        .41259E-03   -1.5659    
  15  Prefactor     63.683        45.974        .12543E-03   -1.5548    
  16  Prefactor     11.450        7.0794        .29636E-03   -1.5640    
  17  Normalizat    1.0422        .17193        .88132E-01   -.91629    
  18  Prefactor     1.0010        .66498E-01    .45334E-01   -.92695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.68978e-06
Minuit parameter uncertainties:
  1  23.0257
  2  3.64958
  3  0.00115203
  4  8.30256e-05
  5  0.000524828
  6  0.00325644
  7  2.23774e-05
  8  2.99933
  9  5.18896
  10  0.00349717
  11  35.8939
  12  1.37701
  13  5.57695
  14  9.50993
  15  45.9741
  16  7.07944
  17  0.172024
  18  0.0665039
Done.

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

Extracting fit parameters...

4FGL J0044.2-8424
   Spectrum: PowerLaw
22     Prefactor:  1.039e+01  2.303e+01  0.000e+00  1.000e+06 ( 1.000e-13)
23         Index:  2.662e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
24         Scale:  6.808e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.001e+00  6.650e-02  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.042e+00  1.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.27
Ra Dec: 11.071 -84.402
Photon Flux Upper Limit: 7.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/354631/likelihoodResults_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.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) = 15354.9396855
delta logL = 0.259303930836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15354.9393485
delta logL = 0.259640969065

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.719       1.0000          .0000       .10000E+07
     2 'Index     '    1.9760       1.0000          .0000       10.000    
     3 'Normalizat'    1.0479       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99836       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+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=   15354.94     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      316 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.722        32.365        .83941E-05   -.92097E-04
   2  Index         1.9759        .74092        .16549E-01   -.17753E-03
   3  Normalizat    1.0479        .18903        .38934E-03    .24645E-04
   4  Prefactor     .99835        .76139E-01    .15899E-03    .45479E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.7219
  Index      = 1.97591
  Normalizat = 1.04786
  Prefactor  = 0.998353
 **********
 **   18 **HESSE 
 **********

 FCN=   15354.94     FROM HESSE     STATUS=OK            25 CALLS      341 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.722        32.374        .33576E-06   -1.5613    
   2  Index         1.9759        .74202        .33097E-02   -.64954    
   3  Normalizat    1.0479        .18915        .15574E-04   -.91444    
   4  Prefactor     .99835        .76186E-01    .63595E-05   -.92784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26283e-12
Minuit parameter uncertainties:
  1  32.3743
  2  0.746385
  3  0.189273
  4  0.0761944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354631': 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) = 15354.9393485
delta logL = 0.259641014965

Extracting fit parameters...

4FGL J0044.2-8424
   Spectrum: PowerLaw
22     Prefactor:  2.272e+01  3.237e+01  0.000e+00  1.000e+06 ( 1.000e-13)
23         Index:  1.976e+00  7.464e-01  0.000e+00  1.000e+01 (-1.000e+00)
24         Scale:  6.808e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  9.984e-01  7.619e-02  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.048e+00  1.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.27
Ra Dec: 11.071 -84.402

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/354631/cmap_HighResolution_695001601_695260801_4FGL_J0044.2-8424_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', job_status='DONE', photon_flux_upper_limit='7.28e-08', time_completed='2023-01-13 03:54:58.429771', job_id='354631', GAL2='1.00', fit_tolerance='1e-08', EG2='1.05', EG='1.04', time_epoch_completed='1673610898.43', return_code2='0', ts='0.27', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.60e-01', ts2='0.78', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1758' AND source_name='4FGL J0044.2-8424' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 03:54:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 354631: <4FGL_J0044.2-8424_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0044.2-8424_daily_bin1758> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Jan 13 00:04:38 2023
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:06:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:06:27 2023
Terminated at Fri Jan 13 03:54:59 2023
Results reported at Fri Jan 13 03:54:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0044.2-8424_daily_bin1758 11.0711 -84.4016 695001601 695260801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0044.2-8424 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13563.00 sec.
    Max Memory :                                 628 MB
    Average Memory :                             596.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13711 sec.
    Turnaround time :                            13821 sec.

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

