/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 158 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 = 7413
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin265
RA = 141.005, Dec = 28.2755
tmin = 308016001, tmax = 308275201
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='216067', job_status='RUN', time_executed='2021-08-31 11:13:54.598428', time_epoch_executed='1630433634.6' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216067

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216067/ft1_4FGL_J0924.0+2816_daily_bin265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216067/ft1_4FGL_J0924.0+2816_daily_bin265.fits outfile=/scratch/kocevski/216067/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin265.fits ra=141.005 dec=28.2755 rad=12.0 tmin=308016001.0 tmax=308275201.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 3.44
user 3.20
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.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/216067/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin265.fits evtable="EVENTS" outfile="/scratch/kocevski/216067/ft1_filtered_4FGL_J0924.0+2816_daily_bin265.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 0.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216067/ft1_filtered_4FGL_J0924.0+2816_daily_bin265.fits" evtable="EVENTS" scfile=/scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits sctable="SC_DATA" outfile=/scratch/kocevski/216067/ltcube_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.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/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits
.....................!
real 11.92
user 11.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216067/ft1_filtered_4FGL_J0924.0+2816_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits sctable="SC_DATA" expcube=/scratch/kocevski/216067/ltcube_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.fits outfile=/scratch/kocevski/216067/expmap_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.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/216067/ltcube_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.fits
.....................!
real 191.44
user 186.58
sys 4.44

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 J0924.0+2816 @ 141.005 28.2755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/216067/ft1_filtered_4FGL_J0924.0+2816_daily_bin265.fits scfile=/scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits outfile=/scratch/kocevski/216067/cmap_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.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=141.005 yref=28.2755 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 0.85
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216067/ft1_filtered_4FGL_J0924.0+2816_daily_bin265.fits scfile=/scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits outfile=/scratch/kocevski/216067/cmap_HighResolution_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.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=141.005 yref=28.2755 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 0.86
user 0.36
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216067/ft1_filtered_4FGL_J0924.0+2816_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216067/Model_4FGL_J0924.0+2816_daily_bin265.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/216067/ft1_filtered_4FGL_J0924.0+2816_daily_bin265.fits.....................!
real 56.35
user 52.53
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/216067/ft1_filtered_4FGL_J0924.0+2816_daily_bin265.fits', '/scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits', expMap='/scratch/kocevski/216067/expmap_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.fits', expCube='/scratch/kocevski/216067/ltcube_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/216067/Model_4FGL_J0924.0+2816_daily_bin265.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0924.0+2816'

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.227e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/216067/ft1_filtered_4FGL_J0924.0+2816_daily_bin265.fits
Spacecraft file(s): /scratch/kocevski/216067/ft2_4FGL_J0924.0+2816_daily_bin265.fits
Exposure map: /scratch/kocevski/216067/expmap_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.fits
Exposure cube: /scratch/kocevski/216067/ltcube_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/216067/Model_4FGL_J0924.0+2816_daily_bin265.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) = 6008.51395051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7761       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .30454       1.0000         .10000E-03   10000.    
     4 'norm      '    .15483E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6233       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16075E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.456       1.0000         .10000E-03   10000.    
    10 'norm      '    7.2609       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12418E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11267E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1071       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2852       1.0000         .10000E-03   10000.    
    18 'norm      '    46.049       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .91877       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6008.406     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     1831 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7761        .92216       -.12542E-06    .85685E-04
   2  Prefactor     .10000E-03    10.572       -.85229E-07** at limit **
   3  Prefactor     .31147        19.867       -.38662E-05    .14589E-03
   4  norm          .10000E-03    66.264       -.55976E-06** at limit **
   5  Prefactor     .10000E-03    3.4816       -.46729E-08** at limit **
   6  Prefactor     1.3770        195.62       -.96315E-04    .48707E-05
   7  norm          .10000E-03    1.2347       -.68528E-07** at limit **
   8  Prefactor     .10001E-03    12.145        .18397E-05** at limit **
   9  Prefactor     27.466        30.431       -.19826E-05    .27045E-04
  10  norm          7.2746        9.1930       -.21420E-05    .17204E-03
  11  Prefactor     .10000E-03    3.7505       -.61215E-07** at limit **
  12  Prefactor     .10000E-03    13.821       -.21583E-06** at limit **
  13  Prefactor     .10000E-03    178.68        .87285E-04** at limit **
  14  Prefactor     .10000E-03    38.180        .84699E-06** at limit **
  15  Prefactor     2.1099        7.9749       -.23917E-05   -.51748E-03
  16  Prefactor     .10000E-03    4.7135       -.59185E-07** at limit **
  17  Prefactor     1.2859        2.0157       -.35293E-06   -.68644E-03
  18  norm          46.031        15.578       -.18756E-05    .76739E-05
  19  Normalizat    .91872        .18548        .26311E-05    .41694E-03
  20  Prefactor     1.2394        .17937        .69773E-06    .46270E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.77611
  Prefactor  = 0.0001
  Prefactor  = 0.311469
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.377
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 27.4658
  norm       = 7.27464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.10989
  Prefactor  = 0.0001
  Prefactor  = 1.28587
  norm       = 46.0306
  Normalizat = 0.918717
  Prefactor  = 1.2394
 **********
 **   18 **HESSE 
 **********

 FCN=   6008.406     FROM HESSE     STATUS=OK           295 CALLS     2126 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7761        .91893        .51454E-04   -1.5441    
   2  Prefactor     .10000E-03    10.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .31147        27.493        .86079E-01   -1.5596    
   4  norm          .10000E-03    66.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.6005        .28224E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3770        200.46        .33210E-03   -1.5473    
   7  norm          .10000E-03    3.3606        .16665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    12.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.466        30.432        .76456E-04   -1.4659    
  10  norm          7.2746        9.1765        .14885E-03   -1.5168    
  11  Prefactor     .10000E-03    3.8655        .29253E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    177.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    38.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1099        7.9851        .28424E-03   -1.5417    
  16  Prefactor     .10000E-03    4.7799        .16433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.2859        1.9823        .13217E-03   -1.5481    
  18  norm          46.031        15.507        .59085E-04   -1.4350    
  19  Normalizat    .91872        .21844        .26628E-03   -.95806    
  20  Prefactor     1.2394        .21156        .23582E-03   -.85127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53667e-09
