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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1751
RA = 26.1502, Dec = 27.0899
tmin = 693187201, tmax = 693446401
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='67200', job_status='RUN', time_executed='2022-12-23 00:06:25.839502', time_epoch_executed='1671782785.84' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67200

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67200/ft1_4FGL_J0144.6+2705_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67200/ft2_4FGL_J0144.6+2705_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67200/ft1_4FGL_J0144.6+2705_daily_bin1751.fits outfile=/scratch/kocevski/67200/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1751.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=693187201.0 tmax=693446401.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 5.40
user 3.41
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/67200/ft2_4FGL_J0144.6+2705_daily_bin1751.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/67200/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/67200/ft1_filtered_4FGL_J0144.6+2705_daily_bin1751.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.60
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 656

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/67200/ft1_filtered_4FGL_J0144.6+2705_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/67200/ft2_4FGL_J0144.6+2705_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/67200/ltcube_693187201_693446401_4FGL_J0144.6+2705_daily_bin1751.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/67200/ft2_4FGL_J0144.6+2705_daily_bin1751.fits
.....................!
real 15.69
user 15.01
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67200/ft1_filtered_4FGL_J0144.6+2705_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/67200/ft2_4FGL_J0144.6+2705_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/67200/ltcube_693187201_693446401_4FGL_J0144.6+2705_daily_bin1751.fits outfile=/scratch/kocevski/67200/expmap_693187201_693446401_4FGL_J0144.6+2705_daily_bin1751.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/67200/ltcube_693187201_693446401_4FGL_J0144.6+2705_daily_bin1751.fits
.....................!
real 192.17
user 186.77
sys 4.63

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/67200/ft1_filtered_4FGL_J0144.6+2705_daily_bin1751.fits scfile=/scratch/kocevski/67200/ft2_4FGL_J0144.6+2705_daily_bin1751.fits outfile=/scratch/kocevski/67200/cmap_693187201_693446401_4FGL_J0144.6+2705_daily_bin1751.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.12
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/67200/ft1_filtered_4FGL_J0144.6+2705_daily_bin1751.fits scfile=/scratch/kocevski/67200/ft2_4FGL_J0144.6+2705_daily_bin1751.fits outfile=/scratch/kocevski/67200/cmap_HighResolution_693187201_693446401_4FGL_J0144.6+2705_daily_bin1751.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.58
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40561E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.6737       1.0000          .0000       .10000E+07
     3 'norm      '    2.7174       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.903       1.0000          .0000       .10000E+07
     5 'Prefactor '    .71064       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.1995       1.0000          .0000       .10000E+07
     7 'Prefactor '    .99631E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .13379       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.047       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16564E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .82885E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .31322E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.3934       1.0000          .0000       .10000E+07
    14 'Prefactor '    .83518E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .77922       1.0000          .0000       .10000E+07
    16 'norm      '    .48792E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    141.09       1.0000          .0000       .10000E+07
    18 'norm      '    .12852E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3057       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73468       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=   7421.404     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1627 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    6.8265       -.38052E-06** at limit **
   2  norm          1.6739        .67240       -.54210E-07    .48838E-02
   3  norm          2.7167        1.4868       -.79779E-07    .17482E-02
   4  Prefactor     13.038        6.4818       -.84662E-07    .11828    
   5  Prefactor     .66734        7.9469        .96558E-06   -.27825E-02
   6  Prefactor     5.1851        3.6814        .25678E-06   -.12899E-01
   7  Prefactor     .27756E-09    15.269       -.12649E-05** at limit **
   8  norm          .13363        .77731        .21580E-07** at limit **
   9  Prefactor     16.038        1.1889       -.68860E-08   -.49949E-01
  10  Prefactor      .0000        2.8877       -.19086E-06** at limit **
  11  Prefactor     .55511E-10    9.4750       -.43561E-06** at limit **
  12  norm          .55511E-10    1.8781        .27027E-06** at limit **
  13  Prefactor     5.4052        5.4455       -.33350E-07   -.13589E-03
  14  Prefactor     .55511E-10    3.0843       -.48060E-07** at limit **
  15  norm          .77887        .64210        .10521E-06   -.32401E-02
  16  norm           .0000        29.878       -.73411E-07** at limit **
  17  Prefactor     139.81        72.172        .48821E-06    .35621E-01
  18  norm          .11102E-08    6.8432       -.69946E-06** at limit **
  19  Normalizat    1.3056        .21875       -.17953E-05    .30692E-04
  20  Prefactor     .73510        .12200       -.43184E-06    .18500E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  norm       = 1.67386
  norm       = 2.7167
  Prefactor  = 13.0377
  Prefactor  = 0.667338
  Prefactor  = 5.1851
  Prefactor  = 2.77556e-10
  norm       = 0.133631
  Prefactor  = 16.0381
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 5.40517
  Prefactor  = 5.55112e-11
  norm       = 0.778873
  norm       = 0
  Prefactor  = 139.806
  norm       = 1.11022e-09
  Normalizat = 1.30563
  Prefactor  = 0.735102
 **********
 **   18 **HESSE 
 **********

 FCN=   7421.404     FROM HESSE     STATUS=OK           339 CALLS     1966 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    6.8277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6739        .67607        .81434E-03   -1.5682    
   3  norm          2.7167        1.4913        .61756E-03   -1.5675    
   4  Prefactor     13.038        48.715        .27861E-03   -1.5636    
   5  Prefactor     .66734        14.886        .59848E-03   -1.5692    
   6  Prefactor     5.1851        12.760        .44061E-03   -1.5662    
   7  Prefactor     .27756E-09    15.242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .13363        .47056        .20232E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.038        13.600        .24976E-03   -1.5628    
  10  Prefactor      .0000        2.8876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    9.4754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    1.8696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4052        5.4542        .43248E-03   -1.5661    
  14  Prefactor     .55511E-10    3.0842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .77887        .64514        .54497E-03   -1.5690    
  16  norm           .0000        29.874        .15589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     139.81        73.151        .84194E-04   -1.5471    
  18  norm          .11102E-08    1.1606        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3056        .19537        .63762E-01   -.83399    
  20  Prefactor     .73510        .10601        .42861E-01   -1.0217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80192e-06
