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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1395
RA = 26.2585, Dec = -27.5363
tmin = 600912001, tmax = 601171201
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='834305', job_status='RUN', time_executed='2021-08-14 16:06:52.451288', time_epoch_executed='1628982412.45' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1395'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834305

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834305/ft1_4FGL_J0145.0-2732_daily_bin1395.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834305/ft2_4FGL_J0145.0-2732_daily_bin1395.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834305/ft1_4FGL_J0145.0-2732_daily_bin1395.fits outfile=/scratch/kocevski/834305/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1395.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=600912001.0 tmax=601171201.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 7.70
user 3.39
sys 4.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834305/ft1_filtered_4FGL_J0145.0-2732_daily_bin1395.fits" evtable="EVENTS" scfile=/scratch/kocevski/834305/ft2_4FGL_J0145.0-2732_daily_bin1395.fits sctable="SC_DATA" outfile=/scratch/kocevski/834305/ltcube_600912001_601171201_4FGL_J0145.0-2732_daily_bin1395.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/834305/ft2_4FGL_J0145.0-2732_daily_bin1395.fits
.....................!
real 17.42
user 12.50
sys 4.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834305/ft1_filtered_4FGL_J0145.0-2732_daily_bin1395.fits evtable="EVENTS" scfile=/scratch/kocevski/834305/ft2_4FGL_J0145.0-2732_daily_bin1395.fits sctable="SC_DATA" expcube=/scratch/kocevski/834305/ltcube_600912001_601171201_4FGL_J0145.0-2732_daily_bin1395.fits outfile=/scratch/kocevski/834305/expmap_600912001_601171201_4FGL_J0145.0-2732_daily_bin1395.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/834305/ltcube_600912001_601171201_4FGL_J0145.0-2732_daily_bin1395.fits
.....................!
real 198.24
user 187.51
sys 10.27

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/834305/ft1_filtered_4FGL_J0145.0-2732_daily_bin1395.fits scfile=/scratch/kocevski/834305/ft2_4FGL_J0145.0-2732_daily_bin1395.fits outfile=/scratch/kocevski/834305/cmap_600912001_601171201_4FGL_J0145.0-2732_daily_bin1395.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 4.56
user 0.38
sys 4.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834305/ft1_filtered_4FGL_J0145.0-2732_daily_bin1395.fits scfile=/scratch/kocevski/834305/ft2_4FGL_J0145.0-2732_daily_bin1395.fits outfile=/scratch/kocevski/834305/cmap_HighResolution_600912001_601171201_4FGL_J0145.0-2732_daily_bin1395.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 4.53
user 0.39
sys 4.06

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834305/ft1_filtered_4FGL_J0145.0-2732_daily_bin1395.fits evtable="EVENTS" scfile=/scratch/kocevski/834305/ft2_4FGL_J0145.0-2732_daily_bin1395.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834305/Model_4FGL_J0145.0-2732_daily_bin1395.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/834305/ft1_filtered_4FGL_J0145.0-2732_daily_bin1395.fits.....................!
real 46.84
user 40.13
sys 6.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9580       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5231       1.0000         .10000E-03   10000.    
     6 'norm      '    .10567E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.8097       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .23851       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14062E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.7709       1.0000         .10000E-03   10000.    
    14 'norm      '    5.6513       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2196       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3522       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.1990       1.0000         .10000E-03   10000.    
    20 'Prefactor '    94.776       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.728       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1883       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80737       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4327.696     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2584 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.3600         .0000    ** at limit **
   2  Prefactor     .10000E-03    2.3863         .0000    ** at limit **
   3  Prefactor     .10000E-03    3.9711         .0000    ** at limit **
   4  Prefactor     7.9582        5.9571         .0000        .14763E-02
   5  Prefactor     6.5258        14.149         .0000       -.14076E-02
   6  norm          .10000E-03    2.8303         .0000    ** at limit **
   7  norm          1.8097        1.8126         .0000       -.90639E-04
   8  Prefactor     .10000E-03    19.951         .0000    ** at limit **
   9  Prefactor     .10000E-03    4.5739         .0000    ** at limit **
  10  norm          .23865        1.3808         .0000        .10778E-02
  11  Prefactor     .10000E-03    157.56         .0000    ** at limit **
  12  norm          .10000E-03    1.8409         .0000    ** at limit **
  13  Prefactor     6.7717        5.2103         .0000        .77855E-03
  14  norm          5.6517        4.4180         .0000        .16551E-02
  15  Prefactor     .10000E-03    41.002         .0000    ** at limit **
  16  norm          1.2193        2.6496         .0000        .60649E-03
  17  Prefactor     .10000E-03    3.9802         .0000    ** at limit **
  18  Prefactor     3.3517        7.1799         .0000        .89610E-02
  19  Prefactor     2.1982        7.4482         .0000        .11269E-01
  20  Prefactor     94.779        54.539         .0000       -.13237E-02
  21  Prefactor     12.729        31.893         .0000       -.89991E-04
  22  Normalizat    1.1883        .20913         .0000       -.77553E-04
  23  Prefactor     .80746        .21786         .0000       -.57547E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.95824
  Prefactor  = 6.52576
  norm       = 0.0001
  norm       = 1.80968
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.238651
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 6.77172
  norm       = 5.65174
  Prefactor  = 0.0001
  norm       = 1.21929
  Prefactor  = 0.000100004
  Prefactor  = 3.3517
  Prefactor  = 2.19818
  Prefactor  = 94.7787
  Prefactor  = 12.7294
  Normalizat = 1.18827
  Prefactor  = 0.807458
 **********
 **   18 **HESSE 
 **********

 FCN=   4327.696     FROM HESSE     STATUS=OK           374 CALLS     2958 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.3849        .98676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3889        .99243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.9725        .12803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.9582        5.9700        .13110E-03   -1.5144    
   5  Prefactor     6.5258        12.591        .15713E-03   -1.5197    
   6  norm          .10000E-03    4.3021        .18946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8097        1.8216        .86214E-04   -1.5439    
   8  Prefactor     .10000E-03    20.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.6416        .13701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .23865        2.4682        .14545E-02   -1.5610    
  11  Prefactor     .10000E-03    161.26        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.9617        .17116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.7717        5.2111        .12449E-03   -1.5187    
  14  norm          5.6517        4.4267        .11356E-03   -1.5232    
  15  Prefactor     .10000E-03    41.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2193        2.6103        .15086E-03   -1.5487    
  17  Prefactor     .10000E-03    3.9822        .12816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.3517        7.1738        .11052E-02   -1.5342    
  19  Prefactor     2.1982        7.4069        .13873E-02   -1.5411    
  20  Prefactor     94.779        54.533        .41284E-04   -1.3758    
  21  Prefactor     12.729        31.851        .11228E-03   -1.4994    
  22  Normalizat    1.1883        .24150        .21581E-03   -.86966    
  23  Prefactor     .80746        .25178        .28866E-03   -.99454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52399e-08
