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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1365
RA = 26.2585, Dec = -27.5363
tmin = 593136001, tmax = 593395201
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='834261', job_status='RUN', time_executed='2021-08-14 16:06:11.845013', time_epoch_executed='1628982371.85' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834261

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834261/ft1_4FGL_J0145.0-2732_daily_bin1365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834261/ft2_4FGL_J0145.0-2732_daily_bin1365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834261/ft1_4FGL_J0145.0-2732_daily_bin1365.fits outfile=/scratch/kocevski/834261/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1365.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=593136001.0 tmax=593395201.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 6.05
user 4.96
sys 1.06

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834261/ft1_filtered_4FGL_J0145.0-2732_daily_bin1365.fits" evtable="EVENTS" scfile=/scratch/kocevski/834261/ft2_4FGL_J0145.0-2732_daily_bin1365.fits sctable="SC_DATA" outfile=/scratch/kocevski/834261/ltcube_593136001_593395201_4FGL_J0145.0-2732_daily_bin1365.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/834261/ft2_4FGL_J0145.0-2732_daily_bin1365.fits
.....................!
real 13.61
user 12.26
sys 1.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834261/ft1_filtered_4FGL_J0145.0-2732_daily_bin1365.fits evtable="EVENTS" scfile=/scratch/kocevski/834261/ft2_4FGL_J0145.0-2732_daily_bin1365.fits sctable="SC_DATA" expcube=/scratch/kocevski/834261/ltcube_593136001_593395201_4FGL_J0145.0-2732_daily_bin1365.fits outfile=/scratch/kocevski/834261/expmap_593136001_593395201_4FGL_J0145.0-2732_daily_bin1365.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/834261/ltcube_593136001_593395201_4FGL_J0145.0-2732_daily_bin1365.fits
.....................!
real 193.42
user 186.37
sys 6.53

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/834261/ft1_filtered_4FGL_J0145.0-2732_daily_bin1365.fits scfile=/scratch/kocevski/834261/ft2_4FGL_J0145.0-2732_daily_bin1365.fits outfile=/scratch/kocevski/834261/cmap_593136001_593395201_4FGL_J0145.0-2732_daily_bin1365.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 2.09
user 0.38
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834261/ft1_filtered_4FGL_J0145.0-2732_daily_bin1365.fits scfile=/scratch/kocevski/834261/ft2_4FGL_J0145.0-2732_daily_bin1365.fits outfile=/scratch/kocevski/834261/cmap_HighResolution_593136001_593395201_4FGL_J0145.0-2732_daily_bin1365.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.47
user 0.38
sys 0.99

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834261/ft1_filtered_4FGL_J0145.0-2732_daily_bin1365.fits evtable="EVENTS" scfile=/scratch/kocevski/834261/ft2_4FGL_J0145.0-2732_daily_bin1365.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834261/Model_4FGL_J0145.0-2732_daily_bin1365.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/834261/ft1_filtered_4FGL_J0145.0-2732_daily_bin1365.fits.....................!
real 51.56
user 49.00
sys 2.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10228E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.774       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .73829       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6437       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.614       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17028       1.0000         .10000E-03   10000.    
    10 'norm      '    2.8525       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.466       1.0000         .10000E-03   10000.    
    12 'norm      '    .14228E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .89121       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0007       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1610       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10923E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6941       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.791       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90905       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .67753       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=   5996.282     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2606 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0942        .32975E-01** at limit **
   2  Prefactor     13.769        6.3731        .26981E-02    .10515E-02
   3  Prefactor     .10000E-03    14.423        .90712E-02** at limit **
   4  Prefactor     .10000E-03    1.2692        .90712E-02** at limit **
   5  Prefactor     .10000E-03    2.4561        .90712E-02** at limit **
   6  norm          .73815        1.0457        .18524E-01    .12352E-03
   7  norm          3.6431        1.8761        .52908E-02   -.89294E-04
   8  Prefactor     11.611        12.438        .29388E-02    .51215E-03
   9  Prefactor     .16982        1.3926        .49893E-01    .61134E-03
  10  norm          2.8524        1.2476        .60181E-02    .17306E-03
  11  Prefactor     32.466        21.930        .17581E-02    .16067E-03
  12  norm          .10000E-03    .78174        .38961E-01** at limit **
  13  Prefactor     .89028        1.7915        .27099E-01    .61005E-03
  14  norm          1.0013        2.1994        .13894E-01    .11400E-02
  15  Prefactor     .10000E-03    15.047        .90712E-02** at limit **
  16  norm          1.1612        1.4150        .10689E-01    .60428E-03
  17  Prefactor     .10000E-03    5.0532        .90712E-02** at limit **
  18  Prefactor     .10000E-03    4.7207        .90712E-02** at limit **
  19  Prefactor     3.6940        4.0175        .52532E-02    .25509E-03
  20  Prefactor     .10000E-03    11.539        .90712E-02** at limit **
  21  Prefactor     16.791        29.289        .24435E-02    .89375E-03
  22  Normalizat    .90918        .13259        .45017E-01   -.38313E-04
  23  Prefactor     .67739        .14951        .42101E-01   -.21730E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 13.7692
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.738148
  norm       = 3.64312
  Prefactor  = 11.6108
  Prefactor  = 0.169821
  norm       = 2.85244
  Prefactor  = 32.4665
  norm       = 0.0001
  Prefactor  = 0.890282
  norm       = 1.00126
  Prefactor  = 0.0001
  norm       = 1.16116
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.69404
  Prefactor  = 0.0001
  Prefactor  = 16.7906
  Normalizat = 0.909181
  Prefactor  = 0.677386
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.282     FROM HESSE     STATUS=OK           382 CALLS     2988 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8589        .15783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.769        6.3617        .10792E-03   -1.4966    
   3  Prefactor     .10000E-03    14.978        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.3121        .17029E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.4665        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .73815        .90083        .90524E-03   -1.5536    
   7  norm          3.6431        1.8749        .72627E-04   -1.5326    
   8  Prefactor     11.611        12.337        .11755E-03   -1.5026    
   9  Prefactor     .16982        6.7422        .17267E-02   -1.5626    
  10  norm          2.8524        1.2457        .55060E-04   -1.5370    
  11  Prefactor     32.466        21.806        .70324E-04   -1.4568    
  12  norm          .10000E-03    5.2287        .12826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .89028        1.4290        .14077E-02   -1.5519    
  14  norm          1.0013        2.1586        .15554E-03   -1.5508    
  15  Prefactor     .10000E-03    15.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1612        1.3793        .98368E-04   -1.5492    
  17  Prefactor     .10000E-03    5.0897        .16996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.9186        .32801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6940        4.0095        .15431E-03   -1.5324    
  20  Prefactor     .10000E-03    11.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.791        29.260        .97742E-04   -1.4888    
  22  Normalizat    .90918        .15480        .18885E-03   -.96138    
  23  Prefactor     .67739        .17623        .25480E-03   -1.0442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45412e-08
