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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1695
RA = 26.1502, Dec = 27.0899
tmin = 678672001, tmax = 678931201
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='720458', job_status='RUN', time_executed='2022-07-08 00:05:31.226147', time_epoch_executed='1657263931.23' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/720458

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/720458/ft1_4FGL_J0144.6+2705_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/720458/ft2_4FGL_J0144.6+2705_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/720458/ft1_4FGL_J0144.6+2705_daily_bin1695.fits outfile=/scratch/kocevski/720458/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1695.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=678672001.0 tmax=678931201.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.92
user 3.35
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/720458/ft2_4FGL_J0144.6+2705_daily_bin1695.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/720458/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/720458/ft1_filtered_4FGL_J0144.6+2705_daily_bin1695.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.61
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 751

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/720458/ft1_filtered_4FGL_J0144.6+2705_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/720458/ft2_4FGL_J0144.6+2705_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/720458/ltcube_678672001_678931201_4FGL_J0144.6+2705_daily_bin1695.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/720458/ft2_4FGL_J0144.6+2705_daily_bin1695.fits
.....................!
real 16.76
user 16.02
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/720458/ft1_filtered_4FGL_J0144.6+2705_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/720458/ft2_4FGL_J0144.6+2705_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/720458/ltcube_678672001_678931201_4FGL_J0144.6+2705_daily_bin1695.fits outfile=/scratch/kocevski/720458/expmap_678672001_678931201_4FGL_J0144.6+2705_daily_bin1695.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/720458/ltcube_678672001_678931201_4FGL_J0144.6+2705_daily_bin1695.fits
.....................!
real 190.99
user 185.51
sys 4.99

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/720458/ft1_filtered_4FGL_J0144.6+2705_daily_bin1695.fits scfile=/scratch/kocevski/720458/ft2_4FGL_J0144.6+2705_daily_bin1695.fits outfile=/scratch/kocevski/720458/cmap_678672001_678931201_4FGL_J0144.6+2705_daily_bin1695.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.83
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/720458/ft1_filtered_4FGL_J0144.6+2705_daily_bin1695.fits scfile=/scratch/kocevski/720458/ft2_4FGL_J0144.6+2705_daily_bin1695.fits outfile=/scratch/kocevski/720458/cmap_HighResolution_678672001_678931201_4FGL_J0144.6+2705_daily_bin1695.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.85
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .45437       1.0000         .10000E-03   10000.    
     4 'norm      '    2.2467       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.208       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2115       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6093       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .66700       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.1498       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1975       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11939       1.0000         .10000E-03   10000.    
    20 'norm      '    .35220       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    81.599       1.0000         .10000E-03   10000.    
    23 'norm      '    4.4082       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .84049       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0933       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=   8120.932     FROM MIGRAD    STATUS=CONVERGED    609 CALLS     3020 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3104        .90712E-02** at limit **
   2  Prefactor     .10000E-03    10.434        .90712E-02** at limit **
   3  norm          .45424        .57733        .15847E-01    .17009E-02
   4  norm          2.2463        1.3901        .68539E-02    .50901E-03
   5  Prefactor     21.202        29.149        .21744E-02    .25135E-03
   6  Prefactor     .10000E-03    1.5220        .90712E-02** at limit **
   7  Prefactor     2.2106        5.5521        .69148E-02    .82281E-03
   8  Prefactor     1.6091        15.440        .83485E-02    .56198E-03
   9  Prefactor     .10000E-03    37.812        .90712E-02** at limit **
  10  Prefactor     .10000E-03    20.713        .90712E-02** at limit **
  11  norm          .66693        .46106        .10946E-01    .31163E-03
  12  Prefactor     .10000E-03    3.1391        .90712E-02** at limit **
  13  Prefactor     .10000E-03    8.7445        .90712E-02** at limit **
  14  Prefactor     .10000E-03    10.317        .90712E-02** at limit **
  15  norm          3.1493        4.0017        .57098E-02    .69338E-03
  16  Prefactor     .10000E-03    82.873        .90712E-02** at limit **
  17  Prefactor     6.2039        8.7917        .40314E-02   -.63182E-03
  18  Prefactor     .10000E-03    2.0106        .90712E-02** at limit **
  19  Prefactor     .72795E-01    5.5131        .96033E-01    .11879E-03
  20  norm          .35253        .64068        .20002E-01    .23195E-02
  21  norm          .10000E-03    26.784        .90712E-02** at limit **
  22  Prefactor     81.599        62.629        .11116E-02    .84827E-03
  23  norm          4.4092        2.9230        .47953E-02    .41195E-03
  24  Normalizat    .84067        .19053        .74594E-01    .60686E-04
  25  Prefactor     1.0933        .10983        .37845E-01    .58456E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.454236
  norm       = 2.2463
  Prefactor  = 21.2017
  Prefactor  = 0.0001
  Prefactor  = 2.21064
  Prefactor  = 1.60915
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.666929
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.14928
  Prefactor  = 0.0001
  Prefactor  = 6.20388
  Prefactor  = 0.0001
  Prefactor  = 0.0727952
  norm       = 0.352532
  norm       = 0.0001
  Prefactor  = 81.5987
  norm       = 4.40925
  Normalizat = 0.840667
  Prefactor  = 1.09329
 **********
 **   18 **HESSE 
 **********

 FCN=   8120.932     FROM HESSE     STATUS=OK           435 CALLS     3455 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3124        .16012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .45424        .52336        .72776E-03   -1.5573    
   4  norm          2.2463        1.3756        .76620E-04   -1.5408    
   5  Prefactor     21.202        29.079        .86975E-04   -1.4787    
   6  Prefactor     .10000E-03    1.5251        .10849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2106        5.4947        .27659E-03   -1.5411    
   8  Prefactor     1.6091        15.285        .33394E-03   -1.5454    
   9  Prefactor     .10000E-03    37.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .66693        .45271        .49175E-04   -1.5545    
  12  Prefactor     .10000E-03    3.1559        .15591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.8278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1493        3.9533        .17433E-03   -1.5353    
  16  Prefactor     .10000E-03    82.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.2039        8.7170        .16126E-03   -1.5210    
  18  Prefactor     .10000E-03    2.0192        .12477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .72795E-01    11.431        .59146E-01   -1.5654    
  20  norm          .35253        .59050        .89816E-03   -1.5589    
  21  norm          .10000E-03    26.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     81.599        62.644        .44464E-04   -1.3899    
  23  norm          4.4092        2.9188        .11968E-03   -1.5288    
  24  Normalizat    .84067        .21537        .33013E-03   -.98577    
  25  Prefactor     1.0933        .12584        .17966E-03   -.89681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52544e-09
