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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1521
RA = 26.2585, Dec = -27.5363
tmin = 633571201, tmax = 633830401
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='835505', job_status='RUN', time_executed='2021-08-14 16:09:18.357341', time_epoch_executed='1628982558.36' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1521'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835505

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835505/ft1_4FGL_J0145.0-2732_daily_bin1521.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835505/ft2_4FGL_J0145.0-2732_daily_bin1521.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835505/ft1_4FGL_J0145.0-2732_daily_bin1521.fits outfile=/scratch/kocevski/835505/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1521.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=633571201.0 tmax=633830401.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 11.31
user 3.34
sys 7.93

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835505/ft1_filtered_4FGL_J0145.0-2732_daily_bin1521.fits" evtable="EVENTS" scfile=/scratch/kocevski/835505/ft2_4FGL_J0145.0-2732_daily_bin1521.fits sctable="SC_DATA" outfile=/scratch/kocevski/835505/ltcube_633571201_633830401_4FGL_J0145.0-2732_daily_bin1521.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/835505/ft2_4FGL_J0145.0-2732_daily_bin1521.fits
.....................!
real 20.53
user 11.52
sys 8.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835505/ft1_filtered_4FGL_J0145.0-2732_daily_bin1521.fits evtable="EVENTS" scfile=/scratch/kocevski/835505/ft2_4FGL_J0145.0-2732_daily_bin1521.fits sctable="SC_DATA" expcube=/scratch/kocevski/835505/ltcube_633571201_633830401_4FGL_J0145.0-2732_daily_bin1521.fits outfile=/scratch/kocevski/835505/expmap_633571201_633830401_4FGL_J0145.0-2732_daily_bin1521.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/835505/ltcube_633571201_633830401_4FGL_J0145.0-2732_daily_bin1521.fits
.....................!
real 200.57
user 185.26
sys 14.43

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/835505/ft1_filtered_4FGL_J0145.0-2732_daily_bin1521.fits scfile=/scratch/kocevski/835505/ft2_4FGL_J0145.0-2732_daily_bin1521.fits outfile=/scratch/kocevski/835505/cmap_633571201_633830401_4FGL_J0145.0-2732_daily_bin1521.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 8.28
user 0.38
sys 7.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835505/ft1_filtered_4FGL_J0145.0-2732_daily_bin1521.fits scfile=/scratch/kocevski/835505/ft2_4FGL_J0145.0-2732_daily_bin1521.fits outfile=/scratch/kocevski/835505/cmap_HighResolution_633571201_633830401_4FGL_J0145.0-2732_daily_bin1521.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 8.30
user 0.39
sys 7.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835505/ft1_filtered_4FGL_J0145.0-2732_daily_bin1521.fits evtable="EVENTS" scfile=/scratch/kocevski/835505/ft2_4FGL_J0145.0-2732_daily_bin1521.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835505/Model_4FGL_J0145.0-2732_daily_bin1521.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/835505/ft1_filtered_4FGL_J0145.0-2732_daily_bin1521.fits.....................!
real 61.72
user 46.30
sys 11.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5307       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.985       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.155       1.0000         .10000E-03   10000.    
     6 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1364       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.043       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7362       1.0000         .10000E-03   10000.    
    10 'norm      '    2.6478       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.988       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3335       1.0000         .10000E-03   10000.    
    14 'norm      '    .10291E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.9949       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.727       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    75.557       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1835       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .70446       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1480       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=   5919.675     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2540 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5306        2.3735        .10080E-05   -.97952E-03
   2  Prefactor     .10000E-03    3.1689       -.73436E-06** at limit **
   3  Prefactor     15.986        11.238       -.51098E-06    .64703E-04
   4  Prefactor     .10000E-03    1.2053        .34870E-07** at limit **
   5  Prefactor     17.156        9.6195       -.18190E-05   -.12187E-03
   6  norm          .10000E-03    1.4942        .89084E-06** at limit **
   7  norm          1.1364        1.6374       -.11579E-06   -.37718E-03
   8  Prefactor     19.045        14.079        .98637E-06   -.21692E-03
   9  Prefactor     1.7362        3.3591       -.86056E-07   -.92650E-03
  10  norm          2.6478        1.1761        .15450E-08   -.81438E-04
  11  Prefactor     32.985        28.659       -.41714E-05    .35931E-03
  12  norm          .10000E-03    .77833       -.41070E-07** at limit **
  13  Prefactor     2.3339        3.1300       -.29735E-06   -.26431E-03
  14  norm          .10000E-03    1.3552       -.22864E-06** at limit **
  15  Prefactor     .10000E-03    23.887       -.14782E-06** at limit **
  16  norm          2.9949        1.9176       -.29218E-07   -.10314E-03
  17  Prefactor     10.723        10.495       -.18202E-05   -.12450E-02
  18  Prefactor     .10000E-03    3.9409        .31080E-06** at limit **
  19  Prefactor     .10000E-03    1.6289       -.15301E-06** at limit **
  20  Prefactor     75.558        50.356       -.98655E-10   -.14410E-04
  21  Prefactor     3.1832        26.196       -.10783E-05   -.40210E-04
  22  Normalizat    .70442        .15266        .13286E-05   -.90545E-04
  23  Prefactor     1.1481        .17992       -.87630E-07   -.16229E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53056
  Prefactor  = 0.0001
  Prefactor  = 15.9855
  Prefactor  = 0.0001
  Prefactor  = 17.1561
  norm       = 0.0001
  norm       = 1.13639
  Prefactor  = 19.0447
  Prefactor  = 1.7362
  norm       = 2.64785
  Prefactor  = 32.9847
  norm       = 0.0001
  Prefactor  = 2.3339
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.99488
  Prefactor  = 10.7233
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 75.5575
  Prefactor  = 3.18322
  Normalizat = 0.704423
  Prefactor  = 1.14811
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.675     FROM HESSE     STATUS=OK           372 CALLS     2912 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5306        2.3134        .10920E-03   -1.5390    
   2  Prefactor     .10000E-03    3.1980        .13344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.986        11.217        .10018E-03   -1.4908    
   4  Prefactor     .10000E-03    1.2138        .82455E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.156        9.1027        .96700E-04   -1.4879    
   6  norm          .10000E-03    3.1374        .17005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1364        1.5910        .11239E-03   -1.5495    
   8  Prefactor     19.045        13.958        .91783E-04   -1.4835    
   9  Prefactor     1.7362        3.3269        .18341E-03   -1.5444    
  10  norm          2.6478        1.1760        .53995E-04   -1.5383    
  11  Prefactor     32.985        27.792        .69767E-04   -1.4559    
  12  norm          .10000E-03    .79985        .13236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3339        3.1303        .14937E-03   -1.5402    
  14  norm          .10000E-03    2.4098        .17190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9949        1.9152        .82488E-04   -1.5362    
  17  Prefactor     10.723        11.837        .61164E-03   -1.5053    
  18  Prefactor     .10000E-03    4.0396        .29791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.6370        .95850E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     75.558        50.362        .46193E-04   -1.3967    
  21  Prefactor     3.1832        26.277        .22712E-03   -1.5351    
  22  Normalizat    .70442        .17949        .24015E-03   -1.0372    
  23  Prefactor     1.1481        .21321        .23547E-03   -.87944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29491e-09
