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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1229
RA = 26.2585, Dec = -27.5363
tmin = 557884801, tmax = 558144001
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='834082', job_status='RUN', time_executed='2021-08-14 16:02:20.851551', time_epoch_executed='1628982140.85' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1229'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834082

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834082/ft1_4FGL_J0145.0-2732_daily_bin1229.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834082/ft2_4FGL_J0145.0-2732_daily_bin1229.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834082/ft1_4FGL_J0145.0-2732_daily_bin1229.fits outfile=/scratch/kocevski/834082/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1229.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=557884801.0 tmax=558144001.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.87
user 3.79
sys 1.03

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834082/ft1_filtered_4FGL_J0145.0-2732_daily_bin1229.fits" evtable="EVENTS" scfile=/scratch/kocevski/834082/ft2_4FGL_J0145.0-2732_daily_bin1229.fits sctable="SC_DATA" outfile=/scratch/kocevski/834082/ltcube_557884801_558144001_4FGL_J0145.0-2732_daily_bin1229.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/834082/ft2_4FGL_J0145.0-2732_daily_bin1229.fits
.....................!
real 13.48
user 12.20
sys 1.21

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834082/ft1_filtered_4FGL_J0145.0-2732_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/834082/ft2_4FGL_J0145.0-2732_daily_bin1229.fits sctable="SC_DATA" expcube=/scratch/kocevski/834082/ltcube_557884801_558144001_4FGL_J0145.0-2732_daily_bin1229.fits outfile=/scratch/kocevski/834082/expmap_557884801_558144001_4FGL_J0145.0-2732_daily_bin1229.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/834082/ltcube_557884801_558144001_4FGL_J0145.0-2732_daily_bin1229.fits
.....................!
real 192.55
user 186.29
sys 5.37

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/834082/ft1_filtered_4FGL_J0145.0-2732_daily_bin1229.fits scfile=/scratch/kocevski/834082/ft2_4FGL_J0145.0-2732_daily_bin1229.fits outfile=/scratch/kocevski/834082/cmap_557884801_558144001_4FGL_J0145.0-2732_daily_bin1229.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.31
user 0.38
sys 0.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834082/ft1_filtered_4FGL_J0145.0-2732_daily_bin1229.fits scfile=/scratch/kocevski/834082/ft2_4FGL_J0145.0-2732_daily_bin1229.fits outfile=/scratch/kocevski/834082/cmap_HighResolution_557884801_558144001_4FGL_J0145.0-2732_daily_bin1229.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.36
user 0.38
sys 0.91

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834082/ft1_filtered_4FGL_J0145.0-2732_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/834082/ft2_4FGL_J0145.0-2732_daily_bin1229.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834082/Model_4FGL_J0145.0-2732_daily_bin1229.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/834082/ft1_filtered_4FGL_J0145.0-2732_daily_bin1229.fits.....................!
real 67.50
user 64.99
sys 2.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10650E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9002       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.577       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .39220       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.7414       1.0000         .10000E-03   10000.    
     7 'norm      '    4.7098       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.9837       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .77812E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.4127       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.575       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3847       1.0000         .10000E-03   10000.    
    14 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3839       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.3319       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8270       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1706       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87253       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.

 FCN=   8751.257     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2207 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .57859        .24739E-08** at limit **
   2  Prefactor     3.9008        5.1483       -.15531E-06   -.57893E-03
   3  Prefactor     13.579        10.861       -.17587E-06   -.18112E-03
   4  Prefactor     .39604        2.0995        .15547E-05   -.10922E-02
   5  Prefactor     .10000E-03    2.8772        .25351E-07** at limit **
   6  norm          2.7425        1.5279        .31493E-07    .32072E-03
   7  norm          4.7098        2.0468        .20560E-06    .11651E-02
   8  Prefactor     8.9890        10.900       -.37060E-08    .32292E-05
   9  Prefactor     .10001E-03    1.3828       -.30139E-06** at limit **
  10  norm          2.4129        1.1864        .26112E-07    .18833E-04
  11  Prefactor     17.568        15.662       -.25098E-05   -.83739E-03
  12  norm          .10000E-03    .60320        .15991E-07** at limit **
  13  Prefactor     2.3858        2.9915        .95169E-06    .50016E-03
  14  norm          .10000E-03    1.0717        .65107E-07** at limit **
  15  Prefactor     .10000E-03    7.5698        .18977E-06** at limit **
  16  norm          2.3839        1.5487        .43507E-06   -.26695E-02
  17  Prefactor     7.3323        7.9110       -.48352E-07   -.10317E-03
  18  Prefactor     1.8270        3.7257        .18791E-06   -.55377E-03
  19  Prefactor     .10000E-03    1.8218        .27869E-07** at limit **
  20  Prefactor     .10000E-03    24.211       -.98932E-07** at limit **
  21  Prefactor     .10000E-03    12.956        .19321E-06** at limit **
  22  Normalizat    1.1706        .14081       -.45191E-06   -.26302E-03
  23  Prefactor     .87253        .15688       -.14620E-06   -.18241E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.90078
  Prefactor  = 13.5786
  Prefactor  = 0.396043
  Prefactor  = 0.0001
  norm       = 2.74252
  norm       = 4.70982
  Prefactor  = 8.98897
  Prefactor  = 0.000100011
  norm       = 2.41287
  Prefactor  = 17.5681
  norm       = 0.0001
  Prefactor  = 2.38584
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.38394
  Prefactor  = 7.33232
  Prefactor  = 1.82701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17061
  Prefactor  = 0.872527
 **********
 **   18 **HESSE 
 **********

 FCN=   8751.257     FROM HESSE     STATUS=OK           376 CALLS     2583 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .94998        .13878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9008        5.2221        .20430E-03   -1.5313    
   3  Prefactor     13.579        10.824        .10870E-03   -1.4971    
   4  Prefactor     .39604        3.4533        .22805E-02   -1.5582    
   5  Prefactor     .10000E-03    2.8861        .15478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7425        1.5028        .82184E-04   -1.5377    
   7  norm          4.7098        2.0598        .83810E-04   -1.5274    
   8  Prefactor     8.9890        10.862        .13372E-03   -1.5108    
   9  Prefactor     .10001E-03    10.170        .20463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4129        1.1835        .69122E-04   -1.5397    
  11  Prefactor     17.568        16.984        .95538E-04   -1.4869    
  12  norm          .10000E-03    .61956        .14170E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3858        3.0312        .17251E-03   -1.5399    
  14  norm          .10000E-03    1.9338        .18622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.5746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3839        1.8377        .54180E-03   -1.5399    
  17  Prefactor     7.3323        7.8945        .14813E-03   -1.5166    
  18  Prefactor     1.8270        3.7996        .25267E-03   -1.5438    
  19  Prefactor     .10000E-03    1.8333        .12329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1706        .16320        .21423E-03   -.87516    
  23  Prefactor     .87253        .18314        .28286E-03   -.97108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.90059e-09
