aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 137 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0144.6+2705_weekly_bin559
RA = 26.1502, Dec = 27.0899
tmin = 577065601, tmax = 577670401
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='239573', job_status='RUN', time_executed='2021-07-04 01:22:06.074689', time_epoch_executed='1625386926.07' WHERE source_name='4FGL J0144.6+2705' and cadence='weekly' and bin_id='559'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/239573

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/239573/ft1_4FGL_J0144.6+2705_weekly_bin559.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/239573/ft1_4FGL_J0144.6+2705_weekly_bin559.fits outfile=/scratch/kocevski/239573/ft1_filteredMKT_4FGL_J0144.6+2705_weekly_bin559.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=577065601.0 tmax=577670401.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 8.11
user 6.08
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.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/239573/ft1_filteredMKT_4FGL_J0144.6+2705_weekly_bin559.fits evtable="EVENTS" outfile="/scratch/kocevski/239573/ft1_filtered_4FGL_J0144.6+2705_weekly_bin559.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.84
user 0.37
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/239573/ft1_filtered_4FGL_J0144.6+2705_weekly_bin559.fits" evtable="EVENTS" scfile=/scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits sctable="SC_DATA" outfile=/scratch/kocevski/239573/ltcube_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.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/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits
.....................!
real 28.02
user 27.18
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/239573/ft1_filtered_4FGL_J0144.6+2705_weekly_bin559.fits evtable="EVENTS" scfile=/scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits sctable="SC_DATA" expcube=/scratch/kocevski/239573/ltcube_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.fits outfile=/scratch/kocevski/239573/expmap_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.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/239573/ltcube_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.fits
.....................!
real 194.55
user 185.84
sys 4.10

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

Setting source of interest to:
4FGL J0144.6+2705 @ 26.1502 27.0899

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/239573/ft1_filtered_4FGL_J0144.6+2705_weekly_bin559.fits scfile=/scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits outfile=/scratch/kocevski/239573/cmap_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.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=26.1502 yref=27.0899 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.69
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/239573/ft1_filtered_4FGL_J0144.6+2705_weekly_bin559.fits scfile=/scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits outfile=/scratch/kocevski/239573/cmap_HighResolution_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.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=26.1502 yref=27.0899 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.70
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/239573/ft1_filtered_4FGL_J0144.6+2705_weekly_bin559.fits evtable="EVENTS" scfile=/scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/239573/Model_4FGL_J0144.6+2705_weekly_bin559.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/239573/ft1_filtered_4FGL_J0144.6+2705_weekly_bin559.fits......................!
real 30.22
user 25.24
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/239573/ft1_filtered_4FGL_J0144.6+2705_weekly_bin559.fits', '/scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits', expMap='/scratch/kocevski/239573/expmap_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.fits', expCube='/scratch/kocevski/239573/ltcube_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/239573/Model_4FGL_J0144.6+2705_weekly_bin559.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0144.6+2705'

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.270e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/239573/ft1_filtered_4FGL_J0144.6+2705_weekly_bin559.fits
Spacecraft file(s): /scratch/kocevski/239573/ft2_4FGL_J0144.6+2705_weekly_bin559.fits
Exposure map: /scratch/kocevski/239573/expmap_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.fits
Exposure cube: /scratch/kocevski/239573/ltcube_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/239573/Model_4FGL_J0144.6+2705_weekly_bin559.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) = 935.477876096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3663.4       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    52.869       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    91.844       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.036       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1937       1.0000         .10000E-03   10000.    
    21 'norm      '    79.918       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    36.297       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .69583       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   935.4775     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     3391 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.263        .17516E-06** at limit **
   2  Prefactor     .10000E-03    144.33       -.27707E-04** at limit **
   3  norm          .10000E-03    6.3822        .67459E-07** at limit **
   4  norm          .10000E-03    5.0400       -.31714E-06** at limit **
   5  Prefactor     .10000E-03    474.38        .87849E-04** at limit **
   6  Prefactor     .10000E-03    70.143        .49970E-04** at limit **
   7  Prefactor     3663.4        1709.2        .19021E-04    .43059E-05
   8  Prefactor    10000.0        6340.6        .14033E-02** at limit **
   9  Prefactor    10000.0        7596.8        .16904E-02** at limit **
  10  Prefactor    10000.0        7195.8        .16346E-02** at limit **
  11  norm          .10000E-03    52.680       -.10762E-04** at limit **
  12  Prefactor     .10000E-03    491.93        .57352E-04** at limit **
  13  Prefactor     52.828        155.16       -.47427E-04    .11956E-04
  14  Prefactor     .10000E-03    82.799       -.51857E-04** at limit **
  15  norm          .10000E-03    8.6016        .17683E-06** at limit **
  16  Prefactor     .10000E-03    587.35       -.10508E-03** at limit **
  17  Prefactor     91.842        65.207        .59022E-06    .33799E-04
  18  Prefactor     .10000E-03    39.582        .12313E-05** at limit **
  19  Prefactor     27.035        35.498       -.46932E-06    .28151E-04
  20  norm          1.1930        1.6303       -.68720E-07    .29841E-03
  21  norm          79.874        207.26       -.44302E-04    .15466E-05
  22  Prefactor     .10000E-03    160.50        .52901E-04** at limit **
  23  norm          36.296        8.0157       -.32733E-05    .44538E-04
  24  Normalizat    .10000E-01    .11785        .19490E-05** at limit **
  25  Prefactor     .69588        .21111        .10654E-04   -.11644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3663.45
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.8278
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 91.8416
  Prefactor  = 0.0001
  Prefactor  = 27.0347
  norm       = 1.19304
  norm       = 79.8743
  Prefactor  = 0.0001
  norm       = 36.2963
  Normalizat = 0.01
  Prefactor  = 0.695876
 **********
 **   18 **HESSE 
 **********

 FCN=   935.4775     FROM HESSE     STATUS=OK           409 CALLS     3800 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.263        .12052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    144.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    6.3822        .75486E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.0400        .67078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    474.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    70.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3663.4        1708.7        .41511E-04   -.27060    
   8  Prefactor    10000.0        6340.3        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor    10000.0        7597.7        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor    10000.0        7198.3        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    52.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    491.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     52.828        155.27        .55161E-04   -1.4253    
  14  Prefactor     .10000E-03    82.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.6021        .87632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    587.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     91.842        65.166        .41932E-04   -1.3788    
  18  Prefactor     .10000E-03    40.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.035        35.493        .77046E-04   -1.4668    
  20  norm          1.1930        1.6043        .41378E-04   -1.5490    
  21  norm          79.874        207.70        .22463E-03   -1.3918    
  22  Prefactor     .10000E-03    160.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          36.296        8.0365        .38024E-04   -1.4502    
  24  Normalizat    .10000E-01    .11831        .32185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .69588        .21248        .21244E-03   -1.0369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52111e-10
