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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin339
RA = 140.667, Dec = 4.5781
tmin = 327196801, tmax = 327456001
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='152793', job_status='RUN', time_executed='2021-08-31 08:02:37.375691', time_epoch_executed='1630422157.38' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152793

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152793/ft1_4FGL_J0922.6+0434_daily_bin339.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152793/ft1_4FGL_J0922.6+0434_daily_bin339.fits outfile=/scratch/kocevski/152793/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin339.fits ra=140.667 dec=4.5781 rad=12.0 tmin=327196801.0 tmax=327456001.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.50
user 3.08
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.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/152793/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin339.fits evtable="EVENTS" outfile="/scratch/kocevski/152793/ft1_filtered_4FGL_J0922.6+0434_daily_bin339.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.51
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152793/ft1_filtered_4FGL_J0922.6+0434_daily_bin339.fits" evtable="EVENTS" scfile=/scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits sctable="SC_DATA" outfile=/scratch/kocevski/152793/ltcube_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.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/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits
.....................!
real 11.87
user 11.42
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152793/ft1_filtered_4FGL_J0922.6+0434_daily_bin339.fits evtable="EVENTS" scfile=/scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits sctable="SC_DATA" expcube=/scratch/kocevski/152793/ltcube_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.fits outfile=/scratch/kocevski/152793/expmap_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.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/152793/ltcube_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.fits
.....................!
real 190.16
user 185.66
sys 3.98

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

Setting source of interest to:
4FGL J0922.6+0434 @ 140.667 4.5781

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/152793/ft1_filtered_4FGL_J0922.6+0434_daily_bin339.fits scfile=/scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits outfile=/scratch/kocevski/152793/cmap_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.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=140.667 yref=4.5781 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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152793/ft1_filtered_4FGL_J0922.6+0434_daily_bin339.fits scfile=/scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits outfile=/scratch/kocevski/152793/cmap_HighResolution_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.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=140.667 yref=4.5781 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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/152793/ft1_filtered_4FGL_J0922.6+0434_daily_bin339.fits evtable="EVENTS" scfile=/scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/152793/Model_4FGL_J0922.6+0434_daily_bin339.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/152793/ft1_filtered_4FGL_J0922.6+0434_daily_bin339.fits.....................!
real 58.46
user 57.23
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/152793/ft1_filtered_4FGL_J0922.6+0434_daily_bin339.fits', '/scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits', expMap='/scratch/kocevski/152793/expmap_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.fits', expCube='/scratch/kocevski/152793/ltcube_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/152793/Model_4FGL_J0922.6+0434_daily_bin339.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0922.6+0434'

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.531e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.489e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/152793/ft1_filtered_4FGL_J0922.6+0434_daily_bin339.fits
Spacecraft file(s): /scratch/kocevski/152793/ft2_4FGL_J0922.6+0434_daily_bin339.fits
Exposure map: /scratch/kocevski/152793/expmap_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.fits
Exposure cube: /scratch/kocevski/152793/ltcube_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/152793/Model_4FGL_J0922.6+0434_daily_bin339.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) = 5394.21816492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2044       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4475       1.0000         .10000E-03   10000.    
     3 'norm      '    .10751E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.113       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12666E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11150E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.044       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0051       1.0000         .10000E-03   10000.    
    10 'norm      '    2.5641       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    .98557       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0156       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5394.192     FROM MIGRAD    STATUS=CONVERGED    256 CALLS     1136 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2047        5.4756        .18461E-05    .58783E-03
   2  norm          2.4479        5.4889        .31954E-07   -.23984E-03
   3  norm          .21682E-01    3.0332        .12844E-05   -.89937E-03
   4  norm          .10000E-03    2.9719       -.19388E-06** at limit **
   5  Prefactor     25.116        23.368       -.79086E-06   -.34771E-03
   6  Prefactor     .12718E-03    3.6038        .18035E-05** at limit **
   7  Prefactor     .10000E-03    91.392       -.20186E-05** at limit **
   8  Prefactor     27.039        17.820       -.15598E-05   -.11878E-02
   9  norm          2.0053        1.3423        .74509E-08   -.22664E-03
  10  norm          2.5642        .91116        .35994E-07   -.44724E-03
  11  Prefactor     .10000E-03    9.5547       -.22814E-06** at limit **
  12  Normalizat    .98546        .20456       -.15705E-06   -.52228E-03
  13  Prefactor     1.0156        .16347        .25562E-06   -.52036E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.20474
  norm       = 2.44787
  norm       = 0.0216816
  norm       = 0.0001
  Prefactor  = 25.1163
  Prefactor  = 0.000127176
  Prefactor  = 0.000100004
  Prefactor  = 27.0393
  norm       = 2.00533
  norm       = 2.56421
  Prefactor  = 0.0001
  Normalizat = 0.985463
  Prefactor  = 1.01557
 **********
 **   18 **HESSE 
 **********

 FCN=   5394.192     FROM HESSE     STATUS=OK           159 CALLS     1295 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2047        5.6860        .98268E-03   -1.5298    
   2  norm          2.4479        5.5763        .25536E-03   -1.5395    
   3  norm          .21682E-01    6.6019        .35935E-01   -1.5679    
   4  norm          .10000E-03    2.9827        .12361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.116        23.473        .79936E-04   -1.4705    
   6  Prefactor     .12718E-03    9.4313        .33868E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    91.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.039        19.061        .77034E-04   -1.4668    
   9  norm          2.0053        1.3394        .66387E-04   -1.5425    
  10  norm          2.5642        .90992        .39566E-04   -1.5388    
  11  Prefactor     .10000E-03    9.5954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .98546        .23579        .27371E-03   -.93519    
  13  Prefactor     1.0156        .18877        .22134E-03   -.92212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75621e-09
