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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1225
RA = 26.2585, Dec = -27.5363
tmin = 556848001, tmax = 557107201
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='834076', job_status='RUN', time_executed='2021-08-14 16:07:03.493510', time_epoch_executed='1628982423.49' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1225'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834076

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834076/ft1_4FGL_J0145.0-2732_daily_bin1225.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834076/ft2_4FGL_J0145.0-2732_daily_bin1225.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834076/ft1_4FGL_J0145.0-2732_daily_bin1225.fits outfile=/scratch/kocevski/834076/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1225.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=556848001.0 tmax=557107201.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 8.22
user 3.39
sys 4.79

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834076/ft2_4FGL_J0145.0-2732_daily_bin1225.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/834076/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1225.fits evtable="EVENTS" outfile="/scratch/kocevski/834076/ft1_filtered_4FGL_J0145.0-2732_daily_bin1225.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 5.35
user 0.34
sys 4.73

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834076/ft1_filtered_4FGL_J0145.0-2732_daily_bin1225.fits" evtable="EVENTS" scfile=/scratch/kocevski/834076/ft2_4FGL_J0145.0-2732_daily_bin1225.fits sctable="SC_DATA" outfile=/scratch/kocevski/834076/ltcube_556848001_557107201_4FGL_J0145.0-2732_daily_bin1225.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/834076/ft2_4FGL_J0145.0-2732_daily_bin1225.fits
.....................!
real 18.89
user 13.30
sys 5.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834076/ft1_filtered_4FGL_J0145.0-2732_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/834076/ft2_4FGL_J0145.0-2732_daily_bin1225.fits sctable="SC_DATA" expcube=/scratch/kocevski/834076/ltcube_556848001_557107201_4FGL_J0145.0-2732_daily_bin1225.fits outfile=/scratch/kocevski/834076/expmap_556848001_557107201_4FGL_J0145.0-2732_daily_bin1225.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/834076/ltcube_556848001_557107201_4FGL_J0145.0-2732_daily_bin1225.fits
.....................!
real 196.84
user 185.49
sys 10.87

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/834076/ft1_filtered_4FGL_J0145.0-2732_daily_bin1225.fits scfile=/scratch/kocevski/834076/ft2_4FGL_J0145.0-2732_daily_bin1225.fits outfile=/scratch/kocevski/834076/cmap_556848001_557107201_4FGL_J0145.0-2732_daily_bin1225.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 5.06
user 0.38
sys 4.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834076/ft1_filtered_4FGL_J0145.0-2732_daily_bin1225.fits scfile=/scratch/kocevski/834076/ft2_4FGL_J0145.0-2732_daily_bin1225.fits outfile=/scratch/kocevski/834076/cmap_HighResolution_556848001_557107201_4FGL_J0145.0-2732_daily_bin1225.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 4.63
user 0.38
sys 4.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834076/ft1_filtered_4FGL_J0145.0-2732_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/834076/ft2_4FGL_J0145.0-2732_daily_bin1225.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834076/Model_4FGL_J0145.0-2732_daily_bin1225.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/834076/ft1_filtered_4FGL_J0145.0-2732_daily_bin1225.fits.....................!
real 39.19
user 31.85
sys 7.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89748       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3150       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9416       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10285E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.5518       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.4409       1.0000         .10000E-03   10000.    
    10 'norm      '    .41002       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.588       1.0000         .10000E-03   10000.    
    12 'norm      '    .44446       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.5135       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .85178       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0177       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0173       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=   3332.564     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2598 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89245        1.7436        .25257E-06   -.15280E-02
   2  Prefactor     1.3084        31.342        .25802E-04   -.69404E-04
   3  Prefactor     .10000E-03    15.914       -.68614E-06** at limit **
   4  Prefactor     5.9374        8.6234        .14002E-06   -.21881E-04
   5  Prefactor     .10000E-03    11.204       -.11213E-05** at limit **
   6  norm          .10000E-03    3.8496        .13309E-05** at limit **
   7  norm          7.5513        4.6100       -.25801E-06   -.30813E-03
   8  Prefactor     .10000E-03    10.273        .58570E-06** at limit **
   9  Prefactor     5.4454        7.9820       -.64139E-05   -.86051E-03
  10  norm          .40902        1.5088       -.11262E-07   -.24659E-04
  11  Prefactor     26.575        41.649       -.23765E-06    .15811E-05
  12  norm          .44139        3.9362        .21077E-05   -.18527E-03
  13  Prefactor     .10000E-03    2.1269       -.46618E-07** at limit **
  14  norm          .10000E-03    1.2964       -.29902E-07** at limit **
  15  Prefactor     .10000E-03    40.959        .64744E-06** at limit **
  16  norm          .10000E-03    .87523        .23920E-07** at limit **
  17  Prefactor     7.5011        17.638       -.16353E-04   -.69940E-04
  18  Prefactor     .10000E-03    4.5957        .63071E-06** at limit **
  19  Prefactor     .10000E-03    6.3935        .14163E-06** at limit **
  20  Prefactor     .50642        81.198       -.44467E-05    .89079E-04
  21  Prefactor     .10000E-03    263.01        .14183E-04** at limit **
  22  Normalizat    1.0179        .22387        .25347E-05   -.42785E-03
  23  Prefactor     1.0176        .24879        .11533E-07   -.20358E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.892454
  Prefactor  = 1.3084
  Prefactor  = 0.0001
  Prefactor  = 5.93738
  Prefactor  = 0.0001
  norm       = 0.000100004
  norm       = 7.55132
  Prefactor  = 0.0001
  Prefactor  = 5.44539
  norm       = 0.40902
  Prefactor  = 26.575
  norm       = 0.441395
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.50114
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.506418
  Prefactor  = 0.0001
  Normalizat = 1.01792
  Prefactor  = 1.01763
 **********
 **   18 **HESSE 
 **********

 FCN=   3332.564     FROM HESSE     STATUS=OK           378 CALLS     2976 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89245        15.480        .21342E-02   -1.5519    
   2  Prefactor     1.3084        30.897        .38414E-03   -1.5479    
   3  Prefactor     .10000E-03    15.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.9374        8.6193        .16474E-03   -1.5221    
   5  Prefactor     .10000E-03    11.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.6015        .20862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.5513        4.6083        .93572E-04   -1.5158    
   8  Prefactor     .10000E-03    10.280        .18071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.4454        7.6870        .17227E-03   -1.5241    
  10  norm          .40902        2.4314        .12854E-02   -1.5580    
  11  Prefactor     26.575        41.694        .77692E-04   -1.4676    
  12  norm          .44139        7.0820        .19948E-02   -1.5575    
  13  Prefactor     .10000E-03    2.1321        .82186E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.2995        .64137E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    41.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .88057        .52730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.5011        17.474        .14631E-03   -1.5160    
  18  Prefactor     .10000E-03    4.6973        .12082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.4982        .14240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .50642        102.74        .13042       -1.5566    
  21  Prefactor     .10000E-03    269.01        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0179        .25848        .22074E-03   -.92433    
  23  Prefactor     1.0176        .29094        .25832E-03   -.92144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27289e-08
