/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 88 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 = 7424
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0922.6+0434_daily_bin667
RA = 140.667, Dec = 4.5781
tmin = 412214401, tmax = 412473601
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='156449', job_status='RUN', time_executed='2021-08-31 08:16:08.160943', time_epoch_executed='1630422968.16' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156449

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156449/ft1_4FGL_J0922.6+0434_daily_bin667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156449/ft2_4FGL_J0922.6+0434_daily_bin667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156449/ft1_4FGL_J0922.6+0434_daily_bin667.fits outfile=/scratch/kocevski/156449/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin667.fits ra=140.667 dec=4.5781 rad=12.0 tmin=412214401.0 tmax=412473601.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 9.51
user 3.19
sys 5.55

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156449/ft1_filtered_4FGL_J0922.6+0434_daily_bin667.fits" evtable="EVENTS" scfile=/scratch/kocevski/156449/ft2_4FGL_J0922.6+0434_daily_bin667.fits sctable="SC_DATA" outfile=/scratch/kocevski/156449/ltcube_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.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/156449/ft2_4FGL_J0922.6+0434_daily_bin667.fits
.....................!
real 21.51
user 11.49
sys 6.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156449/ft1_filtered_4FGL_J0922.6+0434_daily_bin667.fits evtable="EVENTS" scfile=/scratch/kocevski/156449/ft2_4FGL_J0922.6+0434_daily_bin667.fits sctable="SC_DATA" expcube=/scratch/kocevski/156449/ltcube_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.fits outfile=/scratch/kocevski/156449/expmap_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.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/156449/ltcube_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.fits
.....................!
real 216.51
user 185.62
sys 12.14

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/156449/ft1_filtered_4FGL_J0922.6+0434_daily_bin667.fits scfile=/scratch/kocevski/156449/ft2_4FGL_J0922.6+0434_daily_bin667.fits outfile=/scratch/kocevski/156449/cmap_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.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 8.45
user 0.38
sys 5.31

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156449/ft1_filtered_4FGL_J0922.6+0434_daily_bin667.fits scfile=/scratch/kocevski/156449/ft2_4FGL_J0922.6+0434_daily_bin667.fits outfile=/scratch/kocevski/156449/cmap_HighResolution_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.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 7.87
user 0.39
sys 6.23

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/156449/ft1_filtered_4FGL_J0922.6+0434_daily_bin667.fits', '/scratch/kocevski/156449/ft2_4FGL_J0922.6+0434_daily_bin667.fits', expMap='/scratch/kocevski/156449/expmap_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.fits', expCube='/scratch/kocevski/156449/ltcube_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/156449/Model_4FGL_J0922.6+0434_daily_bin667.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/156449/ft1_filtered_4FGL_J0922.6+0434_daily_bin667.fits
Spacecraft file(s): /scratch/kocevski/156449/ft2_4FGL_J0922.6+0434_daily_bin667.fits
Exposure map: /scratch/kocevski/156449/expmap_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.fits
Exposure cube: /scratch/kocevski/156449/ltcube_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/156449/Model_4FGL_J0922.6+0434_daily_bin667.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) = 6524.81353987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.4477       1.0000         .10000E-03   10000.    
     3 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.2504       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13790E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.975       1.0000         .10000E-03   10000.    
     9 'norm      '    2.8000       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9909       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7553       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.1440       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .93242       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=   6524.795     FROM MIGRAD    STATUS=CONVERGED    219 CALLS      912 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1207       -.34055E-07** at limit **
   2  norm          4.4476        4.0941       -.10323E-06    .31956E-04
   3  norm          .10000E-03    2.1150        .70179E-08** at limit **
   4  norm          7.2508        5.9601       -.35870E-06   -.35581E-04
   5  Prefactor     .10000E-03    17.685       -.48472E-05** at limit **
   6  Prefactor     .10000E-03    2.3770        .28349E-06** at limit **
   7  Prefactor     .10000E-03    17.527        .49308E-05** at limit **
   8  Prefactor     20.969        19.368       -.77341E-05   -.29063E-04
   9  norm          2.8001        1.4722       -.96607E-07   -.34301E-03
  10  norm          1.9911        .85537        .14944E-06   -.94649E-04
  11  Prefactor     5.7555        9.4354       -.42273E-06   -.56992E-04
  12  Normalizat    1.1439        .18242        .95040E-06   -.59353E-04
  13  Prefactor     .93251        .14391        .40325E-06   -.62311E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.4476
  norm       = 0.0001
  norm       = 7.25082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.9693
  norm       = 2.80014
  norm       = 1.99115
  Prefactor  = 5.75555
  Normalizat = 1.14387
  Prefactor  = 0.932514
 **********
 **   18 **HESSE 
 **********

 FCN=   6524.795     FROM HESSE     STATUS=OK           149 CALLS     1061 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1253        .11488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4476        4.0946        .15291E-03   -1.5286    
   3  norm          .10000E-03    2.1529        .11466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.2508        5.9599        .14896E-03   -1.5169    
   5  Prefactor     .10000E-03    17.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.6899        .23897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.969        19.395        .87456E-04   -1.4792    
   9  norm          2.8001        1.4737        .66851E-04   -1.5373    
  10  norm          1.9911        .85180        .46496E-04   -1.5426    
  11  Prefactor     5.7555        9.4392        .16742E-03   -1.5228    
  12  Normalizat    1.1439        .21535        .25573E-03   -.88355    
  13  Prefactor     .93251        .17072        .22695E-03   -.95014    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7844e-11
