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


Performing analysis on: 4FGL_J0524.6-2819_daily_bin1390
RA = 81.1732, Dec = -28.3288
tmin = 599616001, tmax = 599875201
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='263349', job_status='RUN', time_executed='2021-08-22 13:28:56.658145', time_epoch_executed='1629664136.66' WHERE source_name='4FGL J0524.6-2819' and cadence='daily' and bin_id='1390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263349

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263349/ft1_4FGL_J0524.6-2819_daily_bin1390.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263349/ft2_4FGL_J0524.6-2819_daily_bin1390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/263349/ft1_4FGL_J0524.6-2819_daily_bin1390.fits outfile=/scratch/kocevski/263349/ft1_filteredMKT_4FGL_J0524.6-2819_daily_bin1390.fits ra=81.1732 dec=-28.3288 rad=12.0 tmin=599616001.0 tmax=599875201.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.23
user 2.36
sys 3.62

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263349/ft1_filtered_4FGL_J0524.6-2819_daily_bin1390.fits" evtable="EVENTS" scfile=/scratch/kocevski/263349/ft2_4FGL_J0524.6-2819_daily_bin1390.fits sctable="SC_DATA" outfile=/scratch/kocevski/263349/ltcube_599616001_599875201_4FGL_J0524.6-2819_daily_bin1390.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/263349/ft2_4FGL_J0524.6-2819_daily_bin1390.fits
.....................!
real 17.85
user 13.28
sys 4.23

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263349/ft1_filtered_4FGL_J0524.6-2819_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/263349/ft2_4FGL_J0524.6-2819_daily_bin1390.fits sctable="SC_DATA" expcube=/scratch/kocevski/263349/ltcube_599616001_599875201_4FGL_J0524.6-2819_daily_bin1390.fits outfile=/scratch/kocevski/263349/expmap_599616001_599875201_4FGL_J0524.6-2819_daily_bin1390.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/263349/ltcube_599616001_599875201_4FGL_J0524.6-2819_daily_bin1390.fits
.....................!
real 197.73
user 187.08
sys 9.27

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/263349/ft1_filtered_4FGL_J0524.6-2819_daily_bin1390.fits scfile=/scratch/kocevski/263349/ft2_4FGL_J0524.6-2819_daily_bin1390.fits outfile=/scratch/kocevski/263349/cmap_599616001_599875201_4FGL_J0524.6-2819_daily_bin1390.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 3.97
user 0.39
sys 3.53

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263349/ft1_filtered_4FGL_J0524.6-2819_daily_bin1390.fits scfile=/scratch/kocevski/263349/ft2_4FGL_J0524.6-2819_daily_bin1390.fits outfile=/scratch/kocevski/263349/cmap_HighResolution_599616001_599875201_4FGL_J0524.6-2819_daily_bin1390.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 3.96
user 0.39
sys 3.53

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/263349/ft1_filtered_4FGL_J0524.6-2819_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/263349/ft2_4FGL_J0524.6-2819_daily_bin1390.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/263349/Model_4FGL_J0524.6-2819_daily_bin1390.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/263349/ft1_filtered_4FGL_J0524.6-2819_daily_bin1390.fits.....................!
real 81.17
user 75.09
sys 5.62

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .83573       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8612       1.0000         .10000E-03   10000.    
     5 'norm      '    1.1106       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    104.77       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .91240       1.0000         .10000E-03   10000.    
    10 'norm      '    6.5987       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.072       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2949       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0087       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.0583       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .17276E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    128.98       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1829       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99470       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=   6242.513     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2962 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    62.123        .29742E-05** at limit **
   2  Prefactor     .10000E-03    36.353       -.10620E-05** at limit **
   3  norm          .83237        3.7648        .10602E-05   -.10161E-03
   4  Prefactor     6.8625        5.9688       -.19890E-06   -.26854E-03
   5  norm          1.1107        .29710        .53684E-08   -.90330E-03
   6  Prefactor     .10000E-03    18.979        .94348E-06** at limit **
   7  Prefactor     104.74        64.141       -.11331E-05   -.94257E-04
   8  norm          .10000E-03    86.878       -.31550E-05** at limit **
   9  Prefactor     .90736        4.5797        .17497E-05   -.20305E-03
  10  norm          6.6000        2.7242       -.20881E-06   -.56835E-03
  11  Prefactor     23.095        43.588        .36350E-06   -.69910E-04
  12  Prefactor     1.2967        6.3203        .87205E-06   -.23176E-03
  13  Prefactor     7.0081        10.658        .12289E-05   -.21119E-03
  14  Prefactor     .10000E-03    8.9592       -.94338E-06** at limit **
  15  norm          1.0548        4.0325        .17005E-05   -.12532E-03
  16  Prefactor     .10000E-03    8.6809        .44877E-08** at limit **
  17  norm          .10000E-03    1.3664        .84012E-06** at limit **
  18  norm          .10000E-03    12.214       -.11361E-06** at limit **
  19  Prefactor     .10000E-03    13.163       -.40132E-06** at limit **
  20  Prefactor     .10000E-03    42.460        .42877E-06** at limit **
  21  Prefactor     128.95        51.226       -.11724E-05   -.17070E-03
  22  Prefactor     .10000E-03    11.061        .56470E-06** at limit **
  23  Prefactor     .10000E-03    25.157       -.50722E-06** at limit **
  24  Normalizat    1.1828        .23799       -.33026E-05   -.36196E-03
  25  Prefactor     .99492        .17925        .25147E-06   -.44704E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.832368
  Prefactor  = 6.86249
  norm       = 1.11065
  Prefactor  = 0.0001
  Prefactor  = 104.742
  norm       = 0.0001
  Prefactor  = 0.907363
  norm       = 6.60003
  Prefactor  = 23.0955
  Prefactor  = 1.29673
  Prefactor  = 7.00806
  Prefactor  = 0.0001
  norm       = 1.05481
  Prefactor  = 0.0001
  norm       = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 128.948
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.18283
  Prefactor  = 0.994919
 **********
 **   18 **HESSE 
 **********

 FCN=   6242.513     FROM HESSE     STATUS=OK           423 CALLS     3385 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    62.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    36.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .83237        6.6840        .27001E-02   -1.5526    
   4  Prefactor     6.8625        5.9563        .15317E-03   -1.5184    
   5  norm          1.1107        .29632        .21175E-04   -1.5497    
   6  Prefactor     .10000E-03    19.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     104.74        64.523        .19643E-03   -1.3658    
   8  norm          .10000E-03    86.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .90736        4.3041        .28904E-03   -1.5517    
  10  norm          6.6000        2.7040        .76460E-04   -1.5194    
  11  Prefactor     23.095        43.132        .83392E-04   -1.4746    
  12  Prefactor     1.2967        5.7589        .34510E-03   -1.5480    
  13  Prefactor     7.0081        10.551        .75767E-03   -1.5178    
  14  Prefactor     .10000E-03    9.0549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0548        4.0266        .28998E-03   -1.5503    
  16  Prefactor     .10000E-03    8.6826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.2574        .16646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    12.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    42.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     128.95        51.711        .17725E-03   -1.3432    
  22  Prefactor     .10000E-03    11.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    25.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1828        .27891        .29052E-03   -.87135    
  25  Prefactor     .99492        .21293        .25915E-03   -.92899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80381e-08
