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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1532
RA = 26.2585, Dec = -27.5363
tmin = 636422401, tmax = 636681601
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='835521', job_status='RUN', time_executed='2021-08-14 16:07:42.783047', time_epoch_executed='1628982462.78' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1532'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835521

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835521/ft1_4FGL_J0145.0-2732_daily_bin1532.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835521/ft2_4FGL_J0145.0-2732_daily_bin1532.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835521/ft1_4FGL_J0145.0-2732_daily_bin1532.fits outfile=/scratch/kocevski/835521/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1532.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=636422401.0 tmax=636681601.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 6.18
user 3.45
sys 2.65

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835521/ft1_filtered_4FGL_J0145.0-2732_daily_bin1532.fits" evtable="EVENTS" scfile=/scratch/kocevski/835521/ft2_4FGL_J0145.0-2732_daily_bin1532.fits sctable="SC_DATA" outfile=/scratch/kocevski/835521/ltcube_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.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/835521/ft2_4FGL_J0145.0-2732_daily_bin1532.fits
.....................!
real 15.21
user 12.10
sys 3.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835521/ft1_filtered_4FGL_J0145.0-2732_daily_bin1532.fits evtable="EVENTS" scfile=/scratch/kocevski/835521/ft2_4FGL_J0145.0-2732_daily_bin1532.fits sctable="SC_DATA" expcube=/scratch/kocevski/835521/ltcube_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.fits outfile=/scratch/kocevski/835521/expmap_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.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/835521/ltcube_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.fits
.....................!
real 193.38
user 185.82
sys 7.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/835521/ft1_filtered_4FGL_J0145.0-2732_daily_bin1532.fits scfile=/scratch/kocevski/835521/ft2_4FGL_J0145.0-2732_daily_bin1532.fits outfile=/scratch/kocevski/835521/cmap_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.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 2.90
user 0.37
sys 2.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835521/ft1_filtered_4FGL_J0145.0-2732_daily_bin1532.fits scfile=/scratch/kocevski/835521/ft2_4FGL_J0145.0-2732_daily_bin1532.fits outfile=/scratch/kocevski/835521/cmap_HighResolution_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.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 2.93
user 0.39
sys 2.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835521/ft1_filtered_4FGL_J0145.0-2732_daily_bin1532.fits evtable="EVENTS" scfile=/scratch/kocevski/835521/ft2_4FGL_J0145.0-2732_daily_bin1532.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835521/Model_4FGL_J0145.0-2732_daily_bin1532.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/835521/ft1_filtered_4FGL_J0145.0-2732_daily_bin1532.fits.....................!
real 38.79
user 34.28
sys 4.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/835521/ft1_filtered_4FGL_J0145.0-2732_daily_bin1532.fits', '/scratch/kocevski/835521/ft2_4FGL_J0145.0-2732_daily_bin1532.fits', expMap='/scratch/kocevski/835521/expmap_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.fits', expCube='/scratch/kocevski/835521/ltcube_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/835521/Model_4FGL_J0145.0-2732_daily_bin1532.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/835521/ft1_filtered_4FGL_J0145.0-2732_daily_bin1532.fits
Spacecraft file(s): /scratch/kocevski/835521/ft2_4FGL_J0145.0-2732_daily_bin1532.fits
Exposure map: /scratch/kocevski/835521/expmap_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.fits
Exposure cube: /scratch/kocevski/835521/ltcube_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/835521/Model_4FGL_J0145.0-2732_daily_bin1532.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3587.7746373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10203E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.305       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .26408E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .82846       1.0000         .10000E-03   10000.    
     7 'norm      '    3.7543       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3854       1.0000         .10000E-03   10000.    
    10 'norm      '    .53484       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8553       1.0000         .10000E-03   10000.    
    14 'norm      '    7.5446       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15550E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.1138       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5652       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11623E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.4991       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2392       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79408       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=   3587.746     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2619 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2932       -.26815E-07** at limit **
   2  Prefactor     .10001E-03    25.856       -.30996E-05** at limit **
   3  Prefactor     21.291        22.659        .34291E-06   -.19705E-03
   4  Prefactor     .10000E-03    2.7698       -.11660E-06** at limit **
   5  Prefactor     .10116E-03    15.830       -.37810E-05** at limit **
   6  norm          .82361        1.5636        .11603E-05    .14012E-02
   7  norm          3.7549        3.3775       -.24503E-07   -.11389E-03
   8  Prefactor     .10000E-03    12.637       -.15540E-06** at limit **
   9  Prefactor     1.3906        5.5706       -.33551E-06   -.13126E-04
  10  norm          .53496        1.3429       -.21609E-06    .34437E-03
  11  Prefactor     .10000E-03    77.291        .25732E-06** at limit **
  12  norm          .10000E-03    1.9473       -.18444E-06** at limit **
  13  Prefactor     1.8567        5.5493        .81041E-07   -.31552E-04
  14  norm          7.5456        5.3280        .30214E-07   -.96634E-04
  15  Prefactor     .10000E-03    35.618       -.31797E-06** at limit **
  16  norm          7.1146        4.3035        .13359E-07   -.90132E-04
  17  Prefactor     1.5675        7.8696        .18174E-05   -.92325E-04
  18  Prefactor     .10000E-03    4.4847        .65072E-07** at limit **
  19  Prefactor     .10000E-03    3.8391        .33240E-06** at limit **
  20  Prefactor     .10000E-03    75.580       -.28490E-07** at limit **
  21  Prefactor     5.4732        148.23        .27021E-05   -.64542E-06
  22  Normalizat    1.2389        .23184       -.54908E-06   -.38645E-04
  23  Prefactor     .79432        .24157        .97890E-06   -.24041E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 21.2913
  Prefactor  = 0.0001
  Prefactor  = 0.000101162
  norm       = 0.823614
  norm       = 3.75486
  Prefactor  = 0.0001
  Prefactor  = 1.39055
  norm       = 0.534958
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.85674
  norm       = 7.54564
  Prefactor  = 0.0001
  norm       = 7.11456
  Prefactor  = 1.56747
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.47325
  Normalizat = 1.23892
  Prefactor  = 0.794323
 **********
 **   18 **HESSE 
 **********

 FCN=   3587.746     FROM HESSE     STATUS=OK           382 CALLS     3001 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2945        .66522E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    41.442        .37843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.291        21.664        .86776E-04   -1.4785    
   4  Prefactor     .10000E-03    2.7967        .97309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10116E-03    13.433        .56851E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .82361        1.9223        .11894E-02   -1.5526    
   7  norm          3.7549        3.3703        .98984E-04   -1.5320    
   8  Prefactor     .10000E-03    12.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.3906        5.5074        .26227E-03   -1.5472    
  10  norm          .53496        1.1986        .10602E-02   -1.5562    
  11  Prefactor     .10000E-03    77.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.9803        .81397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.8567        5.5404        .22869E-03   -1.5435    
  14  norm          7.5456        5.3442        .10886E-03   -1.5159    
  15  Prefactor     .10000E-03    35.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.1146        4.3158        .92433E-04   -1.5174    
  17  Prefactor     1.5675        12.901        .16998E-02   -1.5458    
  18  Prefactor     .10000E-03    4.5356        .12384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.8380        .11442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    75.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.4732        148.64        .17134E-03   -1.5240    
  22  Normalizat    1.2389        .27862        .21990E-03   -.85408    
  23  Prefactor     .79432        .28743        .29583E-03   -.99938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8961e-09