Minuit parameter uncertainties:
  1  1.07835e-06
  2  2.19398e-06
  3  7.3705e-06
  4  5.97045
  5  12.5957
  6  8.84486e-05
  7  1.82163
  8  1.82648e-05
  9  2.50269e-05
  10  1.53473
  11  0.00039967
  12  0.000228253
  13  5.21142
  14  4.42696
  15  0.000234111
  16  2.61052
  17  0.000251628
  18  7.17565
  19  7.41
  20  54.5614
  21  31.8936
  22  0.241726
  23  0.252136
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  5.652e+00  4.427e+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:  8.075e-01  2.521e-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.188e+00  2.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.89
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 6.73e-08 +/- 5.27e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 1.39e-05

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

Saving results to:
/scratch/kocevski/834305/likelihoodResults_600912001_601171201_4FGL_J0145.0-2732_daily_bin1395.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) = 4327.17662403
delta logL = 0.519211694602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4327.17033349
delta logL = 0.525502236576

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1367       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6479       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0936       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88473       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=   4327.170     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1332        60.328        .44347E-02    .10265E-03
   2  alpha         3.6486        2.5790        .48722        .18205E-04
   3  Normalizat    1.0936        .87303E-01    .38267E-01    .22602E-05
   4  Prefactor     .88473        .10347        .44810E-01    .95052E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.13316
  alpha      = 3.64863
  Normalizat = 1.09361
  Prefactor  = 0.884728
 **********
 **   18 **HESSE 
 **********

 FCN=   4327.170     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1332        4.8825        .80365E-04   -1.5255    
   2  alpha         3.6486        1.2457        .21531E-02    .47738    
   3  Normalizat    1.0936        .24352        .22353E-03   -.89957    
   4  Prefactor     .88473        .26398        .27705E-03   -.96677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35169e-12
Minuit parameter uncertainties:
  1  4.88293
  2  1.32249
  3  0.243775
  4  0.264357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834305': 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) = 4327.17033322
delta logL = 0.525502502641

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  5.133e+00  4.883e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  3.649e+00  1.322e+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:  8.847e-01  2.644e-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.094e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.16
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 3.65 +/- 1.32
Photon Flux (Free Index): 1.35e-07 +/- 9.06e-08
Energy Flux (Free Index): 2.19e-05 +/- 1.31e-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/834305/cmap_HighResolution_600912001_601171201_4FGL_J0145.0-2732_daily_bin1395.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-05', comment='SUCCESS', photon_flux='6.73e-08', energy_flux2='2.19e-05', photon_flux_error='5.27e-08', dlogl='5.26e-01', energy_flux='1.77e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-08-14 16:17:10.315963', photon_index_error2='1.32', photon_index2='3.65', ts='2.89', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.31e-05', EG='1.19', time_epoch_completed='1628983030.32', return_code='0', job_id='834305', GAL2='0.88', EG2='1.09', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='9.06e-08', ts2='4.16', photon_index='2.48' WHERE bin_id='1395' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:17:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 834305: <4FGL_J0145.0-2732_daily_bin1395> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1395 26.2585 -27.5363 600912001 601171201 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 :                                   676.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            966 sec.

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

