/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 184 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 = 7530
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1152
RA = 26.1502, Dec = 27.0899
tmin = 537926401, tmax = 538185601
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='824980', job_status='RUN', time_executed='2021-08-14 15:34:28.227395', time_epoch_executed='1628980468.23' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1152'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/824980

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/824980/ft1_4FGL_J0144.6+2705_daily_bin1152.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/824980/ft2_4FGL_J0144.6+2705_daily_bin1152.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/824980/ft1_4FGL_J0144.6+2705_daily_bin1152.fits outfile=/scratch/kocevski/824980/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1152.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=537926401.0 tmax=538185601.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 7.16
user 6.22
sys 0.90

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/824980/ft2_4FGL_J0144.6+2705_daily_bin1152.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/824980/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1152.fits evtable="EVENTS" outfile="/scratch/kocevski/824980/ft1_filtered_4FGL_J0144.6+2705_daily_bin1152.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.20
user 0.33
sys 0.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/824980/ft1_filtered_4FGL_J0144.6+2705_daily_bin1152.fits" evtable="EVENTS" scfile=/scratch/kocevski/824980/ft2_4FGL_J0144.6+2705_daily_bin1152.fits sctable="SC_DATA" outfile=/scratch/kocevski/824980/ltcube_537926401_538185601_4FGL_J0144.6+2705_daily_bin1152.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/824980/ft2_4FGL_J0144.6+2705_daily_bin1152.fits
.....................!
real 13.48
user 12.31
sys 1.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/824980/ft1_filtered_4FGL_J0144.6+2705_daily_bin1152.fits evtable="EVENTS" scfile=/scratch/kocevski/824980/ft2_4FGL_J0144.6+2705_daily_bin1152.fits sctable="SC_DATA" expcube=/scratch/kocevski/824980/ltcube_537926401_538185601_4FGL_J0144.6+2705_daily_bin1152.fits outfile=/scratch/kocevski/824980/expmap_537926401_538185601_4FGL_J0144.6+2705_daily_bin1152.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/824980/ltcube_537926401_538185601_4FGL_J0144.6+2705_daily_bin1152.fits
.....................!
real 192.68
user 185.85
sys 6.27

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/824980/ft1_filtered_4FGL_J0144.6+2705_daily_bin1152.fits scfile=/scratch/kocevski/824980/ft2_4FGL_J0144.6+2705_daily_bin1152.fits outfile=/scratch/kocevski/824980/cmap_537926401_538185601_4FGL_J0144.6+2705_daily_bin1152.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.20
user 0.38
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/824980/ft1_filtered_4FGL_J0144.6+2705_daily_bin1152.fits scfile=/scratch/kocevski/824980/ft2_4FGL_J0144.6+2705_daily_bin1152.fits outfile=/scratch/kocevski/824980/cmap_HighResolution_537926401_538185601_4FGL_J0144.6+2705_daily_bin1152.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 1.23
user 0.39
sys 0.80

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.594       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14668E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.0663       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13471E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.437       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0742       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9831       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.455       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0702       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.7518       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.185       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.746       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.0434       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.7080       1.0000         .10000E-03   10000.    
    20 'norm      '    1.0151       1.0000         .10000E-03   10000.    
    21 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    7.4749       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1848       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0523       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8166.667     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2522 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.594        15.363        .18561E-05   -.51332E-04
   2  Prefactor     .10000E-03    144.08       -.25532E-05** at limit **
   3  norm          2.0660        .86107       -.68703E-07   -.25058E-04
   4  norm          .10000E-03    .70517       -.28817E-06** at limit **
   5  Prefactor     .10000E-03    114.84        .14201E-05** at limit **
   6  Prefactor     18.430        8.8581        .19112E-06   -.89856E-04
   7  Prefactor     1.0728        13.910        .59634E-05   -.52399E-04
   8  Prefactor     4.9708        17.150        .24752E-05   -.22359E-04
   9  Prefactor     .10000E-03    15.963        .30184E-06** at limit **
  10  Prefactor     19.587        109.48        .50175E-06    .53895E-04
  11  norm          1.0701        .69138        .10582E-06   -.23441E-03
  12  Prefactor     .10000E-03    13.140        .66750E-06** at limit **
  13  Prefactor     4.7516        17.874        .98437E-05   -.66849E-04
  14  Prefactor     .10000E-03    8.1051        .73136E-08** at limit **
  15  norm          12.184        7.4103        .15902E-06   -.75804E-05
  16  Prefactor     11.719        440.00        .33040E-05   -.57497E-05
  17  Prefactor     6.0454        11.541        .25817E-06   -.44186E-04
  18  Prefactor     .10000E-03    1.9398       -.48128E-07** at limit **
  19  Prefactor     2.7054        8.7759        .11593E-05   -.11045E-04
  20  norm          1.0152        .59880       -.89739E-08   -.26151E-03
  21  norm          .10000E-03    21.842       -.12533E-07** at limit **
  22  Prefactor     .10000E-03    21.510       -.53454E-07** at limit **
  23  norm          7.4751        3.5337        .17473E-06   -.47922E-04
  24  Normalizat    1.1847        .23499       -.42037E-05   -.89324E-04
  25  Prefactor     1.0523        .12316        .13697E-06   -.36662E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5936
  Prefactor  = 0.000100002
  norm       = 2.06599
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 18.4301
  Prefactor  = 1.07276
  Prefactor  = 4.97076
  Prefactor  = 0.0001
  Prefactor  = 19.5873
  norm       = 1.07013
  Prefactor  = 0.0001
  Prefactor  = 4.75156
  Prefactor  = 0.0001
  norm       = 12.1842
  Prefactor  = 11.7194
  Prefactor  = 6.04544
  Prefactor  = 0.0001
  Prefactor  = 2.70541
  norm       = 1.01516
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.47508
  Normalizat = 1.18471
  Prefactor  = 1.0523
 **********
 **   18 **HESSE 
 **********

 FCN=   8166.667     FROM HESSE     STATUS=OK           429 CALLS     2951 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.594        15.345        .61549E-03   -1.5057    
   2  Prefactor     .10000E-03    145.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0660        .85869        .51054E-04   -1.5420    
   4  norm          .10000E-03    .73670        .14791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    115.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.430        8.8236        .93278E-04   -1.4849    
   7  Prefactor     1.0728        14.338        .46718E-02   -1.5501    
   8  Prefactor     4.9708        17.076        .18015E-03   -1.5262    
   9  Prefactor     .10000E-03    15.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.587        107.58        .90806E-04   -1.4823    
  11  norm          1.0701        .68400        .56086E-04   -1.5501    
  12  Prefactor     .10000E-03    13.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7516        17.831        .92290E-03   -1.5272    
  14  Prefactor     .10000E-03    8.1113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.184        7.3491        .11476E-03   -1.5010    
  16  Prefactor     11.719        442.22        .11689E-03   -1.5023    
  17  Prefactor     6.0454        11.419        .16333E-03   -1.5216    
  18  Prefactor     .10000E-03    1.9448        .12289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.7054        8.7247        .24752E-03   -1.5379    
  20  norm          1.0152        .59871        .51977E-04   -1.5506    
  21  norm          .10000E-03    21.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    21.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.4751        3.5341        .11212E-03   -1.5161    
  24  Normalizat    1.1847        .26757        .34328E-03   -.87077    
  25  Prefactor     1.0523        .14254        .20674E-03   -.91006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.30883e-08
