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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin391
RA = 140.667, Dec = 4.5781
tmin = 340675201, tmax = 340934401
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='153146', job_status='RUN', time_executed='2021-08-31 08:05:33.953881', time_epoch_executed='1630422333.95' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='391'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153146

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153146/ft1_4FGL_J0922.6+0434_daily_bin391.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153146/ft2_4FGL_J0922.6+0434_daily_bin391.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153146/ft1_4FGL_J0922.6+0434_daily_bin391.fits outfile=/scratch/kocevski/153146/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin391.fits ra=140.667 dec=4.5781 rad=12.0 tmin=340675201.0 tmax=340934401.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.52
user 5.84
sys 1.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153146/ft2_4FGL_J0922.6+0434_daily_bin391.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/153146/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin391.fits evtable="EVENTS" outfile="/scratch/kocevski/153146/ft1_filtered_4FGL_J0922.6+0434_daily_bin391.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 2.25
user 0.34
sys 1.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153146/ft1_filtered_4FGL_J0922.6+0434_daily_bin391.fits" evtable="EVENTS" scfile=/scratch/kocevski/153146/ft2_4FGL_J0922.6+0434_daily_bin391.fits sctable="SC_DATA" outfile=/scratch/kocevski/153146/ltcube_340675201_340934401_4FGL_J0922.6+0434_daily_bin391.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/153146/ft2_4FGL_J0922.6+0434_daily_bin391.fits
.....................!
real 13.83
user 12.10
sys 1.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153146/ft1_filtered_4FGL_J0922.6+0434_daily_bin391.fits evtable="EVENTS" scfile=/scratch/kocevski/153146/ft2_4FGL_J0922.6+0434_daily_bin391.fits sctable="SC_DATA" expcube=/scratch/kocevski/153146/ltcube_340675201_340934401_4FGL_J0922.6+0434_daily_bin391.fits outfile=/scratch/kocevski/153146/expmap_340675201_340934401_4FGL_J0922.6+0434_daily_bin391.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/153146/ltcube_340675201_340934401_4FGL_J0922.6+0434_daily_bin391.fits
.....................!
real 192.46
user 185.27
sys 5.69

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/153146/ft1_filtered_4FGL_J0922.6+0434_daily_bin391.fits scfile=/scratch/kocevski/153146/ft2_4FGL_J0922.6+0434_daily_bin391.fits outfile=/scratch/kocevski/153146/cmap_340675201_340934401_4FGL_J0922.6+0434_daily_bin391.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 3.06
user 0.37
sys 1.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153146/ft1_filtered_4FGL_J0922.6+0434_daily_bin391.fits scfile=/scratch/kocevski/153146/ft2_4FGL_J0922.6+0434_daily_bin391.fits outfile=/scratch/kocevski/153146/cmap_HighResolution_340675201_340934401_4FGL_J0922.6+0434_daily_bin391.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 4.15
user 0.40
sys 1.10

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    1.6049       1.0000         .10000E-03   10000.    
     3 'norm      '    .87498E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    .70526       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12041E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0982       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.680       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9357       1.0000         .10000E-03   10000.    
    10 'norm      '    2.6574       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.253       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.1446       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0077       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=   6109.553     FROM MIGRAD    STATUS=CONVERGED    268 CALLS     1176 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.4681        .15615E-06** at limit **
   2  norm          1.6071        1.5580        .79466E-07   -.51838E-03
   3  norm          .69204E-01    1.7598       -.12362E-06    .22300E-03
   4  norm          .68150        3.4428        .64957E-07    .11945E-04
   5  Prefactor     .10000E-03    16.194        .79042E-06** at limit **
   6  Prefactor     .10000E-03    1.5479        .14706E-06** at limit **
   7  Prefactor     .94842        29.577       -.16011E-05    .13206E-03
   8  Prefactor     20.685        18.139       -.27857E-06    .35312E-04
   9  norm          1.9355        1.2603        .12428E-07   -.61396E-04
  10  norm          2.6570        .81706       -.10980E-07    .56228E-04
  11  Prefactor     10.246        16.710        .79630E-05    .47660E-05
  12  Normalizat    1.1446        .19786       -.28432E-06    .89278E-04
  13  Prefactor     1.0078        .15708        .65024E-07    .67661E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.6071
  norm       = 0.069204
  norm       = 0.681505
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.948423
  Prefactor  = 20.685
  norm       = 1.93553
  norm       = 2.65704
  Prefactor  = 10.2456
  Normalizat = 1.14463
  Prefactor  = 1.0078
 **********
 **   18 **HESSE 
 **********

 FCN=   6109.553     FROM HESSE     STATUS=OK           157 CALLS     1333 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4778        .11993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6071        10.626        .16727E-02   -1.5454    
   3  norm          .69204E-01    36.672        .19767E-02   -1.5655    
   4  norm          .68150        12.549        .27556E-02   -1.5543    
   5  Prefactor     .10000E-03    16.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5633        .94916E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94842        255.09        .80364E-02   -1.5513    
   8  Prefactor     20.685        18.196        .88077E-04   -1.4798    
   9  norm          1.9355        1.2555        .67897E-04   -1.5430    
  10  norm          2.6570        .81598        .37172E-04   -1.5382    
  11  Prefactor     10.246        16.749        .12513E-03   -1.5068    
  12  Normalizat    1.1446        .23515        .26294E-03   -.88331    
  13  Prefactor     1.0078        .18821        .22845E-03   -.92470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50251e-09
