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


Performing analysis on: 4FGL_J0055.1-1219_daily_bin1748
RA = 13.7805, Dec = -12.3204
tmin = 692409601, tmax = 692668801
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='875499', job_status='RUN', time_executed='2022-12-14 00:06:17.374131', time_epoch_executed='1671005177.37' WHERE source_name='4FGL J0055.1-1219' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875499

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875499/ft1_4FGL_J0055.1-1219_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875499/ft1_4FGL_J0055.1-1219_daily_bin1748.fits outfile=/scratch/kocevski/875499/ft1_filteredMKT_4FGL_J0055.1-1219_daily_bin1748.fits ra=13.7805 dec=-12.3204 rad=12.0 tmin=692409601.0 tmax=692668801.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.00
user 2.73
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.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/875499/ft1_filteredMKT_4FGL_J0055.1-1219_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/875499/ft1_filtered_4FGL_J0055.1-1219_daily_bin1748.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.46
user 0.28
sys 0.16

Number of photons that the gtmktime cut: 415

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875499/ft1_filtered_4FGL_J0055.1-1219_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/875499/ltcube_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.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/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits
.....................!
real 17.38
user 16.97
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875499/ft1_filtered_4FGL_J0055.1-1219_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/875499/ltcube_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.fits outfile=/scratch/kocevski/875499/expmap_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.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/875499/ltcube_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.fits
.....................!
real 153.97
user 148.65
sys 4.44

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J0055.1-1219 @ 13.7805 -12.3204

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/875499/ft1_filtered_4FGL_J0055.1-1219_daily_bin1748.fits scfile=/scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits outfile=/scratch/kocevski/875499/cmap_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.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=13.7805 yref=-12.3204 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.48
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875499/ft1_filtered_4FGL_J0055.1-1219_daily_bin1748.fits scfile=/scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits outfile=/scratch/kocevski/875499/cmap_HighResolution_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.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=13.7805 yref=-12.3204 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.47
user 0.32
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875499/ft1_filtered_4FGL_J0055.1-1219_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875499/Model_4FGL_J0055.1-1219_daily_bin1748.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/875499/ft1_filtered_4FGL_J0055.1-1219_daily_bin1748.fits.....................!
real 39.04
user 37.25
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875499/ft1_filtered_4FGL_J0055.1-1219_daily_bin1748.fits', '/scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits', expMap='/scratch/kocevski/875499/expmap_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.fits', expCube='/scratch/kocevski/875499/ltcube_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875499/Model_4FGL_J0055.1-1219_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0055.1-1219'

4FGL J0055.1-1219
   Spectrum: PowerLaw
