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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1183
RA = 26.2585, Dec = -27.5363
tmin = 545961601, tmax = 546220801
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='834015', job_status='RUN', time_executed='2021-08-14 16:04:27.782010', time_epoch_executed='1628982267.78' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834015

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834015/ft1_4FGL_J0145.0-2732_daily_bin1183.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834015/ft2_4FGL_J0145.0-2732_daily_bin1183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834015/ft1_4FGL_J0145.0-2732_daily_bin1183.fits outfile=/scratch/kocevski/834015/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1183.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=545961601.0 tmax=546220801.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 14.17
user 3.86
sys 8.81

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834015/ft1_filtered_4FGL_J0145.0-2732_daily_bin1183.fits" evtable="EVENTS" scfile=/scratch/kocevski/834015/ft2_4FGL_J0145.0-2732_daily_bin1183.fits sctable="SC_DATA" outfile=/scratch/kocevski/834015/ltcube_545961601_546220801_4FGL_J0145.0-2732_daily_bin1183.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/834015/ft2_4FGL_J0145.0-2732_daily_bin1183.fits
.....................!
real 23.48
user 13.05
sys 10.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834015/ft1_filtered_4FGL_J0145.0-2732_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/834015/ft2_4FGL_J0145.0-2732_daily_bin1183.fits sctable="SC_DATA" expcube=/scratch/kocevski/834015/ltcube_545961601_546220801_4FGL_J0145.0-2732_daily_bin1183.fits outfile=/scratch/kocevski/834015/expmap_545961601_546220801_4FGL_J0145.0-2732_daily_bin1183.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/834015/ltcube_545961601_546220801_4FGL_J0145.0-2732_daily_bin1183.fits
.....................!
real 200.95
user 184.01
sys 16.29

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/834015/ft1_filtered_4FGL_J0145.0-2732_daily_bin1183.fits scfile=/scratch/kocevski/834015/ft2_4FGL_J0145.0-2732_daily_bin1183.fits outfile=/scratch/kocevski/834015/cmap_545961601_546220801_4FGL_J0145.0-2732_daily_bin1183.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 9.52
user 0.37
sys 8.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834015/ft1_filtered_4FGL_J0145.0-2732_daily_bin1183.fits scfile=/scratch/kocevski/834015/ft2_4FGL_J0145.0-2732_daily_bin1183.fits outfile=/scratch/kocevski/834015/cmap_HighResolution_545961601_546220801_4FGL_J0145.0-2732_daily_bin1183.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 9.39
user 0.40
sys 7.84

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834015/ft1_filtered_4FGL_J0145.0-2732_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/834015/ft2_4FGL_J0145.0-2732_daily_bin1183.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834015/Model_4FGL_J0145.0-2732_daily_bin1183.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/834015/ft1_filtered_4FGL_J0145.0-2732_daily_bin1183.fits.....................!
real 65.99
user 53.01
sys 12.54

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0542       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .47280E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10545E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.5309       1.0000         .10000E-03   10000.    
     7 'norm      '    1.9219       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7792       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.3733       1.0000         .10000E-03   10000.    
    10 'norm      '    2.2271       1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.093       1.0000         .10000E-03   10000.    
    12 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.8630       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13844E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67622       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.017       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4005       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .60269       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6377.900     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     1787 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0538        2.5487        .59271E-06    .20183E-03
   2  Prefactor     .10014E-03    1.4820        .72691E-05** at limit **
   3  Prefactor     .10000E-03    8.0898        .10297E-04** at limit **
   4  Prefactor     .10000E-03    5.3030       -.45981E-06** at limit **
   5  Prefactor     .10006E-03    6.0044       -.10125E-04** at limit **
   6  norm          2.5325        2.5321        .23516E-05   -.25688E-04
   7  norm          1.9215        2.1034        .16048E-06    .27661E-03
   8  Prefactor     5.7755        1.0298        .33187E-06   -.21726E-03
   9  Prefactor     7.3708        1.1478        .76308E-06    .75487E-03
  10  norm          2.2270        1.7885        .95757E-07    .56034E-04
  11  Prefactor     31.088        1.3364       -.56772E-06    .32043E-02
  12  norm          .10000E-03    .90677       -.21281E-06** at limit **
  13  Prefactor     .10000E-03    1.6399       -.58804E-06** at limit **
  14  norm          2.8618        3.0774        .46019E-05    .38160E-03
  15  Prefactor     .10002E-03    7.6873        .11264E-04** at limit **
  16  norm          .10000E-03    2.4024        .30154E-06** at limit **
  17  Prefactor     .10003E-03    7.1177       -.13689E-04** at limit **
  18  Prefactor     .10000E-03    5.6759        .55735E-05** at limit **
  19  Prefactor     .66182        2.3298        .86939E-05    .89264E-03
  20  Prefactor     .10000E-03    38.633       -.97232E-05** at limit **
  21  Prefactor     23.024        1.7345        .10653E-05   -.44394E-02
  22  Normalizat    1.4008        .18874       -.41579E-05    .11461E-03
  23  Prefactor     .60253        .20746        .13402E-05    .64555E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0538
  Prefactor  = 0.000100137
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100063
  norm       = 2.53247
  norm       = 1.92148
  Prefactor  = 5.77548
  Prefactor  = 7.37079
  norm       = 2.227
  Prefactor  = 31.0879
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.8618
  Prefactor  = 0.000100016
  norm       = 0.0001
  Prefactor  = 0.000100027
  Prefactor  = 0.000100001
  Prefactor  = 0.661816
  Prefactor  = 0.000100001
  Prefactor  = 23.0241
  Normalizat = 1.40083
  Prefactor  = 0.602526
 **********
 **   18 **HESSE 
 **********

 FCN=   6377.900     FROM HESSE     STATUS=OK           444 CALLS     2231 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0538        2.5971        .12008E-01   -1.5503    
   2  Prefactor     .10014E-03    4.8883        .56566E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.3474        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.3916        .49616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10006E-03    13.473        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.5325        2.7539        .64187E-02   -1.5390    
   7  norm          1.9215        2.1414        .74930E-02   -1.5431    
   8  Prefactor     5.7755        10.277        .41767E-02   -1.5227    
   9  Prefactor     7.3708        5.2803        .36927E-02   -1.5165    
  10  norm          2.2270        1.8006        .68876E-02   -1.5409    
  11  Prefactor     31.088        22.022        .17964E-02   -1.4592    
  12  norm          .10000E-03    .88913        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.6057        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.8618        3.0959        .60063E-02   -1.5370    
  15  Prefactor     .10002E-03    15.679        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.3386        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10003E-03    10.230        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.8242        .48889E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .66182        3.2960        .80136E-01   -1.5545    
  20  Prefactor     .10000E-03    38.793        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     23.024        24.097        .20873E-02   -1.4748    
  22  Normalizat    1.4008        .16577        .45167E-01   -.80605    
  23  Prefactor     .60253        .17853        .73227E-01   -1.0748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.31542e-08
