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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1136
RA = 26.2585, Dec = -27.5363
tmin = 533779201, tmax = 534038401
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='833946', job_status='RUN', time_executed='2021-08-14 16:02:36.643114', time_epoch_executed='1628982156.64' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1136'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833946

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833946/ft1_4FGL_J0145.0-2732_daily_bin1136.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833946/ft2_4FGL_J0145.0-2732_daily_bin1136.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833946/ft1_4FGL_J0145.0-2732_daily_bin1136.fits outfile=/scratch/kocevski/833946/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1136.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=533779201.0 tmax=534038401.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.12
user 3.28
sys 2.77

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833946/ft2_4FGL_J0145.0-2732_daily_bin1136.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/833946/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1136.fits evtable="EVENTS" outfile="/scratch/kocevski/833946/ft1_filtered_4FGL_J0145.0-2732_daily_bin1136.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.89
user 0.36
sys 2.51

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833946/ft1_filtered_4FGL_J0145.0-2732_daily_bin1136.fits" evtable="EVENTS" scfile=/scratch/kocevski/833946/ft2_4FGL_J0145.0-2732_daily_bin1136.fits sctable="SC_DATA" outfile=/scratch/kocevski/833946/ltcube_533779201_534038401_4FGL_J0145.0-2732_daily_bin1136.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/833946/ft2_4FGL_J0145.0-2732_daily_bin1136.fits
.....................!
real 15.36
user 12.07
sys 3.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833946/ft1_filtered_4FGL_J0145.0-2732_daily_bin1136.fits evtable="EVENTS" scfile=/scratch/kocevski/833946/ft2_4FGL_J0145.0-2732_daily_bin1136.fits sctable="SC_DATA" expcube=/scratch/kocevski/833946/ltcube_533779201_534038401_4FGL_J0145.0-2732_daily_bin1136.fits outfile=/scratch/kocevski/833946/expmap_533779201_534038401_4FGL_J0145.0-2732_daily_bin1136.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/833946/ltcube_533779201_534038401_4FGL_J0145.0-2732_daily_bin1136.fits
.....................!
real 196.61
user 187.64
sys 7.44

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/833946/ft1_filtered_4FGL_J0145.0-2732_daily_bin1136.fits scfile=/scratch/kocevski/833946/ft2_4FGL_J0145.0-2732_daily_bin1136.fits outfile=/scratch/kocevski/833946/cmap_533779201_534038401_4FGL_J0145.0-2732_daily_bin1136.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 3.16
user 0.38
sys 2.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833946/ft1_filtered_4FGL_J0145.0-2732_daily_bin1136.fits scfile=/scratch/kocevski/833946/ft2_4FGL_J0145.0-2732_daily_bin1136.fits outfile=/scratch/kocevski/833946/cmap_HighResolution_533779201_534038401_4FGL_J0145.0-2732_daily_bin1136.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 3.14
user 0.39
sys 2.60

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/833946/ft1_filtered_4FGL_J0145.0-2732_daily_bin1136.fits evtable="EVENTS" scfile=/scratch/kocevski/833946/ft2_4FGL_J0145.0-2732_daily_bin1136.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833946/Model_4FGL_J0145.0-2732_daily_bin1136.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/833946/ft1_filtered_4FGL_J0145.0-2732_daily_bin1136.fits.....................!
real 55.34
user 49.96
sys 4.66

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8259       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10577E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9586       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8332       1.0000         .10000E-03   10000.    
     6 'norm      '    4.5343       1.0000         .10000E-03   10000.    
     7 'norm      '    6.7973       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .33026       1.0000         .10000E-03   10000.    
    10 'norm      '    .48277       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.4407       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.4132       1.0000         .10000E-03   10000.    
    14 'norm      '    .10278E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .82820       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4444       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.5600       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .84319       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .71065       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=   6287.883     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2220 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8259        1.7484        .50560E-08    .13549E-03
   2  Prefactor     .10000E-03    2.2849       -.39259E-08** at limit **
   3  Prefactor     .10000E-03    26.169       -.13453E-04** at limit **
   4  Prefactor     1.9587        1.7375       -.43904E-07   -.80544E-04
   5  Prefactor     9.8337        9.5614       -.15044E-06    .15777E-03
   6  norm          4.5349        2.4681        .96044E-07    .58867E-03
   7  norm          6.7966        2.6904        .11940E-06    .81105E-03
   8  Prefactor     .10000E-03    9.2811        .77788E-07** at limit **
   9  Prefactor     .32539        1.9736       -.41199E-06    .20055E-04
  10  norm          .48276        .93374       -.24151E-06   -.14722E-02
  11  Prefactor     .10000E-03    6.8384       -.31588E-05** at limit **
  12  norm          1.4412        1.4813       -.29029E-07   -.18926E-03
  13  Prefactor     4.4132        2.7942       -.20748E-06   -.69353E-04
  14  norm          .10000E-03    1.2783       -.16827E-06** at limit **
  15  Prefactor     .10000E-03    6.5813        .29571E-05** at limit **
  16  norm          .82803        1.6118       -.53630E-06   -.11536E-02
  17  Prefactor     .10000E-03    2.5326        .30017E-06** at limit **
  18  Prefactor     3.4444        3.2128       -.99673E-07   -.24233E-03
  19  Prefactor     .10000E-03    1.2502       -.39977E-07** at limit **
  20  Prefactor     .10000E-03    25.340        .12785E-04** at limit **
  21  Prefactor     2.5588        21.660       -.25168E-05   -.81915E-04
  22  Normalizat    .84319        .12958        .82346E-06    .41199E-03
  23  Prefactor     .71067        .14768        .16635E-06    .27871E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.82587
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 1.95866
  Prefactor  = 9.83369
  norm       = 4.53488
  norm       = 6.79658
  Prefactor  = 0.0001
  Prefactor  = 0.325387
  norm       = 0.482761
  Prefactor  = 0.0001
  norm       = 1.44116
  Prefactor  = 4.41316
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.828026
  Prefactor  = 0.0001
  Prefactor  = 3.44437
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.55875
  Normalizat = 0.843188
  Prefactor  = 0.710671
 **********
 **   18 **HESSE 
 **********

 FCN=   6287.883     FROM HESSE     STATUS=OK           378 CALLS     2598 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8259        1.7504        .80481E-04   -1.5372    
   2  Prefactor     .10000E-03    2.3004        .11701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    26.189        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.9587        1.7303        .95689E-04   -1.5428    
   5  Prefactor     9.8337        9.5703        .12779E-03   -1.5081    
   6  norm          4.5349        2.4893        .75207E-04   -1.5282    
   7  norm          6.7966        2.6853        .78337E-04   -1.5187    
   8  Prefactor     .10000E-03    9.3245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .32539        9.7802        .19474E-02   -1.5594    
  10  norm          .48276        .90517        .10267E-02   -1.5569    
  11  Prefactor     .10000E-03    6.8151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4412        1.4523        .91550E-04   -1.5468    
  13  Prefactor     4.4132        2.8029        .10115E-03   -1.5288    
  14  norm          .10000E-03    2.8674        .17175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.5505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .82803        1.6166        .13691E-03   -1.5526    
  17  Prefactor     .10000E-03    2.5415        .12321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.4444        3.2122        .13228E-03   -1.5337    
  19  Prefactor     .10000E-03    1.2575        .86573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.5588        21.936        .25515E-03   -1.5388    
  22  Normalizat    .84319        .15303        .19261E-03   -.98486    
  23  Prefactor     .71067        .17483        .24788E-03   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3819e-09