210    Prefactor:  5.203e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
211        Index:  2.325e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        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/875499/ft1_filtered_4FGL_J0055.1-1219_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/875499/ft2_4FGL_J0055.1-1219_daily_bin1748.fits
Exposure map: /scratch/kocevski/875499/expmap_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.fits
Exposure cube: /scratch/kocevski/875499/ltcube_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875499/Model_4FGL_J0055.1-1219_daily_bin1748.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) = 4751.10501057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22880E-02   1.0000          .0000       .10000E+07
     2 'norm      '    29.100       1.0000          .0000       .10000E+07
     3 'Prefactor '    .31803E-02   1.0000          .0000       .10000E+07
     4 'norm      '    11.394       1.0000          .0000       .10000E+07
     5 'norm      '    .48222E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .71087E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.3572       1.0000          .0000       .10000E+07
     8 'norm      '    .48017E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    58.113       1.0000          .0000       .10000E+07
    10 'Prefactor '    30.074       1.0000          .0000       .10000E+07
    11 'norm      '    14.456       1.0000          .0000       .10000E+07
    12 'Prefactor '    .57397       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.822       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11145E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .20612E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.449       1.0000          .0000       .10000E+07
    17 'norm      '    .29643E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .31310E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .79065E-02   1.0000          .0000       .10000E+07
    20 'norm      '    1.5886       1.0000          .0000       .10000E+07
    21 'norm      '    4.7459       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2423       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .62677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4751.100     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1899 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12066E-05    179.37        .27018E-04** at limit **
   2  norm          29.090        8.1484        .39558E-06   -.30174E-02
   3  Prefactor     .88818E-09    13.114        .77131E-06** at limit **
   4  norm          11.394        11.371        .12026E-05    .68773E-01
   5  norm          .55511E-09    4.0719       -.76089E-06** at limit **
   6  Prefactor     .62172E-07    6.4165       -.21609E-05** at limit **
   7  norm          1.3697        3.5749        .11354E-05   -.38553E-03
   8  norm          .11102E-09    3.3319        .77735E-06** at limit **
   9  Prefactor     57.936        26.788        .62677E-06   -.34639E-01
  10  Prefactor     29.530        29.948       -.20833E-05    .61818E-02
  11  norm          14.461        8.1955        .44821E-06    .13769    
  12  Prefactor     .80006        12.656        .31488E-05    .19765E-02
  13  Prefactor     17.806        14.518       -.96405E-06    .43754E-01
  14  Prefactor      .0000        2.0537        .24264E-06** at limit **
  15  Prefactor     .22538E-07    6.1403       -.63714E-06** at limit **
  16  Prefactor     28.588        7.4459        .26830E-06    .43258E-01
  17  norm           .0000        1.0228        .55550E-06** at limit **
  18  Prefactor     .55511E-10    2.6475       -.42775E-07** at limit **
  19  norm          .18867E-05    182.49       -.91383E-05** at limit **
  20  norm          1.5880        1.3675        .17447E-07    .23935E-02
  21  norm          4.7477        7.1486        .47078E-06    .22468E-02
  22  Normalizat    1.2426        .22530        .18490E-04    .18051E-03
  23  Prefactor     .62658        .20079       -.24280E-04    .12925E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.20659e-06
  norm       = 29.0903
  Prefactor  = 8.88178e-10
  norm       = 11.3936
  norm       = 5.55112e-10
  Prefactor  = 6.21725e-08
  norm       = 1.36971
  norm       = 1.11022e-10
  Prefactor  = 57.9358
  Prefactor  = 29.5299
  norm       = 14.4612
  Prefactor  = 0.800061
  Prefactor  = 17.806
  Prefactor  = 0
  Prefactor  = 2.25375e-08
  Prefactor  = 28.5879
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 1.88671e-06
  norm       = 1.58802
  norm       = 4.74767
  Normalizat = 1.24258
  Prefactor  = 0.626581
 **********
 **   18 **HESSE 
 **********

 FCN=   4751.100     FROM HESSE     STATUS=OK           418 CALLS     2317 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12066E-05    178.54        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          29.090        8.1698        .18540E-03   -1.5600    
   3  Prefactor     .88818E-09    13.124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.394        12.497        .29654E-03   -1.5640    
   5  norm          .55511E-09    4.0695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .62172E-07    6.5156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3697        3.6351        .93767E-03   -1.5685    
   8  norm          .11102E-09    3.3275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     57.936        27.667        .13119E-03   -1.5556    
  10  Prefactor     29.530        30.482        .18238E-03   -1.5599    
  11  norm          14.461        13.654        .26317E-03   -1.5632    
  12  Prefactor     .80006        463.03        .71593E-03   -1.5690    
  13  Prefactor     17.806        15.175        .23697E-03   -1.5624    
  14  Prefactor      .0000        2.0506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22538E-07    6.1928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     28.588        41.183        .18752E-03   -1.5601    
  17  norm           .0000        1.0219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    2.6522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .18867E-05    189.99        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5880        1.3774        .84170E-03   -1.5683    
  21  norm          4.7477        7.1701        .46163E-03   -1.5664    
  22  Normalizat    1.2426        .19637        .52393E-01   -.85297    
  23  Prefactor     .62658        .17590        .64336E-01   -1.0648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.12859e-07