Minuit parameter uncertainties:
  1  0.000119199
  2  0.676066
  3  1.49126
  4  48.7169
  5  6.30364
  6  12.7596
  7  0.000136336
  8  0.470565
  9  13.5996
  10  1.71163e-05
  11  4.37026e-05
  12  1.92533e-05
  13  5.4542
  14  2.63079e-05
  15  0.645139
  16  2.51753e-06
  17  73.1514
  18  7.13056e-05
  19  0.195477
  20  0.106035
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.336e-01  4.706e-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:  7.351e-01  1.060e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.306e+00  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/67200/likelihoodResults_693187201_693446401_4FGL_J0144.6+2705_daily_bin1751.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) = 7420.28315818
delta logL = 1.12066187286

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7420.26722456
delta logL = 1.13659549183

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21768E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77390       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=   7420.267     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      321 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21778E-01    .47670        .16923E-03** at limit **
   2  alpha         5.0000        4.4261        .46386    ** at limit **
   3  Normalizat    1.1930        .10397        .66196E-01   -.47121E-04
   4  Prefactor     .77384        .55958E-01    .43377E-01    .10067E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0217775
  alpha      = 5
  Normalizat = 1.19295
  Prefactor  = 0.773841
 **********
 **   18 **HESSE 
 **********

 FCN=   7420.267     FROM HESSE     STATUS=OK            35 CALLS      356 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21778E-01    .19011E-01    .87812E-06   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        1.0679        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1930        .22953        .29285E-03   -.86821    
   4  Prefactor     .77384        .12355        .19827E-03   -1.0070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76115e-11
Minuit parameter uncertainties:
  1  0.0190109
  2  2.59788e-05
  3  0.229724
  4  0.123591
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67200': 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) = 7420.26722402
delta logL = 1.13659603276

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.178e-02  1.901e-02  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  5.000e+00  2.598e-05  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:  7.738e-01  1.236e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.193e+00  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.51
Ra Dec: 26.150 27.090
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.06e-07 +/- 9.19e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.25e-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/67200/cmap_HighResolution_693187201_693446401_4FGL_J0144.6+2705_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-05', comment='SUCCESS', energy_flux2='1.44e-05', dlogl='1.14e+00', photon_flux2='1.06e-07', job_status='DONE', time_completed='2022-12-23 00:16:49.100092', photon_index_error2='0.00', photon_index2='5.00', ts='0.05', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='8.33e-08', energy_flux_error2='1.25e-05', EG='1.31', time_epoch_completed='1671783409.1', return_code='0', job_id='67200', GAL2='0.77', EG2='1.19', return_code2='0', photon_flux_error2='9.19e-08', ts2='2.51', photon_index='2.03' WHERE bin_id='1751' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:16:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 67200: <4FGL_J0144.6+2705_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1751> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec 23 00:04:56 2022
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:04:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:04:57 2022
Terminated at Fri Dec 23 00:16:49 2022
Results reported at Fri Dec 23 00:16:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1751 26.1502 27.0899 693187201 693446401 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 :                                   619.30 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            713 sec.

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