Minuit parameter uncertainties:
  1  1.06273e-06
  2  4.09487
  3  4.15443e-06
  4  5.96035
  5  3.50467e-05
  6  6.74143e-05
  7  2.12996e-05
  8  19.4011
  9  1.47375
  10  0.851805
  11  9.44161
  12  0.215519
  13  0.170819
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  6.741e-05  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:  9.325e-01  1.708e-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:  1.144e+00  2.155e-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: 8.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/156449/likelihoodResults_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.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) = 6524.79579907
delta logL = -0.00101492606973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6524.79478434
delta logL = -2.02464434551e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10709E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5273       1.0000          .0000       10.000    
     3 'Normalizat'    1.1440       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93249       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=   6524.776     FROM MIGRAD    STATUS=FAILED       224 CALLS      393 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97398E-01    9.0926        .24293E-02   -.72554E-01
   2  Index         4.0262        1.5062        .50000       -.14808E-04
   3  Normalizat    1.1308        .18616E-01    .25573E-03    .11181E-03
   4  Prefactor     .93813        .15147E-01    .22695E-03    .27401E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6524.776     FROM SIMPLEX   STATUS=UNCHANGED     69 CALLS      462 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97398E-01    9.0926        .12285E-03   -.72554E-01
   2  Index         4.0262        1.5062        .35844E-02   -.14808E-04
   3  Normalizat    1.1308        .18616E-01    .13102E-03    .11181E-03
   4  Prefactor     .93813        .15147E-01    .60202E-04    .27401E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6524.776     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      495 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97410E-01    1.3020        .48586E-03   -.17802E-03
   2  Index         4.0261        3.3683        .61762E-02    .12799E-04
   3  Normalizat    1.1308        .21996        .10229E-04    .33276E-03
   4  Prefactor     .93813        .17313        .90779E-05    .18910E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0974102
  Index      = 4.02615
  Normalizat = 1.1308
  Prefactor  = 0.938128
 **********
 **   18 **HESSE 
 **********

 FCN=   6524.776     FROM HESSE     STATUS=OK            27 CALLS      522 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97410E-01    1.7661        .19434E-04   -1.5770    
   2  Index         4.0261        3.7646        .24705E-03   -.19602    
   3  Normalizat    1.1308        .22008        .20458E-05   -.88769    
   4  Prefactor     .93813        .17324        .18156E-05   -.94821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76845e-10
Minuit parameter uncertainties:
  1  0.829143
  2  4.29182
  3  0.220263
  4  0.17334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156449': 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) = 6524.77581712
delta logL = 0.0189670202999

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  9.741e-02  8.291e-01  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  4.026e+00  4.292e+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:  9.381e-01  1.733e-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:  1.131e+00  2.203e-01  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/156449/cmap_HighResolution_412214401_412473601_4FGL_J0922.6+0434_daily_bin667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.97e-03', job_status='DONE', photon_flux_upper_limit='8.96e-08', time_completed='2021-08-31 08:26:15.007714', job_id='156449', GAL2='0.94', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1630423575.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.90e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='667' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:26:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 156449: <4FGL_J0922.6+0434_daily_bin667> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin667> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Aug 31 08:11:11 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:11:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 08:11:13 2021
Terminated at Tue Aug 31 08:26:18 2021
Results reported at Tue Aug 31 08:26:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin667 140.667 4.5781 412214401 412473601 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 :                                   630.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            907 sec.

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