Minuit parameter uncertainties:
  1  2.21827e-06
  2  4.91199e-06
  3  6.06608e-07
  4  2.95466e-06
  5  2.93617e-05
  6  8.25627e-06
  7  1746.74
  8  0.000100466
  9  0.0177455
  10  0.033965
  11  1.994e-05
  12  0.00015166
  13  156.486
  14  9.33811e-05
  15  1.46282e-06
  16  6.75168e-05
  17  65.2167
  18  0.000262098
  19  35.5209
  20  1.60438
  21  209.634
  22  0.000250423
  23  8.03673
  24  1.86908e-06
  25  0.212725
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  1.994e-05  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  6.959e-01  2.127e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.000e-02  1.869e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 1.33e-05 ph cm-2 s-1
Energy Flux Upper Limit: 7.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/239573/likelihoodResults_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.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) = 935.47754791
delta logL = -9.00805982837e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 935.477457857
delta logL = -2.71850240097e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0197       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69589       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   935.4775     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      193 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    59.936        .90712E-02** at limit **
   2  alpha         2.0595        3.4585        .42155       -.39204E-05
   3  Normalizat    .10000E-01    .11228        .14735    ** at limit **
   4  Prefactor     .69588        .18187        .42346E-01   -.13134E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.05946
  Normalizat = 0.01
  Prefactor  = 0.695876
 **********
 **   18 **HESSE 
 **********

 FCN=   935.4775     FROM HESSE     STATUS=OK            29 CALLS      222 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    54.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0595        3.4356        .50000       -.17714    
   3  Normalizat    .10000E-01    .11296        .32185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .69588        .18026        .21244E-03   -1.0369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05856e-10
Minuit parameter uncertainties:
  1  0.00014357
  2  2.4686
  3  2.31977e-07
  4  0.180413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/239573': 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) = 935.477457788
delta logL = 4.18151557824e-08

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  1.436e-04  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.059e+00  2.469e+00  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  6.959e-01  1.804e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.000e-02  2.320e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 26.150 27.090

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/239573/cmap_HighResolution_577065601_577670401_4FGL_J0144.6+2705_weekly_bin559.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-03', job_status='DONE', photon_flux_upper_limit='1.33e-05', time_completed='2021-07-04 01:29:40.471107', job_id='239573', GAL2='0.70', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1625387380.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='4.18e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='559' AND source_name='4FGL J0144.6+2705' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul  4 01:29:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0130>
Subject: Job 239573: <4FGL_J0144.6+2705_weekly_bin559> in cluster <slac> Done

Job <4FGL_J0144.6+2705_weekly_bin559> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul  4 01:17:47 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul  4 01:17:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul  4 01:17:48 2021
Terminated at Sun Jul  4 01:29:44 2021
Results reported at Sun Jul  4 01:29:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_weekly_bin559 26.1502 27.0899 577065601 577670401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0144.6+2705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   425.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             237.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            717 sec.

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