Minuit parameter uncertainties:
  1  3.48749e-07
  2  6.36204
  3  0.000131526
  4  2.75924e-06
  5  8.95082e-07
  6  0.900842
  7  1.87492
  8  12.3394
  9  2.13969
  10  1.24576
  11  21.8115
  12  3.9894e-05
  13  1.42909
  14  2.15877
  15  0.00012682
  16  1.37934
  17  8.07418e-05
  18  3.72795e-05
  19  4.00974
  20  1.78532e-05
  21  29.2851
  22  0.154876
  23  0.176371
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.001e+00  2.159e+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:  6.774e-01  1.764e-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:  9.092e-01  1.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/834261/likelihoodResults_593136001_593395201_4FGL_J0145.0-2732_daily_bin1365.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) = 5995.00456051
delta logL = 1.27719315174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5994.97638798
delta logL = 1.30536567922

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .70622       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.8222       1.0000          .0000       5.0000    
     3 'Normalizat'    .85083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72279       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=   5994.976     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70244        .88475        .97141E-02    .77636E-03
   2  alpha         4.8276        3.9693        .50000       -.66816E-04
   3  Normalizat    .85107        .13251        .44270E-01    .32547E-05
   4  Prefactor     .72252        .15119        .42704E-01    .96990E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.702444
  alpha      = 4.82762
  Normalizat = 0.851067
  Prefactor  = 0.722524
 **********
 **   18 **HESSE 
 **********

 FCN=   5994.976     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70244        1.4956        .44176E-03   -1.5540    
   2  alpha         4.8276        4.8111        .62775E-01    1.1973    
   3  Normalizat    .85107        .15353        .19435E-03   -.98202    
   4  Prefactor     .72252        .17793        .24742E-03   -1.0265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.95406e-09
Minuit parameter uncertainties:
  1  1.49571
  2  2.15273
  3  0.153611
  4  0.178075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834261': 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) = 5994.97638251
delta logL = 1.30537115323

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  7.024e-01  1.496e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  4.828e+00  2.153e+00  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:  7.225e-01  1.781e-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:  8.511e-01  1.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.02
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 4.83 +/- 2.15
Photon Flux (Free Index): 5.12e-08 +/- 3.62e-08
Energy Flux (Free Index): 6.98e-06 +/- 5.23e-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/834261/cmap_HighResolution_593136001_593395201_4FGL_J0145.0-2732_daily_bin1365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.82e-05', comment='SUCCESS', energy_flux2='6.98e-06', dlogl='1.31e+00', photon_flux2='5.12e-08', job_status='DONE', time_completed='2021-08-14 16:17:27.099175', photon_index_error2='2.15', photon_index2='4.83', ts='0.26', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='6.91e-08', energy_flux_error2='5.23e-06', EG='0.91', time_epoch_completed='1628983047.1', return_code='0', job_id='834261', GAL2='0.72', EG2='0.85', return_code2='0', photon_flux_error2='3.62e-08', ts2='3.02', photon_index='2.48' WHERE bin_id='1365' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:17:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 834261: <4FGL_J0145.0-2732_daily_bin1365> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1365> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:01:01 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:04:09 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:04:09 2021
Terminated at Sat Aug 14 16:17:28 2021
Results reported at Sat Aug 14 16:17:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1365 26.2585 -27.5363 593136001 593395201 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 :                                   684.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            987 sec.

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

