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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1434
RA = 26.2585, Dec = -27.5363
tmin = 611020801, tmax = 611280001
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='834365', job_status='RUN', time_executed='2021-08-14 16:06:12.716188', time_epoch_executed='1628982372.72' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834365

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834365/ft1_4FGL_J0145.0-2732_daily_bin1434.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834365/ft2_4FGL_J0145.0-2732_daily_bin1434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834365/ft1_4FGL_J0145.0-2732_daily_bin1434.fits outfile=/scratch/kocevski/834365/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1434.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=611020801.0 tmax=611280001.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.36
user 2.68
sys 0.63

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834365/ft2_4FGL_J0145.0-2732_daily_bin1434.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/834365/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1434.fits evtable="EVENTS" outfile="/scratch/kocevski/834365/ft1_filtered_4FGL_J0145.0-2732_daily_bin1434.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 0.90
user 0.28
sys 0.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834365/ft1_filtered_4FGL_J0145.0-2732_daily_bin1434.fits" evtable="EVENTS" scfile=/scratch/kocevski/834365/ft2_4FGL_J0145.0-2732_daily_bin1434.fits sctable="SC_DATA" outfile=/scratch/kocevski/834365/ltcube_611020801_611280001_4FGL_J0145.0-2732_daily_bin1434.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/834365/ft2_4FGL_J0145.0-2732_daily_bin1434.fits
.....................!
real 11.58
user 10.72
sys 0.78

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834365/ft1_filtered_4FGL_J0145.0-2732_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/834365/ft2_4FGL_J0145.0-2732_daily_bin1434.fits sctable="SC_DATA" expcube=/scratch/kocevski/834365/ltcube_611020801_611280001_4FGL_J0145.0-2732_daily_bin1434.fits outfile=/scratch/kocevski/834365/expmap_611020801_611280001_4FGL_J0145.0-2732_daily_bin1434.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/834365/ltcube_611020801_611280001_4FGL_J0145.0-2732_daily_bin1434.fits
.....................!
real 153.50
user 148.90
sys 4.25

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/834365/ft1_filtered_4FGL_J0145.0-2732_daily_bin1434.fits scfile=/scratch/kocevski/834365/ft2_4FGL_J0145.0-2732_daily_bin1434.fits outfile=/scratch/kocevski/834365/cmap_611020801_611280001_4FGL_J0145.0-2732_daily_bin1434.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 0.99
user 0.30
sys 0.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834365/ft1_filtered_4FGL_J0145.0-2732_daily_bin1434.fits scfile=/scratch/kocevski/834365/ft2_4FGL_J0145.0-2732_daily_bin1434.fits outfile=/scratch/kocevski/834365/cmap_HighResolution_611020801_611280001_4FGL_J0145.0-2732_daily_bin1434.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 0.93
user 0.32
sys 0.58

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834365/ft1_filtered_4FGL_J0145.0-2732_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/834365/ft2_4FGL_J0145.0-2732_daily_bin1434.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834365/Model_4FGL_J0145.0-2732_daily_bin1434.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/834365/ft1_filtered_4FGL_J0145.0-2732_daily_bin1434.fits.....................!
real 40.74
user 38.93
sys 1.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .48240       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.884       1.0000         .10000E-03   10000.    
     6 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.4010       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10451E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .48352       1.0000         .10000E-03   10000.    
    14 'norm      '    .40754E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1471       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1621       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.7487       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .80378       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1696       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6055.321     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2267 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .82046         .0000    ** at limit **
   2  Prefactor     .45321        3.0116         .0000        .49042E-03
   3  Prefactor     .10000E-03    10.316         .0000    ** at limit **
   4  Prefactor     .10000E-03    1.4733         .0000    ** at limit **
   5  Prefactor     15.865        9.4486         .0000       -.14090E-02
   6  norm          .10000E-03    1.4048         .0000    ** at limit **
   7  norm          2.4010        1.7340         .0000        .35691E-04
   8  Prefactor     .10000E-03    5.1571         .0000    ** at limit **
   9  Prefactor     .10000E-03    1.2473         .0000    ** at limit **
  10  norm          .10000E-03    .48188         .0000    ** at limit **
  11  Prefactor     .10002E-03    26.910         .0000    ** at limit **
  12  norm          .10000E-03    .92419         .0000    ** at limit **
  13  Prefactor     .48319        2.2250         .0000        .35645E-02
  14  norm          .10016E-03    1.1361         .0000    ** at limit **
  15  Prefactor     .10001E-03    57.664         .0000    ** at limit **
  16  norm          1.1471        1.2370         .0000        .17055E-03
  17  Prefactor     1.1587        19.819         .0000        .12875E-01
  18  Prefactor     .10000E-03    1.9799         .0000    ** at limit **
  19  Prefactor     .10000E-03    2.0344         .0000    ** at limit **
  20  Prefactor     .10002E-03    19.926         .0000    ** at limit **
  21  Prefactor     4.7463        27.334         .0000        .30658E-03
  22  Normalizat    .80372        .14578         .0000        .75109E-04
  23  Prefactor     1.1696        .17232         .0000        .43315E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.453213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8653
  norm       = 0.0001
  norm       = 2.40097
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100025
  norm       = 0.0001
  Prefactor  = 0.483187
  norm       = 0.000100163
  Prefactor  = 0.000100007
  norm       = 1.14708
  Prefactor  = 1.15869
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 4.74631
  Normalizat = 0.803721
  Prefactor  = 1.16963
 **********
 **   18 **HESSE 
 **********

 FCN=   6055.321     FROM HESSE     STATUS=OK           374 CALLS     2641 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .82269        .68832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .45321        11.151        .25609E-02   -1.5573    
   3  Prefactor     .10000E-03    10.582        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.4669        .18324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.865        8.5380        .10049E-03   -1.4911    
   6  norm          .10000E-03    2.3032        .16175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.4010        1.7329        .84487E-04   -1.5398    
   8  Prefactor     .10000E-03    5.1721        .17256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.2547        .84810E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .50474        .10540E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    27.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.5856        .14332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .48319        3.8944        .21829E-02   -1.5569    
  14  norm          .10016E-03    19.816        .15492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    58.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1471        1.2213        .87370E-04   -1.5494    
  17  Prefactor     1.1587        20.202        .21359E-02   -1.5493    
  18  Prefactor     .10000E-03    1.9989        .10684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.0533        .10835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    19.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.7463        27.292        .18464E-03   -1.5272    
  22  Normalizat    .80372        .16938        .22009E-03   -.99931    
  23  Prefactor     1.1696        .20765        .22873E-03   -.87271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31901e-08
