/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 60 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 = 7558
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0144.6+2705_daily_bin320
RA = 26.1502, Dec = 27.0899
tmin = 322272001, tmax = 322531201
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='816811', job_status='RUN', time_executed='2021-08-14 15:03:17.541307', time_epoch_executed='1628978597.54' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816811

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816811/ft1_4FGL_J0144.6+2705_daily_bin320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816811/ft2_4FGL_J0144.6+2705_daily_bin320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816811/ft1_4FGL_J0144.6+2705_daily_bin320.fits outfile=/scratch/kocevski/816811/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin320.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=322272001.0 tmax=322531201.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.15
user 3.20
sys 0.88

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816811/ft1_filtered_4FGL_J0144.6+2705_daily_bin320.fits evtable="EVENTS" scfile=/scratch/kocevski/816811/ft2_4FGL_J0144.6+2705_daily_bin320.fits sctable="SC_DATA" expcube=/scratch/kocevski/816811/ltcube_322272001_322531201_4FGL_J0144.6+2705_daily_bin320.fits outfile=/scratch/kocevski/816811/expmap_322272001_322531201_4FGL_J0144.6+2705_daily_bin320.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/816811/ltcube_322272001_322531201_4FGL_J0144.6+2705_daily_bin320.fits
.....................!
real 193.71
user 186.85
sys 6.41

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/816811/ft1_filtered_4FGL_J0144.6+2705_daily_bin320.fits scfile=/scratch/kocevski/816811/ft2_4FGL_J0144.6+2705_daily_bin320.fits outfile=/scratch/kocevski/816811/cmap_322272001_322531201_4FGL_J0144.6+2705_daily_bin320.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.21
user 0.37
sys 0.81

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.8444       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0085       1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.048       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.6777       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6926       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.419       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .70861       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10844E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.043       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.566       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .93748E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.499       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.2414       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.6447       1.0000         .10000E-03   10000.    
    21 'norm      '    .10403E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    13.375       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95740       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=   8403.114     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2928 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.655        .34463E-06** at limit **
   2  Prefactor     .10000E-03    20.405       -.11957E-05** at limit **
   3  norm          1.8443        .81912       -.10273E-06   -.33356E-03
   4  norm          1.0082        1.2180       -.17932E-06   -.13821E-02
   5  Prefactor     45.058        42.662        .53785E-05    .11330E-04
   6  Prefactor     .10000E-03    2.9429       -.19510E-06** at limit **
   7  Prefactor     8.6782        8.8252       -.38011E-06   -.10548E-03
   8  Prefactor     5.6942        14.980       -.96455E-06   -.77605E-04
   9  Prefactor     22.413        31.477       -.81331E-06   -.14848E-05
  10  Prefactor     .10000E-03    50.311        .10891E-04** at limit **
  11  norm          .70858        .52872        .74217E-08   -.10958E-03
  12  Prefactor     .10000E-03    26.803        .24564E-05** at limit **
  13  Prefactor     13.044        12.942       -.71750E-07   -.16937E-04
  14  Prefactor     .10000E-03    11.614        .12814E-06** at limit **
  15  norm          10.565        5.9503       -.67678E-07   -.98804E-04
  16  Prefactor     .10002E-03    741.31       -.30864E-03** at limit **
  17  Prefactor     16.503        11.106       -.49609E-07   -.30994E-04
  18  Prefactor     2.2414        4.8825       -.67892E-06   -.63023E-03
  19  Prefactor     .10000E-03    3.1065       -.24230E-07** at limit **
  20  norm          2.6447        .94979        .17712E-07   -.98836E-04
  21  norm          .10000E-03    168.30        .89496E-05** at limit **
  22  Prefactor     .10000E-03    47.154       -.12427E-04** at limit **
  23  norm          13.375        3.8119       -.37595E-07    .11420E-04
  24  Normalizat    1.1266        .21279       -.25923E-06    .20089E-03
  25  Prefactor     .95737        .11394        .29294E-06    .37129E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.8443
  norm       = 1.00819
  Prefactor  = 45.0583
  Prefactor  = 0.0001
  Prefactor  = 8.67818
  Prefactor  = 5.69421
  Prefactor  = 22.4127
  Prefactor  = 0.0001
  norm       = 0.70858
  Prefactor  = 0.0001
  Prefactor  = 13.0436
  Prefactor  = 0.0001
  norm       = 10.5654
  Prefactor  = 0.000100021
  Prefactor  = 16.503
  Prefactor  = 2.24141
  Prefactor  = 0.0001
  norm       = 2.64469
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 13.3746
  Normalizat = 1.12657
  Prefactor  = 0.957373
 **********
 **   18 **HESSE 
 **********

 FCN=   8403.114     FROM HESSE     STATUS=OK           431 CALLS     3359 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8443        .81384        .51936E-04   -1.5436    
   4  norm          1.0082        1.0708        .10496E-02   -1.5507    
   5  Prefactor     45.058        42.600        .59735E-04   -1.4364    
   6  Prefactor     .10000E-03    2.9526        .15335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.6782        8.8110        .13607E-03   -1.5119    
   8  Prefactor     5.6942        14.945        .16835E-03   -1.5231    
   9  Prefactor     22.413        31.482        .84596E-04   -1.4761    
  10  Prefactor     .10000E-03    50.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .70858        .53768        .55455E-04   -1.5540    
  12  Prefactor     .10000E-03    27.844        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.044        12.958        .11091E-03   -1.4985    
  14  Prefactor     .10000E-03    11.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.565        5.9478        .12326E-03   -1.5058    
  16  Prefactor     .10002E-03    737.65        .20804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.503        11.117        .98603E-04   -1.4895    
  18  Prefactor     2.2414        4.8709        .27452E-03   -1.5409    
  19  Prefactor     .10000E-03    3.1120        .15776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.6447        .94842        .51571E-04   -1.5383    
  21  norm          .10000E-03    169.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    47.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          13.375        3.8128        .92168E-04   -1.4976    
  24  Normalizat    1.1266        .24671        .33763E-03   -.88903    
  25  Prefactor     .95737        .13239        .20630E-03   -.94164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.46907e-10
