/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 22 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_bin1464
RA = 26.2585, Dec = -27.5363
tmin = 618796801, tmax = 619056001
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='834410', job_status='RUN', time_executed='2021-08-14 16:06:20.517157', time_epoch_executed='1628982380.52' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1464'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834410

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834410/ft1_4FGL_J0145.0-2732_daily_bin1464.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834410/ft2_4FGL_J0145.0-2732_daily_bin1464.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834410/ft1_4FGL_J0145.0-2732_daily_bin1464.fits outfile=/scratch/kocevski/834410/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1464.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=618796801.0 tmax=619056001.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.52
user 3.46
sys 1.02

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834410/ft1_filtered_4FGL_J0145.0-2732_daily_bin1464.fits" evtable="EVENTS" scfile=/scratch/kocevski/834410/ft2_4FGL_J0145.0-2732_daily_bin1464.fits sctable="SC_DATA" outfile=/scratch/kocevski/834410/ltcube_618796801_619056001_4FGL_J0145.0-2732_daily_bin1464.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/834410/ft2_4FGL_J0145.0-2732_daily_bin1464.fits
.....................!
real 13.70
user 12.24
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834410/ft1_filtered_4FGL_J0145.0-2732_daily_bin1464.fits evtable="EVENTS" scfile=/scratch/kocevski/834410/ft2_4FGL_J0145.0-2732_daily_bin1464.fits sctable="SC_DATA" expcube=/scratch/kocevski/834410/ltcube_618796801_619056001_4FGL_J0145.0-2732_daily_bin1464.fits outfile=/scratch/kocevski/834410/expmap_618796801_619056001_4FGL_J0145.0-2732_daily_bin1464.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/834410/ltcube_618796801_619056001_4FGL_J0145.0-2732_daily_bin1464.fits
.....................!
real 194.00
user 187.55
sys 5.93

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/834410/ft1_filtered_4FGL_J0145.0-2732_daily_bin1464.fits scfile=/scratch/kocevski/834410/ft2_4FGL_J0145.0-2732_daily_bin1464.fits outfile=/scratch/kocevski/834410/cmap_618796801_619056001_4FGL_J0145.0-2732_daily_bin1464.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.38
sys 1.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834410/ft1_filtered_4FGL_J0145.0-2732_daily_bin1464.fits scfile=/scratch/kocevski/834410/ft2_4FGL_J0145.0-2732_daily_bin1464.fits outfile=/scratch/kocevski/834410/cmap_HighResolution_618796801_619056001_4FGL_J0145.0-2732_daily_bin1464.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.56
user 0.39
sys 1.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834410/ft1_filtered_4FGL_J0145.0-2732_daily_bin1464.fits evtable="EVENTS" scfile=/scratch/kocevski/834410/ft2_4FGL_J0145.0-2732_daily_bin1464.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834410/Model_4FGL_J0145.0-2732_daily_bin1464.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/834410/ft1_filtered_4FGL_J0145.0-2732_daily_bin1464.fits.....................!
real 42.97
user 40.28
sys 2.44

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.2147       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2701       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8100       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.372       1.0000         .10000E-03   10000.    
    12 'norm      '    2.2615       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.1507       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.162       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1259       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    60.541       1.0000         .10000E-03   10000.    
    21 'Prefactor '    55.490       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4432       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .57514       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=   4443.355     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2603 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    3.9418        .42262E-01** at limit **
   2  Prefactor     9.2137        11.248        .33007E-02    .19470E-02
   3  Prefactor     3.2685        18.160        .55984E-02    .39270E-03
   4  Prefactor     5.8102        5.6223        .41655E-02    .23762E-03
   5  Prefactor     .10001E-03    10.187        .90712E-02** at limit **
   6  norm          .10000E-03    .87023        .90712E-02** at limit **
   7  norm          .10000E-03    .70326        .90712E-02** at limit **
   8  Prefactor     .10000E-03    4.7746        .90712E-02** at limit **
   9  Prefactor     .10000E-03    3.5313        .42871E-01** at limit **
  10  norm          .10000E-03    .75228        .90712E-02** at limit **
  11  Prefactor     32.373        28.180        .17606E-02   -.99717E-03
  12  norm          2.2613        2.2753        .68289E-02    .17685E-03
  13  Prefactor     .10000E-03    2.6669        .90712E-02** at limit **
  14  norm          9.1504        4.8185        .33123E-02    .93375E-04
  15  Prefactor     .10000E-03    18.647        .90712E-02** at limit **
  16  norm          .10000E-03    1.8508        .90712E-02** at limit **
  17  Prefactor     18.163        13.967        .23495E-02    .13109E-03
  18  Prefactor     4.1254        6.4102        .49613E-02    .32052E-03
  19  Prefactor     .10000E-03    4.4046        .90712E-02** at limit **
  20  Prefactor     60.541        66.037        .12892E-02    .92637E-03
  21  Prefactor     55.490        50.589        .13462E-02    .54060E-03
  22  Normalizat    1.4433        .21299        .47487E-01   -.73027E-05
  23  Prefactor     .57497        .22877        .78935E-01    .22736E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100016
  Prefactor  = 9.21374
  Prefactor  = 3.26848
  Prefactor  = 5.8102
  Prefactor  = 0.000100013
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 32.3726
  norm       = 2.26135
  Prefactor  = 0.0001
  norm       = 9.15038
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.1627
  Prefactor  = 4.12538
  Prefactor  = 0.0001
  Prefactor  = 60.5413
  Prefactor  = 55.4899
  Normalizat = 1.44335
  Prefactor  = 0.57497
 **********
 **   18 **HESSE 
 **********

 FCN=   4443.355     FROM HESSE     STATUS=OK           368 CALLS     2971 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    9.4361        .25589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.2137        11.164        .66014E-03   -1.5101    
   3  Prefactor     3.2685        17.799        .22393E-03   -1.5346    
   4  Prefactor     5.8102        5.6148        .14805E-03   -1.5226    
   5  Prefactor     .10001E-03    10.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .87620        .60693E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .70374        .54574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.7757        .14225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.7581        .24091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .78488        .11282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.373        28.185        .70426E-04   -1.4569    
  12  norm          2.2613        2.2594        .96045E-04   -1.5407    
  13  Prefactor     .10000E-03    2.6891        .10625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.1504        4.8318        .99584E-04   -1.5103    
  15  Prefactor     .10000E-03    18.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.9165        .17698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.163        13.950        .93979E-04   -1.4855    
  18  Prefactor     4.1254        6.4151        .19845E-03   -1.5302    
  19  Prefactor     .10000E-03    4.4506        .13657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     60.541        66.160        .51566E-04   -1.4150    
  21  Prefactor     55.490        50.624        .53849E-04   -1.4217    
  22  Normalizat    1.4433        .24999        .20992E-03   -.79383    
  23  Prefactor     .57497        .26283        .34957E-03   -1.0865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34873e-08
