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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1504
RA = 26.2585, Dec = -27.5363
tmin = 629164801, tmax = 629424001
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='837180', job_status='RUN', time_executed='2021-08-14 16:14:30.586923', time_epoch_executed='1628982870.59' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1504'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837180

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837180/ft1_4FGL_J0145.0-2732_daily_bin1504.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837180/ft1_4FGL_J0145.0-2732_daily_bin1504.fits outfile=/scratch/kocevski/837180/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1504.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=629164801.0 tmax=629424001.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 9.27
user 3.40
sys 5.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.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/837180/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1504.fits evtable="EVENTS" outfile="/scratch/kocevski/837180/ft1_filtered_4FGL_J0145.0-2732_daily_bin1504.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 6.14
user 0.32
sys 5.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/837180/ft1_filtered_4FGL_J0145.0-2732_daily_bin1504.fits" evtable="EVENTS" scfile=/scratch/kocevski/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.fits sctable="SC_DATA" outfile=/scratch/kocevski/837180/ltcube_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.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/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.fits
.....................!
real 18.23
user 12.00
sys 6.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837180/ft1_filtered_4FGL_J0145.0-2732_daily_bin1504.fits evtable="EVENTS" scfile=/scratch/kocevski/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.fits sctable="SC_DATA" expcube=/scratch/kocevski/837180/ltcube_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.fits outfile=/scratch/kocevski/837180/expmap_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.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/837180/ltcube_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.fits
.....................!
real 198.20
user 185.57
sys 12.00

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/837180/ft1_filtered_4FGL_J0145.0-2732_daily_bin1504.fits scfile=/scratch/kocevski/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.fits outfile=/scratch/kocevski/837180/cmap_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.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 5.59
user 0.37
sys 5.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837180/ft1_filtered_4FGL_J0145.0-2732_daily_bin1504.fits scfile=/scratch/kocevski/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.fits outfile=/scratch/kocevski/837180/cmap_HighResolution_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.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 5.09
user 0.39
sys 4.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/837180/ft1_filtered_4FGL_J0145.0-2732_daily_bin1504.fits evtable="EVENTS" scfile=/scratch/kocevski/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837180/Model_4FGL_J0145.0-2732_daily_bin1504.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/837180/ft1_filtered_4FGL_J0145.0-2732_daily_bin1504.fits.....................!
real 57.01
user 47.62
sys 7.87

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/837180/ft1_filtered_4FGL_J0145.0-2732_daily_bin1504.fits', '/scratch/kocevski/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.fits', expMap='/scratch/kocevski/837180/expmap_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.fits', expCube='/scratch/kocevski/837180/ltcube_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/837180/Model_4FGL_J0145.0-2732_daily_bin1504.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/837180/ft1_filtered_4FGL_J0145.0-2732_daily_bin1504.fits
Spacecraft file(s): /scratch/kocevski/837180/ft2_4FGL_J0145.0-2732_daily_bin1504.fits
Exposure map: /scratch/kocevski/837180/expmap_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.fits
Exposure cube: /scratch/kocevski/837180/ltcube_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/837180/Model_4FGL_J0145.0-2732_daily_bin1504.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) = 6105.5826158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6029       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12053E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.386       1.0000         .10000E-03   10000.    
     6 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .23454       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.988       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .26179E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.2386       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1685       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.1255       1.0000         .10000E-03   10000.    
    14 'norm      '    .95777       1.0000         .10000E-03   10000.    
    15 'Prefactor '    66.421       1.0000         .10000E-03   10000.    
    16 'norm      '    .10225E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2596       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.598       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .71576       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0941       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=   6105.581     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2608 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6032        1.7240       -.99405E-08    .45375E-04
   2  Prefactor     .10000E-03    4.2461       -.38804E-06** at limit **
   3  Prefactor     .10000E-03    10.407        .68369E-07** at limit **
   4  Prefactor     .10000E-03    1.4025        .13614E-06** at limit **
   5  Prefactor     16.415        8.2313        .22055E-05    .12309E-02
   6  norm          .10000E-03    1.6956       -.21638E-05** at limit **
   7  norm          .23258        1.3059        .51933E-07    .53264E-05
   8  Prefactor     19.990        13.726       -.40112E-07    .17294E-03
   9  Prefactor     .10000E-03    1.0788       -.72003E-07** at limit **
  10  norm          .27195E-01    .50182       -.32668E-07    .20520E-03
  11  Prefactor     8.2284        14.549       -.19747E-06   -.56054E-04
  12  norm          1.1686        1.1064       -.30927E-07    .25355E-03
  13  Prefactor     8.1251        3.9542        .43187E-06   -.10761E-02
  14  norm          .95774        2.4638        .32876E-06   -.12561E-03
  15  Prefactor     66.382        38.839       -.58202E-06   -.26139E-03
  16  norm          .10000E-03    .92100        .52045E-07** at limit **
  17  Prefactor     .10000E-03    4.7292       -.28669E-06** at limit **
  18  Prefactor     .10000E-03    1.1915       -.30535E-07** at limit **
  19  Prefactor     3.2589        5.6669        .53891E-06   -.25166E-03
  20  Prefactor     .10000E-03    22.936        .12284E-06** at limit **
  21  Prefactor     22.612        34.690       -.12245E-07    .76734E-04
  22  Normalizat    .71581        .14816       -.99591E-07    .26580E-03
  23  Prefactor     1.0940        .17158       -.43416E-06    .30107E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.60325
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.4154
  norm       = 0.000100003
  norm       = 0.232576
  Prefactor  = 19.9902
  Prefactor  = 0.0001
  norm       = 0.0271952
  Prefactor  = 8.22842
  norm       = 1.16863
  Prefactor  = 8.1251
  norm       = 0.957737
  Prefactor  = 66.3819
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.25887
  Prefactor  = 0.0001
  Prefactor  = 22.6123
  Normalizat = 0.715807
  Prefactor  = 1.09404
 **********
 **   18 **HESSE 
 **********

 FCN=   6105.581     FROM HESSE     STATUS=OK           380 CALLS     2988 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6032        1.7301        .10370E-03   -1.5455    
   2  Prefactor     .10000E-03    10.327        .30652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.6054        .17946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.415        8.9948        .98943E-04   -1.4897    
   6  norm          .10000E-03    3.1912        .17587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .23258        4.3262        .16421E-02   -1.5612    
   8  Prefactor     19.990        13.599        .89587E-04   -1.4813    
   9  Prefactor     .10000E-03    1.0852        .79220E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .27195E-01    4.7018        .10679E-02   -1.5675    
  11  Prefactor     8.2284        14.532        .13968E-03   -1.5134    
  12  norm          1.1686        1.1185        .76384E-04   -1.5492    
  13  Prefactor     8.1251        3.9073        .50654E-03   -1.5138    
  14  norm          .95774        2.3868        .17969E-03   -1.5512    
  15  Prefactor     66.382        38.631        .24623E-03   -1.4077    
  16  norm          .10000E-03    2.3497        .14561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.7481        .16583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.1958        .83265E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.2589        5.6145        .22274E-03   -1.5347    
  20  Prefactor     .10000E-03    23.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.612        34.545        .84260E-04   -1.4757    
  22  Normalizat    .71581        .16771        .22851E-03   -1.0327    
  23  Prefactor     1.0940        .19824        .23095E-03   -.89657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56922e-09