Minuit parameter uncertainties:
  1  0.000435399
  2  7.929e-05
  3  4.71788
  4  5.95684
  5  0.296324
  6  7.80131e-05
  7  64.5665
  8  0.000308439
  9  3.95265
  10  2.70401
  11  43.1904
  12  5.46613
  13  10.5539
  14  8.07707e-05
  15  4.02761
  16  4.37784e-06
  17  0.000257136
  18  2.08509e-06
  19  6.59933e-06
  20  6.83688e-05
  21  51.7294
  22  4.68691e-05
  23  2.58712e-05
  24  0.279257
  25  0.213106
Done.

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

Extracting fit parameters...

4FGL J0524.6-2819
   Spectrum: PowerLaw
256    Prefactor:  2.310e+01  4.319e+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:  9.949e-01  2.131e-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.183e+00  2.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/263349/likelihoodResults_599616001_599875201_4FGL_J0524.6-2819_daily_bin1390.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) = 6242.48449967
delta logL = 0.0280170207216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6242.47974326
delta logL = 0.0327734300281

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.413       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8443       1.0000          .0000       10.000    
     3 'Normalizat'    1.1728       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0007       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=   6242.480     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      266 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.401        43.925        .90904E-04    .32291E-03
   2  Index         2.8449        1.1940        .10323E-01    .16355E-03
   3  Normalizat    1.1739        .26042        .29150E-03   -.16383E-02
   4  Prefactor     .99973        .21139        .25860E-03   -.14512E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4012
  Index      = 2.84494
  Normalizat = 1.17394
  Prefactor  = 0.999733
 **********
 **   18 **HESSE 
 **********

 FCN=   6242.480     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.401        40.340        .18181E-04   -1.4827    
   2  Index         2.8449        1.0971        .41291E-03   -.44561    
   3  Normalizat    1.1739        .26085        .58299E-04   -.87412    
   4  Prefactor     .99973        .21156        .51720E-04   -.92738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59876e-09
Minuit parameter uncertainties:
  1  40.3969
  2  1.10818
  3  0.261134
  4  0.211735
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263349': 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) = 6242.47973107
delta logL = 0.0327856281192

Extracting fit parameters...

4FGL J0524.6-2819
   Spectrum: PowerLaw
256    Prefactor:  1.940e+01  4.040e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.845e+00  1.108e+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:  9.997e-01  2.117e-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.174e+00  2.611e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
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/263349/cmap_HighResolution_599616001_599875201_4FGL_J0524.6-2819_daily_bin1390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2021-08-22 13:41:59.419618', job_id='263349', GAL2='1.00', fit_tolerance='1e-08', EG2='1.17', EG='1.18', time_epoch_completed='1629664919.42', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.28e-02', ts2='0.40', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1390' AND source_name='4FGL J0524.6-2819' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 22 13:41:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 263349: <4FGL_J0524.6-2819_daily_bin1390> in cluster <slac> Done

Job <4FGL_J0524.6-2819_daily_bin1390> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 22 13:26:15 2021
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 22 13:26:17 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:26:17 2021
Terminated at Sun Aug 22 13:42:00 2021
Results reported at Sun Aug 22 13:42:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0524.6-2819_daily_bin1390 81.1732 -28.3288 599616001 599875201 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 :                                   809.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            945 sec.

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

