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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1673
RA = 26.1502, Dec = 27.0899
tmin = 672969601, tmax = 673228801
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='350992', job_status='RUN', time_executed='2022-05-03 00:10:23.456452', time_epoch_executed='1651561823.46' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350992

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350992/ft1_4FGL_J0144.6+2705_daily_bin1673.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350992/ft2_4FGL_J0144.6+2705_daily_bin1673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350992/ft1_4FGL_J0144.6+2705_daily_bin1673.fits outfile=/scratch/kocevski/350992/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1673.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=672969601.0 tmax=673228801.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.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/350992/ft2_4FGL_J0144.6+2705_daily_bin1673.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/350992/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1673.fits evtable="EVENTS" outfile="/scratch/kocevski/350992/ft1_filtered_4FGL_J0144.6+2705_daily_bin1673.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 131

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350992/ft1_filtered_4FGL_J0144.6+2705_daily_bin1673.fits" evtable="EVENTS" scfile=/scratch/kocevski/350992/ft2_4FGL_J0144.6+2705_daily_bin1673.fits sctable="SC_DATA" outfile=/scratch/kocevski/350992/ltcube_672969601_673228801_4FGL_J0144.6+2705_daily_bin1673.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/350992/ft2_4FGL_J0144.6+2705_daily_bin1673.fits
.....................!
real 14.93
user 14.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350992/ft1_filtered_4FGL_J0144.6+2705_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/350992/ft2_4FGL_J0144.6+2705_daily_bin1673.fits sctable="SC_DATA" expcube=/scratch/kocevski/350992/ltcube_672969601_673228801_4FGL_J0144.6+2705_daily_bin1673.fits outfile=/scratch/kocevski/350992/expmap_672969601_673228801_4FGL_J0144.6+2705_daily_bin1673.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/350992/ltcube_672969601_673228801_4FGL_J0144.6+2705_daily_bin1673.fits
.....................!
real 191.93
user 186.31
sys 5.18

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/350992/ft1_filtered_4FGL_J0144.6+2705_daily_bin1673.fits scfile=/scratch/kocevski/350992/ft2_4FGL_J0144.6+2705_daily_bin1673.fits outfile=/scratch/kocevski/350992/cmap_672969601_673228801_4FGL_J0144.6+2705_daily_bin1673.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350992/ft1_filtered_4FGL_J0144.6+2705_daily_bin1673.fits scfile=/scratch/kocevski/350992/ft2_4FGL_J0144.6+2705_daily_bin1673.fits outfile=/scratch/kocevski/350992/cmap_HighResolution_672969601_673228801_4FGL_J0144.6+2705_daily_bin1673.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.68
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    28.777       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5566       1.0000         .10000E-03   10000.    
     4 'norm      '    4.7131       1.0000         .10000E-03   10000.    
     5 'Prefactor '    211.30       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.905       1.0000         .10000E-03   10000.    
     8 'Prefactor '    57.316       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    656.61       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12549E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    282.08       1.0000         .10000E-03   10000.    
    21 'norm      '    .12926E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    23 'norm      '    10000.       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .38259       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .76716       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1383.313     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     2954 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.686        .15204E-04** at limit **
   2  Prefactor     28.769        1.9301        .66972E-06    .67165E-03
   3  norm          2.5570        1.5550       -.29773E-06   -.17843E-04
   4  norm          4.7135        3.2245       -.28671E-06   -.26891E-04
   5  Prefactor     211.30        1.4320        .16092E-06    .18493E-02
   6  Prefactor     .10000E-03    6.4345        .23658E-06** at limit **
   7  Prefactor     11.914        1.1872        .13224E-06   -.15958E-03
   8  Prefactor     57.339        3.5116       -.86295E-06   -.64913E-03
   9  Prefactor     .10001E-03    80.395        .10665E-04** at limit **
  10  Prefactor     .10145E-03    77.055       -.33521E-04** at limit **
  11  norm          .10000E-03    1.8487        .18887E-05** at limit **
  12  Prefactor     .10000E-03    23.438       -.17522E-05** at limit **
  13  Prefactor     .10000E-03    14.886       -.18403E-04** at limit **
  14  Prefactor     .10000E-03    38.979       -.20454E-05** at limit **
  15  norm          .10000E-03    10.413       -.59839E-06** at limit **
  16  Prefactor     656.61        1.2275        .64032E-07    .20730E-02
  17  Prefactor     .10000E-03    17.076        .22107E-05** at limit **
  18  Prefactor     .10193E-03    66.888       -.22414E-04** at limit **
  19  Prefactor     .10000E-03    138.72        .39962E-04** at limit **
  20  norm          282.08        1.0025       -.94234E-08   -.15687E-03
  21  norm          .92958E-03    2.4839        .66197E-05** at limit **
  22  Prefactor    10000.0        4.2728       -.89776E-05   -.55893E-03
  23  norm         10000.0        137.17       -.39469E-04** at limit **
  24  Normalizat    .38205        .55426        .16519E-04   -.12477E-04
  25  Prefactor     .76741        .31946        .38620E-05   -.28959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 28.7689
  norm       = 2.55703
  norm       = 4.71354
  Prefactor  = 211.296
  Prefactor  = 0.0001
  Prefactor  = 11.9137
  Prefactor  = 57.3386
  Prefactor  = 0.000100012
  Prefactor  = 0.000101452
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 656.607
  Prefactor  = 0.0001
  Prefactor  = 0.000101931
  Prefactor  = 0.000100002
  norm       = 282.08
  norm       = 0.000929581
  Prefactor  = 9999.99
  norm       = 10000
  Normalizat = 0.382051
  Prefactor  = 0.767407
 **********
 **   18 **HESSE 
 **********

 FCN=   1383.313     FROM HESSE     STATUS=OK           469 CALLS     3423 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.685        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.769        58.646        .18671E-02   -1.4635    
   3  norm          2.5570        1.6439        .63835E-02   -1.5388    
   4  norm          4.7135        3.5191        .46338E-02   -1.5274    
   5  Prefactor     211.30        130.60        .69533E-03   -1.2790    
   6  Prefactor     .10000E-03    6.4312        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.914        21.592        .29025E-02   -1.5018    
   8  Prefactor     57.339        42.312        .13247E-02   -1.4192    
   9  Prefactor     .10001E-03    80.886        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10145E-03    128.85        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.4062        .21642E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.432        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.903        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    38.983        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.412        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     656.61        1161.8        .40373E-03   -1.0525    
  17  Prefactor     .10000E-03    17.079        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10193E-03    153.32        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    285.58        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          282.08        129.84        .60399E-03   -1.2333    
  21  norm          .92958E-03    6994.3        .10292E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor    10000.0        8061.2        .90712E-02    1.5690    
  23  norm         10000.0        283.73        .90712E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .38205        .62491        .11463       -1.1824    
  25  Prefactor     .76741        .32807        .43288E-01   -1.0094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2821e-06
