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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1271
RA = 26.2585, Dec = -27.5363
tmin = 568771201, tmax = 569030401
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='834144', job_status='RUN', time_executed='2021-08-14 16:04:37.316561', time_epoch_executed='1628982277.32' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1271'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834144

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834144/ft1_4FGL_J0145.0-2732_daily_bin1271.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834144/ft2_4FGL_J0145.0-2732_daily_bin1271.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834144/ft1_4FGL_J0145.0-2732_daily_bin1271.fits outfile=/scratch/kocevski/834144/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1271.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=568771201.0 tmax=569030401.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.60
user 3.33
sys 1.12

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834144/ft1_filtered_4FGL_J0145.0-2732_daily_bin1271.fits" evtable="EVENTS" scfile=/scratch/kocevski/834144/ft2_4FGL_J0145.0-2732_daily_bin1271.fits sctable="SC_DATA" outfile=/scratch/kocevski/834144/ltcube_568771201_569030401_4FGL_J0145.0-2732_daily_bin1271.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/834144/ft2_4FGL_J0145.0-2732_daily_bin1271.fits
.....................!
real 15.16
user 13.11
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834144/ft1_filtered_4FGL_J0145.0-2732_daily_bin1271.fits evtable="EVENTS" scfile=/scratch/kocevski/834144/ft2_4FGL_J0145.0-2732_daily_bin1271.fits sctable="SC_DATA" expcube=/scratch/kocevski/834144/ltcube_568771201_569030401_4FGL_J0145.0-2732_daily_bin1271.fits outfile=/scratch/kocevski/834144/expmap_568771201_569030401_4FGL_J0145.0-2732_daily_bin1271.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/834144/ltcube_568771201_569030401_4FGL_J0145.0-2732_daily_bin1271.fits
.....................!
real 192.99
user 186.26
sys 6.08

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/834144/ft1_filtered_4FGL_J0145.0-2732_daily_bin1271.fits scfile=/scratch/kocevski/834144/ft2_4FGL_J0145.0-2732_daily_bin1271.fits outfile=/scratch/kocevski/834144/cmap_568771201_569030401_4FGL_J0145.0-2732_daily_bin1271.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.47
user 0.38
sys 1.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834144/ft1_filtered_4FGL_J0145.0-2732_daily_bin1271.fits scfile=/scratch/kocevski/834144/ft2_4FGL_J0145.0-2732_daily_bin1271.fits outfile=/scratch/kocevski/834144/cmap_HighResolution_568771201_569030401_4FGL_J0145.0-2732_daily_bin1271.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.35
user 0.37
sys 0.93

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .67508       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.559       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13041E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10151E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4793       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.590       1.0000         .10000E-03   10000.    
    10 'norm      '    .88979       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.722       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2202       1.0000         .10000E-03   10000.    
    14 'norm      '    .14069       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.2137       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.309       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .73231E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.204       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86966       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0292       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=   3782.703     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2616 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1473       -.20689E-07** at limit **
   2  Prefactor     .74445        8.6997       -.40362E-05   -.24425E-03
   3  Prefactor     19.541        20.340        .20315E-04    .28827E-03
   4  Prefactor     .10001E-03    3.4522        .23034E-05** at limit **
   5  Prefactor     .10000E-03    7.5244       -.42912E-06** at limit **
   6  norm          .10000E-03    2.1842        .12588E-05** at limit **
   7  norm          .10000E-03    1.1146       -.14503E-06** at limit **
   8  Prefactor     6.4758        11.784        .18569E-05   -.11969E-03
   9  Prefactor     12.595        7.2422       -.18412E-05   -.77693E-03
  10  norm          .88853        2.1404        .20034E-05   -.33802E-03
  11  Prefactor     14.733        38.365        .15043E-04   -.98985E-04
  12  norm          .10000E-03    .75497        .78369E-07** at limit **
  13  Prefactor     6.2187        5.7221        .48750E-05   -.55459E-03
  14  norm          .14671        2.1631        .17840E-05   -.87940E-03
  15  Prefactor     .10000E-03    25.909        .30670E-05** at limit **
  16  norm          2.2133        2.9651        .10282E-05   -.45579E-03
  17  Prefactor     11.298        16.567        .52524E-05   -.19551E-03
  18  Prefactor     .10000E-03    4.0096       -.35814E-06** at limit **
  19  Prefactor     .10000E-03    2.0236       -.48183E-06** at limit **
  20  Prefactor     .10000E-03    208.00       -.45192E-04** at limit **
  21  Prefactor     16.278        48.852        .11338E-03    .48303E-05
  22  Normalizat    .86991        .21792       -.13274E-04   -.35950E-03
  23  Prefactor     1.0292        .22570       -.36601E-05   -.58501E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.744455
  Prefactor  = 19.5405
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 6.47576
  Prefactor  = 12.5949
  norm       = 0.88853
  Prefactor  = 14.7332
  norm       = 0.0001
  Prefactor  = 6.21872
  norm       = 0.146705
  Prefactor  = 0.0001
  norm       = 2.21327
  Prefactor  = 11.2984
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  Prefactor  = 16.2777
  Normalizat = 0.869907
  Prefactor  = 1.02922
 **********
 **   18 **HESSE 
 **********

 FCN=   3782.703     FROM HESSE     STATUS=OK           374 CALLS     2990 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1480        .64337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .74445        47.818        .31141E-02   -1.5535    
   3  Prefactor     19.541        20.533        .90565E-04   -1.4824    
   4  Prefactor     .10001E-03    21.202        .21597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.5446        .16465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.8223        .17167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.1187        .63368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4758        11.763        .15767E-03   -1.5199    
   9  Prefactor     12.595        7.0773        .11289E-03   -1.4998    
  10  norm          .88853        2.1228        .12862E-03   -1.5519    
  11  Prefactor     14.733        38.295        .10439E-03   -1.4940    
  12  norm          .10000E-03    .75701        .52152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2187        5.7216        .12986E-03   -1.5209    
  14  norm          .14671        20.062        .16794E-02   -1.5631    
  15  Prefactor     .10000E-03    25.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.2133        2.9528        .11696E-03   -1.5410    
  17  Prefactor     11.298        16.592        .11913E-03   -1.5036    
  18  Prefactor     .10000E-03    4.0461        .12017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.0264        .85456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    212.44        .20954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.278        48.653        .99497E-04   -1.4901    
  22  Normalizat    .86991        .25304        .23273E-03   -.97526    
  23  Prefactor     1.0292        .26396        .24738E-03   -.91762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.66261e-09
