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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin1744
RA = 118.693, Dec = 48.3932
tmin = 691372801, tmax = 691632001
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='570736', job_status='RUN', time_executed='2022-12-02 00:28:02.569597', time_epoch_executed='1669969682.57' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/570736

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/570736/ft1_4FGL_J0754.7+4823_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/570736/ft1_4FGL_J0754.7+4823_daily_bin1744.fits outfile=/scratch/kocevski/570736/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1744.fits ra=118.693 dec=48.3932 rad=12.0 tmin=691372801.0 tmax=691632001.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.52
user 2.31
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.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/570736/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/570736/ft1_filtered_4FGL_J0754.7+4823_daily_bin1744.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 515

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/570736/ft1_filtered_4FGL_J0754.7+4823_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/570736/ltcube_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.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/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits
.....................!
real 12.42
user 12.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/570736/ft1_filtered_4FGL_J0754.7+4823_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/570736/ltcube_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.fits outfile=/scratch/kocevski/570736/expmap_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.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/570736/ltcube_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.fits
.....................!
real 191.44
user 186.44
sys 4.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 206 point sources and 0 extended sources

Setting source of interest to:
4FGL J0754.7+4823 @ 118.693 48.3932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/570736/ft1_filtered_4FGL_J0754.7+4823_daily_bin1744.fits scfile=/scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits outfile=/scratch/kocevski/570736/cmap_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.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=118.693 yref=48.3932 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/570736/ft1_filtered_4FGL_J0754.7+4823_daily_bin1744.fits scfile=/scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits outfile=/scratch/kocevski/570736/cmap_HighResolution_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.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=118.693 yref=48.3932 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/570736/ft1_filtered_4FGL_J0754.7+4823_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/570736/Model_4FGL_J0754.7+4823_daily_bin1744.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/570736/ft1_filtered_4FGL_J0754.7+4823_daily_bin1744.fits.....................!
real 58.74
user 57.38
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/570736/ft1_filtered_4FGL_J0754.7+4823_daily_bin1744.fits', '/scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits', expMap='/scratch/kocevski/570736/expmap_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.fits', expCube='/scratch/kocevski/570736/ltcube_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/570736/Model_4FGL_J0754.7+4823_daily_bin1744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0754.7+4823'

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/570736/ft1_filtered_4FGL_J0754.7+4823_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/570736/ft2_4FGL_J0754.7+4823_daily_bin1744.fits
Exposure map: /scratch/kocevski/570736/expmap_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.fits
Exposure cube: /scratch/kocevski/570736/ltcube_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/570736/Model_4FGL_J0754.7+4823_daily_bin1744.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) = 5694.20465798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11971E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .92504E-04   1.0000          .0000       .10000E+07
     3 'norm      '    3.7225       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18628E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.566       1.0000          .0000       .10000E+07
     6 'Prefactor '    24.866       1.0000          .0000       .10000E+07
     7 'norm      '    .17183E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .70701E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .64140E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .15243E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13935E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    23.363       1.0000          .0000       .10000E+07
    13 'norm      '    1.9422       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.441       1.0000          .0000       .10000E+07
    15 'Prefactor '    .74367E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.207       1.0000          .0000       .10000E+07
    17 'norm      '    .22235E-04   1.0000          .0000       .10000E+07
    18 'norm      '    4.8820       1.0000          .0000       .10000E+07
    19 'Prefactor '    5.5478       1.0000          .0000       .10000E+07
    20 'norm      '    .85458       1.0000          .0000       .10000E+07
    21 'Prefactor '    .46037E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    10.519       1.0000          .0000       .10000E+07
    23 'Prefactor '    5.1767       1.0000          .0000       .10000E+07
    24 'Prefactor '    .28168E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    24.864       1.0000          .0000       .10000E+07
    26 'Prefactor '    4.6827       1.0000          .0000       .10000E+07
    27 'norm      '    1.2720       1.0000          .0000       .10000E+07
    28 'norm      '    9.8437       1.0000          .0000       .10000E+07
    29 'Prefactor '    1.6792       1.0000          .0000       .10000E+07
    30 'Prefactor '    .19967E-03   1.0000          .0000       .10000E+07
    31 'Normalizat'    1.1339       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .90231       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5694.195     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     3060 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6571        .86125E-08** at limit **
   2  norm           .0000        1.5980        .10083E-07** at limit **
   3  norm          3.6718        5.4425       -.71444E-07   -.58628E-03
   4  Prefactor     .18097E-07    4.2165        .74281E-07** at limit **
   5  Prefactor     12.994        25.418        .11308E-06    .16611E-01
   6  Prefactor     25.072        13.558        .36111E-07   -.46238E-01
   7  norm          .16653E-09    3.4926       -.10269E-06** at limit **
   8  Prefactor     .24430E-06    4.4310       -.15729E-07** at limit **
   9  Prefactor     .18324E-06    4.4716       -.21987E-07** at limit **
  10  norm           .0000        .28921       -.19540E-07** at limit **
  11  Prefactor      .0000        2.2435        .72327E-08** at limit **
  12  Prefactor     23.492        6.5105        .16977E-07   -.25278E-01
  13  norm          1.9399        3.1726       -.17270E-07    .37475E-04
  14  Prefactor     18.444        1.2169       -.15353E-08   -.74316E-03
  15  Prefactor     .15155E-07    32.789        .19403E-06** at limit **
  16  Prefactor     23.210        1.8151       -.17707E-08   -.78780E-03
  17  norm          .66613E-09    4.1719        .15682E-06** at limit **
  18  norm          4.8849        2.2404        .30517E-07    .10490E-02
  19  Prefactor     5.5556        2.4615       -.16677E-08    .19856E-02
  20  norm          .85479        .57683        .16821E-07    .15961E-02
  21  Prefactor     .19595E-07    5.4604       -.98167E-07** at limit **
  22  Prefactor     10.534        6.4734        .26796E-08    .87065E-02
  23  Prefactor     5.1815        3.7921       -.70211E-07   -.70455E-03
  24  Prefactor     .48017E-07    11.013        .12051E-06** at limit **
  25  Prefactor     24.846        1.5585        .21626E-08   -.70393E-02
  26  Prefactor     4.6959        3.8837        .54277E-07    .25394E-02
  27  norm          1.2766        4.2970       -.23275E-06   -.50239E-03
  28  norm          9.8514        6.0587        .70203E-07   -.14417E-02
  29  Prefactor     1.6878        1.7297       -.23429E-08    .18066E-02
  30  Prefactor     .53590E-06    7.5614       -.10926E-06** at limit **
  31  Normalizat    1.1331        .26277       -.10653E-05    .44360E-05
  32  Prefactor     .90242        .17472        .10968E-05    .16312E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  norm       = 3.67181
  Prefactor  = 1.80966e-08
  Prefactor  = 12.9944
  Prefactor  = 25.072
  norm       = 1.66533e-10
  Prefactor  = 2.44305e-07
  Prefactor  = 1.83242e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 23.4922
  norm       = 1.93993
  Prefactor  = 18.4438
  Prefactor  = 1.51545e-08
  Prefactor  = 23.2098
  norm       = 6.66134e-10
  norm       = 4.88486
  Prefactor  = 5.55559
  norm       = 0.854792
  Prefactor  = 1.95954e-08
  Prefactor  = 10.5339
  Prefactor  = 5.18151
  Prefactor  = 4.80171e-08
  Prefactor  = 24.8458
  Prefactor  = 4.69588
  norm       = 1.27659
  norm       = 9.85137
  Prefactor  = 1.6878
  Prefactor  = 5.35905e-07
  Normalizat = 1.13309
  Prefactor  = 0.902416
 **********
 **   18 **HESSE 
 **********

 FCN=   5694.195     FROM HESSE     STATUS=OK           725 CALLS     3785 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.5993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.6718        5.5204        .52313E-03   -1.5670    
   4  Prefactor     .18097E-07    5.9434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.994        28.738        .28233E-03   -1.5636    
   6  Prefactor     25.072        31.770        .20058E-03   -1.5608    
   7  norm          .16653E-09    3.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24430E-06    14.349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .18324E-06    14.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .28811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        5.9981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.492        29.979        .20694E-03   -1.5611    
  13  norm          1.9399        3.2079        .74462E-03   -1.5680    
  14  Prefactor     18.444        14.691        .23295E-03   -1.5622    
  15  Prefactor     .15155E-07    32.830        .14677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.210        9.0407        .20763E-03   -1.5612    
  17  norm          .66613E-09    4.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8849        2.2433        .45501E-03   -1.5664    
  19  Prefactor     5.5556        10.127        .42631E-03   -1.5661    
  20  norm          .85479        .58366        .48952E-03   -1.5689    
  21  Prefactor     .19595E-07    6.2373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.534        7.9939        .30868E-03   -1.5643    
  23  Prefactor     5.1815        3.8265        .44160E-03   -1.5662    
  24  Prefactor     .48017E-07    11.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     24.846        14.384        .20059E-03   -1.5608    
  26  Prefactor     4.6959        7.9269        .46481E-03   -1.5665    
  27  norm          1.2766        4.3712        .98577E-03   -1.5685    
  28  norm          9.8514        6.9986        .31914E-03   -1.5645    
  29  Prefactor     1.6878        19.986        .81269E-03   -1.5682    
  30  Prefactor     .53590E-06    15.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.1331        .23695        .68451E-01   -.88697    
  32  Prefactor     .90242        .15328        .45034E-01   -.96057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37993e-07
