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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1433
RA = 26.2585, Dec = -27.5363
tmin = 610761601, tmax = 611020801
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='834363', job_status='RUN', time_executed='2021-08-14 16:06:32.396836', time_epoch_executed='1628982392.4' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1433'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834363

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834363/ft1_4FGL_J0145.0-2732_daily_bin1433.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834363/ft2_4FGL_J0145.0-2732_daily_bin1433.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834363/ft1_4FGL_J0145.0-2732_daily_bin1433.fits outfile=/scratch/kocevski/834363/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1433.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=610761601.0 tmax=611020801.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.50
user 3.33
sys 1.09

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834363/ft1_filtered_4FGL_J0145.0-2732_daily_bin1433.fits" evtable="EVENTS" scfile=/scratch/kocevski/834363/ft2_4FGL_J0145.0-2732_daily_bin1433.fits sctable="SC_DATA" outfile=/scratch/kocevski/834363/ltcube_610761601_611020801_4FGL_J0145.0-2732_daily_bin1433.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/834363/ft2_4FGL_J0145.0-2732_daily_bin1433.fits
.....................!
real 13.12
user 11.74
sys 1.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834363/ft1_filtered_4FGL_J0145.0-2732_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/834363/ft2_4FGL_J0145.0-2732_daily_bin1433.fits sctable="SC_DATA" expcube=/scratch/kocevski/834363/ltcube_610761601_611020801_4FGL_J0145.0-2732_daily_bin1433.fits outfile=/scratch/kocevski/834363/expmap_610761601_611020801_4FGL_J0145.0-2732_daily_bin1433.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/834363/ltcube_610761601_611020801_4FGL_J0145.0-2732_daily_bin1433.fits
.....................!
real 191.30
user 185.33
sys 5.56

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/834363/ft1_filtered_4FGL_J0145.0-2732_daily_bin1433.fits scfile=/scratch/kocevski/834363/ft2_4FGL_J0145.0-2732_daily_bin1433.fits outfile=/scratch/kocevski/834363/cmap_610761601_611020801_4FGL_J0145.0-2732_daily_bin1433.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=26.2585 yref=-27.5363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.45
user 0.36
sys 1.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834363/ft1_filtered_4FGL_J0145.0-2732_daily_bin1433.fits scfile=/scratch/kocevski/834363/ft2_4FGL_J0145.0-2732_daily_bin1433.fits outfile=/scratch/kocevski/834363/cmap_HighResolution_610761601_611020801_4FGL_J0145.0-2732_daily_bin1433.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.41
user 0.38
sys 1.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834363/ft1_filtered_4FGL_J0145.0-2732_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/834363/ft2_4FGL_J0145.0-2732_daily_bin1433.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834363/Model_4FGL_J0145.0-2732_daily_bin1433.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/834363/ft1_filtered_4FGL_J0145.0-2732_daily_bin1433.fits.....................!
real 50.64
user 48.00
sys 2.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .90816       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.1391       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18306E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .95381       1.0000         .10000E-03   10000.    
     7 'norm      '    1.8103       1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.352       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1536       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5558       1.0000         .10000E-03   10000.    
    14 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.6330       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17149E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0737       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .72195       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5700.897     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2266 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9273         .0000    ** at limit **
   2  Prefactor     .90081        6.9005         .0000        .27947E-01
   3  Prefactor     .10001E-03    6.6730         .0000    ** at limit **
   4  Prefactor     7.1388        3.9536         .0000        .10115E-01
   5  Prefactor     .10001E-03    7.3314         .0000    ** at limit **
   6  norm          .95462        1.8640         .0000        .49094E-03
   7  norm          1.8100        1.6450         .0000        .83148E-04
   8  Prefactor     28.373        14.177         .0000        .83584E-02
   9  Prefactor     .10000E-03    2.8475         .0000    ** at limit **
  10  norm          2.1535        1.3717         .0000       -.19767E-04
  11  Prefactor     .10000E-03    6.5223         .0000    ** at limit **
  12  norm          .10000E-03    .72377         .0000    ** at limit **
  13  Prefactor     3.5542        3.7319         .0000       -.80977E-03
  14  norm          .10000E-03    .89157         .0000    ** at limit **
  15  Prefactor     .10000E-03    11.362         .0000    ** at limit **
  16  norm          3.6326        2.1935         .0000        .13658E-03
  17  Prefactor     .10000E-03    11.981         .0000    ** at limit **
  18  Prefactor     .10000E-03    4.0909         .0000    ** at limit **
  19  Prefactor     .10000E-03    5.0543         .0000    ** at limit **
  20  Prefactor     .10005E-03    33.735         .0000    ** at limit **
  21  Prefactor     .10000E-03    24.966         .0000    ** at limit **
  22  Normalizat    1.0739        .15208         .0000       -.17122E-03
  23  Prefactor     .72194        .17128         .0000       -.11474E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.900813
  Prefactor  = 0.000100006
  Prefactor  = 7.13882
  Prefactor  = 0.000100012
  norm       = 0.954617
  norm       = 1.80998
  Prefactor  = 28.3733
  Prefactor  = 0.0001
  norm       = 2.15347
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 3.55421
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.63257
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100049
  Prefactor  = 0.000100001
  Normalizat = 1.07389
  Prefactor  = 0.721944
 **********
 **   18 **HESSE 
 **********

 FCN=   5700.897     FROM HESSE     STATUS=OK           376 CALLS     2642 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9758        .20466E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .90081        6.9009        .18730E-02   -1.5518    
   3  Prefactor     .10001E-03    6.7046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.1388        3.9521        .10717E-03   -1.5174    
   5  Prefactor     .10001E-03    32.750        .35098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .95462        1.4237        .12290E-02   -1.5513    
   7  norm          1.8100        1.6485        .89186E-04   -1.5439    
   8  Prefactor     28.373        14.121        .75240E-04   -1.4642    
   9  Prefactor     .10000E-03    2.9626        .24814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1535        1.3667        .67798E-04   -1.5414    
  11  Prefactor     .10000E-03    6.5239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.1497        .12343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.5542        3.7255        .14155E-03   -1.5331    
  14  norm          .10000E-03    .90759        .69575E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6326        2.1928        .83901E-04   -1.5327    
  17  Prefactor     .10000E-03    12.386        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.2054        .29795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.2482        .33115E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10005E-03    34.922        .13016       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0739        .17747        .19638E-03   -.90594    
  23  Prefactor     .72194        .20080        .27465E-03   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13299e-08