Minuit parameter uncertainties:
  1  2.96654e-06
  2  11.942
  3  20.5406
  4  0.00074327
  5  7.22933e-05
  6  0.000253543
  7  1.48851e-05
  8  11.7674
  9  7.07781
  10  2.12303
  11  38.3584
  12  6.56943e-06
  13  5.72211
  14  3.43115
  15  3.27438e-05
  16  2.95304
  17  16.5992
  18  5.34333e-05
  19  6.58148e-05
  20  0.00158458
  21  48.7722
  22  0.253387
  23  0.264295
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.467e-01  3.431e+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:  1.029e+00  2.643e-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:  8.699e-01  2.534e-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/834144/likelihoodResults_568771201_569030401_4FGL_J0145.0-2732_daily_bin1271.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) = 3782.67812467
delta logL = 0.025305281898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3782.43884883
delta logL = 0.264581124038

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58653       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .80690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0762       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=   3782.439     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      232 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58653        54.455        .11619E-01    .46624E-04
   2  alpha         5.0000        2.5440        .46354    ** at limit **
   3  Normalizat    .80699        .17424        .43700E-01    .94379E-05
   4  Prefactor     1.0761        .12002        .38572E-01    .17175E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.586527
  alpha      = 5
  Normalizat = 0.806989
  Prefactor  = 1.07609
 **********
 **   18 **HESSE 
 **********

 FCN=   3782.439     FROM HESSE     STATUS=OK            35 CALLS      267 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58653        .90710        .65963E-03   -1.5555    
   2  alpha         5.0000        4.6172        .11559        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .80699        .24375        .24087E-03   -.99810    
   4  Prefactor     1.0761        .27054        .24266E-03   -.90235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.03842e-11
Minuit parameter uncertainties:
  1  0.907119
  2  3.60932e-05
  3  0.244076
  4  0.270887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834144': 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) = 3782.43884863
delta logL = 0.264581318258

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  5.865e-01  9.071e-01  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  5.000e+00  3.609e-05  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.076e+00  2.709e-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:  8.070e-01  2.441e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 26.259 -27.536

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-05', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-08-14 16:13:40.091536', job_id='834144', GAL2='1.08', fit_tolerance='1e-08', EG2='0.81', EG='0.87', time_epoch_completed='1628982820.09', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.65e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1271' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:13:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 834144: <4FGL_J0145.0-2732_daily_bin1271> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1271> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:50 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:02:34 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:02:34 2021
Terminated at Sat Aug 14 16:13:40 2021
Results reported at Sat Aug 14 16:13:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1271 26.2585 -27.5363 568771201 569030401 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 :                                   551.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            770 sec.

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

