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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1268
RA = 26.1502, Dec = 27.0899
tmin = 567993601, tmax = 568252801
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='825147', job_status='RUN', time_executed='2021-08-14 15:33:10.272311', time_epoch_executed='1628980390.27' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1268'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/825147

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/825147/ft1_4FGL_J0144.6+2705_daily_bin1268.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/825147/ft2_4FGL_J0144.6+2705_daily_bin1268.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/825147/ft1_4FGL_J0144.6+2705_daily_bin1268.fits outfile=/scratch/kocevski/825147/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1268.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=567993601.0 tmax=568252801.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.15
user 2.14
sys 0.97

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/825147/ft1_filtered_4FGL_J0144.6+2705_daily_bin1268.fits" evtable="EVENTS" scfile=/scratch/kocevski/825147/ft2_4FGL_J0144.6+2705_daily_bin1268.fits sctable="SC_DATA" outfile=/scratch/kocevski/825147/ltcube_567993601_568252801_4FGL_J0144.6+2705_daily_bin1268.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/825147/ft2_4FGL_J0144.6+2705_daily_bin1268.fits
.....................!
real 14.57
user 13.10
sys 1.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/825147/ft1_filtered_4FGL_J0144.6+2705_daily_bin1268.fits evtable="EVENTS" scfile=/scratch/kocevski/825147/ft2_4FGL_J0144.6+2705_daily_bin1268.fits sctable="SC_DATA" expcube=/scratch/kocevski/825147/ltcube_567993601_568252801_4FGL_J0144.6+2705_daily_bin1268.fits outfile=/scratch/kocevski/825147/expmap_567993601_568252801_4FGL_J0144.6+2705_daily_bin1268.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/825147/ltcube_567993601_568252801_4FGL_J0144.6+2705_daily_bin1268.fits
.....................!
real 192.96
user 185.16
sys 6.02

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/825147/ft1_filtered_4FGL_J0144.6+2705_daily_bin1268.fits scfile=/scratch/kocevski/825147/ft2_4FGL_J0144.6+2705_daily_bin1268.fits outfile=/scratch/kocevski/825147/cmap_567993601_568252801_4FGL_J0144.6+2705_daily_bin1268.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.31
user 0.38
sys 0.91

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/825147/ft1_filtered_4FGL_J0144.6+2705_daily_bin1268.fits scfile=/scratch/kocevski/825147/ft2_4FGL_J0144.6+2705_daily_bin1268.fits outfile=/scratch/kocevski/825147/cmap_HighResolution_567993601_568252801_4FGL_J0144.6+2705_daily_bin1268.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.34
user 0.38
sys 0.91

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9690       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10478E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.1813       1.0000         .10000E-03   10000.    
     4 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13166E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10543E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10646E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11288E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8183       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.501       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6224       1.0000         .10000E-03   10000.    
    14 'Prefactor '    36.171       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .36933       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.9713       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7032       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.879       1.0000         .10000E-03   10000.    
    20 'norm      '    2.0474       1.0000         .10000E-03   10000.    
    21 'norm      '    44.534       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10313E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    13.933       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2153       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .78240       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7208.865     FROM MIGRAD    STATUS=CONVERGED   1069 CALLS     3380 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9647        9.8812        .15197E-03    .88798E-04
   2  Prefactor     .10000E-03    19.172        .18142E-02** at limit **
   3  norm          1.1812        .49117        .36993E-04    .11463E-03
   4  norm          .10000E-03    .67577        .97247E-03** at limit **
   5  Prefactor     .10000E-03    24.628        .18142E-02** at limit **
   6  Prefactor     .10000E-03    1.3760        .97087E-03** at limit **
   7  Prefactor     .10000E-03    9.8319        .31296E-02** at limit **
   8  Prefactor     .10000E-03    3.9481        .16435E-02** at limit **
   9  Prefactor     .10000E-03    15.345        .18142E-02** at limit **
  10  Prefactor     .10000E-03    41.301        .18142E-02** at limit **
  11  norm          1.8186        .70106        .42529E-04    .14355E-03
  12  Prefactor     11.502        11.470        .11813E-03    .72082E-04
  13  Prefactor     3.6294        14.831        .21228E-03    .38132E-04
  14  Prefactor     36.218        27.308        .66636E-04    .15014E-04
  15  norm          .10000E-03    1.2107        .91156E-03** at limit **
  16  Prefactor     .10095E-03    100.55        .29097    ** at limit **
  17  Prefactor     7.9662        8.4458        .14201E-03    .23376E-04
  18  Prefactor     4.7041        4.8243        .18298E-03    .77850E-04
  19  Prefactor     15.875        15.569        .10051E-03   -.15270E-04
  20  norm          2.0470        1.1208        .62342E-04   -.10431E-03
  21  norm          44.347        57.034        .30039E-03    .44561E-04
  22  Prefactor     .10000E-03    15.300        .18142E-02** at limit **
  23  norm          13.933        4.7313        .51887E-03    .29640E-03
  24  Normalizat    1.2156        .22153        .28214E-03    .15175E-03
  25  Prefactor     .78215        .12710        .20308E-03    .54918E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.96469
  Prefactor  = 0.0001
  norm       = 1.1812
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.8186
  Prefactor  = 11.502
  Prefactor  = 3.62936
  Prefactor  = 36.218
  norm       = 0.0001
  Prefactor  = 0.000100947
  Prefactor  = 7.96616
  Prefactor  = 4.70409
  Prefactor  = 15.8754
  norm       = 2.04698
  norm       = 44.3475
  Prefactor  = 0.0001
  norm       = 13.9334
  Normalizat = 1.21561
  Prefactor  = 0.782153
 **********
 **   18 **HESSE 
 **********

 FCN=   7208.865     FROM HESSE     STATUS=OK           411 CALLS     3791 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9647        9.8811        .60788E-05   -1.5180    
   2  Prefactor     .10000E-03    19.175        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1812        .49116        .14797E-05   -1.5491    
   4  norm          .10000E-03    .67709        .19449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.633        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.3761        .19417E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.8947        .62592E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.9486        .32870E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.345        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    41.304        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8186        .70105        .17011E-05   -1.5438    
  12  Prefactor     11.502        11.470        .47252E-05   -1.5030    
  13  Prefactor     3.6294        14.826        .84911E-05   -1.5327    
  14  Prefactor     36.218        27.304        .26654E-05   -1.4504    
  15  norm          .10000E-03    1.2108        .18231E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10095E-03    100.55        .29097       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.9662        8.4448        .56806E-05   -1.5143    
  18  Prefactor     4.7041        4.8242        .73192E-05   -1.5274    
  19  Prefactor     15.875        15.567        .40204E-05   -1.4911    
  20  norm          2.0470        1.1208        .24937E-05   -1.5422    
  21  norm          44.347        57.034        .60077E-04   -1.4375    
  22  Prefactor     .10000E-03    15.300        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          13.933        4.7313        .20755E-04   -1.4961    
  24  Normalizat    1.2156        .22161        .11286E-04   -.86122    
  25  Prefactor     .78215        .12719        .40615E-04   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71502e-10