Minuit parameter uncertainties:
  1  5.68671
  2  5.57749
  3  0.755013
  4  2.23589e-05
  5  23.4814
  6  0.0320241
  7  0.00113643
  8  19.0651
  9  1.33944
  10  0.909924
  11  5.44146e-05
  12  0.236041
  13  0.188896
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.272e-04  3.202e-02  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.489e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  1.016e+00  1.889e-01  0.000e+00  1.000e+01 ( 1.000e+00)
462        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
463        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
460   Normalization:  9.855e-01  2.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.667 4.578
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152793/likelihoodResults_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.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) = 5394.19155812
delta logL = -2.28372337006e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5393.79204378
delta logL = 0.399491509898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.5843       1.0000          .0000       10.000    
     3 'Normalizat'    .92141       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4640E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5393.792     FROM MIGRAD    STATUS=FAILED       243 CALLS      541 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .40338E-02    .38264E-03** at limit **
   2  Index         8.5846        7.9281        .20000        .21338E-03
   3  Normalizat    .92147        .45976E-01    .27370E-02    .16244E-03
   4  Prefactor     1.0502        .37341E-01    .22132E-03    .14921E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5393.792     FROM SIMPLEX   STATUS=UNCHANGED    144 CALLS      685 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .40338E-02    .12552E-04** at limit **
   2  Index         8.5846        7.9281        .30410E-03    .21338E-03
   3  Normalizat    .92147        .45976E-01    .64212E-05    .16244E-03
   4  Prefactor     1.0502        .37341E-01    .42244E-05    .14921E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5393.792     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      771 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .19558E-01    .23724E-03** at limit **
   2  Index         8.5846        9.2631        .22151E-02    .14526E-04
   3  Normalizat    .92147        .91000E-01    .21896E-04    .41848E-04
   4  Prefactor     1.0502        .74172E-01    .88529E-05    .77307E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.5846
  Normalizat = 0.921468
  Prefactor  = 1.05024
 **********
 **   18 **HESSE 
 **********

 FCN=   5393.792     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      806 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .24732E-01    .21260E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.5846        9.2823        .44302E-03    .79937    
   3  Normalizat    .92147        .98246E-01    .43793E-05   -.95710    
   4  Prefactor     1.0502        .80144E-01    .17706E-05   -.91073    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.71743e-12
Minuit parameter uncertainties:
  1  3.30424e-09
  2  7.94974
  3  0.0982656
  4  0.0801535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152793': 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) = 5393.79203324
delta logL = 0.399502048373

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  3.304e-09  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  8.585e+00  7.950e+00  0.000e+00  1.000e+01 (-1.000e+00)
238        Scale:  7.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  1.050e+00  8.015e-02  0.000e+00  1.000e+01 ( 1.000e+00)
462        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
463        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
460   Normalization:  9.215e-01  9.827e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.667 4.578

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/152793/cmap_HighResolution_327196801_327456001_4FGL_J0922.6+0434_daily_bin339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.77e-03', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2021-08-31 08:10:21.670455', job_id='152793', GAL2='1.05', fit_tolerance='1e-08', EG2='0.92', EG='0.99', time_epoch_completed='1630422621.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='4.00e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='339' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:10:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 152793: <4FGL_J0922.6+0434_daily_bin339> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin339> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 31 07:59:29 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:59:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 07:59:31 2021
Terminated at Tue Aug 31 08:10:22 2021
Results reported at Tue Aug 31 08:10:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin339 140.667 4.5781 327196801 327456001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0922.6+0434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   457.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            653 sec.

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