Minuit parameter uncertainties:
  1  15.3504
  2  0.00113971
  3  0.858691
  4  5.65421e-06
  5  0.00117848
  6  8.82422
  7  7.84573
  8  17.0932
  9  2.32789e-05
  10  92.064
  11  0.684001
  12  5.38987e-05
  13  17.8514
  14  3.40047e-06
  15  7.34966
  16  145.149
  17  11.4234
  18  4.23636e-06
  19  8.72882
  20  0.598715
  21  2.31774e-06
  22  2.18616e-07
  23  3.53416
  24  0.267878
  25  0.142593
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.070e+00  6.840e-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.052e+00  1.426e-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.185e+00  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.84
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 5.43e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 2.86e-05 +/- 1.83e-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) = 8166.66166327
delta logL = 0.00551203809209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8166.66122896
delta logL = 0.00594635087054

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0774       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1134       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0539       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=   8166.661     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      192 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0774        13.018        .11633E-01   -.10677E-02
   2  alpha         2.1134        3.0159        .41791       -.41349E-05
   3  Normalizat    1.1790        .11786        .77715E-01    .21576E-04
   4  Prefactor     1.0539        .46238E-01    .39685E-01    .28571E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07744
  alpha      = 2.11341
  Normalizat = 1.17895
  Prefactor  = 1.05392
 **********
 **   18 **HESSE 
 **********

 FCN=   8166.661     FROM HESSE     STATUS=OK            33 CALLS      225 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0774        .65644        .55426E-04   -1.5500    
   2  alpha         2.1134        .73686        .18197E-01   -.15526    
   3  Normalizat    1.1790        .24976        .34398E-03   -.87256    
   4  Prefactor     1.0539        .14087        .20659E-03   -.90953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05404e-11
Minuit parameter uncertainties:
  1  0.656444
  2  0.748252
  3  0.250014
  4  0.140919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/824980': 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) = 8166.66122896
delta logL = 0.00594635439484

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.077e+00  6.564e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.113e+00  7.483e-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.054e+00  1.409e-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.179e+00  2.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.84
Ra Dec: 26.150 27.090
Photon Index (Free Index): 2.11 +/- 0.75
Photon Flux (Free Index): 5.95e-08 +/- 5.97e-08
Energy Flux (Free Index): 2.76e-05 +/- 1.90e-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/824980/cmap_HighResolution_537926401_538185601_4FGL_J0144.6+2705_daily_bin1152.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.43e-08', energy_flux2='2.76e-05', photon_flux_error='3.47e-08', dlogl='5.95e-03', energy_flux='2.86e-05', photon_flux2='5.95e-08', job_status='DONE', time_completed='2021-08-14 15:46:22.930220', photon_index_error2='0.75', photon_index2='2.11', ts='6.84', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.90e-05', EG='1.18', time_epoch_completed='1628981182.93', return_code='0', job_id='824980', GAL2='1.05', EG2='1.18', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='5.97e-08', ts2='6.84', photon_index='2.03' WHERE bin_id='1152' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:46:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 824980: <4FGL_J0144.6+2705_daily_bin1152> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1152> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 15:30:23 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:31:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 15:31:00 2021
Terminated at Sat Aug 14 15:46:23 2021
Results reported at Sat Aug 14 15:46:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1152 26.1502 27.0899 537926401 538185601 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 :                                   721.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            960 sec.

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

