/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 183 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 = 7424
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0144.6+2705_daily_bin63
RA = 26.1502, Dec = 27.0899
tmin = 255657601, tmax = 255916801
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='815168', job_status='RUN', time_executed='2021-08-14 14:59:22.339815', time_epoch_executed='1628978362.34' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='63'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/815168

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/815168/ft1_4FGL_J0144.6+2705_daily_bin63.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/815168/ft2_4FGL_J0144.6+2705_daily_bin63.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/815168/ft1_4FGL_J0144.6+2705_daily_bin63.fits outfile=/scratch/kocevski/815168/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin63.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=255657601.0 tmax=255916801.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 2.08
user 1.27
sys 0.78

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/815168/ft2_4FGL_J0144.6+2705_daily_bin63.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/815168/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin63.fits evtable="EVENTS" outfile="/scratch/kocevski/815168/ft1_filtered_4FGL_J0144.6+2705_daily_bin63.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.17
user 0.32
sys 0.78

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/815168/ft1_filtered_4FGL_J0144.6+2705_daily_bin63.fits" evtable="EVENTS" scfile=/scratch/kocevski/815168/ft2_4FGL_J0144.6+2705_daily_bin63.fits sctable="SC_DATA" outfile=/scratch/kocevski/815168/ltcube_255657601_255916801_4FGL_J0144.6+2705_daily_bin63.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/815168/ft2_4FGL_J0144.6+2705_daily_bin63.fits
.....................!
real 14.48
user 13.25
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/815168/ft1_filtered_4FGL_J0144.6+2705_daily_bin63.fits evtable="EVENTS" scfile=/scratch/kocevski/815168/ft2_4FGL_J0144.6+2705_daily_bin63.fits sctable="SC_DATA" expcube=/scratch/kocevski/815168/ltcube_255657601_255916801_4FGL_J0144.6+2705_daily_bin63.fits outfile=/scratch/kocevski/815168/expmap_255657601_255916801_4FGL_J0144.6+2705_daily_bin63.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/815168/ltcube_255657601_255916801_4FGL_J0144.6+2705_daily_bin63.fits
.....................!
real 196.41
user 187.99
sys 6.10

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/815168/ft1_filtered_4FGL_J0144.6+2705_daily_bin63.fits scfile=/scratch/kocevski/815168/ft2_4FGL_J0144.6+2705_daily_bin63.fits outfile=/scratch/kocevski/815168/cmap_255657601_255916801_4FGL_J0144.6+2705_daily_bin63.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.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/815168/ft1_filtered_4FGL_J0144.6+2705_daily_bin63.fits scfile=/scratch/kocevski/815168/ft2_4FGL_J0144.6+2705_daily_bin63.fits outfile=/scratch/kocevski/815168/cmap_HighResolution_255657601_255916801_4FGL_J0144.6+2705_daily_bin63.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.16
user 0.38
sys 0.76

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.174       1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.783       1.0000         .10000E-03   10000.    
     3 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8373       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.168       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2628       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.9179       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .57082       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.718       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.628       1.0000         .10000E-03   10000.    
    15 'norm      '    1.9152       1.0000         .10000E-03   10000.    
    16 'Prefactor '    104.10       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.624       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.1859       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8404       1.0000         .10000E-03   10000.    
    20 'norm      '    4.4301       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13107E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .22343E-02   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .59701       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3054       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=   7408.266     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     2931 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.175        23.214       -.20322E-07   -.91648E-05
   2  Prefactor     28.774        31.551       -.13346E-05   -.16288E-03
   3  norm          .10000E-03    .22623        .18326E-07** at limit **
   4  norm          1.8374        1.2242        .12070E-07   -.38893E-04
   5  Prefactor     35.154        29.597       -.19759E-05   -.27189E-03
   6  Prefactor     3.2641        3.4719        .16659E-06    .47691E-04
   7  Prefactor     .10000E-03    1.8085       -.12656E-07** at limit **
   8  Prefactor     .10000E-03    8.6030        .24405E-07** at limit **
   9  Prefactor     7.9169        39.391       -.28579E-06   -.10071E-04
  10  Prefactor     .10000E-03    21.567       -.94202E-07** at limit **
  11  norm          .57082        .42754       -.39188E-08   -.11231E-04
  12  Prefactor     14.718        11.439        .17672E-06   -.12486E-04
  13  Prefactor     .10000E-03    4.6256        .23260E-07** at limit **
  14  Prefactor     14.626        23.474       -.23103E-06   -.15415E-04
  15  norm          1.9147        3.0895        .76513E-07   -.14910E-03
  16  Prefactor     104.05        148.39       -.13965E-04   -.18598E-03
  17  Prefactor     14.625        9.1979       -.26839E-06    .24469E-04
  18  Prefactor     5.1850        4.2998        .35071E-07    .25827E-05
  19  Prefactor     4.8426        10.979        .47396E-05   -.67682E-03
  20  norm          4.4302        1.2127       -.11397E-06   -.32197E-04
  21  norm          .10000E-03    38.646       -.53458E-07** at limit **
  22  Prefactor     .10000E-03    87.169        .35595E-06** at limit **
  23  norm          .10000E-03    1.2521       -.24499E-06** at limit **
  24  Normalizat    .59689        .22713       -.81742E-06    .17883E-04
  25  Prefactor     1.3055        .13591        .46872E-06    .32056E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.1746
  Prefactor  = 28.7743
  norm       = 0.0001
  norm       = 1.83744
  Prefactor  = 35.1543
  Prefactor  = 3.26406
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.91686
  Prefactor  = 0.0001
  norm       = 0.570821
  Prefactor  = 14.7182
  Prefactor  = 0.0001
  Prefactor  = 14.626
  norm       = 1.91474
  Prefactor  = 104.054
  Prefactor  = 14.6252
  Prefactor  = 5.18503
  Prefactor  = 4.84255
  norm       = 4.43018
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Normalizat = 0.596886
  Prefactor  = 1.30545
 **********
 **   18 **HESSE 
 **********

 FCN=   7408.266     FROM HESSE     STATUS=OK           433 CALLS     3364 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.175        23.185        .48970E-04   -1.4067    
   2  Prefactor     28.774        31.374        .74676E-04   -1.4635    
   3  norm          .10000E-03    .36822        .78214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8374        1.2214        .74482E-04   -1.5437    
   5  Prefactor     35.154        30.008        .67577E-04   -1.4521    
   6  Prefactor     3.2641        3.4695        .15801E-03   -1.5347    
   7  Prefactor     .10000E-03    1.8128        .11302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.7333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.9169        39.343        .14250E-03   -1.5145    
  10  Prefactor     .10000E-03    21.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .57082        .42216        .47312E-04   -1.5557    
  12  Prefactor     14.718        11.421        .10440E-03   -1.4940    
  13  Prefactor     .10000E-03    4.6326        .18079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.626        23.461        .10472E-03   -1.4943    
  15  norm          1.9147        3.0601        .18321E-03   -1.5431    
  16  Prefactor     104.05        158.47        .19705E-03   -1.3664    
  17  Prefactor     14.625        9.1947        .10474E-03   -1.4943    
  18  Prefactor     5.1850        4.3019        .15785E-03   -1.5253    
  19  Prefactor     4.8426        12.612        .91422E-03   -1.5268    
  20  norm          4.4302        1.2165        .46994E-04   -1.5287    
  21  norm          .10000E-03    38.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    87.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    21.447        .18482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .59689        .24087        .42156E-03   -1.0812    
  25  Prefactor     1.3055        .14672        .18354E-03   -.83145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85114e-09