Minuit parameter uncertainties:
  1  1.9162e-06
  2  5.2227
  3  10.8259
  4  2.33883
  5  3.99198e-06
  6  1.50281
  7  2.05986
  8  10.8643
  9  0.000657839
  10  1.18353
  11  16.9888
  12  1.18896e-06
  13  3.03141
  14  4.51199e-06
  15  2.94424e-05
  16  1.83773
  17  7.89562
  18  3.80007
  19  3.11033e-06
  20  2.61478e-05
  21  3.96621e-05
  22  0.163267
  23  0.183266
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  4.512e-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:  8.725e-01  1.833e-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.171e+00  1.633e-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: 5.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834082/likelihoodResults_557884801_558144001_4FGL_J0145.0-2732_daily_bin1229.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) = 8751.25991343
delta logL = -0.0024644062687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8751.25744985
delta logL = -8.21741195978e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4900       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87269       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8751.257     FROM MIGRAD    STATUS=FAILED        98 CALLS      257 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    421.89        .18645E-02** at limit **
   2  alpha         2.8642        2.8190        .16461       -.23012E-06
   3  Normalizat    1.1706        .79138E-01    .21423E-03   -.66904E-02
   4  Prefactor     .87252        .91297E-01    .28286E-03   -.51318E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8751.257     FROM SIMPLEX   STATUS=UNCHANGED    176 CALLS      433 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    421.89        .24478E-03** at limit **
   2  alpha         2.8642        2.8190        .12098E-05   -.23012E-06
   3  Normalizat    1.1706        .79138E-01    .10097E-06   -.66904E-02
   4  Prefactor     .87252        .91297E-01    .74919E-07   -.51318E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8751.257     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      468 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1004        .37290E-03** at limit **
   2  alpha         2.8675        3.0369        .65843E-02   -.12432E-07
   3  Normalizat    1.1706        .15751        .42846E-04    .19582E-03
   4  Prefactor     .87253        .18305        .56572E-04    .12660E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.86751
  Normalizat = 1.17061
  Prefactor  = 0.872527
 **********
 **   18 **HESSE 
 **********

 FCN=   8751.257     FROM HESSE     STATUS=OK            23 CALLS      491 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1005        .74581E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8675        3.2969        .13169E-02    .14754    
   3  Normalizat    1.1706        .15751        .85692E-05   -.87516    
   4  Prefactor     .87253        .18306        .11314E-04   -.97108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53261e-11
Minuit parameter uncertainties:
  1  1.54373e-05
  2  193.313
  3  0.157576
  4  0.183192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834082': 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) = 8751.25744705
delta logL = 1.97440567717e-06

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  1.544e-05  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  2.868e+00  1.933e+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:  8.725e-01  1.832e-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.171e+00  1.576e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/834082/cmap_HighResolution_557884801_558144001_4FGL_J0145.0-2732_daily_bin1229.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-05', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2021-08-14 16:16:00.988769', job_id='834082', GAL2='0.87', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1628982960.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.97e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1229' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 834082: <4FGL_J0145.0-2732_daily_bin1229> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1229> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:46 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:01:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 16:01:51 2021
Terminated at Sat Aug 14 16:16:01 2021
Results reported at Sat Aug 14 16:16:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1229 26.2585 -27.5363 557884801 558144001 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 :                                   830.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            915 sec.

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

