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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1606
RA = 26.2585, Dec = -27.5363
tmin = 655603201, tmax = 655862401
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='142346', job_status='RUN', time_executed='2021-12-07 12:17:56.712672', time_epoch_executed='1638908276.71' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1606'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142346

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142346/ft1_4FGL_J0145.0-2732_daily_bin1606.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142346/ft2_4FGL_J0145.0-2732_daily_bin1606.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142346/ft1_4FGL_J0145.0-2732_daily_bin1606.fits outfile=/scratch/kocevski/142346/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1606.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=655603201.0 tmax=655862401.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.34
user 4.10
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142346/ft1_filtered_4FGL_J0145.0-2732_daily_bin1606.fits" evtable="EVENTS" scfile=/scratch/kocevski/142346/ft2_4FGL_J0145.0-2732_daily_bin1606.fits sctable="SC_DATA" outfile=/scratch/kocevski/142346/ltcube_655603201_655862401_4FGL_J0145.0-2732_daily_bin1606.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/142346/ft2_4FGL_J0145.0-2732_daily_bin1606.fits
.....................!
real 14.53
user 14.12
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142346/ft1_filtered_4FGL_J0145.0-2732_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/142346/ft2_4FGL_J0145.0-2732_daily_bin1606.fits sctable="SC_DATA" expcube=/scratch/kocevski/142346/ltcube_655603201_655862401_4FGL_J0145.0-2732_daily_bin1606.fits outfile=/scratch/kocevski/142346/expmap_655603201_655862401_4FGL_J0145.0-2732_daily_bin1606.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/142346/ltcube_655603201_655862401_4FGL_J0145.0-2732_daily_bin1606.fits
.....................!
real 191.91
user 186.08
sys 5.20

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/142346/ft1_filtered_4FGL_J0145.0-2732_daily_bin1606.fits scfile=/scratch/kocevski/142346/ft2_4FGL_J0145.0-2732_daily_bin1606.fits outfile=/scratch/kocevski/142346/cmap_655603201_655862401_4FGL_J0145.0-2732_daily_bin1606.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 0.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/142346/ft1_filtered_4FGL_J0145.0-2732_daily_bin1606.fits scfile=/scratch/kocevski/142346/ft2_4FGL_J0145.0-2732_daily_bin1606.fits outfile=/scratch/kocevski/142346/cmap_HighResolution_655603201_655862401_4FGL_J0145.0-2732_daily_bin1606.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 0.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/142346/ft1_filtered_4FGL_J0145.0-2732_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/142346/ft2_4FGL_J0145.0-2732_daily_bin1606.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/142346/Model_4FGL_J0145.0-2732_daily_bin1606.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/142346/ft1_filtered_4FGL_J0145.0-2732_daily_bin1606.fits.....................!
real 38.63
user 37.10
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9141       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .63233       1.0000         .10000E-03   10000.    
     7 'norm      '    1.5357       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.113       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.6906       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4313       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.021       1.0000         .10000E-03   10000.    
    12 'norm      '    .11355E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .36783       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4218       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.814       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2463       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .30554E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .62418       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2498       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=   4096.263     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2584 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9158        4.8360        .10631E-05   -.88237E-04
   2  Prefactor     .10000E-03    2.6956        .21584E-07** at limit **
   3  Prefactor     .10000E-03    5.1480       -.20187E-05** at limit **
   4  Prefactor     .10000E-03    4.4656        .47959E-06** at limit **
   5  Prefactor     .10000E-03    11.137        .15648E-06** at limit **
   6  norm          .63174        2.1250       -.36739E-06   -.79913E-03
   7  norm          1.5360        1.5371        .12050E-07    .29854E-03
   8  Prefactor     29.116        17.791        .13040E-05    .16921E-03
   9  Prefactor     2.6934        4.7714       -.95197E-06   -.22655E-03
  10  norm          1.4322        1.7707       -.98646E-07   -.28295E-03
  11  Prefactor     13.026        27.621       -.17100E-05   -.36433E-06
  12  norm          .10000E-03    1.9440        .89433E-06** at limit **
  13  Prefactor     .10000E-03    1.4562       -.25056E-07** at limit **
  14  norm          .36358        4.1434       -.45839E-05    .10527E-02
  15  Prefactor     .10000E-03    19.269       -.41432E-07** at limit **
  16  norm          3.4231        3.9276       -.35330E-06   -.23650E-03
  17  Prefactor     20.815        16.374        .92200E-06    .13913E-03
  18  Prefactor     .10000E-03    3.0736       -.17993E-07** at limit **
  19  Prefactor     3.2270        6.3421       -.10210E-05   -.24906E-03
  20  Prefactor     .10000E-03    86.110        .11925E-05** at limit **
  21  Prefactor     .10000E-03    242.47       -.66674E-05** at limit **
  22  Normalizat    .62405        .19137        .19399E-05    .35761E-03
  23  Prefactor     1.2496        .21634       -.23228E-06    .40374E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.91579
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.631739
  norm       = 1.536
  Prefactor  = 29.1164
  Prefactor  = 2.69335
  norm       = 1.4322
  Prefactor  = 13.0264
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.363581
  Prefactor  = 0.0001
  norm       = 3.42312
  Prefactor  = 20.8155
  Prefactor  = 0.0001
  Prefactor  = 3.22698
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.624049
  Prefactor  = 1.24958
 **********
 **   18 **HESSE 
 **********

 FCN=   4096.263     FROM HESSE     STATUS=OK           372 CALLS     2956 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9158        4.8036        .12208E-03   -1.5221    
   2  Prefactor     .10000E-03    2.7000        .10262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.1815        .14220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.6546        .26339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .63174        1.9986        .15711E-02   -1.5549    
   7  norm          1.5360        1.5535        .77092E-04   -1.5460    
   8  Prefactor     29.116        17.847        .74253E-04   -1.4628    
   9  Prefactor     2.6934        4.6390        .16901E-03   -1.5380    
  10  norm          1.4322        1.7453        .91276E-04   -1.5469    
  11  Prefactor     13.026        27.765        .11101E-03   -1.4986    
  12  norm          .10000E-03    5.3032        .16801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.4642        .75364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .36358        6.2726        .20985E-02   -1.5587    
  15  Prefactor     .10000E-03    19.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4231        3.9437        .12968E-03   -1.5338    
  17  Prefactor     20.815        16.398        .87792E-04   -1.4795    
  18  Prefactor     .10000E-03    3.0890        .10951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.2270        6.4208        .21795E-03   -1.5349    
  20  Prefactor     .10000E-03    86.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    247.60        .19808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .62405        .22992        .26169E-03   -1.0697    
  23  Prefactor     1.2496        .26230        .22590E-03   -.84819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9376e-09
