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


Performing analysis on: 4FGL_J0524.6-2819_daily_bin1104
RA = 81.1732, Dec = -28.3288
tmin = 525484801, tmax = 525744001
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='261677', job_status='RUN', time_executed='2021-08-22 13:22:24.577143', time_epoch_executed='1629663744.58' WHERE source_name='4FGL J0524.6-2819' and cadence='daily' and bin_id='1104'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261677

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261677/ft1_4FGL_J0524.6-2819_daily_bin1104.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261677/ft1_4FGL_J0524.6-2819_daily_bin1104.fits outfile=/scratch/kocevski/261677/ft1_filteredMKT_4FGL_J0524.6-2819_daily_bin1104.fits ra=81.1732 dec=-28.3288 rad=12.0 tmin=525484801.0 tmax=525744001.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.23
user 3.38
sys 4.80

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.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/261677/ft1_filteredMKT_4FGL_J0524.6-2819_daily_bin1104.fits evtable="EVENTS" outfile="/scratch/kocevski/261677/ft1_filtered_4FGL_J0524.6-2819_daily_bin1104.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.22
user 0.32
sys 4.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/261677/ft1_filtered_4FGL_J0524.6-2819_daily_bin1104.fits" evtable="EVENTS" scfile=/scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits sctable="SC_DATA" outfile=/scratch/kocevski/261677/ltcube_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.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/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits
.....................!
real 17.09
user 11.57
sys 5.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261677/ft1_filtered_4FGL_J0524.6-2819_daily_bin1104.fits evtable="EVENTS" scfile=/scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits sctable="SC_DATA" expcube=/scratch/kocevski/261677/ltcube_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.fits outfile=/scratch/kocevski/261677/expmap_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.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/261677/ltcube_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.fits
.....................!
real 195.86
user 185.77
sys 9.47

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 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0524.6-2819 @ 81.1732 -28.3288

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/261677/ft1_filtered_4FGL_J0524.6-2819_daily_bin1104.fits scfile=/scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits outfile=/scratch/kocevski/261677/cmap_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.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=81.1732 yref=-28.3288 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.93
user 0.36
sys 4.54

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261677/ft1_filtered_4FGL_J0524.6-2819_daily_bin1104.fits scfile=/scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits outfile=/scratch/kocevski/261677/cmap_HighResolution_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.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=81.1732 yref=-28.3288 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.97
user 0.38
sys 4.53

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/261677/ft1_filtered_4FGL_J0524.6-2819_daily_bin1104.fits evtable="EVENTS" scfile=/scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/261677/Model_4FGL_J0524.6-2819_daily_bin1104.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/261677/ft1_filtered_4FGL_J0524.6-2819_daily_bin1104.fits.....................!
real 77.78
user 70.50
sys 7.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/261677/ft1_filtered_4FGL_J0524.6-2819_daily_bin1104.fits', '/scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits', expMap='/scratch/kocevski/261677/expmap_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.fits', expCube='/scratch/kocevski/261677/ltcube_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/261677/Model_4FGL_J0524.6-2819_daily_bin1104.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0524.6-2819'

4FGL J0524.6-2819
   Spectrum: PowerLaw
256    Prefactor:  3.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.573e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.597e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/261677/ft1_filtered_4FGL_J0524.6-2819_daily_bin1104.fits
Spacecraft file(s): /scratch/kocevski/261677/ft2_4FGL_J0524.6-2819_daily_bin1104.fits
Exposure map: /scratch/kocevski/261677/expmap_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.fits
Exposure cube: /scratch/kocevski/261677/ltcube_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/261677/Model_4FGL_J0524.6-2819_daily_bin1104.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) = 6212.85932744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    55.361       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.8518       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .60865       1.0000         .10000E-03   10000.    
     5 'norm      '    .46491E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    38.962       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.0663       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.037       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.459       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.2636       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.8762       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.4518       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.752       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.506       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .14866       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1866       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0937       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+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=   6212.793     FROM MIGRAD    STATUS=CONVERGED   1088 CALLS     3519 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          55.380        98.999        .53912E-04    .54828E-06
   2  Prefactor     .10000E-03    35.868        .18142E-02** at limit **
   3  norm          4.8497        4.1241        .68098E-03   -.31648E-03
   4  Prefactor     .63076        17.431        .28510E-02    .15046E-02
   5  norm          .49070E-02    1.0794        .52341E-03   -.94767E-03
   6  Prefactor     .10000E-03    34.990        .18142E-02** at limit **
   7  Prefactor     .10000E-03    27.313        .18142E-02** at limit **
   8  norm          38.965        51.124        .64213E-04    .31868E-05
   9  Prefactor     .10000E-03    1.9639        .10720E-02** at limit **
  10  norm          4.0664        2.5903        .95787E-04   -.16497E-03
  11  Prefactor     12.048        33.701        .11546E-03   -.46277E-05
  12  Prefactor     11.460        7.3965        .11834E-03   -.58600E-04
  13  Prefactor     .10000E-03    7.3131        .18142E-02** at limit **
  14  Prefactor     .10000E-03    10.513        .18142E-02** at limit **
  15  norm          2.2642        4.9484        .24381E-03    .28314E-03
  16  Prefactor     .10000E-03    13.754        .18142E-02** at limit **
  17  norm          6.8766        3.0255        .84106E-04    .30981E-03
  18  norm          .10000E-03    4.5325        .16379E-02** at limit **
  19  Prefactor     5.4526        7.8645        .17209E-03    .21008E-04
  20  Prefactor     12.762        103.53        .11217E-03    .27365E-05
  21  Prefactor     15.529        43.523        .10171E-03   -.19001E-04
  22  Prefactor     .15458E-02    40.934        .12704    ** at limit **
  23  Prefactor     .10000E-03    30.822        .18142E-02** at limit **
  24  Normalizat    1.1866        .26834        .28085E-03   -.29283E-03
  25  Prefactor     1.0936        .20667        .24340E-03   -.22020E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 55.3796
  Prefactor  = 0.0001
  norm       = 4.84965
  Prefactor  = 0.630755
  norm       = 0.00490698
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 38.9647
  Prefactor  = 0.0001
  norm       = 4.0664
  Prefactor  = 12.048
  Prefactor  = 11.46
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.26423
  Prefactor  = 0.0001
  norm       = 6.87659
  norm       = 0.0001
  Prefactor  = 5.45263
  Prefactor  = 12.7625
  Prefactor  = 15.5286
  Prefactor  = 0.0015458
  Prefactor  = 0.0001
  Normalizat = 1.18662
  Prefactor  = 1.09357
 **********
 **   18 **HESSE 
 **********

 FCN=   6212.793     FROM HESSE     STATUS=OK           415 CALLS     3934 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          55.380        98.993        .10782E-04   -1.4218    
   2  Prefactor     .10000E-03    35.873        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.8497        4.1191        .27239E-04   -1.5267    
   4  Prefactor     .63076        17.216        .57020E-03   -1.5549    
   5  norm          .49070E-02    1.0868        .20936E-04   -1.5694    
   6  Prefactor     .10000E-03    34.992        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    27.318        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          38.965        51.121        .12843E-04   -1.4459    
   9  Prefactor     .10000E-03    1.9642        .21439E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.0664        2.5891        .38315E-05   -1.5305    
  11  Prefactor     12.048        33.688        .46186E-05   -1.5014    
  12  Prefactor     11.460        7.3950        .47337E-05   -1.5031    
  13  Prefactor     .10000E-03    7.3140        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.514        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.2642        4.9440        .97522E-05   -1.5407    
  16  Prefactor     .10000E-03    13.754        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.8766        3.0234        .33642E-05   -1.5183    
  18  norm          .10000E-03    4.5326        .32758E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.4526        7.8627        .68837E-05   -1.5241    
  20  Prefactor     12.762        103.54        .44868E-05   -1.4993    
  21  Prefactor     15.529        43.481        .40686E-05   -1.4920    
  22  Prefactor     .15458E-02    40.315        .12815       -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    30.822        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1866        .26713        .56171E-04   -.87017    
  25  Prefactor     1.0936        .20679        .48681E-04   -.89672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97562e-10