Minuit parameter uncertainties:
  1  2.59738
  2  0.00163939
  3  0.000343296
  4  3.96174e-05
  5  0.00184889
  6  2.75406
  7  2.14153
  8  10.2801
  9  5.28063
  10  1.80063
  11  22.0278
  12  7.74329e-06
  13  6.51686e-05
  14  3.09612
  15  0.000986717
  16  2.3874e-05
  17  0.00105502
  18  0.000144989
  19  2.9539
  20  0.000393544
  21  24.1074
  22  0.165835
  23  0.178702
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  2.862e+00  3.096e+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.025e-01  1.787e-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.401e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.26
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 3.41e-08 +/- 3.69e-08
Energy Flux (Fixed Index): 8.96e-06 +/- 9.69e-06

TS (Fixed Index): 1.26
Ra Dec: 26.259 -27.536
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834015/likelihoodResults_545961601_546220801_4FGL_J0145.0-2732_daily_bin1183.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) = 6377.730179
delta logL = 0.169425278066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6377.71700315
delta logL = 0.182601131639

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2433       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0822       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3726       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62311       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=   6377.717     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      215 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2446        110.98        .56226E-02    .49867E-03
   2  alpha         3.0816        3.4471        .42659        .35637E-05
   3  Normalizat    1.3727        .90716E-01    .45545E-01   -.21933E-05
   4  Prefactor     .62303        .12867        .72114E-01    .29174E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.24458
  alpha      = 3.08158
  Normalizat = 1.37274
  Prefactor  = 0.623034
 **********
 **   18 **HESSE 
 **********

 FCN=   6377.717     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2446        3.1075        .12063E-03   -1.5348    
   2  alpha         3.0816        1.0148        .27754E-01    .23478    
   3  Normalizat    1.3727        .19471        .20132E-03   -.81420    
   4  Prefactor     .62303        .21016        .31922E-03   -1.0662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8145e-11
Minuit parameter uncertainties:
  1  3.10769
  2  1.04682
  3  0.194818
  4  0.210423
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834015': 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) = 6377.71700279
delta logL = 0.182601486033

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.245e+00  3.108e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  3.082e+00  1.047e+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:  6.230e-01  2.104e-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.373e+00  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.65
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 3.08 +/- 1.05
Photon Flux (Free Index): 5.59e-08 +/- 5.59e-08
Energy Flux (Free Index): 1.07e-05 +/- 9.69e-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/834015/cmap_HighResolution_545961601_546220801_4FGL_J0145.0-2732_daily_bin1183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-05', comment='SUCCESS', photon_flux='3.41e-08', energy_flux2='1.07e-05', photon_flux_error='3.69e-08', dlogl='1.83e-01', energy_flux='8.96e-06', photon_flux2='5.59e-08', job_status='DONE', time_completed='2021-08-14 16:16:55.107302', photon_index_error2='1.05', photon_index2='3.08', ts='1.26', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='9.69e-06', EG='1.40', time_epoch_completed='1628983015.11', return_code='0', job_id='834015', GAL2='0.62', EG2='1.37', return_code2='0', energy_flux_error='9.69e-06', photon_flux_error2='5.59e-08', ts2='1.65', photon_index='2.48' WHERE bin_id='1183' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0139>
Subject: Job 834015: <4FGL_J0145.0-2732_daily_bin1183> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1183> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:41 2021
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:01:18 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:01:18 2021
Terminated at Sat Aug 14 16:16:57 2021
Results reported at Sat Aug 14 16:16:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1183 26.2585 -27.5363 545961601 546220801 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 :                                   879.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            976 sec.

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

