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


Performing analysis on: 4FGL_J0144.6+2705_weekly_bin664
RA = 26.1502, Dec = 27.0899
tmin = 640569601, tmax = 641174401
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='240564', job_status='RUN', time_executed='2021-07-04 01:26:02.362424', time_epoch_executed='1625387162.36' WHERE source_name='4FGL J0144.6+2705' and cadence='weekly' and bin_id='664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240564

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240564/ft1_4FGL_J0144.6+2705_weekly_bin664.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240564/ft2_4FGL_J0144.6+2705_weekly_bin664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240564/ft1_4FGL_J0144.6+2705_weekly_bin664.fits outfile=/scratch/kocevski/240564/ft1_filteredMKT_4FGL_J0144.6+2705_weekly_bin664.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=640569601.0 tmax=641174401.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 6.83
user 6.14
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/240564/ft2_4FGL_J0144.6+2705_weekly_bin664.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/240564/ft1_filteredMKT_4FGL_J0144.6+2705_weekly_bin664.fits evtable="EVENTS" outfile="/scratch/kocevski/240564/ft1_filtered_4FGL_J0144.6+2705_weekly_bin664.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.13
user 0.38
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240564/ft1_filtered_4FGL_J0144.6+2705_weekly_bin664.fits" evtable="EVENTS" scfile=/scratch/kocevski/240564/ft2_4FGL_J0144.6+2705_weekly_bin664.fits sctable="SC_DATA" outfile=/scratch/kocevski/240564/ltcube_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.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/240564/ft2_4FGL_J0144.6+2705_weekly_bin664.fits
.....................!
real 27.66
user 27.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240564/ft1_filtered_4FGL_J0144.6+2705_weekly_bin664.fits evtable="EVENTS" scfile=/scratch/kocevski/240564/ft2_4FGL_J0144.6+2705_weekly_bin664.fits sctable="SC_DATA" expcube=/scratch/kocevski/240564/ltcube_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.fits outfile=/scratch/kocevski/240564/expmap_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.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/240564/ltcube_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.fits
.....................!
real 193.81
user 185.80
sys 5.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 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/240564/ft1_filtered_4FGL_J0144.6+2705_weekly_bin664.fits scfile=/scratch/kocevski/240564/ft2_4FGL_J0144.6+2705_weekly_bin664.fits outfile=/scratch/kocevski/240564/cmap_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.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 1.11
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240564/ft1_filtered_4FGL_J0144.6+2705_weekly_bin664.fits scfile=/scratch/kocevski/240564/ft2_4FGL_J0144.6+2705_weekly_bin664.fits outfile=/scratch/kocevski/240564/cmap_HighResolution_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.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.91
user 0.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/240564/ft1_filtered_4FGL_J0144.6+2705_weekly_bin664.fits', '/scratch/kocevski/240564/ft2_4FGL_J0144.6+2705_weekly_bin664.fits', expMap='/scratch/kocevski/240564/expmap_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.fits', expCube='/scratch/kocevski/240564/ltcube_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/240564/Model_4FGL_J0144.6+2705_weekly_bin664.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/240564/ft1_filtered_4FGL_J0144.6+2705_weekly_bin664.fits
Spacecraft file(s): /scratch/kocevski/240564/ft2_4FGL_J0144.6+2705_weekly_bin664.fits
Exposure map: /scratch/kocevski/240564/expmap_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.fits
Exposure cube: /scratch/kocevski/240564/ltcube_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/240564/Model_4FGL_J0144.6+2705_weekly_bin664.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) = 1855.54916766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.376       1.0000         .10000E-03   10000.    
     3 'norm      '    3.1030       1.0000         .10000E-03   10000.    
     4 'norm      '    4.1868       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0613       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.663       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10499E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15101E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .18797E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .26883E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    23 'norm      '    64.663       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .78079       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84669       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=   1855.200     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     3317 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.6650       -.24206E-08** at limit **
   2  Prefactor     40.319        62.978       -.44468E-04    .39779E-04
   3  norm          3.1044        1.4733        .12517E-05   -.10288E-02
   4  norm          4.1869        2.5502       -.21634E-06    .85648E-04
   5  Prefactor     .10000E-03    19.416        .10758E-05** at limit **
   6  Prefactor     .10000E-03    2.5595        .93009E-07** at limit **
   7  Prefactor     6.0576        17.098       -.17387E-05   -.50006E-04
   8  Prefactor     15.663        25.258       -.40602E-07    .70509E-05
   9  Prefactor     .10000E-03    81.812       -.15989E-04** at limit **
  10  Prefactor     .10000E-03    75.384       -.36131E-04** at limit **
  11  norm          .10000E-03    .57050       -.61383E-07** at limit **
  12  Prefactor     .10000E-03    31.491        .23043E-04** at limit **
  13  Prefactor     .10000E-03    12.476        .82392E-06** at limit **
  14  Prefactor     .10000E-03    54.367        .17370E-04** at limit **
  15  norm          .10000E-03    8.9872        .46351E-07** at limit **
  16  Prefactor     .10000E-03    748.69       -.91176E-03** at limit **
  17  Prefactor     .10000E-03    12.979       -.10485E-05** at limit **
  18  Prefactor     .10000E-03    190.50        .17522E-03** at limit **
  19  Prefactor     .10000E-03    30.159       -.23435E-04** at limit **
  20  norm          .10000E-03    1.5607       -.11441E-06** at limit **
  21  norm          .10000E-03    6278.6       -.19896E-03** at limit **
  22  Prefactor    10000.0        9937.6        .16361E-02** at limit **
  23  norm          64.637        66.782       -.17107E-04    .15027E-05
  24  Normalizat    .78090        .39055        .31452E-05    .34956E-04
  25  Prefactor     .84654        .23079        .40535E-05   -.27260E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 40.3188
  norm       = 3.10437
  norm       = 4.18695
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.0576
  Prefactor  = 15.6633
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10000
  norm       = 64.6372
  Normalizat = 0.780901
  Prefactor  = 0.846543
 **********
 **   18 **HESSE 
 **********

 FCN=   1855.200     FROM HESSE     STATUS=OK           411 CALLS     3728 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.6925        .13077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     40.319        63.464        .63083E-04   -1.4437    
   3  norm          3.1044        1.4828        .32005E-04   -1.5356    
   4  norm          4.1869        2.5509        .47455E-04   -1.5299    
   5  Prefactor     .10000E-03    19.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.5608        .67295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.0576        17.315        .16308E-03   -1.5216    
   8  Prefactor     15.663        25.259        .10120E-03   -1.4916    
   9  Prefactor     .10000E-03    81.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    75.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .57104        .31771E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.485        .14862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    54.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.9876        .12613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    749.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.980        .15159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    190.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    30.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.5607        .52555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    6278.6        .21435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor    10000.0        9937.6        .18686E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          64.637        66.778        .49906E-04   -1.4098    
  24  Normalizat    .78090        .45682        .33107E-03   -1.0078    
  25  Prefactor     .84654        .27185        .19833E-03   -.98035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61693e-10