Minuit parameter uncertainties:
  1  1.75039
  2  2.51446e-06
  3  0.000607151
  4  1.73039
  5  9.57182
  6  2.48931
  7  2.68538
  8  4.64285e-06
  9  3.56791
  10  0.905196
  11  5.10203e-05
  12  1.45234
  13  2.80296
  14  6.62019e-07
  15  4.80665e-05
  16  1.61672
  17  4.72695e-06
  18  3.21236
  19  5.05215e-07
  20  0.00042771
  21  14.9911
  22  0.15311
  23  0.174963
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  6.620e-07  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.107e-01  1.750e-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.432e-01  1.531e-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: 4.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833946/likelihoodResults_533779201_534038401_4FGL_J0145.0-2732_daily_bin1136.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) = 6287.88420658
delta logL = -0.00166518683181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6287.64815945
delta logL = 0.234381942936

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46208       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1809       1.0000          .0000       5.0000    
     3 'Normalizat'    .81580       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73012       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=   6287.648     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      306 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46210        30.736        .11115E-01    .15706E-02
   2  alpha         4.1816        4.5904        .50000        .83861E-05
   3  Normalizat    .81574        .42801E-01    .43816E-01    .10852E-04
   4  Prefactor     .73014        .47182E-01    .42801E-01    .17717E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.462101
  alpha      = 4.18156
  Normalizat = 0.815737
  Prefactor  = 0.730142
 **********
 **   18 **HESSE 
 **********

 FCN=   6287.648     FROM HESSE     STATUS=OK            33 CALLS      339 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46210        1.2838        .82161E-04   -1.5572    
   2  alpha         4.1816        4.0357        .63621E-01    .73775    
   3  Normalizat    .81574        .15042        .19556E-03   -.99488    
   4  Prefactor     .73014        .17604        .24486E-03   -1.0236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89791e-09
Minuit parameter uncertainties:
  1  1.28388
  2  2.45527
  3  0.150499
  4  0.176173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833946': 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) = 6287.64815914
delta logL = 0.234382247581

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  4.621e-01  1.284e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  4.182e+00  2.455e+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:  7.301e-01  1.762e-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.157e-01  1.505e-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/833946/cmap_HighResolution_533779201_534038401_4FGL_J0145.0-2732_daily_bin1136.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-05', job_status='DONE', photon_flux_upper_limit='4.97e-08', time_completed='2021-08-14 16:14:03.495132', job_id='833946', GAL2='0.73', fit_tolerance='1e-08', EG2='0.82', EG='0.84', time_epoch_completed='1628982843.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.34e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1136' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:14:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 833946: <4FGL_J0145.0-2732_daily_bin1136> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1136> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:35 2021
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:00:43 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:00:43 2021
Terminated at Sat Aug 14 16:14:04 2021
Results reported at Sat Aug 14 16:14:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1136 26.2585 -27.5363 533779201 534038401 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 :                                   715.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            809 sec.

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

