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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1096
RA = 26.2585, Dec = -27.5363
tmin = 523411201, tmax = 523670401
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='835456', job_status='RUN', time_executed='2021-08-14 16:09:04.797070', time_epoch_executed='1628982544.8' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1096'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835456

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835456/ft1_4FGL_J0145.0-2732_daily_bin1096.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835456/ft2_4FGL_J0145.0-2732_daily_bin1096.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835456/ft1_4FGL_J0145.0-2732_daily_bin1096.fits outfile=/scratch/kocevski/835456/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1096.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=523411201.0 tmax=523670401.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.22
user 3.33
sys 0.83

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/835456/ft2_4FGL_J0145.0-2732_daily_bin1096.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/835456/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1096.fits evtable="EVENTS" outfile="/scratch/kocevski/835456/ft1_filtered_4FGL_J0145.0-2732_daily_bin1096.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.18
user 0.34
sys 0.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835456/ft1_filtered_4FGL_J0145.0-2732_daily_bin1096.fits" evtable="EVENTS" scfile=/scratch/kocevski/835456/ft2_4FGL_J0145.0-2732_daily_bin1096.fits sctable="SC_DATA" outfile=/scratch/kocevski/835456/ltcube_523411201_523670401_4FGL_J0145.0-2732_daily_bin1096.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/835456/ft2_4FGL_J0145.0-2732_daily_bin1096.fits
.....................!
real 13.69
user 12.46
sys 1.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835456/ft1_filtered_4FGL_J0145.0-2732_daily_bin1096.fits evtable="EVENTS" scfile=/scratch/kocevski/835456/ft2_4FGL_J0145.0-2732_daily_bin1096.fits sctable="SC_DATA" expcube=/scratch/kocevski/835456/ltcube_523411201_523670401_4FGL_J0145.0-2732_daily_bin1096.fits outfile=/scratch/kocevski/835456/expmap_523411201_523670401_4FGL_J0145.0-2732_daily_bin1096.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/835456/ltcube_523411201_523670401_4FGL_J0145.0-2732_daily_bin1096.fits
.....................!
real 193.70
user 186.22
sys 6.47

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/835456/ft1_filtered_4FGL_J0145.0-2732_daily_bin1096.fits scfile=/scratch/kocevski/835456/ft2_4FGL_J0145.0-2732_daily_bin1096.fits outfile=/scratch/kocevski/835456/cmap_523411201_523670401_4FGL_J0145.0-2732_daily_bin1096.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.30
user 0.38
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835456/ft1_filtered_4FGL_J0145.0-2732_daily_bin1096.fits scfile=/scratch/kocevski/835456/ft2_4FGL_J0145.0-2732_daily_bin1096.fits outfile=/scratch/kocevski/835456/cmap_HighResolution_523411201_523670401_4FGL_J0145.0-2732_daily_bin1096.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.27
user 0.41
sys 0.79

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835456/ft1_filtered_4FGL_J0145.0-2732_daily_bin1096.fits evtable="EVENTS" scfile=/scratch/kocevski/835456/ft2_4FGL_J0145.0-2732_daily_bin1096.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835456/Model_4FGL_J0145.0-2732_daily_bin1096.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/835456/ft1_filtered_4FGL_J0145.0-2732_daily_bin1096.fits.....................!
real 41.20
user 38.72
sys 2.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.4934       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9457       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4552       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8491       1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.352       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .43144       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    41.580       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6173       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.6278       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .20681E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0518       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .62861       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=   4457.033     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2531 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .96304        .90712E-02** at limit **
   2  Prefactor     .10000E-03    4.6321        .90712E-02** at limit **
   3  Prefactor     .10001E-03    21.272        .90712E-02** at limit **
   4  Prefactor     .10000E-03    2.1139        .90712E-02** at limit **
   5  Prefactor     .10001E-03    12.128        .90712E-02** at limit **
   6  norm          3.4900        2.7199        .54082E-02    .23711E-02
   7  norm          .10000E-03    1.1583        .90712E-02** at limit **
   8  Prefactor     4.9438        12.323        .45212E-02    .13681E-03
   9  Prefactor     2.4543        4.4925        .65260E-02   -.31215E-03
  10  norm          1.8490        1.4550        .76655E-02    .37043E-03
  11  Prefactor     30.352        26.914        .18181E-02    .22943E-03
  12  norm          .10000E-03    .56467        .90712E-02** at limit **
  13  Prefactor     .43045        2.7780        .57051E-01   -.25607E-03
  14  norm          .10000E-03    .75340        .90712E-02** at limit **
  15  Prefactor     41.580        41.454        .15541E-02    .92067E-04
  16  norm          1.6173        1.9784        .83221E-02    .43031E-03
  17  Prefactor     3.6264        10.586        .53029E-02    .19515E-03
  18  Prefactor     .10004E-03    3.2856        .64644E-01** at limit **
  19  Prefactor     .10000E-03    3.2256        .90712E-02** at limit **
  20  Prefactor     .10000E-03    15.788        .90712E-02** at limit **
  21  Prefactor     .10003E-03    16.773        .90712E-02** at limit **
  22  Normalizat    1.0518        .16173        .40440E-01   -.89044E-05
  23  Prefactor     .62855        .17678        .61316E-01    .20091E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 3.48996
  norm       = 0.0001
  Prefactor  = 4.94379
  Prefactor  = 2.45432
  norm       = 1.84898
  Prefactor  = 30.3517
  norm       = 0.0001
  Prefactor  = 0.430446
  norm       = 0.0001
  Prefactor  = 41.5804
  norm       = 1.6173
  Prefactor  = 3.62637
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100029
  Normalizat = 1.0518
  Prefactor  = 0.62855
 **********
 **   18 **HESSE 
 **********

 FCN=   4457.033     FROM HESSE     STATUS=OK           368 CALLS     2899 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .96414        .63982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.7322        .14027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    21.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.1621        .94747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    12.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4900        2.6838        .85739E-04   -1.5334    
   7  norm          .10000E-03    1.1916        .14004E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.9438        12.282        .18085E-03   -1.5263    
   9  Prefactor     2.4543        4.4435        .16770E-03   -1.5395    
  10  norm          1.8490        1.4439        .68604E-04   -1.5436    
  11  Prefactor     30.352        26.782        .72726E-04   -1.4606    
  12  norm          .10000E-03    .56963        .48959E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .43045        9.3718        .20195E-02   -1.5577    
  14  norm          .10000E-03    .75815        .56574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     41.580        41.454        .62166E-04   -1.4417    
  16  norm          1.6173        1.9585        .10020E-03   -1.5454    
  17  Prefactor     3.6264        10.422        .21211E-03   -1.5327    
  18  Prefactor     .10004E-03    13.536        .22710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.2614        .11702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10003E-03    16.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0518        .18708        .18814E-03   -.91315    
  23  Prefactor     .62855        .20595        .27125E-03   -1.0640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.41505e-09