Minuit parameter uncertainties:
  1  0.000768631
  2  11.167
  3  15.2613
  4  5.61527
  5  0.000732992
  6  3.809e-07
  7  3.94369e-07
  8  7.78298e-05
  9  0.000150527
  10  6.85116e-08
  11  28.1961
  12  2.25946
  13  9.91e-07
  14  4.83203
  15  8.00119e-05
  16  2.54309e-07
  17  13.9526
  18  6.41621
  19  4.4541e-05
  20  66.2408
  21  50.6628
  22  0.250206
  23  0.263397
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  9.150e+00  4.832e+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:  5.750e-01  2.634e-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.443e+00  2.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.31
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 1.09e-07 +/- 5.75e-08
Energy Flux (Fixed Index): 2.86e-05 +/- 1.51e-05

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) = 4443.35123533
delta logL = 0.00415193671597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4443.35046313
delta logL = 0.00492413734537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0045       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4065       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4518       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56795       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=   4443.350     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      204 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0045        5.1408        .33392E-02    .18412E-03
   2  alpha         2.4065        .59977        .39264       -.37601E-04
   3  Normalizat    1.4518        .20994        .47378E-01   -.61271E-04
   4  Prefactor     .56795        .22944        .79377E-01    .76985E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.00451
  alpha      = 2.4065
  Normalizat = 1.45176
  Prefactor  = 0.56795
 **********
 **   18 **HESSE 
 **********

 FCN=   4443.350     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0045        5.0157        .10004E-03   -1.5108    
   2  alpha         2.4065        .72028        .14212E-01   -.37409E-01
   3  Normalizat    1.4518        .25341        .20943E-03   -.79143    
   4  Prefactor     .56795        .26977        .35154E-03   -1.0895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08647e-10
Minuit parameter uncertainties:
  1  5.01597
  2  0.730651
  3  0.253627
  4  0.270383
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834410': 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) = 4443.35046313
delta logL = 0.00492413900247

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  9.005e+00  5.016e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.407e+00  7.307e-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:  5.680e-01  2.704e-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.452e+00  2.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.29
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 2.41 +/- 0.73
Photon Flux (Free Index): 1.03e-07 +/- 7.73e-08
Energy Flux (Free Index): 2.88e-05 +/- 1.53e-05

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/834410/cmap_HighResolution_618796801_619056001_4FGL_J0145.0-2732_daily_bin1464.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-07', energy_flux2='2.88e-05', photon_flux_error='5.75e-08', dlogl='4.92e-03', energy_flux='2.86e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-08-14 16:15:09.972570', photon_index_error2='0.73', photon_index2='2.41', ts='7.31', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='1.44', time_epoch_completed='1628982909.97', return_code='0', job_id='834410', GAL2='0.57', EG2='1.45', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='7.73e-08', ts2='7.29', photon_index='2.48' WHERE bin_id='1464' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:15:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 834410: <4FGL_J0145.0-2732_daily_bin1464> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1464> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:01:13 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:05:28 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:28 2021
Terminated at Sat Aug 14 16:15:10 2021
Results reported at Sat Aug 14 16:15:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1464 26.2585 -27.5363 618796801 619056001 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 :                                   541.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   583 sec.
    Turnaround time :                            837 sec.

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