Minuit parameter uncertainties:
  1  0.0293553
  2  8.16982
  3  0.000214414
  4  12.4966
  5  9.57545e-05
  6  0.00127313
  7  3.63507
  8  4.15804e-05
  9  27.667
  10  30.4818
  11  13.6544
  12  38.4974
  13  15.1753
  14  4.26498e-06
  15  0.000746998
  16  41.183
  17  1.217e-06
  18  1.77167e-05
  19  0.0378668
  20  1.3774
  21  7.17013
  22  0.196487
  23  0.176056
Done.

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

Extracting fit parameters...

4FGL J0055.1-1219
   Spectrum: PowerLaw
210    Prefactor:  5.794e+01  2.767e+01  0.000e+00  1.000e+06 ( 1.000e-13)
211        Index:  2.325e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  6.266e-01  1.761e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.243e+00  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.45
Ra Dec: 13.780 -12.320
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 9.83e-08 +/- 4.69e-08
Energy Flux (Fixed Index): 3.58e-05 +/- 1.71e-05

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) = 4750.91633582
delta logL = 0.183698891771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4750.91607855
delta logL = 0.183956165311

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.617       1.0000          .0000       .10000E+07
     2 'Index     '    2.0549       1.0000          .0000       10.000    
     3 'Normalizat'    1.2672       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61253       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+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=   4750.916     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      301 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.658        34.626        .24324E-04    .37391E-04
   2  Index         2.0555        .42858        .57474E-02    .12656E-03
   3  Normalizat    1.2671        .22429        .22979E-03    .49474E-06
   4  Prefactor     .61247        .20012        .28758E-03   -.23719E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.6584
  Index      = 2.05549
  Normalizat = 1.26712
  Prefactor  = 0.61247
 **********
 **   18 **HESSE 
 **********

 FCN=   4750.916     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .46E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.658        34.397        .97295E-06   -1.5543    
   2  Index         2.0555        .42553        .11495E-02   -.62970    
   3  Normalizat    1.2671        .22437        .91916E-05   -.84553    
   4  Prefactor     .61247        .20022        .11503E-04   -1.0706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56742e-14
Minuit parameter uncertainties:
  1  34.3967
  2  0.426316
  3  0.224542
  4  0.200456
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875499': 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) = 4750.91607608
delta logL = 0.183958627673

Extracting fit parameters...

4FGL J0055.1-1219
   Spectrum: PowerLaw
210    Prefactor:  6.766e+01  3.440e+01  0.000e+00  1.000e+06 ( 1.000e-13)
211        Index:  2.055e+00  4.263e-01  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  6.125e-01  2.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.267e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.78
Ra Dec: 13.780 -12.320
Photon Index (Free Index): 2.06 +/- 0.43
Photon Flux (Free Index): 7.69e-08 +/- 5.09e-08
Energy Flux (Free Index): 4.66e-05 +/- 3.35e-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/875499/cmap_HighResolution_692409601_692668801_4FGL_J0055.1-1219_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.83e-08', energy_flux2='4.66e-05', photon_flux_error='4.69e-08', dlogl='1.84e-01', energy_flux='3.58e-05', photon_flux2='7.69e-08', job_status='DONE', time_completed='2022-12-14 00:13:04.450713', photon_index_error2='0.43', photon_index2='2.06', ts='11.45', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', energy_flux_error2='3.35e-05', EG='1.24', time_epoch_completed='1671005584.45', return_code='0', job_id='875499', GAL2='0.61', EG2='1.27', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='5.09e-08', ts2='11.78', photon_index='2.33' WHERE bin_id='1748' AND source_name='4FGL J0055.1-1219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:13:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 875499: <4FGL_J0055.1-1219_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0055.1-1219_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:04:42 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:04:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:04:43 2022
Terminated at Wed Dec 14 00:13:05 2022
Results reported at Wed Dec 14 00:13:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0055.1-1219_daily_bin1748 13.7805 -12.3204 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0055.1-1219 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   402.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   501 sec.
    Turnaround time :                            503 sec.

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

