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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1363
RA = 26.2585, Dec = -27.5363
tmin = 592617601, tmax = 592876801
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='834259', job_status='RUN', time_executed='2021-08-14 16:05:07.434378', time_epoch_executed='1628982307.43' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1363'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834259

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834259/ft1_4FGL_J0145.0-2732_daily_bin1363.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834259/ft2_4FGL_J0145.0-2732_daily_bin1363.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834259/ft1_4FGL_J0145.0-2732_daily_bin1363.fits outfile=/scratch/kocevski/834259/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1363.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=592617601.0 tmax=592876801.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.44
user 3.28
sys 1.10

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834259/ft2_4FGL_J0145.0-2732_daily_bin1363.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/834259/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1363.fits evtable="EVENTS" outfile="/scratch/kocevski/834259/ft1_filtered_4FGL_J0145.0-2732_daily_bin1363.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.43
user 0.35
sys 1.05

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834259/ft1_filtered_4FGL_J0145.0-2732_daily_bin1363.fits" evtable="EVENTS" scfile=/scratch/kocevski/834259/ft2_4FGL_J0145.0-2732_daily_bin1363.fits sctable="SC_DATA" outfile=/scratch/kocevski/834259/ltcube_592617601_592876801_4FGL_J0145.0-2732_daily_bin1363.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/834259/ft2_4FGL_J0145.0-2732_daily_bin1363.fits
.....................!
real 14.90
user 13.45
sys 1.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834259/ft1_filtered_4FGL_J0145.0-2732_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/834259/ft2_4FGL_J0145.0-2732_daily_bin1363.fits sctable="SC_DATA" expcube=/scratch/kocevski/834259/ltcube_592617601_592876801_4FGL_J0145.0-2732_daily_bin1363.fits outfile=/scratch/kocevski/834259/expmap_592617601_592876801_4FGL_J0145.0-2732_daily_bin1363.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/834259/ltcube_592617601_592876801_4FGL_J0145.0-2732_daily_bin1363.fits
.....................!
real 194.72
user 188.26
sys 5.74

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/834259/ft1_filtered_4FGL_J0145.0-2732_daily_bin1363.fits scfile=/scratch/kocevski/834259/ft2_4FGL_J0145.0-2732_daily_bin1363.fits outfile=/scratch/kocevski/834259/cmap_592617601_592876801_4FGL_J0145.0-2732_daily_bin1363.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.46
user 0.40
sys 1.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834259/ft1_filtered_4FGL_J0145.0-2732_daily_bin1363.fits scfile=/scratch/kocevski/834259/ft2_4FGL_J0145.0-2732_daily_bin1363.fits outfile=/scratch/kocevski/834259/cmap_HighResolution_592617601_592876801_4FGL_J0145.0-2732_daily_bin1363.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=26.2585 yref=-27.5363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.47
user 0.40
sys 1.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834259/ft1_filtered_4FGL_J0145.0-2732_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/834259/ft2_4FGL_J0145.0-2732_daily_bin1363.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834259/Model_4FGL_J0145.0-2732_daily_bin1363.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/834259/ft1_filtered_4FGL_J0145.0-2732_daily_bin1363.fits.....................!
real 51.05
user 47.04
sys 2.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9529       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0995       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.1478       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6756       1.0000         .10000E-03   10000.    
    10 'norm      '    2.8324       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.173       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1584       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.1305       1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.264       1.0000         .10000E-03   10000.    
    16 'norm      '    3.1572       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.8762       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4739       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .73176       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98724       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=   5675.901     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2911 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2571        .90712E-02** at limit **
   2  Prefactor     1.9531        3.7376        .74233E-02    .87987E-03
   3  Prefactor     2.0984        8.2166        .71206E-02    .62070E-03
   4  Prefactor     .10000E-03    1.5847        .34189E-01** at limit **
   5  Prefactor     .10000E-03    9.2844        .90712E-02** at limit **
   6  norm          4.1476        2.3229        .49478E-02    .85933E-04
   7  norm          .10000E-03    .96466        .90712E-02** at limit **
   8  Prefactor     .10000E-03    7.8944        .90712E-01** at limit **
   9  Prefactor     1.6753        3.6813        .81387E-02    .67679E-03
  10  norm          2.8324        1.2494        .60409E-02    .10592E-02
  11  Prefactor     16.171        18.295        .24898E-02    .13044E-03
  12  norm          1.1583        1.4491        .10713E-01    .47212E-03
  13  Prefactor     .10000E-03    .68450        .90712E-02** at limit **
  14  norm          3.1307        2.8283        .57283E-02    .42502E-03
  15  Prefactor     31.263        32.423        .17915E-02    .47210E-03
  16  norm          3.1573        2.3018        .57028E-02    .37397E-03
  17  Prefactor     7.8753        7.9238        .35719E-02   -.11843E-03
  18  Prefactor     4.4747        4.6164        .47591E-02   -.14636E-02
  19  Prefactor     .10000E-03    2.6880        .90712E-02** at limit **
  20  Prefactor     .10000E-03    10.670        .90712E-02** at limit **
  21  Prefactor     .10000E-03    18.877        .90712E-02** at limit **
  22  Normalizat    .73170        .14671        .42713E-01    .14316E-04
  23  Prefactor     .98731        .16852        .46107E-01    .26489E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.95315
  Prefactor  = 2.09843
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.14765
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.67529
  norm       = 2.83239
  Prefactor  = 16.1711
  norm       = 1.1583
  Prefactor  = 0.0001
  norm       = 3.13071
  Prefactor  = 31.2631
  norm       = 3.15733
  Prefactor  = 7.87535
  Prefactor  = 4.4747
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.731698
  Prefactor  = 0.987308
 **********
 **   18 **HESSE 
 **********

 FCN=   5675.901     FROM HESSE     STATUS=OK           376 CALLS     3287 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2683        .82477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9531        3.6855        .19003E-03   -1.5428    
   3  Prefactor     2.0984        8.1225        .28482E-03   -1.5418    
   4  Prefactor     .10000E-03    3.2313        .18381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.3729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.1476        2.2904        .77145E-04   -1.5301    
   7  norm          .10000E-03    .98927        .14425E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    66.312        .40213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6753        3.6112        .18941E-03   -1.5449    
  10  norm          2.8324        1.2489        .27062E-03   -1.5371    
  11  Prefactor     16.171        18.292        .99591E-04   -1.4903    
  12  norm          1.1583        1.4061        .95604E-04   -1.5493    
  13  Prefactor     .10000E-03    .68698        .60860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1307        2.8218        .11119E-03   -1.5354    
  15  Prefactor     31.263        32.410        .71660E-04   -1.4589    
  16  norm          3.1573        2.2976        .93543E-04   -1.5353    
  17  Prefactor     7.8753        7.9137        .14288E-03   -1.5147    
  18  Prefactor     4.4747        4.6129        .15469E-03   -1.5285    
  19  Prefactor     .10000E-03    2.7459        .12056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .73170        .17359        .21849E-03   -1.0265    
  23  Prefactor     .98731        .19980        .23039E-03   -.93154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44959e-09