Minuit parameter uncertainties:
  1  9.88344
  2  2.18471e-06
  3  0.491163
  4  1.29703e-05
  5  4.05909e-06
  6  2.73929e-07
  7  0.000288981
  8  2.33848e-06
  9  4.39559e-06
  10  1.06144e-05
  11  0.701053
  12  11.4718
  13  14.6771
  14  27.3136
  15  2.74585e-06
  16  0.0195539
  17  8.44611
  18  4.82456
  19  15.5708
  20  1.12077
  21  57.1046
  22  2.79919e-06
  23  4.73138
  24  0.221783
  25  0.127236
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.819e+00  7.011e-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:  7.822e-01  1.272e-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.216e+00  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.79
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 9.22e-08 +/- 3.55e-08
Energy Flux (Fixed Index): 4.86e-05 +/- 1.87e-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) = 7208.3701815
delta logL = 0.495113333157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7208.36586984
delta logL = 0.499424989024

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8096       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6949       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2386       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77619       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=   7208.366     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8096        .75156        .77651E-02   -.29385E-04
   2  alpha         1.6949        .31246        .25184       -.22072E-04
   3  Normalizat    1.2386        .18442        .63292E-01    .94683E-05
   4  Prefactor     .77617        .10920        .43407E-01    .11681E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.80961
  alpha      = 1.69493
  Normalizat = 1.23858
  Prefactor  = 0.776166
 **********
 **   18 **HESSE 
 **********

 FCN=   7208.366     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8096        .73566        .43733E-04   -1.5439    
   2  alpha         1.6949        .32788        .10351E-01   -.32787    
   3  Normalizat    1.2386        .21332        .27996E-03   -.85419    
   4  Prefactor     .77617        .12654        .20380E-03   -1.0061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50706e-10
Minuit parameter uncertainties:
  1  0.735666
  2  0.32894
  3  0.213475
  4  0.126588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/825147': 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) = 7208.36586982
delta logL = 0.499425011632

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.810e+00  7.357e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.695e+00  3.289e-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:  7.762e-01  1.266e-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.239e+00  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.78
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.69 +/- 0.33
Photon Flux (Free Index): 6.85e-08 +/- 3.48e-08
Energy Flux (Free Index): 7.06e-05 +/- 4.18e-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/825147/cmap_HighResolution_567993601_568252801_4FGL_J0144.6+2705_daily_bin1268.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.22e-08', energy_flux2='7.06e-05', photon_flux_error='3.55e-08', dlogl='4.99e-01', energy_flux='4.86e-05', photon_flux2='6.85e-08', job_status='DONE', time_completed='2021-08-14 15:45:24.006437', photon_index_error2='0.33', photon_index2='1.69', ts='19.79', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='4.18e-05', EG='1.22', time_epoch_completed='1628981124.01', return_code='0', job_id='825147', GAL2='0.78', EG2='1.24', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='3.48e-08', ts2='20.78', photon_index='2.03' WHERE bin_id='1268' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:45:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 825147: <4FGL_J0144.6+2705_daily_bin1268> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1268> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 15:30:37 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:32:39 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:32:39 2021
Terminated at Sat Aug 14 15:45:24 2021
Results reported at Sat Aug 14 15:45:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1268 26.1502 27.0899 567993601 568252801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0144.6+2705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   741.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             336.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            887 sec.

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