Minuit parameter uncertainties:
  1  4.83541e-06
  2  1.27126e-05
  3  0.813848
  4  1.07087
  5  42.6287
  6  1.96346e-05
  7  8.81227
  8  14.9546
  9  31.5057
  10  2.51843e-08
  11  0.537679
  12  5.03299e-05
  13  12.9611
  14  1.86052e-06
  15  5.94813
  16  0.00798301
  17  11.1182
  18  4.87172
  19  3.60057e-07
  20  0.94843
  21  6.12954e-05
  22  4.35052e-05
  23  3.81284
  24  0.246966
  25  0.132432
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  7.086e-01  5.377e-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:  9.574e-01  1.324e-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.127e+00  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.46
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 3.59e-08 +/- 2.73e-08
Energy Flux (Fixed Index): 1.89e-05 +/- 1.44e-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) = 8402.78596409
delta logL = 0.328385965231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8402.78116819
delta logL = 0.333181862045

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46504       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4236       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1429       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95596       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=   8402.781     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      216 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46514        .36572        .11127E-01   -.23830E-03
   2  alpha         1.4233        .41374        .43576       -.51906E-04
   3  Normalizat    1.1429        .19681        .75817E-01    .17970E-04
   4  Prefactor     .95598        .11239        .45714E-01    .49739E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.465138
  alpha      = 1.42329
  Normalizat = 1.14286
  Prefactor  = 0.955975
 **********
 **   18 **HESSE 
 **********

 FCN=   8402.781     FROM HESSE     STATUS=OK            35 CALLS      251 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46514        .53823        .47369E-03   -1.5572    
   2  alpha         1.4233        .68270        .16308E-01   -.44525    
   3  Normalizat    1.1429        .22695        .33556E-03   -.88387    
   4  Prefactor     .95598        .12993        .20644E-03   -.94212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13061e-09
Minuit parameter uncertainties:
  1  0.538238
  2  0.69357
  3  0.227148
  4  0.129977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816811': 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) = 8402.78116785
delta logL = 0.333182196922

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  4.651e-01  5.382e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.423e+00  6.936e-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:  9.560e-01  1.300e-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.143e+00  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.13
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.42 +/- 0.69
Photon Flux (Free Index): 1.54e-08 +/- 2.00e-08
Energy Flux (Free Index): 3.14e-05 +/- 3.66e-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/816811/cmap_HighResolution_322272001_322531201_4FGL_J0144.6+2705_daily_bin320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.59e-08', energy_flux2='3.14e-05', photon_flux_error='2.73e-08', dlogl='3.33e-01', energy_flux='1.89e-05', photon_flux2='1.54e-08', job_status='DONE', time_completed='2021-08-14 15:15:49.358167', photon_index_error2='0.69', photon_index2='1.42', ts='6.46', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='3.66e-05', EG='1.13', time_epoch_completed='1628979349.36', return_code='0', job_id='816811', GAL2='0.96', EG2='1.14', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='2.00e-08', ts2='7.13', photon_index='2.03' WHERE bin_id='320' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:15:49 PDT 2021


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

Job <4FGL_J0144.6+2705_daily_bin320> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 15:00:45 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:01:47 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:01:47 2021
Terminated at Sat Aug 14 15:15:50 2021
Results reported at Sat Aug 14 15:15:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin320 26.1502 27.0899 322272001 322531201 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 :                                   760.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            905 sec.

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