Minuit parameter uncertainties:
  1  4.80391
  2  6.91281e-07
  3  2.61016e-06
  4  2.36563e-05
  5  3.10891e-05
  6  1.99885
  7  1.55358
  8  17.8506
  9  4.63957
  10  1.7454
  11  27.793
  12  0.00015416
  13  2.39514e-07
  14  3.02029
  15  6.29503e-06
  16  3.94397
  17  16.4017
  18  4.23586e-06
  19  6.42219
  20  5.55103e-05
  21  0.000358604
  22  0.23027
  23  0.262577
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.636e-01  3.020e+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.250e+00  2.626e-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.240e-01  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/142346/likelihoodResults_655603201_655862401_4FGL_J0145.0-2732_daily_bin1606.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) = 4096.26184722
delta logL = 0.000990567815279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4096.2616639
delta logL = 0.00117388837771

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38457       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3536       1.0000          .0000       5.0000    
     3 'Normalizat'    .62441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2490       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4096.262     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      296 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38476        5.8543        .20595E-02    .27868E-02
   2  alpha         2.3534        3.5287        .54257E-01   -.61993E-05
   3  Normalizat    .62438        .21926        .26162E-03   -.49104E-05
   4  Prefactor     1.2491        .26064        .22594E-03   -.78928E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.384759
  alpha      = 2.35338
  Normalizat = 0.624375
  Prefactor  = 1.24908
 **********
 **   18 **HESSE 
 **********

 FCN=   4096.262     FROM HESSE     STATUS=OK            27 CALLS      323 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38476        5.7176        .41190E-03   -1.5584    
   2  alpha         2.3534        3.5239        .21703E-02   -.58683E-01
   3  Normalizat    .62438        .21949        .10465E-04   -1.0696    
   4  Prefactor     1.2491        .26081        .45188E-04   -.84834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.34571e-11
Minuit parameter uncertainties:
  1  2.96638
  2  2.52692
  3  0.219796
  4  0.261078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142346': 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) = 4096.26166388
delta logL = 0.00117390863306

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.848e-01  2.966e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.353e+00  2.527e+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.249e+00  2.611e-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.244e-01  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/142346/cmap_HighResolution_655603201_655862401_4FGL_J0145.0-2732_daily_bin1606.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.56e-05', job_status='DONE', photon_flux_upper_limit='9.74e-08', time_completed='2021-12-07 12:26:56.255985', job_id='142346', GAL2='1.25', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1638908816.26', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='1.17e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1606' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:26:56 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 142346: <4FGL_J0145.0-2732_daily_bin1606> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1606> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec  7 12:15:24 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:16:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:16:48 2021
Terminated at Tue Dec  7 12:26:57 2021
Results reported at Tue Dec  7 12:26:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1606 26.2585 -27.5363 655603201 655862401 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 :                                   538.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            693 sec.

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