Minuit parameter uncertainties:
  1  2.31351
  2  2.8192e-05
  3  11.2183
  4  1.83107e-07
  5  9.10344
  6  5.64609e-05
  7  1.59105
  8  13.96
  9  3.32723
  10  1.176
  11  27.8025
  12  1.48729e-06
  13  3.13049
  14  4.71847e-06
  15  2.6839e-05
  16  1.91527
  17  11.8394
  18  3.44858e-07
  19  3.78249e-06
  20  50.39
  21  18.3024
  22  0.179637
  23  0.213365
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  4.718e-06  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.148e+00  2.134e-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.044e-01  1.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/835505/likelihoodResults_633571201_633830401_4FGL_J0145.0-2732_daily_bin1521.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): 102
logL (Free Index) = 5919.67649675
delta logL = -0.00197825318992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5919.67451864
delta logL = -1.40202246257e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11222E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5340       1.0000          .0000       5.0000    
     3 'Normalizat'    .70435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1483       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=   5919.562     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      290 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25888        .56909        .90712E-02   -.20621E-02
   2  alpha         4.7043        3.5853        .41156        .34286E-04
   3  Normalizat    .67838        .15491        .42349E-01   -.14383E-04
   4  Prefactor     1.1677        .18259        .52881E-01   -.43583E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.258875
  alpha      = 4.70435
  Normalizat = 0.678383
  Prefactor  = 1.16772
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.562     FROM HESSE     STATUS=OK            33 CALLS      323 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25888        .80762        .80188E-04   -1.5810    
   2  alpha         4.7043        4.1501        .14265        2.0621    
   3  Normalizat    .67838        .18157        .24452E-03   -1.0475    
   4  Prefactor     1.1677        .21702        .23380E-03   -.87330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87247e-10
Minuit parameter uncertainties:
  1  0.807649
  2  2.96705
  3  0.181734
  4  0.217189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835505': 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) = 5919.56156048
delta logL = 0.11295801654

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  2.589e-01  8.076e-01  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  4.704e+00  2.967e+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:  1.168e+00  2.172e-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.784e-01  1.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 26.259 -27.536

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/835505/cmap_HighResolution_633571201_633830401_4FGL_J0145.0-2732_daily_bin1521.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-05', job_status='DONE', photon_flux_upper_limit='5.86e-08', time_completed='2021-08-14 16:21:51.987465', job_id='835505', GAL2='1.17', fit_tolerance='1e-08', EG2='0.68', EG='0.70', time_epoch_completed='1628983311.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.13e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1521' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:21:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 835505: <4FGL_J0145.0-2732_daily_bin1521> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1521> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 14 16:05:26 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:06:11 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:06:11 2021
Terminated at Sat Aug 14 16:21:53 2021
Results reported at Sat Aug 14 16:21:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1521 26.2585 -27.5363 633571201 633830401 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 :                                   865.53 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             242.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            987 sec.

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

