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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin148
RA = 140.667, Dec = 4.5781
tmin = 277689601, tmax = 277948801
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='152494', job_status='RUN', time_executed='2021-08-31 08:03:14.986414', time_epoch_executed='1630422194.99' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='148'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152494

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152494/ft1_4FGL_J0922.6+0434_daily_bin148.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152494/ft2_4FGL_J0922.6+0434_daily_bin148.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152494/ft1_4FGL_J0922.6+0434_daily_bin148.fits outfile=/scratch/kocevski/152494/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin148.fits ra=140.667 dec=4.5781 rad=12.0 tmin=277689601.0 tmax=277948801.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.94
user 3.35
sys 0.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152494/ft1_filtered_4FGL_J0922.6+0434_daily_bin148.fits" evtable="EVENTS" scfile=/scratch/kocevski/152494/ft2_4FGL_J0922.6+0434_daily_bin148.fits sctable="SC_DATA" outfile=/scratch/kocevski/152494/ltcube_277689601_277948801_4FGL_J0922.6+0434_daily_bin148.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/152494/ft2_4FGL_J0922.6+0434_daily_bin148.fits
.....................!
real 12.48
user 11.67
sys 0.75

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152494/ft1_filtered_4FGL_J0922.6+0434_daily_bin148.fits evtable="EVENTS" scfile=/scratch/kocevski/152494/ft2_4FGL_J0922.6+0434_daily_bin148.fits sctable="SC_DATA" expcube=/scratch/kocevski/152494/ltcube_277689601_277948801_4FGL_J0922.6+0434_daily_bin148.fits outfile=/scratch/kocevski/152494/expmap_277689601_277948801_4FGL_J0922.6+0434_daily_bin148.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/152494/ltcube_277689601_277948801_4FGL_J0922.6+0434_daily_bin148.fits
.....................!
real 190.60
user 185.09
sys 4.97

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/152494/ft1_filtered_4FGL_J0922.6+0434_daily_bin148.fits scfile=/scratch/kocevski/152494/ft2_4FGL_J0922.6+0434_daily_bin148.fits outfile=/scratch/kocevski/152494/cmap_277689601_277948801_4FGL_J0922.6+0434_daily_bin148.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.94
user 0.37
sys 0.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152494/ft1_filtered_4FGL_J0922.6+0434_daily_bin148.fits scfile=/scratch/kocevski/152494/ft2_4FGL_J0922.6+0434_daily_bin148.fits outfile=/scratch/kocevski/152494/cmap_HighResolution_277689601_277948801_4FGL_J0922.6+0434_daily_bin148.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.94
user 0.38
sys 0.54

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95322E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.2421       1.0000         .10000E-03   10000.    
     3 'norm      '    21.060       1.0000         .10000E-03   10000.    
     4 'norm      '    .16674E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .35420E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15496E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.650       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.8272       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6482       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0648       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.787       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .93635       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.2694       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=   5681.577     FROM MIGRAD    STATUS=CONVERGED    264 CALLS     1126 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.803       -.50885E-06** at limit **
   2  norm          4.2422        5.8732        .16182E-05   -.13637E-03
   3  norm          21.061        6.7199        .12755E-06   -.57698E-04
   4  norm          .10000E-03    3.9460        .11058E-06** at limit **
   5  Prefactor     .10000E-03    6.4362        .32272E-07** at limit **
   6  Prefactor     .10000E-03    1.7680        .57452E-06** at limit **
   7  Prefactor     21.804        41.231        .56344E-05    .16406E-04
   8  Prefactor     4.8510        15.428       -.26650E-04   -.10427E-03
   9  norm          2.6483        1.4852       -.14488E-06   -.23819E-03
  10  norm          1.0634        .80759        .21845E-06    .22105E-03
  11  Prefactor     11.859        15.255        .52570E-05   -.19243E-04
  12  Normalizat    .93638        .21316        .26690E-05   -.88864E-04
  13  Prefactor     1.2692        .17160       -.43281E-06    .67666E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.24224
  norm       = 21.0614
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 21.804
  Prefactor  = 4.85102
  norm       = 2.64827
  norm       = 1.0634
  Prefactor  = 11.8591
  Normalizat = 0.936378
  Prefactor  = 1.26924
 **********
 **   18 **HESSE 
 **********

 FCN=   5681.577     FROM HESSE     STATUS=OK           151 CALLS     1277 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.281        .41587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.2422        5.8587        .19564E-03   -1.5296    
   3  norm          21.061        6.7163        .87280E-04   -1.4790    
   4  norm          .10000E-03    11.649        .29090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.4441        .18675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.4547        .19318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.804        41.272        .86082E-04   -1.4774    
   8  Prefactor     4.8510        15.548        .18310E-03   -1.5267    
   9  norm          2.6483        1.4884        .65020E-04   -1.5382    
  10  norm          1.0634        .78409        .55166E-04   -1.5502    
  11  Prefactor     11.859        15.255        .11668E-03   -1.5019    
  12  Normalizat    .93638        .25018        .29801E-03   -.95193    
  13  Prefactor     1.2692        .20257        .22143E-03   -.84226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7449e-10