Minuit parameter uncertainties:
  1  4.52592e-07
  2  1.3852e-07
  3  5.52044
  4  0.000656366
  5  28.7378
  6  31.7701
  7  4.67987e-05
  8  0.00374461
  9  0.00324914
  10  4.23403e-07
  11  2.17316e-05
  12  29.9791
  13  3.20791
  14  14.6907
  15  0.00141035
  16  9.04073
  17  0.000103706
  18  2.24327
  19  10.1266
  20  0.583662
  21  0.000699553
  22  7.99392
  23  3.82645
  24  0.00148585
  25  14.3842
  26  7.92693
  27  4.37123
  28  6.99861
  29  11.616
  30  0.00572225
  31  0.237177
  32  0.15335
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.940e+00  3.208e+00  0.000e+00  1.000e+06 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  9.024e-01  1.534e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.133e+00  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 118.693 48.393
Photon Flux Upper Limit: 8.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/570736/likelihoodResults_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.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) = 5693.73260272
delta logL = 0.461973899321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5693.72385305
delta logL = 0.470723571297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6905       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7845       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90615       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5693.724     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6887        35.384        .80932E-03    .22692E-01
   2  alpha         2.7863        3.8931        .37870        .81467E-04
   3  Normalizat    1.1072        .65277E-01    .69105E-01   -.15506E-04
   4  Prefactor     .90597        .43218E-01    .45083E-01   -.56290E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.68871
  alpha      = 2.78635
  Normalizat = 1.10723
  Prefactor  = 0.905971
 **********
 **   18 **HESSE 
 **********

 FCN=   5693.724     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6887        2.5197        .92528E-05   -1.5682    
   2  alpha         2.7863        .86273        .13009E-01    .11479    
   3  Normalizat    1.1072        .24983        .30576E-03   -.89520    
   4  Prefactor     .90597        .17265        .23186E-03   -.95933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7241e-10