Minuit parameter uncertainties:
  1  99.2885
  2  5.90516e-05
  3  4.11936
  4  6.59218
  5  0.144563
  6  3.15507e-05
  7  8.72128e-06
  8  51.179
  9  9.83593e-07
  10  2.58915
  11  33.7407
  12  7.39554
  13  7.4799e-06
  14  0.000176219
  15  4.94486
  16  2.1614e-06
  17  3.02352
  18  1.77919e-06
  19  7.86416
  20  72.875
  21  43.57
  22  0.483178
  23  4.67453e-05
  24  0.267433
  25  0.206938
Done.

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

Extracting fit parameters...

4FGL J0524.6-2819
   Spectrum: PowerLaw
256    Prefactor:  1.205e+01  3.374e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.573e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.597e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.094e+00  2.069e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.187e+00  2.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 81.173 -28.329
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/261677/likelihoodResults_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.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) = 6212.74435918
delta logL = 0.0487107752533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6212.73793568
delta logL = 0.0551342820536

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.664       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8743       1.0000          .0000       10.000    
     3 'Normalizat'    1.1993       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0848       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+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=   6212.738     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      270 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.649        36.324        .10120E-03   -.38196E-05
   2  Index         1.8742        1.3110        .18218E-01   -.24661E-03
   3  Normalizat    1.1993        .24008        .27956E-03    .66286E-05
   4  Prefactor     1.0850        .20130        .24420E-03   -.98881E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6487
  Index      = 1.87418
  Normalizat = 1.19926
  Prefactor  = 1.085
 **********
 **   18 **HESSE 
 **********

 FCN=   6212.738     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.649        36.928        .40480E-05   -1.4917    
   2  Index         1.8742        1.3332        .36437E-02   -.67534    
   3  Normalizat    1.1993        .24032        .11182E-04   -.86626    
   4  Prefactor     1.0850        .20148        .97682E-05   -.89948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66343e-11
Minuit parameter uncertainties:
  1  36.9822
  2  1.36063
  3  0.240543
  4  0.201626
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261677': 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) = 6212.73793438
delta logL = 0.0551355830939

Extracting fit parameters...

4FGL J0524.6-2819
   Spectrum: PowerLaw
256    Prefactor:  1.565e+01  3.698e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  1.874e+00  1.361e+00  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  7.597e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.085e+00  2.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.199e+00  2.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
Ra Dec: 81.173 -28.329

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/261677/cmap_HighResolution_525484801_525744001_4FGL_J0524.6-2819_daily_bin1104.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.58e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-08-22 13:36:01.642333', job_id='261677', GAL2='1.08', fit_tolerance='1e-08', EG2='1.20', EG='1.19', time_epoch_completed='1629664561.64', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='5.51e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1104' AND source_name='4FGL J0524.6-2819' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 13:36:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 261677: <4FGL_J0524.6-2819_daily_bin1104> in cluster <slac> Done

Job <4FGL_J0524.6-2819_daily_bin1104> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 22 13:20:52 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 13:20:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 22 13:20:53 2021
Terminated at Sun Aug 22 13:36:02 2021
Results reported at Sun Aug 22 13:36:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0524.6-2819_daily_bin1104 81.1732 -28.3288 525484801 525744001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0524.6-2819 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   884.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            910 sec.

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

