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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1769
RA = 26.1502, Dec = 27.0899
tmin = 697852801, tmax = 698112001
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='424072', job_status='RUN', time_executed='2023-02-15 00:08:54.301015', time_epoch_executed='1676448534.3' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424072

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424072/ft1_4FGL_J0144.6+2705_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424072/ft2_4FGL_J0144.6+2705_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424072/ft1_4FGL_J0144.6+2705_daily_bin1769.fits outfile=/scratch/kocevski/424072/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1769.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.74
user 4.18
sys 0.24

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

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

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

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

Number of photons that the gtmktime cut: 589

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424072/ft1_filtered_4FGL_J0144.6+2705_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/424072/ft2_4FGL_J0144.6+2705_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/424072/ltcube_697852801_698112001_4FGL_J0144.6+2705_daily_bin1769.fits outfile=/scratch/kocevski/424072/expmap_697852801_698112001_4FGL_J0144.6+2705_daily_bin1769.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/424072/ltcube_697852801_698112001_4FGL_J0144.6+2705_daily_bin1769.fits
.....................!
real 190.71
user 185.74
sys 4.51

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/424072/ft1_filtered_4FGL_J0144.6+2705_daily_bin1769.fits scfile=/scratch/kocevski/424072/ft2_4FGL_J0144.6+2705_daily_bin1769.fits outfile=/scratch/kocevski/424072/cmap_697852801_698112001_4FGL_J0144.6+2705_daily_bin1769.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424072/ft1_filtered_4FGL_J0144.6+2705_daily_bin1769.fits scfile=/scratch/kocevski/424072/ft2_4FGL_J0144.6+2705_daily_bin1769.fits outfile=/scratch/kocevski/424072/cmap_HighResolution_697852801_698112001_4FGL_J0144.6+2705_daily_bin1769.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.56
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11435       1.0000          .0000       .10000E+07
     2 'norm      '    .90585       1.0000          .0000       .10000E+07
     3 'norm      '    .64770E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21677E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .28104E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10345E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    77.670       1.0000          .0000       .10000E+07
     8 'norm      '    .37135       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .37273E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.1926       1.0000          .0000       .10000E+07
    12 'norm      '    1.1840       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29311       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21039E-07   1.0000          .0000       .10000E+07
    15 'norm      '    2.0011       1.0000          .0000       .10000E+07
    16 'norm      '    .69366E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    39.424       1.0000          .0000       .10000E+07
    18 'norm      '    1.0724       1.0000          .0000       .10000E+07
    19 'Normalizat'    .96627       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94581       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=   6814.963     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1558 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26288E-03    103.57        .54174E-06** at limit **
   2  norm          .90617        .56446        .25236E-07   -.38535E-02
   3  norm          .55511E-10    2.9241        .24054E-06** at limit **
   4  Prefactor     .43854E-08    17.473       -.76860E-06** at limit **
   5  Prefactor     .16653E-09    4.7596       -.19694E-06** at limit **
   6  Prefactor     .55511E-10    9.2598        .88794E-06** at limit **
   7  Prefactor     78.728        40.070        .17560E-05   -.15731    
   8  norm          .37122        .36091       -.84103E-07   -.99390E-03
   9  Prefactor     18.375        14.685        .91850E-06    .67163E-01
  10  Prefactor     .11102E-09    3.4130        .91162E-06** at limit **
  11  Prefactor     3.2103        21.787        .14384E-05    .81574E-01
  12  norm          1.1894        3.0106       -.79659E-06   -.11052E-02
  13  Prefactor     .26194        48.185        .30522E-05    .39129E-03
  14  Prefactor      .0000        1.6303        .62195E-06** at limit **
  15  norm          2.0020        .92680        .23951E-07   -.15172E-02
  16  norm           .0000        29.726        .89722E-06** at limit **
  17  Prefactor     41.490        48.321        .20629E-05    .46568E-01
  18  norm          1.0408        2.9079        .42828E-06    .78934E-03
  19  Normalizat    .96703        .22800       -.20896E-05    .92304E-04
  20  Prefactor     .94494        .13315       -.10938E-04    .10301E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000262877
  norm       = 0.906169
  norm       = 5.55112e-11
  Prefactor  = 4.38538e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 78.728
  norm       = 0.371218
  Prefactor  = 18.3749
  Prefactor  = 1.11022e-10
  Prefactor  = 3.21035
  norm       = 1.18941
  Prefactor  = 0.261939
  Prefactor  = 0
  norm       = 2.00199
  norm       = 0
  Prefactor  = 41.49
  norm       = 1.04077
  Normalizat = 0.967034
  Prefactor  = 0.944943
 **********
 **   18 **HESSE 
 **********

 FCN=   6814.963     FROM HESSE     STATUS=OK           345 CALLS     1903 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26288E-03    8.6831        .13559E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90617        .56552        .45356E-03   -1.5689    
   3  norm          .55511E-10    .97444        .27834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .43854E-08    17.460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    4.7433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    9.2400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     78.728        55.506        .11347E-03   -1.5531    
   8  norm          .37122        .33177        .92883E-03   -1.5696    
   9  Prefactor     18.375        15.159        .23353E-03   -1.5622    
  10  Prefactor     .11102E-09    3.4116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2103        37.731        .56684E-03   -1.5672    
  12  norm          1.1894        3.0977        .10489E-02   -1.5686    
  13  Prefactor     .26194        7.0321        .66575E-02   -1.5698    
  14  Prefactor      .0000        1.6277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0020        .93404        .73181E-03   -1.5680    
  16  norm           .0000        29.708        .14839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     41.490        51.676        .15928E-03   -1.5579    
  18  norm          1.0408        2.9073        .11706E-02   -1.5688    
  19  Normalizat    .96703        .20007        .71952E-01   -.94143    
  20  Prefactor     .94494        .11411        .45586E-01   -.94588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17727e-06
