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


Performing analysis on: 4FGL_J0524.6-2819_daily_bin1073
RA = 81.1732, Dec = -28.3288
tmin = 517449601, tmax = 517708801
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='261629', job_status='RUN', time_executed='2021-08-22 13:21:31.969862', time_epoch_executed='1629663691.97' WHERE source_name='4FGL J0524.6-2819' and cadence='daily' and bin_id='1073'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261629

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261629/ft1_4FGL_J0524.6-2819_daily_bin1073.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261629/ft2_4FGL_J0524.6-2819_daily_bin1073.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261629/ft1_4FGL_J0524.6-2819_daily_bin1073.fits outfile=/scratch/kocevski/261629/ft1_filteredMKT_4FGL_J0524.6-2819_daily_bin1073.fits ra=81.1732 dec=-28.3288 rad=12.0 tmin=517449601.0 tmax=517708801.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.51
user 5.32
sys 1.13

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/261629/ft1_filtered_4FGL_J0524.6-2819_daily_bin1073.fits" evtable="EVENTS" scfile=/scratch/kocevski/261629/ft2_4FGL_J0524.6-2819_daily_bin1073.fits sctable="SC_DATA" outfile=/scratch/kocevski/261629/ltcube_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.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/261629/ft2_4FGL_J0524.6-2819_daily_bin1073.fits
.....................!
real 12.58
user 11.26
sys 1.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261629/ft1_filtered_4FGL_J0524.6-2819_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/261629/ft2_4FGL_J0524.6-2819_daily_bin1073.fits sctable="SC_DATA" expcube=/scratch/kocevski/261629/ltcube_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.fits outfile=/scratch/kocevski/261629/expmap_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.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/261629/ltcube_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.fits
.....................!
real 191.66
user 185.81
sys 5.51

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/261629/ft1_filtered_4FGL_J0524.6-2819_daily_bin1073.fits scfile=/scratch/kocevski/261629/ft2_4FGL_J0524.6-2819_daily_bin1073.fits outfile=/scratch/kocevski/261629/cmap_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.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 1.41
user 0.38
sys 1.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261629/ft1_filtered_4FGL_J0524.6-2819_daily_bin1073.fits scfile=/scratch/kocevski/261629/ft2_4FGL_J0524.6-2819_daily_bin1073.fits outfile=/scratch/kocevski/261629/cmap_HighResolution_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.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 1.42
user 0.39
sys 1.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/261629/ft1_filtered_4FGL_J0524.6-2819_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/261629/ft2_4FGL_J0524.6-2819_daily_bin1073.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/261629/Model_4FGL_J0524.6-2819_daily_bin1073.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/261629/ft1_filtered_4FGL_J0524.6-2819_daily_bin1073.fits.....................!
real 56.72
user 54.30
sys 2.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/261629/ft1_filtered_4FGL_J0524.6-2819_daily_bin1073.fits', '/scratch/kocevski/261629/ft2_4FGL_J0524.6-2819_daily_bin1073.fits', expMap='/scratch/kocevski/261629/expmap_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.fits', expCube='/scratch/kocevski/261629/ltcube_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/261629/Model_4FGL_J0524.6-2819_daily_bin1073.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/261629/ft1_filtered_4FGL_J0524.6-2819_daily_bin1073.fits
Spacecraft file(s): /scratch/kocevski/261629/ft2_4FGL_J0524.6-2819_daily_bin1073.fits
Exposure map: /scratch/kocevski/261629/expmap_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.fits
Exposure cube: /scratch/kocevski/261629/ltcube_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/261629/Model_4FGL_J0524.6-2819_daily_bin1073.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) = 4018.65402198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    101.54       1.0000         .10000E-03   10000.    
     2 'Prefactor '    76.442       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2952       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2232       1.0000         .10000E-03   10000.    
     5 'norm      '    .13044       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.267       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.158       1.0000         .10000E-03   10000.    
     8 'norm      '    126.02       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22348E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.8612       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.2673       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8717       1.0000         .10000E-03   10000.    
    18 'norm      '    14.401       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.5715       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86869       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.

 FCN=   4018.651     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2887 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          101.64        220.63        .11106E-05    .42166E-04
   2  Prefactor     76.389        97.414       -.12491E-05   -.83357E-04
   3  norm          1.2855        8.8333        .93254E-06   -.53534E-04
   4  Prefactor     5.2177        10.053        .55201E-05    .68843E-04
   5  norm          .13038        .15394       -.11299E-06   -.82050E-03
   6  Prefactor     11.208        110.13       -.22587E-05   -.64828E-04
   7  Prefactor     26.136        51.388       -.50888E-06   -.43787E-04
   8  norm          126.07        136.61        .22465E-05    .53828E-04
   9  Prefactor     .10000E-03    4.1906       -.18390E-06** at limit **
  10  norm          4.8561        3.8553       -.14202E-06    .79250E-04
  11  Prefactor     .10000E-03    25.491       -.55990E-08** at limit **
  12  Prefactor     .10000E-03    5.4788        .13835E-06** at limit **
  13  Prefactor     .10000E-03    5.4407        .16084E-07** at limit **
  14  Prefactor     .10000E-03    8.8313       -.18063E-06** at limit **
  15  norm          2.2617        8.6389        .12395E-05    .29663E-04
  16  Prefactor     .10000E-03    22.815        .20344E-06** at limit **
  17  norm          1.8702        3.2335        .16019E-06    .12951E-04
  18  norm          14.402        13.424        .20965E-06   -.10555E-04
  19  Prefactor     .10000E-03    18.849        .97070E-06** at limit **
  20  Prefactor     .10000E-03    126.43        .57415E-06** at limit **
  21  Prefactor     .10000E-03    12.280        .67075E-07** at limit **
  22  Prefactor     .10000E-03    17.240        .71156E-07** at limit **
  23  Prefactor     .10000E-03    24.419        .64141E-07** at limit **
  24  Normalizat    1.5726        .32797        .40134E-05   -.13093E-03
  25  Prefactor     .86789        .23288       -.59417E-05    .66094E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 101.641
  Prefactor  = 76.3888
  norm       = 1.2855
  Prefactor  = 5.21772
  norm       = 0.130375
  Prefactor  = 11.2081
  Prefactor  = 26.1361
  norm       = 126.073
  Prefactor  = 0.000100001
  norm       = 4.85605
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.26166
  Prefactor  = 0.0001
  norm       = 1.87023
  norm       = 14.4021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.57261
  Prefactor  = 0.867893
 **********
 **   18 **HESSE 
 **********

 FCN=   4018.651     FROM HESSE     STATUS=OK           423 CALLS     3310 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          101.64        219.35        .19950E-03   -1.3688    
   2  Prefactor     76.389        97.612        .45927E-04   -1.3958    
   3  norm          1.2855        8.6746        .32860E-03   -1.5481    
   4  Prefactor     5.2177        10.376        .87942E-03   -1.5251    
   5  norm          .13038        .14859        .25854E-03   -1.5636    
   6  Prefactor     11.208        109.91        .11935E-03   -1.5038    
   7  Prefactor     26.136        51.456        .78325E-04   -1.4685    
   8  norm          126.07        136.74        .17929E-03   -1.3458    
   9  Prefactor     .10000E-03    30.953        .23765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.8561        3.7263        .98566E-04   -1.5267    
  11  Prefactor     .10000E-03    25.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.5209        .14486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.4419        .14441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.8373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.2617        8.6439        .27277E-03   -1.5407    
  16  Prefactor     .10000E-03    22.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8702        3.2236        .13997E-03   -1.5434    
  18  norm          14.402        13.426        .10554E-03   -1.4949    
  19  Prefactor     .10000E-03    19.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    126.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    17.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    24.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.5726        .38834        .27055E-03   -.75758    
  25  Prefactor     .86789        .26979        .27186E-03   -.97272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54428e-10
