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


Performing analysis on: 4FGL_J0145.0-2732_daily_bin1269
RA = 26.2585, Dec = -27.5363
tmin = 568252801, tmax = 568512001
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='834141', job_status='RUN', time_executed='2021-08-14 16:05:58.112782', time_epoch_executed='1628982358.11' WHERE source_name='4FGL J0145.0-2732' and cadence='daily' and bin_id='1269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834141

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834141/ft1_4FGL_J0145.0-2732_daily_bin1269.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834141/ft2_4FGL_J0145.0-2732_daily_bin1269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834141/ft1_4FGL_J0145.0-2732_daily_bin1269.fits outfile=/scratch/kocevski/834141/ft1_filteredMKT_4FGL_J0145.0-2732_daily_bin1269.fits ra=26.2585 dec=-27.5363 rad=12.0 tmin=568252801.0 tmax=568512001.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 13.19
user 3.49
sys 9.46

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834141/ft1_filtered_4FGL_J0145.0-2732_daily_bin1269.fits" evtable="EVENTS" scfile=/scratch/kocevski/834141/ft2_4FGL_J0145.0-2732_daily_bin1269.fits sctable="SC_DATA" outfile=/scratch/kocevski/834141/ltcube_568252801_568512001_4FGL_J0145.0-2732_daily_bin1269.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/834141/ft2_4FGL_J0145.0-2732_daily_bin1269.fits
.....................!
real 23.64
user 12.71
sys 10.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834141/ft1_filtered_4FGL_J0145.0-2732_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/834141/ft2_4FGL_J0145.0-2732_daily_bin1269.fits sctable="SC_DATA" expcube=/scratch/kocevski/834141/ltcube_568252801_568512001_4FGL_J0145.0-2732_daily_bin1269.fits outfile=/scratch/kocevski/834141/expmap_568252801_568512001_4FGL_J0145.0-2732_daily_bin1269.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/834141/ltcube_568252801_568512001_4FGL_J0145.0-2732_daily_bin1269.fits
.....................!
real 205.01
user 185.48
sys 17.20

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/834141/ft1_filtered_4FGL_J0145.0-2732_daily_bin1269.fits scfile=/scratch/kocevski/834141/ft2_4FGL_J0145.0-2732_daily_bin1269.fits outfile=/scratch/kocevski/834141/cmap_568252801_568512001_4FGL_J0145.0-2732_daily_bin1269.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 9.76
user 0.39
sys 9.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834141/ft1_filtered_4FGL_J0145.0-2732_daily_bin1269.fits scfile=/scratch/kocevski/834141/ft2_4FGL_J0145.0-2732_daily_bin1269.fits outfile=/scratch/kocevski/834141/cmap_HighResolution_568252801_568512001_4FGL_J0145.0-2732_daily_bin1269.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 9.67
user 0.40
sys 9.08

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834141/ft1_filtered_4FGL_J0145.0-2732_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/834141/ft2_4FGL_J0145.0-2732_daily_bin1269.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834141/Model_4FGL_J0145.0-2732_daily_bin1269.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/834141/ft1_filtered_4FGL_J0145.0-2732_daily_bin1269.fits.....................!
real 50.14
user 34.22
sys 14.02

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6117       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0050       1.0000         .10000E-03   10000.    
     6 'norm      '    .76662       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5641       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.903       1.0000         .10000E-03   10000.    
    12 'norm      '    5.5370       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11159E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.479       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0361       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9292       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    31.993       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2247       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98347       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=   3342.445     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2519 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6116        5.4098        .44751E-08   -.80882E-05
   2  Prefactor     .10000E-03    5.2969       -.40413E-07** at limit **
   3  Prefactor     .10000E-03    4.8240       -.12619E-07** at limit **
   4  Prefactor     .10000E-03    5.6374        .47279E-06** at limit **
   5  Prefactor     1.9916        35.685        .63696E-05   -.32280E-05
   6  norm          .76937        3.5062       -.16259E-05   -.12893E-04
   7  norm          .10000E-03    .98909       -.14198E-07** at limit **
   8  Prefactor     .10000E-03    6.0351       -.10272E-07** at limit **
   9  Prefactor     .10000E-03    2.2253        .11435E-06** at limit **
  10  norm          1.5642        1.3909        .16865E-07    .16513E-04
  11  Prefactor     29.832        117.60       -.29744E-05   -.12300E-04
  12  norm          5.5377        3.3929        .53237E-07    .21393E-05
  13  Prefactor     .10000E-03    28.757        .59893E-05** at limit **
  14  norm          .10000E-03    3.1207       -.51138E-07** at limit **
  15  Prefactor     33.474        47.783        .20007E-06    .10003E-04
  16  norm          1.0360        1.5443       -.35892E-07   -.57124E-04
  17  Prefactor     .10000E-03    6.5612       -.27852E-07** at limit **
  18  Prefactor     2.9326        9.1489        .45728E-07    .18782E-04
  19  Prefactor     .10000E-03    12.006       -.19586E-05** at limit **
  20  Prefactor     .10000E-03    73.124       -.42305E-06** at limit **
  21  Prefactor     32.025        82.539        .12856E-05   -.44968E-05
  22  Normalizat    1.2243        .26134       -.10062E-05   -.37651E-04
  23  Prefactor     .98394        .27785        .79529E-06   -.45836E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.61165
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.99157
  norm       = 0.769375
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.56423
  Prefactor  = 29.8323
  norm       = 5.53774
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.474
  norm       = 1.03604
  Prefactor  = 0.0001
  Prefactor  = 2.93259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.0245
  Normalizat = 1.22429
  Prefactor  = 0.983937
 **********
 **   18 **HESSE 
 **********

 FCN=   3342.445     FROM HESSE     STATUS=OK           370 CALLS     2889 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6116        5.4114        .11863E-03   -1.5194    
   2  Prefactor     .10000E-03    5.3342        .12992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.8269        .12402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.6623        .13407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9916        37.687        .14622E-02   -1.5426    
   6  norm          .76937        3.6360        .13785E-03   -1.5533    
   7  norm          .10000E-03    .99158        .56149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.0384        .13872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.2539        .84133E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5642        1.3787        .61449E-04   -1.5458    
  11  Prefactor     29.832        118.48        .73268E-04   -1.4615    
  12  norm          5.5377        3.4006        .78923E-04   -1.5237    
  13  Prefactor     .10000E-03    28.917        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.1713        .99627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.474        47.795        .69255E-04   -1.4550    
  16  norm          1.0360        1.4027        .85113E-03   -1.5504    
  17  Prefactor     .10000E-03    6.5665        .14462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.9326        9.1316        .23734E-03   -1.5365    
  19  Prefactor     .10000E-03    12.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    73.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.025        82.642        .70840E-04   -1.4576    
  22  Normalizat    1.2243        .31360        .23405E-03   -.85856    
  23  Prefactor     .98394        .33287        .28996E-03   -.93267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.11946e-10