Minuit parameter uncertainties:
  1  23.188
  2  31.3921
  3  5.32485e-06
  4  1.22139
  5  30.0205
  6  3.46968
  7  1.28799e-06
  8  1.07789e-05
  9  35.334
  10  1.46356e-05
  11  0.422163
  12  11.4231
  13  6.19537e-07
  14  23.4759
  15  3.06039
  16  159.117
  17  9.19557
  18  4.30217
  19  12.6187
  20  1.21646
  21  1.34348e-05
  22  4.57797e-05
  23  0.000260439
  24  0.241298
  25  0.146767
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  5.708e-01  4.222e-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.305e+00  1.468e-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:  5.969e-01  2.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.09
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 2.89e-08 +/- 2.14e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.13e-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) = 7408.0774183
delta logL = 0.188252571621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7408.07526932
delta logL = 0.190401555225

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59901       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7031       1.0000          .0000       5.0000    
     3 'Normalizat'    .60195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3042       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=   7408.075     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59924        18.904        .11029E-01   -.86702E-04
   2  alpha         1.7030        2.8305        .41291       -.10265E-04
   3  Normalizat    .60213        .16884        .94745E-01    .43342E-04
   4  Prefactor     1.3041        .11197        .32537E-01   -.14562E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.599236
  alpha      = 1.70299
  Normalizat = 0.602127
  Prefactor  = 1.3041
 **********
 **   18 **HESSE 
 **********

 FCN=   7408.075     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59924        .45351        .48904E-04   -1.5553    
   2  alpha         1.7030        .51535        .15539E-01   -.32447    
   3  Normalizat    .60213        .23082        .41984E-03   -1.0789    
   4  Prefactor     1.3041        .14487        .91810E-03   -.83185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32214e-11
Minuit parameter uncertainties:
  1  0.453517
  2  0.519507
  3  0.23119
  4  0.144913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/815168': 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) = 7408.07526885
delta logL = 0.190402022916

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  5.992e-01  4.535e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.703e+00  5.195e-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.304e+00  1.449e-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:  6.021e-01  2.312e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.47
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.70 +/- 0.52
Photon Flux (Free Index): 2.28e-08 +/- 2.00e-08
Energy Flux (Free Index): 2.31e-05 +/- 2.43e-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/815168/cmap_HighResolution_255657601_255916801_4FGL_J0144.6+2705_daily_bin63.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.89e-08', energy_flux2='2.31e-05', photon_flux_error='2.14e-08', dlogl='1.90e-01', energy_flux='1.53e-05', photon_flux2='2.28e-08', job_status='DONE', time_completed='2021-08-14 15:11:11.793300', photon_index_error2='0.52', photon_index2='1.70', ts='5.09', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', energy_flux_error2='2.43e-05', EG='0.60', time_epoch_completed='1628979071.79', return_code='0', job_id='815168', GAL2='1.30', EG2='0.60', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='2.00e-08', ts2='5.47', photon_index='2.03' WHERE bin_id='63' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:11:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 815168: <4FGL_J0144.6+2705_daily_bin63> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin63> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 14:55:32 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 14:55:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 14:55:58 2021
Terminated at Sat Aug 14 15:11:12 2021
Results reported at Sat Aug 14 15:11:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin63 26.1502 27.0899 255657601 255916801 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 :                                   711.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            940 sec.

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