Minuit parameter uncertainties:
  1  0.918933
  2  1.7979e-05
  3  5.85444
  4  9.41347e-05
  5  5.48342e-06
  6  33.3421
  7  2.54668e-05
  8  0.000507488
  9  30.4489
  10  9.17829
  11  1.38702e-05
  12  9.63032e-06
  13  0.000740222
  14  4.95654e-05
  15  7.98913
  16  1.1054e-05
  17  1.9824
  18  15.5082
  19  0.218655
  20  0.211701
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.387e-05  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.239e+00  2.117e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  9.187e-01  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 8.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/216067/likelihoodResults_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.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) = 6008.40673704
delta logL = -0.00123439515846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6008.40550261
delta logL = 2.9102920962e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5243       1.0000          .0000       10.000    
     3 'Normalizat'    .91871       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2395       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+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=   6008.406     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      250 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    4.3968        .29643E-03** at limit **
   2  Index         2.5440        6.2719        .50000       -.46307E-04
   3  Normalizat    .91872        .20641        .26628E-03    .13321E-04
   4  Prefactor     1.2394        .20977        .23582E-03    .10269E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 2.544
  Normalizat = 0.918716
  Prefactor  = 1.2394
 **********
 **   18 **HESSE 
 **********

 FCN=   6008.406     FROM HESSE     STATUS=OK            29 CALLS      279 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    3.9949        .59287E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5440        6.2681        .50000       -.51347    
   3  Normalizat    .91872        .20665        .10651E-04   -.95806    
   4  Prefactor     1.2394        .21002        .94328E-05   -.85127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6332e-09
Minuit parameter uncertainties:
  1  0.000376271
  2  4.3627
  3  0.20683
  4  0.210158
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216067': 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) = 6008.40550225
delta logL = 3.94779817725e-07

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  3.763e-04  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.544e+00  4.363e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.239e+00  2.102e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  9.187e-01  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 141.005 28.276

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/216067/cmap_HighResolution_308016001_308275201_4FGL_J0924.0+2816_daily_bin265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.50e-03', job_status='DONE', photon_flux_upper_limit='8.35e-08', time_completed='2021-08-31 11:23:11.722540', job_id='216067', GAL2='1.24', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1630434191.72', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='3.95e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='265' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:23:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 216067: <4FGL_J0924.0+2816_daily_bin265> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin265> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:11:02 2021
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:11:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:11:06 2021
Terminated at Tue Aug 31 11:23:12 2021
Results reported at Tue Aug 31 11:23:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin265 141.005 28.2755 308016001 308275201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0924.0+2816 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   551.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            730 sec.

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

