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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7493
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1748
RA = 26.1502, Dec = 27.0899
tmin = 692409601, tmax = 692668801
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='875603', job_status='RUN', time_executed='2022-12-14 00:05:32.138662', time_epoch_executed='1671005132.14' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875603

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875603/ft1_4FGL_J0144.6+2705_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875603/ft1_4FGL_J0144.6+2705_daily_bin1748.fits outfile=/scratch/kocevski/875603/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1748.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=692409601.0 tmax=692668801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.73
user 3.35
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/875603/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/875603/ft1_filtered_4FGL_J0144.6+2705_daily_bin1748.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 794

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875603/ft1_filtered_4FGL_J0144.6+2705_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/875603/ltcube_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits
.....................!
real 12.45
user 12.03
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875603/ft1_filtered_4FGL_J0144.6+2705_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/875603/ltcube_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits outfile=/scratch/kocevski/875603/expmap_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/875603/ltcube_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits
.....................!
real 191.46
user 185.46
sys 5.59

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/875603/ft1_filtered_4FGL_J0144.6+2705_daily_bin1748.fits scfile=/scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits outfile=/scratch/kocevski/875603/cmap_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875603/ft1_filtered_4FGL_J0144.6+2705_daily_bin1748.fits scfile=/scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits outfile=/scratch/kocevski/875603/cmap_HighResolution_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875603/ft1_filtered_4FGL_J0144.6+2705_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875603/Model_4FGL_J0144.6+2705_daily_bin1748.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/875603/ft1_filtered_4FGL_J0144.6+2705_daily_bin1748.fits.....................!
real 86.50
user 84.30
sys 1.50

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875603/ft1_filtered_4FGL_J0144.6+2705_daily_bin1748.fits', '/scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits', expMap='/scratch/kocevski/875603/expmap_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits', expCube='/scratch/kocevski/875603/ltcube_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875603/Model_4FGL_J0144.6+2705_daily_bin1748.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  0.000e+00  1.000e+06 ( 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 -5.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/875603/ft1_filtered_4FGL_J0144.6+2705_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/875603/ft2_4FGL_J0144.6+2705_daily_bin1748.fits
Exposure map: /scratch/kocevski/875603/expmap_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits
Exposure cube: /scratch/kocevski/875603/ltcube_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875603/Model_4FGL_J0144.6+2705_daily_bin1748.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71485E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.5693       1.0000          .0000       .10000E+07
     3 'norm      '    16.739       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17816E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .70729E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.008       1.0000          .0000       .10000E+07
     7 'Prefactor '    .23592E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .60201E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    30.206       1.0000          .0000       .10000E+07
    10 'Prefactor '    .43392E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.4286       1.0000          .0000       .10000E+07
    12 'norm      '    2.6419       1.0000          .0000       .10000E+07
    13 'Prefactor '    .76256E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.0790       1.0000          .0000       .10000E+07
    15 'norm      '    2.0738       1.0000          .0000       .10000E+07
    16 'norm      '    .12054E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    32.275       1.0000          .0000       .10000E+07
    18 'norm      '    1.6682       1.0000          .0000       .10000E+07
    19 'Normalizat'    .84707       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0537       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=   8493.065     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1540 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.7877       -.18492E-06** at limit **
   2  norm          1.5693        .73005       -.15177E-08    .10520E-02
   3  norm          16.741        2.4060       -.29800E-07   -.16489E-01
   4  Prefactor     .22204E-09    12.975       -.11975E-06** at limit **
   5  Prefactor      .0000        2.8406        .12614E-07** at limit **
   6  Prefactor     12.962        4.7172       -.43005E-08    .11591    
   7  Prefactor     .22204E-09    25.632        .11348E-06** at limit **
   8  norm          .59757E-01    .62226       -.39029E-07** at limit **
   9  Prefactor     30.222        12.501       -.75367E-08    .48322E-01
  10  Prefactor     .52180E-08    23.450       -.15615E-06** at limit **
  11  Prefactor     6.3620        10.930        .25589E-08    .19483E-01
  12  norm          2.6477        2.4798        .28380E-07    .32898E-02
  13  Prefactor     .55511E-10    3.0123       -.23272E-07** at limit **
  14  Prefactor     3.0823        5.1424       -.62231E-07   -.59885E-03
  15  norm          2.0738        .83333       -.78408E-08   -.28930E-02
  16  norm          .14433E-07    23.324       -.58324E-07** at limit **
  17  Prefactor     31.893        45.659       -.30857E-07    .69025E-02
  18  norm          1.6682        1.5216       -.21497E-07   -.28932E-02
  19  Normalizat    .84716        .22192        .10853E-05    .87194E-04
  20  Prefactor     1.0538        .13182        .23964E-06    .15620E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.56928
  norm       = 16.7414
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 12.9618
  Prefactor  = 2.22045e-10
  norm       = 0.059757
  Prefactor  = 30.2219
  Prefactor  = 5.21805e-09
  Prefactor  = 6.36199
  norm       = 2.64772
  Prefactor  = 5.55112e-11
  Prefactor  = 3.08226
  norm       = 2.0738
  norm       = 1.44329e-08
  Prefactor  = 31.8928
  norm       = 1.66822
  Normalizat = 0.847161
  Prefactor  = 1.05379
 **********
 **   18 **HESSE 
 **********

 FCN=   8493.065     FROM HESSE     STATUS=OK           337 CALLS     1877 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.7998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5693        .73550        .84839E-03   -1.5683    
   3  norm          16.741        2.4066        .24453E-03   -1.5626    
   4  Prefactor     .22204E-09    12.960        .17185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.8361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.962        14.243        .27748E-03   -1.5636    
   7  Prefactor     .22204E-09    25.460        .16811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .59757E-01    .23492        .23382E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.222        12.806        .18198E-03   -1.5598    
  10  Prefactor     .52180E-08    23.171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3620        11.158        .39561E-03   -1.5658    
  12  norm          2.6477        2.4868        .62701E-03   -1.5675    
  13  Prefactor     .55511E-10    2.9987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0823        5.1539        .57778E-03   -1.5673    
  15  norm          2.0738        .83533        .71698E-03   -1.5679    
  16  norm          .14433E-07    23.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     31.893        46.059        .17605E-03   -1.5595    
  18  norm          1.6682        1.5161        .81604E-03   -1.5682    
  19  Normalizat    .84716        .20040        .81270E-01   -.98342    
  20  Prefactor     1.0538        .11542        .39700E-01   -.90957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20217e-07
Minuit parameter uncertainties:
  1  3.20716e-06
  2  0.735496
  3  2.4066
  4  0.000102668
  5  1.64282e-05
  6  14.2429
  7  0.000141746
  8  0.234917
  9  12.8062
  10  0.000695016
  11  11.1577
  12  2.48682
  13  3.02487e-05
  14  5.15394
  15  0.835335
  16  0.00116232
  17  46.0594
  18  1.51614
  19  0.200572
  20  0.115445
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  5.976e-02  2.349e-01  0.000e+00  1.000e+06 ( 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 -5.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.054e+00  1.154e-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.472e-01  2.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 6.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875603/likelihoodResults_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.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) = 8493.05950669
delta logL = 0.005898954636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8493.05112026
delta logL = 0.0142853864727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26257E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.4548       1.0000          .0000       5.0000    
     3 'Normalizat'    .83839       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0571       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=   8493.051     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      233 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25954E-01    1.2028        .87241E-03** at limit **
   2  alpha         3.4677        2.5166        .45791        .63853E-04
   3  Normalizat    .83797        .20770E-01    .81678E-01   -.10867E-04
   4  Prefactor     1.0572        .12485E-01    .39509E-01   -.50691E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0259543
  alpha      = 3.46765
  Normalizat = 0.837967
  Prefactor  = 1.05724
 **********
 **   18 **HESSE 
 **********

 FCN=   8493.051     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25954E-01    20.660        .47869E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.4677        2.8629        .85595E-01    .39744    
   3  Normalizat    .83797        .10990        .36162E-03   -.98675    
   4  Prefactor     1.0572        .61264E-01    .19476E-03   -.90845    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.79582e-05
Minuit parameter uncertainties:
  1  1.46455
  2  38.8407
  3  0.109928
  4  0.0612676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875603': 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): 102
logL (Free Index) = 8493.05111527
delta logL = 0.0142903740725

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.595e-02  1.465e+00  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  3.468e+00  3.884e+01  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  8.399e-02  0.000e+00 -5.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.057e+00  6.127e-02  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.380e-01  1.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 26.150 27.090

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/875603/cmap_HighResolution_692409601_692668801_4FGL_J0144.6+2705_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2022-12-14 00:16:39.951504', job_id='875603', GAL2='1.06', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1671005799.95', return_code2='102', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.43e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1748' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:16:39 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 875603: <4FGL_J0144.6+2705_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:04:53 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:04:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:04:55 2022
Terminated at Wed Dec 14 00:16:40 2022
Results reported at Wed Dec 14 00:16:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1748 26.1502 27.0899 692409601 692668801 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 :                                   634.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            707 sec.

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