Minuit parameter uncertainties:
  1  5.41185
  2  6.82656e-07
  3  2.44575e-07
  4  1.5092e-06
  5  17.3393
  6  3.34523
  7  1.45349e-07
  8  2.39771e-07
  9  1.37094e-06
  10  1.37876
  11  119.321
  12  3.40074
  13  6.06092e-05
  14  1.25718e-06
  15  47.8495
  16  1.40278
  17  8.13766e-07
  18  9.13597
  19  1.43603e-05
  20  1.54718e-05
  21  82.9395
  22  0.314083
  23  0.333567
Done.

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

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  1.000e-04  1.257e-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:  9.839e-01  3.336e-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.224e+00  3.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/834141/likelihoodResults_568252801_568512001_4FGL_J0145.0-2732_daily_bin1269.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) = 3342.44682475
delta logL = -0.00149771700308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3342.32439818
delta logL = 0.120928859333

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49016       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0229       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=   3342.324     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      288 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49037        94.978        .11231E-01    .62500E-03
   2  alpha         5.0000        4.9999        .46267    ** at limit **
   3  Normalizat    1.1725        .21860        .53920E-01    .37909E-05
   4  Prefactor     1.0229        .14298        .64505E-01    .14297E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.490374
  alpha      = 5
  Normalizat = 1.17246
  Prefactor  = 1.02291
 **********
 **   18 **HESSE 
 **********

 FCN=   3342.324     FROM HESSE     STATUS=OK            35 CALLS      323 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49037        1.1505        .81907E-04   -1.5568    
   2  alpha         5.0000        4.9325        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1725        .31176        .23842E-03   -.87458    
   4  Prefactor     1.0229        .34118        .28531E-03   -.91970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31231e-11
Minuit parameter uncertainties:
  1  1.15051
  2  4.99762e-06
  3  0.312251
  4  0.341909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834141': 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) = 3342.32439805
delta logL = 0.120928984683

Extracting fit parameters...

4FGL J0145.0-2732
   Spectrum: LogParabola
290         norm:  4.904e-01  1.151e+00  1.000e-04  1.000e+04 ( 1.000e-11)
291        alpha:  5.000e+00  4.998e-06  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.023e+00  3.419e-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.172e+00  3.123e-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/834141/cmap_HighResolution_568252801_568512001_4FGL_J0145.0-2732_daily_bin1269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-05', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-08-14 16:16:39.388875', job_id='834141', GAL2='1.02', fit_tolerance='1e-08', EG2='1.17', EG='1.22', time_epoch_completed='1628982999.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.21e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1269' AND source_name='4FGL J0145.0-2732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 16:16:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 834141: <4FGL_J0145.0-2732_daily_bin1269> in cluster <slac> Done

Job <4FGL_J0145.0-2732_daily_bin1269> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 16:00:50 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 16:02:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 16:02:33 2021
Terminated at Sat Aug 14 16:16:41 2021
Results reported at Sat Aug 14 16:16:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0145.0-2732_daily_bin1269 26.2585 -27.5363 568252801 568512001 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 :                                   775.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             218.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   38 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            951 sec.

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

