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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1168
RA = 26.2585, Dec = -27.5363
tmin = 542073601, tmax = 542332801
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='833993', job_status='RUN', time_executed='2021-08-14 16:02:02.964605', time_epoch_executed='1628982122.96' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833993

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833993/ft1_4FGL_J0145.0-2732_daily_bin1168.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833993/ft1_4FGL_J0145.0-2732_daily_bin1168.fits outfile=/scratch/kocevski/833993/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1168.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=542073601.0 tmax=542332801.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.36
user 3.33
sys 0.88

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.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/833993/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1168.fits evtable="EVENTS" outfile="/scratch/kocevski/833993/ft1_filtered_4FGL_J0145.0-2732_daily_bin1168.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.35
sys 0.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833993/ft1_filtered_4FGL_J0145.0-2732_daily_bin1168.fits" evtable="EVENTS" scfile=/scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits sctable="SC_DATA" outfile=/scratch/kocevski/833993/ltcube_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.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/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits
.....................!
real 14.84
user 13.71
sys 1.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833993/ft1_filtered_4FGL_J0145.0-2732_daily_bin1168.fits evtable="EVENTS" scfile=/scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits sctable="SC_DATA" expcube=/scratch/kocevski/833993/ltcube_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.fits outfile=/scratch/kocevski/833993/expmap_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.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/833993/ltcube_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.fits
.....................!
real 195.67
user 188.92
sys 6.22

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J0145.0-2732 @ 26.2585 -27.5363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/833993/ft1_filtered_4FGL_J0145.0-2732_daily_bin1168.fits scfile=/scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits outfile=/scratch/kocevski/833993/cmap_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.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.2585 yref=-27.5363 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.29
user 0.38
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833993/ft1_filtered_4FGL_J0145.0-2732_daily_bin1168.fits scfile=/scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits outfile=/scratch/kocevski/833993/cmap_HighResolution_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.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.2585 yref=-27.5363 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.27
user 0.40
sys 0.80

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/833993/ft1_filtered_4FGL_J0145.0-2732_daily_bin1168.fits evtable="EVENTS" scfile=/scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833993/Model_4FGL_J0145.0-2732_daily_bin1168.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/833993/ft1_filtered_4FGL_J0145.0-2732_daily_bin1168.fits.....................!
real 46.91
user 44.44
sys 2.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/833993/ft1_filtered_4FGL_J0145.0-2732_daily_bin1168.fits', '/scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits', expMap='/scratch/kocevski/833993/expmap_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.fits', expCube='/scratch/kocevski/833993/ltcube_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/833993/Model_4FGL_J0145.0-2732_daily_bin1168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0145.0-2732'

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.960e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/833993/ft1_filtered_4FGL_J0145.0-2732_daily_bin1168.fits
Spacecraft file(s): /scratch/kocevski/833993/ft2_4FGL_J0145.0-2732_daily_bin1168.fits
Exposure map: /scratch/kocevski/833993/expmap_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.fits
Exposure cube: /scratch/kocevski/833993/ltcube_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/833993/Model_4FGL_J0145.0-2732_daily_bin1168.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) = 5299.45781727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2356       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4271       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10915E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9413       1.0000         .10000E-03   10000.    
     6 'norm      '    .14179E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.9751       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8267       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8096       1.0000         .10000E-03   10000.    
    10 'norm      '    2.0646       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.7074       1.0000         .10000E-03   10000.    
    14 'norm      '    .60449       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.9370       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.8210       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.2171       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10757E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    46.058       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .67859       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5299.451     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2556 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2356        1.7114        .15813E-07    .14133E-04
   2  Prefactor     2.4237        6.1078        .56588E-06    .62337E-04
   3  Prefactor     .10000E-03    30.796        .60279E-05** at limit **
   4  Prefactor     .10000E-03    1.1462       -.40283E-07** at limit **
   5  Prefactor     7.9527        8.8864       -.92795E-06   -.17886E-03
   6  norm          .10000E-03    2.8147        .19512E-05** at limit **
   7  norm          2.9747        2.0409        .26806E-07   -.23362E-04
   8  Prefactor     2.8278        7.4141        .11705E-06   -.23772E-03
   9  Prefactor     2.8101        3.7808       -.17105E-06   -.19356E-03
  10  norm          2.0646        1.2744        .14051E-07   -.95481E-04
  11  Prefactor     .10000E-03    7.1618        .26147E-06** at limit **
  12  norm          .10000E-03    1.1716        .95327E-07** at limit **
  13  Prefactor     6.7078        4.0786        .18068E-06   -.95317E-04
  14  norm          .60441        2.1919        .65602E-06   -.10877E-03
  15  Prefactor     .10000E-03    9.1038        .51588E-06** at limit **
  16  norm          3.9371        2.3796        .16027E-06   -.84216E-04
  17  Prefactor     1.8213        2.4089       -.33737E-09   -.58542E-03
  18  Prefactor     6.2174        4.7262        .50568E-07   -.18962E-03
  19  Prefactor     .10000E-03    6.9686        .87904E-06** at limit **
  20  Prefactor     .10000E-03    33.858        .16808E-05** at limit **
  21  Prefactor     46.057        47.074        .47692E-07   -.12905E-03
  22  Normalizat    .67863        .15929       -.52083E-06   -.26745E-03
  23  Prefactor     1.1376        .18229       -.47102E-07   -.28918E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.23556
  Prefactor  = 2.42371
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 7.9527
  norm       = 0.000100002
  norm       = 2.97471
  Prefactor  = 2.82779
  Prefactor  = 2.81006
  norm       = 2.06463
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.70779
  norm       = 0.604405
  Prefactor  = 0.0001
  norm       = 3.93707
  Prefactor  = 1.8213
  Prefactor  = 6.21736
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.0568
  Normalizat = 0.678626
  Prefactor  = 1.13757
 **********
 **   18 **HESSE 
 **********

 FCN=   5299.451     FROM HESSE     STATUS=OK           376 CALLS     2932 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2356        1.6822        .10930E-03   -1.5486    
   2  Prefactor     2.4237        5.9335        .26269E-03   -1.5397    
   3  Prefactor     .10000E-03    36.376        .39068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.1511        .76071E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.9527        8.9769        .14228E-03   -1.5144    
   6  norm          .10000E-03    7.3996        .15402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.9747        2.0372        .82753E-04   -1.5363    
   8  Prefactor     2.8278        7.9712        .12095E-02   -1.5372    
   9  Prefactor     2.8101        3.7517        .15272E-03   -1.5373    
  10  norm          2.0646        1.2717        .62444E-04   -1.5421    
  11  Prefactor     .10000E-03    7.1609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.2147        .15318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.7078        4.0862        .10835E-03   -1.5190    
  14  norm          .60441        2.1900        .19156E-03   -1.5552    
  15  Prefactor     .10000E-03    9.0959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.9371        2.3787        .84239E-04   -1.5311    
  17  Prefactor     1.8213        5.7514        .15086E-02   -1.5438    
  18  Prefactor     6.2174        4.7252        .13158E-03   -1.5209    
  19  Prefactor     .10000E-03    7.1143        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    33.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     46.057        47.000        .59080E-04   -1.4350    
  22  Normalizat    .67863        .18038        .23645E-03   -1.0474    
  23  Prefactor     1.1376        .20793        .22800E-03   -.88275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0926e-09