Minuit parameter uncertainties:
  1  0.0955532
  2  0.565517
  3  1.23621e-05
  4  0.000552942
  5  5.7202e-05
  6  3.88562e-05
  7  55.5061
  8  0.331768
  9  15.1592
  10  4.34163e-05
  11  22.0118
  12  3.09771
  13  2.7144
  14  7.8942e-06
  15  0.934039
  16  3.81024e-05
  17  51.6769
  18  2.90729
  19  0.20023
  20  0.114139
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  3.712e-01  3.318e-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:  9.449e-01  1.141e-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:  9.670e-01  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.09
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.88e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 9.92e-06 +/- 8.86e-06

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) = 6813.94800919
delta logL = 1.01498994012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6813.86463301
delta logL = 1.09836611447

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11461       1.0000          .0000       .10000E+07
     2 'alpha     '    .85973       1.0000          .0000       5.0000    
     3 'Normalizat'    .97483       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94572       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=   6813.865     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      221 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11464        .10487        .61578E-03** at limit **
   2  alpha         .85931        .44367        .40314       -.37245E-04
   3  Normalizat    .97460        .19115        .71702E-01    .17838E-04
   4  Prefactor     .94583        .11124        .45585E-01    .25468E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.114636
  alpha      = 0.85931
  Normalizat = 0.974598
  Prefactor  = 0.945834
 **********
 **   18 **HESSE 
 **********

 FCN=   6813.865     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11464        .19367        .22627E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .85931        .68763        .17348E-01   -.71587    
   3  Normalizat    .97460        .22235        .31724E-03   -.93886    
   4  Prefactor     .94583        .12961        .18605E-03   -.94557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.85848e-10
Minuit parameter uncertainties:
  1  0.193668
  2  0.703845
  3  0.222566
  4  0.12965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424072': 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) = 6813.86463175
delta logL = 1.09836737604

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.146e-01  1.937e-01  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  8.593e-01  7.038e-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:  9.458e-01  1.297e-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:  9.746e-01  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.29
Ra Dec: 26.150 27.090
Photon Index (Free Index): 0.86 +/- 0.70
Photon Flux (Free Index): 4.69e-09 +/- 5.40e-09
Energy Flux (Free Index): 4.21e-05 +/- 6.26e-05

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/424072/cmap_HighResolution_697852801_698112001_4FGL_J0144.6+2705_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.88e-08', energy_flux2='4.21e-05', photon_flux_error='1.68e-08', dlogl='1.10e+00', energy_flux='9.92e-06', photon_flux2='4.69e-09', job_status='DONE', time_completed='2023-02-15 00:17:51.462361', photon_index_error2='0.70', photon_index2='0.86', ts='7.09', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='6.26e-05', EG='0.97', time_epoch_completed='1676449071.46', return_code='0', job_id='424072', GAL2='0.95', EG2='0.97', return_code2='0', energy_flux_error='8.86e-06', photon_flux_error2='5.40e-09', ts2='9.29', photon_index='2.03' WHERE bin_id='1769' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:17:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 424072: <4FGL_J0144.6+2705_daily_bin1769> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 00:05:14 2023
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:05:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:05:15 2023
Terminated at Wed Feb 15 00:17:52 2023
Results reported at Wed Feb 15 00:17:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1769 26.1502 27.0899 697852801 698112001 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 :                                   534.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            758 sec.

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