Minuit parameter uncertainties:
  1  1.73016
  2  0.000242386
  3  1.45172e-05
  4  3.11418e-05
  5  8.99552
  6  0.000204054
  7  2.00589
  8  13.6011
  9  1.06864e-06
  10  0.71391
  11  14.5377
  12  1.11854
  13  3.90746
  14  2.38699
  15  38.6452
  16  7.92905e-06
  17  3.33001e-05
  18  6.63696e-07
  19  5.61545
  20  2.59101e-05
  21  34.5756
  22  0.167827
  23  0.198377
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  9.577e-01  2.387e+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.094e+00  1.984e-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:  7.158e-01  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/837180/likelihoodResults_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.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) = 6104.77750067
delta logL = 0.803672988616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6104.75482096
delta logL = 0.826352701679

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62250       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .65192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1467       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=   6104.755     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      291 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62217        16.510        .10666E-01   -.29182E-03
   2  alpha         5.0000        2.7101        .46267    ** at limit **
   3  Normalizat    .65203        .69667E-01    .41645E-01   -.26735E-03
   4  Prefactor     1.1465        .77900E-01    .36032E-01   -.47929E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.622174
  alpha      = 5
  Normalizat = 0.652026
  Prefactor  = 1.14649
 **********
 **   18 **HESSE 
 **********

 FCN=   6104.755     FROM HESSE     STATUS=OK            35 CALLS      326 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62217        .71118        .48555E-03   -1.5550    
   2  alpha         5.0000        4.2423        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .65203        .17005        .23840E-03   -1.0582    
   4  Prefactor     1.1465        .20307        .22624E-03   -.87994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77944e-10
Minuit parameter uncertainties:
  1  0.711191
  2  6.22365e-06
  3  0.170189
  4  0.203203
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837180': 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) = 6104.75481952
delta logL = 0.82635414318

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  6.222e-01  7.112e-01  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  5.000e+00  6.224e-06  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.146e+00  2.032e-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.520e-01  1.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.06
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.31e-08 +/- 6.04e-08
Energy Flux (Free Index): 7.13e-06 +/- 8.13e-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/837180/cmap_HighResolution_629164801_629424001_4FGL_J0145.0-2732_daily_bin1504.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', comment='SUCCESS', energy_flux2='7.13e-06', dlogl='8.26e-01', photon_flux2='5.31e-08', job_status='DONE', time_completed='2021-08-14 16:26:46.698024', photon_index_error2='0.00', photon_index2='5.00', ts='0.21', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='8.05e-08', energy_flux_error2='8.13e-06', EG='0.72', time_epoch_completed='1628983606.7', return_code='0', job_id='837180', GAL2='1.15', EG2='0.65', return_code2='0', photon_flux_error2='6.04e-08', ts2='2.06', photon_index='2.48' WHERE bin_id='1504' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:26:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 837180: <4FGL_J0145.0-2732_daily_bin1504> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1504> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 16:10:30 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:11:29 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:11:29 2021
Terminated at Sat Aug 14 16:26:48 2021
Results reported at Sat Aug 14 16:26:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1504 26.2585 -27.5363 629164801 629424001 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 :                                   806.71 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            978 sec.

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