Minuit parameter uncertainties:
  1  2.51967
  2  0.8811
  3  0.2501
  4  0.172758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/570736': 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) = 5693.72384893
delta logL = 0.470727690169

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.689e+00  2.520e+00  0.000e+00  1.000e+06 ( 1.000e-12)
275        alpha:  2.786e+00  8.811e-01  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  8.608e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  9.060e-01  1.728e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.107e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 118.693 48.393
Photon Index (Free Index): 2.79 +/- 0.88
Photon Flux (Free Index): 5.09e-08 +/- 5.41e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.25e-05

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/570736/cmap_HighResolution_691372801_691632001_4FGL_J0754.7+4823_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-05', comment='SUCCESS', energy_flux2='1.25e-05', dlogl='4.71e-01', photon_flux2='5.09e-08', job_status='DONE', time_completed='2022-12-02 00:40:54.848192', photon_index_error2='0.88', photon_index2='2.79', ts='0.48', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='8.73e-08', energy_flux_error2='1.25e-05', EG='1.13', time_epoch_completed='1669970454.85', return_code='0', job_id='570736', GAL2='0.91', EG2='1.11', return_code2='0', photon_flux_error2='5.41e-08', ts2='1.42', photon_index='1.98' WHERE bin_id='1744' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 00:40:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 570736: <4FGL_J0754.7+4823_daily_bin1744> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin1744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec  2 00:25:16 2022
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:25:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:25:16 2022
Terminated at Fri Dec  2 00:40:55 2022
Results reported at Fri Dec  2 00:40:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin1744 118.693 48.3932 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0754.7+4823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   774.06 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             321.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            939 sec.

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