Minuit parameter uncertainties:
  1  0.000135014
  2  58.7643
  3  1.64392
  4  3.51926
  5  130.778
  6  6.60965e-07
  7  21.6057
  8  42.3338
  9  0.00199802
  10  0.0274121
  11  2.46218e-06
  12  2.42838e-05
  13  0.000164446
  14  1.98924e-05
  15  2.17693e-06
  16  1209.28
  17  3.26248e-05
  18  0.0344973
  19  0.00161836
  20  129.973
  21  3.93925
  22  16.1744
  23  0.0032963
  24  0.636876
  25  0.328902
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  2.462e-06  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:  7.674e-01  3.289e-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:  3.821e-01  6.369e-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: 2.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.30e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/350992/likelihoodResults_672969601_673228801_4FGL_J0144.6+2705_daily_bin1673.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): 102
logL (Free Index) = 1383.31553234
delta logL = -0.00252859339594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1383.3130081
delta logL = -4.35805100096e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0244       1.0000          .0000       5.0000    
     3 'Normalizat'    .38355       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76675       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   1383.313     FROM MIGRAD    STATUS=FAILED        98 CALLS      254 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    385.66        .85924E-03** at limit **
   2  alpha         1.6822        2.7778        .50000       -.69491E-06
   3  Normalizat    .38205        .25807        .50799E-03    .52330E-04
   4  Prefactor     .76741        .15456        .21479E-03    .15870E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   1383.313     FROM SIMPLEX   STATUS=UNCHANGED    215 CALLS      469 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    385.66        .25629E-03** at limit **
   2  alpha         1.6822        2.7778        .96979E-07   -.69491E-06
   3  Normalizat    .38205        .25807        .15625E-07    .52330E-04
   4  Prefactor     .76741        .15456        .37643E-08    .15870E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1383.313     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      503 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1793        .17185E-03** at limit **
   2  alpha         1.6847        4.1298        .50000       -.48468E-06
   3  Normalizat    .38205        .52757        .20320E-04    .52676E-04
   4  Prefactor     .76741        .31815        .42957E-04    .15948E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.68469
  Normalizat = 0.382051
  Prefactor  = 0.767408
 **********
 **   18 **HESSE 
 **********

 FCN=   1383.313     FROM HESSE     STATUS=OK            29 CALLS      532 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9829        .34370E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6847        3.0417        .50000       -.33220    
   3  Normalizat    .38205        .52769        .40639E-05   -1.1824    
   4  Prefactor     .76741        .31824        .85915E-05   -1.0094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13909e-10
Minuit parameter uncertainties:
  1  7.67922e-05
  2  108.545
  3  0.534784
  4  0.318998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350992': 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) = 1383.31300202
delta logL = 1.72140244104e-06

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  7.679e-05  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.685e+00  1.085e+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:  7.674e-01  3.190e-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:  3.821e-01  5.348e-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/350992/cmap_HighResolution_672969601_673228801_4FGL_J0144.6+2705_daily_bin1673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-04', job_status='DONE', photon_flux_upper_limit='2.47e-07', time_completed='2022-05-03 00:17:20.537608', job_id='350992', GAL2='0.77', fit_tolerance='1e-08', EG2='0.38', EG='0.38', time_epoch_completed='1651562240.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.72e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1673' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May  3 00:17:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 350991: <4FGL_J0144.6+2705_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1673> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue May  3 00:05:30 2022
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:07:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:07:17 2022
Terminated at Tue May  3 00:16:33 2022
Results reported at Tue May  3 00:16:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1673 26.1502 27.0899 672969601 673228801 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 :                                   416.14 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            663 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 350992: <4FGL_J0144.6+2705_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1673> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue May  3 00:05:30 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:07:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:07:17 2022
Terminated at Tue May  3 00:17:21 2022
Results reported at Tue May  3 00:17:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1673 26.1502 27.0899 672969601 673228801 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 :                                   414.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             240.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            711 sec.

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