Minuit parameter uncertainties:
  1  1.81929e-05
  2  5.85946
  3  6.71655
  4  1.58206e-05
  5  5.98992e-07
  6  0.000136336
  7  41.3256
  8  15.5609
  9  1.48844
  10  0.784094
  11  15.2603
  12  0.250494
  13  0.202696
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  1.363e-04  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.269e+00  2.027e-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.364e-01  2.505e-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.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152494/likelihoodResults_277689601_277948801_4FGL_J0922.6+0434_daily_bin148.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) = 5681.57729097
delta logL = -0.000639449797745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5681.57665132
delta logL = 1.99826899916e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4606       1.0000          .0000       10.000    
     3 'Normalizat'    .93638       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2692       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=   5681.577     FROM MIGRAD    STATUS=FAILED       104 CALLS      282 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10216E-03    109.60        .19707E-02** at limit **
   2  Index         2.3328        7.7694        .50000        .10920E-04
   3  Normalizat    .93638        .19108E-01    .29801E-03   -.31167E-04
   4  Prefactor     1.2692        .16330E-01    .22143E-03   -.45653E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5681.577     FROM SIMPLEX   STATUS=UNCHANGED    121 CALLS      403 TOTAL
                     EDM=   .80E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10216E-03    109.60        .43684E-03** at limit **
   2  Index         2.3328        7.7694        .37374E-03    .10920E-04
   3  Normalizat    .93638        .19108E-01    .26762E-05   -.31167E-04
   4  Prefactor     1.2692        .16330E-01    .25681E-05   -.45653E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5681.577     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      448 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    609.07        .39414E-03** at limit **
   2  Index         2.2594        8.6782        .50000       -.29559E-08
   3  Normalizat    .93638        .48314E-01    .11921E-04    .18998E-03
   4  Prefactor     1.2692        .41287E-01    .44287E-04    .25794E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.25939
  Normalizat = 0.936381
  Prefactor  = 1.26924
 **********
 **   18 **HESSE 
 **********

 FCN=   5681.577     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      477 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1853.4        .78829E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2594        5.4199        .50000       -.58012    
   3  Normalizat    .93638        .15535        .23841E-05   -.95193    
   4  Prefactor     1.2692        .13242        .88573E-05   -.84226    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.38474e-10
Minuit parameter uncertainties:
  1  0.000129351
  2  1393.55
  3  0.155424
  4  0.132459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152494': 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) = 5681.57665063
delta logL = 8.95134689927e-07

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  1.294e-04  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.259e+00  1.394e+03  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.269e+00  1.325e-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.364e-01  1.554e-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/152494/cmap_HighResolution_277689601_277948801_4FGL_J0922.6+0434_daily_bin148.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.54e-03', job_status='DONE', photon_flux_upper_limit='8.42e-08', time_completed='2021-08-31 08:11:04.113268', job_id='152494', GAL2='1.27', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630422664.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='8.95e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='148' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:11:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 152494: <4FGL_J0922.6+0434_daily_bin148> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin148> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 31 07:59:05 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:59: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 07:59:06 2021
Terminated at Tue Aug 31 08:11:05 2021
Results reported at Tue Aug 31 08:11:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin148 140.667 4.5781 277689601 277948801 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 :                                   470.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             246.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            720 sec.

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