Minuit parameter uncertainties:
  1  1.68228
  2  5.93498
  3  0.000529305
  4  1.72771e-06
  5  8.97843
  6  0.000226129
  7  2.0372
  8  7.97423
  9  3.752
  10  1.27175
  11  4.04881e-06
  12  1.06094e-05
  13  4.08637
  14  2.1903
  15  6.84202e-06
  16  2.37875
  17  5.75313
  18  4.72552
  19  2.16055e-05
  20  1.56805e-05
  21  47.038
  22  0.18054
  23  0.208074
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  6.044e-01  2.190e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  1.138e+00  2.081e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  6.786e-01  1.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 26.259 -27.536
Photon Flux Upper Limit: 7.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833993/likelihoodResults_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.txt

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) = 5298.29225976
delta logL = 1.15885248104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5298.28158957
delta logL = 1.16952266976

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71574       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .59444       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5298.282     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      216 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71575        21.178        .96815E-02    .35699E-03
   2  alpha         5.0000        2.5203        .46267    ** at limit **
   3  Normalizat    .59447        .28298        .40863E-01   -.15016E-04
   4  Prefactor     1.2038        .21213        .50338E-01   -.20882E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.71575
  alpha      = 5
  Normalizat = 0.594471
  Prefactor  = 1.2038
 **********
 **   18 **HESSE 
 **********

 FCN=   5298.282     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71575        .54325        .44046E-03   -1.5539    
   2  alpha         5.0000        3.1208        .63245E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .59447        .17797        .25145E-03   -1.0822    
   4  Prefactor     1.2038        .21228        .22254E-03   -.86214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96332e-12
Minuit parameter uncertainties:
  1  0.543249
  2  1.33602e-07
  3  0.178143
  4  0.212431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833993': 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) = 5298.28158953
delta logL = 1.16952270283

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  7.158e-01  5.432e-01  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  5.000e+00  1.336e-07  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  1.204e+00  2.124e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  5.945e-01  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.65
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.11e-08 +/- 4.61e-08
Energy Flux (Free Index): 8.21e-06 +/- 6.21e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/833993/cmap_HighResolution_542073601_542332801_4FGL_J0145.0-2732_daily_bin1168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-05', comment='SUCCESS', energy_flux2='8.21e-06', dlogl='1.17e+00', photon_flux2='6.11e-08', job_status='DONE', time_completed='2021-08-14 16:12:25.159517', photon_index_error2='0.00', photon_index2='5.00', ts='0.09', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='7.26e-08', energy_flux_error2='6.21e-06', EG='0.68', time_epoch_completed='1628982745.16', return_code='0', job_id='833993', GAL2='1.20', EG2='0.59', return_code2='0', photon_flux_error2='4.61e-08', ts2='2.65', photon_index='2.48' WHERE bin_id='1168' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:12:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 833993: <4FGL_J0145.0-2732_daily_bin1168> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:39 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:01:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 16:01:05 2021
Terminated at Sat Aug 14 16:12:26 2021
Results reported at Sat Aug 14 16:12:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1168 26.2585 -27.5363 542073601 542332801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0145.0-2732 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   630.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            707 sec.

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