Minuit parameter uncertainties:
  1  2.57367e-05
  2  63.5708
  3  1.48283
  4  2.55097
  5  4.76207e-05
  6  2.43859e-05
  7  17.3291
  8  25.276
  9  5.77445e-05
  10  2.93565e-06
  11  2.12158e-07
  12  9.66696e-06
  13  1.40542e-05
  14  5.76292e-05
  15  1.71477e-07
  16  1.79443e-05
  17  5.97395e-07
  18  3.80865e-05
  19  2.63087e-06
  20  6.35377e-08
  21  0.000102828
  22  0.00420036
  23  66.8557
  24  0.459086
  25  0.272279
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  2.122e-07  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:  8.465e-01  2.723e-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:  7.809e-01  4.591e-01  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.69e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.89e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/240564/likelihoodResults_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.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) = 1855.19996124
delta logL = -3.02520379591e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1855.19995817
delta logL = 5.05983734911e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0255       1.0000          .0000       5.0000    
     3 'Normalizat'    .78084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84661       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1855.200     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      227 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .60701        .31797E-03** at limit **
   2  alpha         1.8757        2.8161        .16852        .25872E-07
   3  Normalizat    .78090        .41463        .33106E-03    .52463E-04
   4  Prefactor     .84655        .26049        .19833E-03    .90215E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.87572
  Normalizat = 0.780898
  Prefactor  = 0.846545
 **********
 **   18 **HESSE 
 **********

 FCN=   1855.200     FROM HESSE     STATUS=OK            25 CALLS      252 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .57799        .63594E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8757        2.5234        .67408E-02   -.25238    
   3  Normalizat    .78090        .41493        .13243E-04   -1.0078    
   4  Prefactor     .84655        .26068        .39665E-04   -.98035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06608e-11
Minuit parameter uncertainties:
  1  1.49421e-07
  2  106.426
  3  0.416624
  4  0.261058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240564': 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) = 1855.19995717
delta logL = 1.05233903014e-06

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  1.494e-07  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.876e+00  1.064e+02  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:  8.465e-01  2.611e-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:  7.809e-01  4.166e-01  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/240564/cmap_HighResolution_640569601_641174401_4FGL_J0144.6+2705_weekly_bin664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.89e-05', job_status='DONE', photon_flux_upper_limit='1.69e-07', time_completed='2021-07-04 01:34:12.956858', job_id='240564', GAL2='0.85', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1625387652.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.05e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='664' AND source_name='4FGL J0144.6+2705' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul  4 01:34:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 240564: <4FGL_J0144.6+2705_weekly_bin664> in cluster <slac> Done

Job <4FGL_J0144.6+2705_weekly_bin664> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Jul  4 01:21:19 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul  4 01:21:21 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:21:21 2021
Terminated at Sun Jul  4 01:34:15 2021
Results reported at Sun Jul  4 01:34:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_weekly_bin664 26.1502 27.0899 640569601 641174401 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 :                                   466.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            776 sec.

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