Minuit parameter uncertainties:
  1  7.43562
  2  12.7232
  3  0.000137551
  4  8.62112
  5  2.35224e-05
  6  0.000367794
  7  4.60855
  8  4.72597e-06
  9  7.68838
  10  1.99438
  11  41.7392
  12  3.53617
  13  4.92342e-06
  14  1.64125e-06
  15  0.000207489
  16  4.48922e-07
  17  17.486
  18  0.000122117
  19  4.04246e-05
  20  14.4497
  21  0.000574903
  22  0.258795
  23  0.291395
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  1.641e-06  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.018e+00  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.018e+00  2.588e-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.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834076/likelihoodResults_556848001_557107201_4FGL_J0145.0-2732_daily_bin1225.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) = 3332.56804128
delta logL = -0.00357454342566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3332.56446459
delta logL = 2.1520527298e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10787E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9006       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0179       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0176       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=   3332.564     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      277 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.4087        .23548E-01** at limit **
   2  alpha         5.0000        4.5557        .16736    ** at limit **
   3  Normalizat    1.0179        .21315E-01    .22073E-03    .12701E-03
   4  Prefactor     1.0176        .24747E-01    .25832E-03   -.16123E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 5
  Normalizat = 1.01792
  Prefactor  = 1.01763
 **********
 **   18 **HESSE 
 **********

 FCN=   3332.564     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2933        .83491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        2.5169        .66944E-02    1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0179        .24391        .44147E-04   -.92433    
   4  Prefactor     1.0176        .28664        .51663E-04   -.92144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.22592e-10
Minuit parameter uncertainties:
  1  4.15447e-06
  2  0.155513
  3  0.244177
  4  0.28707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834076': 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) = 3332.56444996
delta logL = 1.67824687196e-05

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  4.154e-06  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  5.000e+00  1.555e-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:  1.018e+00  2.871e-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.018e+00  2.442e-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/834076/cmap_HighResolution_556848001_557107201_4FGL_J0145.0-2732_daily_bin1225.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-05', job_status='DONE', photon_flux_upper_limit='7.85e-08', time_completed='2021-08-14 16:16:34.089820', job_id='834076', GAL2='1.02', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1628982994.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.68e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1225' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 834076: <4FGL_J0145.0-2732_daily_bin1225> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1225 26.2585 -27.5363 556848001 557107201 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 :                                   638.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            949 sec.

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