Minuit parameter uncertainties:
  1  4.81527e-07
  2  2.61332e-05
  3  0.523362
  4  1.37566
  5  29.0987
  6  3.22945e-07
  7  5.49598
  8  9.92182
  9  5.64259e-05
  10  4.09585e-05
  11  0.452712
  12  2.23292e-08
  13  2.75885e-06
  14  2.95529e-05
  15  3.95367
  16  0.000209405
  17  8.71877
  18  1.98286e-07
  19  1.82355
  20  0.590512
  21  8.5547e-05
  22  62.6952
  23  2.91892
  24  0.215589
  25  0.125874
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  6.669e-01  4.527e-01  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:  1.093e+00  1.259e-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:  8.407e-01  2.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.32
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.38e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.21e-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) = 8120.01588971
delta logL = 0.916016420031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8120.00440162
delta logL = 0.927504504029

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53205       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3522       1.0000          .0000       5.0000    
     3 'Normalizat'    .85406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0913       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=   8120.004     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      209 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53205        .37545        .10183E-01    .38273E-04
   2  alpha         1.3523        .34890        .34300       -.46994E-04
   3  Normalizat    .85407        .17621        .74054E-01    .28172E-04
   4  Prefactor     1.0913        .10859        .37928E-01   -.16946E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.532053
  alpha      = 1.35226
  Normalizat = 0.854065
  Prefactor  = 1.09126
 **********
 **   18 **HESSE 
 **********

 FCN=   8120.004     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53205        .46874        .44901E-04   -1.5562    
   2  alpha         1.3523        .47672        .13784E-01   -.47698    
   3  Normalizat    .85407        .20101        .32773E-03   -.98094    
   4  Prefactor     1.0913        .12429        .17979E-03   -.89746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66609e-09
Minuit parameter uncertainties:
  1  0.468742
  2  0.480457
  3  0.201182
  4  0.124319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/720458': 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) = 8120.00440159
delta logL = 0.927504531588

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  5.321e-01  4.687e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.352e+00  4.805e-01  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:  1.091e+00  1.243e-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:  8.541e-01  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.17
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.35 +/- 0.48
Photon Flux (Free Index): 1.74e-08 +/- 1.60e-08
Energy Flux (Free Index): 4.28e-05 +/- 4.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/720458/cmap_HighResolution_678672001_678931201_4FGL_J0144.6+2705_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.38e-08', energy_flux2='4.28e-05', photon_flux_error='2.30e-08', dlogl='9.28e-01', energy_flux='1.78e-05', photon_flux2='1.74e-08', job_status='DONE', time_completed='2022-07-08 00:18:33.662195', photon_index_error2='0.48', photon_index2='1.35', ts='5.32', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='4.27e-05', EG='0.84', time_epoch_completed='1657264713.66', return_code='0', job_id='720458', GAL2='1.09', EG2='0.85', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='1.60e-08', ts2='7.17', photon_index='2.03' WHERE bin_id='1695' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:18:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 720458: <4FGL_J0144.6+2705_daily_bin1695> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1695> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul  8 00:04:50 2022
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:04:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:04:51 2022
Terminated at Fri Jul  8 00:18:34 2022
Results reported at Fri Jul  8 00:18:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1695 26.1502 27.0899 678672001 678931201 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 :                                   741.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            824 sec.

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