Minuit parameter uncertainties:
  1  1.92216e-07
  2  8.26673
  3  3.1858
  4  5.84983
  5  1.34987e-05
  6  9.67455e-07
  7  31.2419
  8  18.2009
  9  1.25547
  10  0.815979
  11  16.7571
  12  0.235364
  13  0.188332
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  9.675e-07  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.008e+00  1.883e-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.145e+00  2.354e-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: 7.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/153146/likelihoodResults_340675201_340934401_4FGL_J0922.6+0434_daily_bin391.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) = 6109.55605165
delta logL = -0.00303429185988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6109.55301738
delta logL = -2.73630575975e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4802       1.0000          .0000       10.000    
     3 'Normalizat'    1.1446       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0078       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=   6109.553     FROM MIGRAD    STATUS=FAILED        86 CALLS      233 TOTAL
                     EDM=   .14E-02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    264.76        .95222E-03** at limit **
   2  Index         2.4714        5.5349        .20000        .47805E-04
   3  Normalizat    1.1446        .87412E-01    .26294E-03   -.12020E-04
   4  Prefactor     1.0078        .72154E-01    .22845E-03   -.22394E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6109.553     FROM SIMPLEX   STATUS=UNCHANGED    169 CALLS      402 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    264.76        .18111E-03** at limit **
   2  Index         2.4714        5.5349        .13272E-04    .47805E-04
   3  Normalizat    1.1446        .87412E-01    .41315E-06   -.12020E-04
   4  Prefactor     1.0078        .72154E-01    .34579E-06   -.22394E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6109.553     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      444 TOTAL
                     EDM=   .89E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    422.25        .19044E-02** at limit **
   2  Index         2.0103        5.2220        .80000E-01   -.93792E-08
   3  Normalizat    1.1446        .20325        .10518E-04    .15133E-04
   4  Prefactor     1.0078        .16786        .91379E-05    .34587E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.01026
  Normalizat = 1.14463
  Prefactor  = 1.0078
 **********
 **   18 **HESSE 
 **********

 FCN=   6109.553     FROM HESSE     STATUS=OK            23 CALLS      467 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7365        .38089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0103        6.1220        .32000E-02   -.64094    
   3  Normalizat    1.1446        .22516        .21035E-05   -.88331    
   4  Prefactor     1.0078        .18595        .18276E-05   -.92470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03443e-12
Minuit parameter uncertainties:
  1  1.86413e-06
  2  160.507
  3  0.225347
  4  0.186073
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153146': 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) = 6109.55301417
delta logL = 3.18406819133e-06

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  1.864e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.010e+00  1.605e+02  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.008e+00  1.861e-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.145e+00  2.253e-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/153146/cmap_HighResolution_340675201_340934401_4FGL_J0922.6+0434_daily_bin391.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.55e-03', job_status='DONE', photon_flux_upper_limit='7.15e-08', time_completed='2021-08-31 08:14:45.127560', job_id='153146', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630422885.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.18e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='391' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:14:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 153146: <4FGL_J0922.6+0434_daily_bin391> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin391> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 31 08:00:38 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:00:40 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:00:40 2021
Terminated at Tue Aug 31 08:14:46 2021
Results reported at Tue Aug 31 08:14:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin391 140.667 4.5781 340675201 340934401 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 :                                   519.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             235.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            848 sec.

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

