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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1528
RA = 26.2585, Dec = -27.5363
tmin = 635385601, tmax = 635644801
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='835515', job_status='RUN', time_executed='2021-08-14 16:06:47.697621', time_epoch_executed='1628982407.7' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1528'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835515

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835515/ft1_4FGL_J0145.0-2732_daily_bin1528.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835515/ft2_4FGL_J0145.0-2732_daily_bin1528.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835515/ft1_4FGL_J0145.0-2732_daily_bin1528.fits outfile=/scratch/kocevski/835515/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1528.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=635385601.0 tmax=635644801.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 3.67
user 2.59
sys 1.01

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835515/ft1_filtered_4FGL_J0145.0-2732_daily_bin1528.fits" evtable="EVENTS" scfile=/scratch/kocevski/835515/ft2_4FGL_J0145.0-2732_daily_bin1528.fits sctable="SC_DATA" outfile=/scratch/kocevski/835515/ltcube_635385601_635644801_4FGL_J0145.0-2732_daily_bin1528.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/835515/ft2_4FGL_J0145.0-2732_daily_bin1528.fits
.....................!
real 14.95
user 13.64
sys 1.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835515/ft1_filtered_4FGL_J0145.0-2732_daily_bin1528.fits evtable="EVENTS" scfile=/scratch/kocevski/835515/ft2_4FGL_J0145.0-2732_daily_bin1528.fits sctable="SC_DATA" expcube=/scratch/kocevski/835515/ltcube_635385601_635644801_4FGL_J0145.0-2732_daily_bin1528.fits outfile=/scratch/kocevski/835515/expmap_635385601_635644801_4FGL_J0145.0-2732_daily_bin1528.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/835515/ltcube_635385601_635644801_4FGL_J0145.0-2732_daily_bin1528.fits
.....................!
real 192.46
user 185.84
sys 6.12

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/835515/ft1_filtered_4FGL_J0145.0-2732_daily_bin1528.fits scfile=/scratch/kocevski/835515/ft2_4FGL_J0145.0-2732_daily_bin1528.fits outfile=/scratch/kocevski/835515/cmap_635385601_635644801_4FGL_J0145.0-2732_daily_bin1528.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.37
user 0.39
sys 0.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835515/ft1_filtered_4FGL_J0145.0-2732_daily_bin1528.fits scfile=/scratch/kocevski/835515/ft2_4FGL_J0145.0-2732_daily_bin1528.fits outfile=/scratch/kocevski/835515/cmap_HighResolution_635385601_635644801_4FGL_J0145.0-2732_daily_bin1528.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.37
sys 0.96

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835515/ft1_filtered_4FGL_J0145.0-2732_daily_bin1528.fits evtable="EVENTS" scfile=/scratch/kocevski/835515/ft2_4FGL_J0145.0-2732_daily_bin1528.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835515/Model_4FGL_J0145.0-2732_daily_bin1528.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/835515/ft1_filtered_4FGL_J0145.0-2732_daily_bin1528.fits.....................!
real 47.49
user 44.95
sys 2.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.547       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.7302       1.0000         .10000E-03   10000.    
     7 'norm      '    2.4765       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.346       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10565E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.9787       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .39967       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2921       1.0000         .10000E-03   10000.    
    14 'norm      '    .30421E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2940       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2469       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2687       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1040       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=   5214.047     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2252 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.3514        .49223E-06** at limit **
   2  Prefactor     .10000E-03    5.1343        .16722E-06** at limit **
   3  Prefactor     23.552        19.978       -.83855E-08   -.98421E-05
   4  Prefactor     .10000E-03    6.9208        .26614E-06** at limit **
   5  Prefactor     .10000E-03    13.254        .21604E-05** at limit **
   6  norm          1.7313        2.4893        .17351E-07   -.24018E-03
   7  norm          2.4761        2.4274        .41310E-07    .43162E-04
   8  Prefactor     22.344        17.789       -.68987E-07    .17866E-04
   9  Prefactor     .10000E-03    3.1011        .44646E-07** at limit **
  10  norm          1.9790        1.7806        .62484E-07   -.11249E-03
  11  Prefactor     .10000E-03    10.484       -.99860E-06** at limit **
  12  norm          .39898        1.7597        .17962E-06   -.18360E-03
  13  Prefactor     3.2924        4.9068        .72239E-06   -.11514E-04
  14  norm          .10001E-03    2.3142       -.62778E-06** at limit **
  15  Prefactor     .10000E-03    15.240       -.33685E-05** at limit **
  16  norm          .10000E-03    1.0214        .98030E-08** at limit **
  17  Prefactor     3.2930        5.9858        .39817E-06   -.58481E-03
  18  Prefactor     4.2469        4.5052        .16647E-05    .13427E-03
  19  Prefactor     .10000E-03    2.9449        .93599E-08** at limit **
  20  Prefactor     .10000E-03    82.060       -.94333E-06** at limit **
  21  Prefactor     .10000E-03    31.244        .72661E-06** at limit **
  22  Normalizat    1.2688        .19987       -.32982E-06    .86890E-04
  23  Prefactor     1.1038        .22621       -.44571E-06    .35797E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 23.5517
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.73135
  norm       = 2.4761
  Prefactor  = 22.3442
  Prefactor  = 0.0001
  norm       = 1.97902
  Prefactor  = 0.0001
  norm       = 0.398982
  Prefactor  = 3.29245
  norm       = 0.000100009
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.29298
  Prefactor  = 4.24687
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2688
  Prefactor  = 1.10379
 **********
 **   18 **HESSE 
 **********

 FCN=   5214.047     FROM HESSE     STATUS=OK           372 CALLS     2624 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.731        .25514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.1747        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.552        19.983        .82548E-04   -1.4737    
   4  Prefactor     .10000E-03    7.1523        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7313        2.3748        .12641E-03   -1.5445    
   7  norm          2.4761        2.4287        .10647E-03   -1.5393    
   8  Prefactor     22.344        17.716        .84734E-04   -1.4762    
   9  Prefactor     .10000E-03    14.454        .23351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9790        1.7705        .87272E-04   -1.5427    
  11  Prefactor     .10000E-03    10.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .39898        1.7747        .18470E-03   -1.5582    
  13  Prefactor     3.2924        4.9067        .18609E-03   -1.5345    
  14  norm          .10001E-03    7.7027        .20173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.0508        .14248E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.2930        13.399        .11154E-02   -1.5345    
  18  Prefactor     4.2469        4.5762        .15360E-03   -1.5296    
  19  Prefactor     .10000E-03    2.9571        .12099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    82.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    31.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2688        .24053        .23304E-03   -.84503    
  23  Prefactor     1.1038        .27409        .28771E-03   -.89345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45743e-09