Minuit parameter uncertainties:
  1  2.84669e-06
  2  4.98707
  3  0.000392154
  4  3.95228
  5  0.00127895
  6  1.4237
  7  1.64854
  8  14.1222
  9  3.30316e-05
  10  1.36671
  11  0.000272201
  12  6.15518e-06
  13  3.72573
  14  1.45506e-05
  15  0.00018037
  16  2.1928
  17  0.000125737
  18  1.7609e-05
  19  6.70365e-05
  20  0.00260923
  21  0.000361752
  22  0.17757
  23  0.201001
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  1.455e-05  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:  7.219e-01  2.010e-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:  1.074e+00  1.776e-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: 4.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834363/likelihoodResults_610761601_611020801_4FGL_J0145.0-2732_daily_bin1433.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) = 5700.90214789
delta logL = -0.00520511641662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5700.89694304
delta logL = -2.66650204139e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4798       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0739       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72196       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=   5700.897     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      194 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .91201        .90712E-02** at limit **
   2  alpha         2.4795        3.5548        .41153        .16582E-05
   3  Normalizat    1.0739        .14487        .39176E-01    .58904E-04
   4  Prefactor     .72194        .17000        .62090E-01    .76806E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.47953
  Normalizat = 1.07389
  Prefactor  = 0.721944
 **********
 **   18 **HESSE 
 **********

 FCN=   5700.897     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .90742        .69575E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4795        3.5472        .50000       -.81896E-02
   3  Normalizat    1.0739        .16962        .19638E-03   -.90594    
   4  Prefactor     .72194        .19882        .27465E-03   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10662e-11
Minuit parameter uncertainties:
  1  1.04724e-05
  2  2.50013
  3  0.169707
  4  0.199014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834363': 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) = 5700.89694277
delta logL = 4.04725142289e-10

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  1.047e-05  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.480e+00  2.500e+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.219e-01  1.990e-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:  1.074e+00  1.697e-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/834363/cmap_HighResolution_610761601_611020801_4FGL_J0145.0-2732_daily_bin1433.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-05', job_status='DONE', photon_flux_upper_limit='4.62e-08', time_completed='2021-08-14 16:16:58.672786', job_id='834363', GAL2='0.72', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1628983018.67', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='4.05e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1433' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 834363: <4FGL_J0145.0-2732_daily_bin1433> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1433 26.2585 -27.5363 610761601 611020801 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 :                                   637.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            950 sec.

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