Minuit parameter uncertainties:
  1  9.77952e-07
  2  3.68589
  3  8.1268
  4  9.89526e-07
  5  5.91661e-06
  6  2.29042
  7  1.32599e-08
  8  0.000309623
  9  3.61163
  10  1.24886
  11  18.2985
  12  1.40617
  13  8.51202e-07
  14  2.82194
  15  32.4284
  16  2.29765
  17  7.91472
  18  4.6133
  19  1.08374e-07
  20  9.05877e-06
  21  2.52482e-05
  22  0.173724
  23  0.199948
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  3.131e+00  2.822e+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:  9.873e-01  1.999e-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.317e-01  1.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.74
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 3.73e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 9.80e-06 +/- 8.83e-06

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

Saving results to:
/scratch/kocevski/834259/likelihoodResults_592617601_592876801_4FGL_J0145.0-2732_daily_bin1363.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) = 5675.07698159
delta logL = 0.823958551157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5675.06589132
delta logL = 0.835048815349

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7571       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5581       1.0000          .0000       5.0000    
     3 'Normalizat'    .68589       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0245       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=   5675.066     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7556        38.538        .61286E-02    .41073E-03
   2  alpha         3.5589        3.1123        .47088        .21085E-04
   3  Normalizat    .68589        .60354E-01    .42102E-01    .12589E-04
   4  Prefactor     1.0245        .75183E-01    .41723E-01   -.10717E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.75562
  alpha      = 3.55894
  Normalizat = 0.685885
  Prefactor  = 1.02447
 **********
 **   18 **HESSE 
 **********

 FCN=   5675.066     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .57E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7556        2.5105        .73384E-04   -1.5376    
   2  alpha         3.5589        .92953        .20828E-02    .43739    
   3  Normalizat    .68589        .17037        .22491E-03   -1.0445    
   4  Prefactor     1.0245        .20200        .22658E-03   -.91918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.74265e-14
Minuit parameter uncertainties:
  1  2.51061
  2  0.957828
  3  0.170504
  4  0.202145
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834259': 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) = 5675.06589097
delta logL = 0.835049170678

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  2.756e+00  2.511e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  3.559e+00  9.578e-01  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.024e+00  2.021e-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.859e-01  1.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.57
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 3.56 +/- 0.96
Photon Flux (Free Index): 6.76e-08 +/- 4.33e-08
Energy Flux (Free Index): 1.12e-05 +/- 7.25e-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/834259/cmap_HighResolution_592617601_592876801_4FGL_J0145.0-2732_daily_bin1363.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='3.73e-08', energy_flux2='1.12e-05', photon_flux_error='3.36e-08', dlogl='8.35e-01', energy_flux='9.80e-06', photon_flux2='6.76e-08', job_status='DONE', time_completed='2021-08-14 16:16:22.682300', photon_index_error2='0.96', photon_index2='3.56', ts='1.74', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='7.25e-06', EG='0.73', time_epoch_completed='1628982982.68', return_code='0', job_id='834259', GAL2='1.02', EG2='0.69', return_code2='0', energy_flux_error='8.83e-06', photon_flux_error2='4.33e-08', ts2='3.57', photon_index='2.48' WHERE bin_id='1363' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 834259: <4FGL_J0145.0-2732_daily_bin1363> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1363 26.2585 -27.5363 592617601 592876801 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 :                                   685.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            923 sec.

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