Minuit parameter uncertainties:
  1  0.00051355
  2  3.80964e-06
  3  19.9891
  4  5.55173e-06
  5  2.88237e-05
  6  2.37489
  7  2.42882
  8  17.7202
  9  1.9806e-05
  10  1.77053
  11  1.49354e-05
  12  1.6828
  13  4.90734
  14  0.000515789
  15  5.22341e-05
  16  4.29231e-07
  17  13.2898
  18  4.57659
  19  3.98094e-06
  20  6.12893e-06
  21  1.11583e-05
  22  0.240744
  23  0.274446
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  5.158e-04  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:  1.104e+00  2.744e-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.269e+00  2.407e-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: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/835515/likelihoodResults_635385601_635644801_4FGL_J0145.0-2732_daily_bin1528.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): 102
logL (Free Index) = 5214.04808139
delta logL = -0.000618549352112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5213.11293653
delta logL = 0.934526304321

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0402       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1424       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2009       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=   5213.113     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      472 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0401        33.704        .12281E-01    .73595E-03
   2  alpha         5.0000        3.7127        .46423    ** at limit **
   3  Normalizat    1.1424        .24811        .55097E-01    .32366E-05
   4  Prefactor     1.2009        .16328        .62741E-01    .50635E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0401
  alpha      = 5
  Normalizat = 1.14242
  Prefactor  = 1.20088
 **********
 **   18 **HESSE 
 **********

 FCN=   5213.113     FROM HESSE     STATUS=OK            33 CALLS      505 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0401        .86742        .56687E-03   -1.5504    
   2  alpha         5.0000        3.3314        .70640E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1424        .25194        .24363E-03   -.88401    
   4  Prefactor     1.2009        .28445        .27751E-03   -.86304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22142e-12
Minuit parameter uncertainties:
  1  0.867435
  2  5.93189e-06
  3  0.252205
  4  0.284811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835515': 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) = 5213.11293642
delta logL = 0.934526414151

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  1.201e+00  2.848e-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.142e+00  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.08
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.88e-08 +/- 7.36e-08
Energy Flux (Free Index): 1.19e-05 +/- 9.91e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/835515/cmap_HighResolution_635385601_635644801_4FGL_J0145.0-2732_daily_bin1528.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-05', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='9.35e-01', photon_flux2='8.88e-08', job_status='DONE', time_completed='2021-08-14 16:16:58.888880', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='9.91e-06', EG='1.27', time_epoch_completed='1628983018.89', return_code='0', job_id='835515', GAL2='1.20', EG2='1.14', return_code2='0', photon_flux_error2='7.36e-08', ts2='2.08', photon_index='2.48' WHERE bin_id='1528' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 835515: <4FGL_J0145.0-2732_daily_bin1528> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1528 26.2585 -27.5363 635385601 635644801 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 :                                   621.00 sec.
    Max Memory :                                 1017 MB
    Average Memory :                             319.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            693 sec.

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