Minuit parameter uncertainties:
  1  221.14
  2  97.8172
  3  6.67982
  4  10.3792
  5  0.148591
  6  70.3664
  7  51.544
  8  137.083
  9  0.000305552
  10  3.72647
  11  5.52193e-05
  12  3.70194e-06
  13  1.27275e-06
  14  1.4402e-05
  15  8.64863
  16  4.97671e-05
  17  3.22389
  18  13.4288
  19  0.000103519
  20  0.000326294
  21  6.56303e-06
  22  2.96308e-05
  23  7.39486e-06
  24  0.389084
  25  0.270204
Done.

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

Extracting fit parameters...

4FGL J0524.6-2819
   Spectrum: PowerLaw
256    Prefactor:  1.000e-04  5.522e-05  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:  8.679e-01  2.702e-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.573e+00  3.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 81.173 -28.329
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/261629/likelihoodResults_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.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) = 4018.65148077
delta logL = -0.000186596127151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4018.65129575
delta logL = -1.56795613293e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11380E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9981       1.0000          .0000       10.000    
     3 'Normalizat'    1.5726       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86789       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=   4018.651     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      277 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10635E-03    18.109        .18142E-01** at limit **
   2  Index         2.8682        8.1976        .50000        .15151E-04
   3  Normalizat    1.5726        .69309E-02    .27055E-03   -.19330E-05
   4  Prefactor     .86789        .54038E-02    .27187E-03   -.53525E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000106347
  Index      = 2.86822
  Normalizat = 1.57261
  Prefactor  = 0.867889
 **********
 **   18 **HESSE 
 **********

 FCN=   4018.651     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      306 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10635E-03    124.08        .26948E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8682        6.1440        .50000       -.44046    
   3  Normalizat    1.5726        .18253E-01    .10822E-04   -.75758    
   4  Prefactor     .86789        .14231E-01    .10875E-04   -.97272    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.10711e-09
Minuit parameter uncertainties:
  1  0.0562434
  2  429.173
  3  0.0182531
  4  0.0142313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261629': 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): 102
logL (Free Index) = 4018.65129502
delta logL = -8.39287622512e-07

Extracting fit parameters...

4FGL J0524.6-2819
   Spectrum: PowerLaw
256    Prefactor:  1.063e-04  5.624e-02  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.868e+00  4.292e+02  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:  8.679e-01  1.423e-02  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.573e+00  1.825e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/261629/cmap_HighResolution_517449601_517708801_4FGL_J0524.6-2819_daily_bin1073.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-08-22 13:31:23.718140', job_id='261629', GAL2='0.87', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1629664283.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='-8.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1073' AND source_name='4FGL J0524.6-2819' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 13:31:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 261629: <4FGL_J0524.6-2819_daily_bin1073> in cluster <slac> Done

Job <4FGL_J0524.6-2819_daily_bin1073> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 22 13:20:49 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 13:20:51 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:51 2021
Terminated at Sun Aug 22 13:31:24 2021
Results reported at Sun Aug 22 13:31:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0524.6-2819_daily_bin1073 81.1732 -28.3288 517449601 517708801 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 :                                   598.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             349.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            635 sec.

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