Minuit parameter uncertainties:
  1  7.09894e-07
  2  4.49664
  3  1.04827e-05
  4  2.93929e-05
  5  8.53867
  6  2.0105e-05
  7  1.73289
  8  1.48505e-06
  9  7.73984e-07
  10  3.70555e-06
  11  0.00164641
  12  8.83268e-07
  13  2.74347
  14  0.00359802
  15  0.00124808
  16  1.22132
  17  9.67964
  18  2.10465e-06
  19  8.16638e-06
  20  0.00138895
  21  22.7786
  22  0.169492
  23  0.20779
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.002e-04  3.598e-03  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.170e+00  2.078e-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.037e-01  1.695e-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: 7.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834365/likelihoodResults_611020801_611280001_4FGL_J0145.0-2732_daily_bin1434.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) = 6055.32079429
delta logL = -0.000242672453169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6055.14242961
delta logL = 0.178122005966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69795       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.0363       1.0000          .0000       5.0000    
     3 'Normalizat'    .76767       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1953       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=   6055.142     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      342 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .69799        2.5355        .10351E-03    .79979E-03
   2  alpha         4.0363        4.3484        .64103E-01    .17489E-04
   3  Normalizat    .76767        .17770        .22483E-03   -.56885E-04
   4  Prefactor     1.1953        .21160        .22660E-03    .40136E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.697988
  alpha      = 4.03626
  Normalizat = 0.767668
  Prefactor  = 1.19528
 **********
 **   18 **HESSE 
 **********

 FCN=   6055.142     FROM HESSE     STATUS=OK            25 CALLS      367 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .69799        1.8036        .41404E-05   -1.5541    
   2  alpha         4.0363        3.9186        .25641E-02    .66176    
   3  Normalizat    .76767        .17812        .89934E-05   -1.0128    
   4  Prefactor     1.1953        .21209        .90642E-05   -.86477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54968e-10
Minuit parameter uncertainties:
  1  1.80376
  2  2.38465
  3  0.178255
  4  0.212241
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834365': 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) = 6055.14242961
delta logL = 0.178122006578

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  1.195e+00  2.122e-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:  7.677e-01  1.783e-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/834365/cmap_HighResolution_611020801_611280001_4FGL_J0145.0-2732_daily_bin1434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-05', job_status='DONE', photon_flux_upper_limit='7.52e-08', time_completed='2021-08-14 16:14:54.581656', job_id='834365', GAL2='1.20', fit_tolerance='1e-08', EG2='0.77', EG='0.80', time_epoch_completed='1628982894.58', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.78e-01', ts2='0.39', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1434' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:14:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 834365: <4FGL_J0145.0-2732_daily_bin1434> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1434 26.2585 -27.5363 611020801 611280001 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 :                                   525.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             270.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            826 sec.

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