Minuit parameter uncertainties:
  1  2.14136e-06
  2  0.00139861
  3  21.6724
  4  1.46479e-05
  5  0.00790465
  6  1.92244
  7  3.37047
  8  3.22215e-05
  9  5.50943
  10  1.19864
  11  1.3958e-05
  12  2.17892e-05
  13  5.54194
  14  5.34451
  15  2.52424e-05
  16  4.31602
  17  8.99618
  18  1.94528e-05
  19  7.06008e-05
  20  0.00030714
  21  57.2022
  22  0.278955
  23  0.287978
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  7.546e+00  5.345e+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:  7.943e-01  2.880e-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.239e+00  2.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.21
Ra Dec: 26.259 -27.536
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 8.99e-08 +/- 6.36e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.67e-05

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

Saving results to:
/scratch/kocevski/835521/likelihoodResults_636422401_636681601_4FGL_J0145.0-2732_daily_bin1532.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) = 3587.63084629
delta logL = 0.115329232208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3587.62266229
delta logL = 0.123513231277

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1101       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9001       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81989       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.

 FCN=   3587.623     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      241 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1098        5.3409        .10055E-03    .17568E-02
   2  alpha         2.9004        .89051        .17270E-01    .10760E-03
   3  Normalizat    1.2119        .26783        .22195E-03   -.87785E-04
   4  Prefactor     .81983        .29065        .29166E-03   -.89008E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.1098
  alpha      = 2.9004
  Normalizat = 1.21185
  Prefactor  = 0.819834
 **********
 **   18 **HESSE 
 **********

 FCN=   3587.623     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1098        5.2585        .40219E-05   -1.5175    
   2  alpha         2.9004        .87704        .69079E-03    .16085    
   3  Normalizat    1.2119        .26819        .44389E-04   -.86237    
   4  Prefactor     .81983        .29089        .11667E-04   -.99001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65919e-09
Minuit parameter uncertainties:
  1  5.25883
  2  0.896637
  3  0.268499
  4  0.29144
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835521': 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) = 3587.6226622
delta logL = 0.123513314907

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  8.198e-01  2.914e-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.212e+00  2.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.47
Ra Dec: 26.259 -27.536
Photon Index (Free Index): 2.90 +/- 0.90
Photon Flux (Free Index): 1.08e-07 +/- 7.91e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.53e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.80e-05', comment='SUCCESS', photon_flux='8.99e-08', energy_flux2='2.23e-05', photon_flux_error='6.36e-08', dlogl='1.24e-01', energy_flux='2.36e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-08-14 16:16:49.202169', photon_index_error2='0.90', photon_index2='2.90', ts='3.21', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='2.21e-07', energy_flux_error2='1.53e-05', EG='1.24', time_epoch_completed='1628983009.2', return_code='0', job_id='835521', GAL2='0.82', EG2='1.21', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='7.91e-08', ts2='3.47', photon_index='2.48' WHERE bin_id='1532' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 835521: <4FGL_J0145.0-2732_daily_bin1532> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1532 26.2585 -27.5363 636422401 636681601 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 :                                   581.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            683 sec.

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