Minuit parameter uncertainties:
  1  1.53906e-07
  2  8.93983e-06
  3  0.000947273
  4  8.55336e-06
  5  0.000560875
  6  2.68391
  7  8.19537e-07
  8  12.2879
  9  4.44409
  10  1.4439
  11  26.7925
  12  2.84038e-06
  13  4.01723
  14  2.75416e-06
  15  41.4827
  16  1.95858
  17  10.4267
  18  0.00145327
  19  5.23883e-06
  20  0.000217157
  21  0.00139907
  22  0.1872
  23  0.206202
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  2.754e-06  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.480e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  9.678e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  3.266e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  6.286e-01  2.062e-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.052e+00  1.872e-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/835456/likelihoodResults_523411201_523670401_4FGL_J0145.0-2732_daily_bin1096.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) = 4457.03950916
delta logL = -0.00607207095163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4457.03343719
delta logL = -1.07250343717e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4814       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0519       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62852       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=   4457.033     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      231 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .77874        .56577E-03** at limit **
   2  alpha         2.7382        3.0350        .16461        .44062E-07
   3  Normalizat    1.0518        .17946        .18814E-03   -.28934E-03
   4  Prefactor     .62855        .20526        .27125E-03   -.17117E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.73817
  Normalizat = 1.0518
  Prefactor  = 0.628551
 **********
 **   18 **HESSE 
 **********

 FCN=   4457.033     FROM HESSE     STATUS=OK            23 CALLS      254 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .76305        .11315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7382        3.3541        .65845E-02    .95412E-01
   3  Normalizat    1.0518        .17961        .37629E-04   -.91315    
   4  Prefactor     .62855        .20543        .10850E-04   -1.0640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96931e-11
Minuit parameter uncertainties:
  1  4.28646e-07
  2  295.111
  3  0.179712
  4  0.205673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835456': 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) = 4457.03343666
delta logL = 4.22089215135e-07

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  4.286e-07  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.738e+00  2.951e+02  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.286e-01  2.057e-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.052e+00  1.797e-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/835456/cmap_HighResolution_523411201_523670401_4FGL_J0145.0-2732_daily_bin1096.png

Cleaning up...

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

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:18:31.507095', job_id='835456', GAL2='0.63', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1628983111.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='4.22e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1096' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:18:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 835456: <4FGL_J0145.0-2732_daily_bin1096> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1096> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 14 16:05:22 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:05:49 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:05:49 2021
Terminated at Sat Aug 14 16:18:32 2021
Results reported at Sat Aug 14 16:18:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1096 26.2585 -27.5363 523411201 523670401 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 :                                   573.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            790 sec.

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

