/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 114 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 = 7511
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0922.6+0434_daily_bin717
RA = 140.667, Dec = 4.5781
tmin = 425174401, tmax = 425433601
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='156525', job_status='RUN', time_executed='2021-08-31 08:13:21.001873', time_epoch_executed='1630422801.0' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156525

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156525/ft1_4FGL_J0922.6+0434_daily_bin717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156525/ft2_4FGL_J0922.6+0434_daily_bin717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156525/ft1_4FGL_J0922.6+0434_daily_bin717.fits outfile=/scratch/kocevski/156525/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin717.fits ra=140.667 dec=4.5781 rad=12.0 tmin=425174401.0 tmax=425433601.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 5.23
user 4.99
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156525/ft1_filtered_4FGL_J0922.6+0434_daily_bin717.fits" evtable="EVENTS" scfile=/scratch/kocevski/156525/ft2_4FGL_J0922.6+0434_daily_bin717.fits sctable="SC_DATA" outfile=/scratch/kocevski/156525/ltcube_425174401_425433601_4FGL_J0922.6+0434_daily_bin717.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/156525/ft2_4FGL_J0922.6+0434_daily_bin717.fits
.....................!
real 11.76
user 11.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156525/ft1_filtered_4FGL_J0922.6+0434_daily_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/156525/ft2_4FGL_J0922.6+0434_daily_bin717.fits sctable="SC_DATA" expcube=/scratch/kocevski/156525/ltcube_425174401_425433601_4FGL_J0922.6+0434_daily_bin717.fits outfile=/scratch/kocevski/156525/expmap_425174401_425433601_4FGL_J0922.6+0434_daily_bin717.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/156525/ltcube_425174401_425433601_4FGL_J0922.6+0434_daily_bin717.fits
.....................!
real 189.55
user 184.62
sys 4.29

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/156525/ft1_filtered_4FGL_J0922.6+0434_daily_bin717.fits scfile=/scratch/kocevski/156525/ft2_4FGL_J0922.6+0434_daily_bin717.fits outfile=/scratch/kocevski/156525/cmap_425174401_425433601_4FGL_J0922.6+0434_daily_bin717.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156525/ft1_filtered_4FGL_J0922.6+0434_daily_bin717.fits scfile=/scratch/kocevski/156525/ft2_4FGL_J0922.6+0434_daily_bin717.fits outfile=/scratch/kocevski/156525/cmap_HighResolution_425174401_425433601_4FGL_J0922.6+0434_daily_bin717.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.56
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5486       1.0000         .10000E-03   10000.    
     2 'norm      '    .85413       1.0000         .10000E-03   10000.    
     3 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    23.977       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10422E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.779       1.0000         .10000E-03   10000.    
     8 'Prefactor '    38.926       1.0000         .10000E-03   10000.    
     9 'norm      '    4.8637       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8299       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.0486       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .93604       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=   4066.535     FROM MIGRAD    STATUS=CONVERGED    224 CALLS     1063 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5484        9.0749       -.13069E-05   -.79708E-04
   2  norm          .84912        11.067       -.36634E-05   -.32067E-04
   3  norm          .10000E-03    4.8635        .51246E-06** at limit **
   4  norm          23.973        12.858       -.14288E-05    .42946E-04
   5  Prefactor     .10000E-03    14.624        .16603E-05** at limit **
   6  Prefactor     .10000E-03    3.7673        .20864E-06** at limit **
   7  Prefactor     32.767        47.242       -.17845E-04    .16355E-04
   8  Prefactor     38.902        26.174       -.30047E-04    .22328E-04
   9  norm          4.8627        2.4631       -.58572E-06    .87672E-04
  10  norm          1.8292        1.0697        .82368E-06    .10568E-02
  11  Prefactor     .10000E-03    6.8878       -.50464E-06** at limit **
  12  Normalizat    1.0492        .25210        .10809E-04   -.97023E-04
  13  Prefactor     .93556        .19365        .12548E-05    .29859E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.54838
  norm       = 0.849118
  norm       = 0.0001
  norm       = 23.9727
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 32.7675
  Prefactor  = 38.9021
  norm       = 4.86267
  norm       = 1.82915
  Prefactor  = 0.0001
  Normalizat = 1.04917
  Prefactor  = 0.935557
 **********
 **   18 **HESSE 
 **********

 FCN=   4066.535     FROM HESSE     STATUS=OK           149 CALLS     1212 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5484        9.0713        .17056E-03   -1.5237    
   2  norm          .84912        28.570        .41047E-02   -1.5524    
   3  norm          .10000E-03    4.9556        .13718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          23.973        12.872        .81806E-04   -1.4728    
   5  Prefactor     .10000E-03    14.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.8601        .24157E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.767        47.240        .69989E-04   -1.4562    
   8  Prefactor     38.902        26.171        .64242E-04   -1.4460    
   9  norm          4.8627        2.4721        .67073E-04   -1.5267    
  10  norm          1.8292        1.0621        .45626E-04   -1.5437    
  11  Prefactor     .10000E-03    6.8982        .16346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0492        .29809        .27656E-03   -.91401    
  13  Prefactor     .93556        .23024        .23378E-03   -.94909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42836e-08
Minuit parameter uncertainties:
  1  9.07355
  2  9.8553
  3  6.1531e-05
  4  12.8733
  5  0.000241045
  6  4.48345e-05
  7  47.2939
  8  26.1785
  9  2.47215
  10  1.06209
  11  2.32162e-05
  12  0.298563
  13  0.230479
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  4.483e-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.356e-01  2.305e-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.049e+00  2.986e-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.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/156525/likelihoodResults_425174401_425433601_4FGL_J0922.6+0434_daily_bin717.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) = 4066.535784
delta logL = -0.00123497357436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4066.53454908
delta logL = -5.44882823306e-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.4813       1.0000          .0000       10.000    
     3 'Normalizat'    1.0492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93559       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=   4066.535     FROM MIGRAD    STATUS=FAILED        89 CALLS      245 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10038E-03    369.97        .24218E-03** at limit **
   2  Index         2.4439        8.2323        .50000        .13831E-04
   3  Normalizat    1.0492        .67277E-01    .27656E-03   -.12622E-03
   4  Prefactor     .93555        .54322E-01    .23378E-03   -.10905E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4066.535     FROM SIMPLEX   STATUS=UNCHANGED    155 CALLS      400 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10038E-03    369.97        .30175E-03** at limit **
   2  Index         2.4439        8.2323        .98008E-05    .13831E-04
   3  Normalizat    1.0492        .67277E-01    .27770E-06   -.12622E-03
   4  Prefactor     .93555        .54322E-01    .32045E-06   -.10905E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4066.535     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      453 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5411        .48435E-04** at limit **
   2  Index         2.2650        7.9526        .50000       -.11020E-05
   3  Normalizat    1.0492        .28245        .11062E-04    .33914E-05
   4  Prefactor     .93555        .22822        .93512E-05    .32825E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.26501
  Normalizat = 1.04918
  Prefactor  = 0.935549
 **********
 **   18 **HESSE 
 **********

 FCN=   4066.535     FROM HESSE     STATUS=OK            27 CALLS      480 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0441        .96871E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2650        7.1232        .50000       -.57877    
   3  Normalizat    1.0492        .28261        .22124E-05   -.91401    
   4  Prefactor     .93555        .22836        .18702E-05   -.94910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11569e-10
Minuit parameter uncertainties:
  1  3.86958e-06
  2  101.489
  3  0.283012
  4  0.228596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156525': 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) = 4066.53454858
delta logL = 4.51544565294e-07

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  3.870e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.265e+00  1.015e+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:  9.355e-01  2.286e-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.049e+00  2.830e-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/156525/cmap_HighResolution_425174401_425433601_4FGL_J0922.6+0434_daily_bin717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.78e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-08-31 08:20:24.791520', job_id='156525', GAL2='0.94', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630423224.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.52e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='717' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:20:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 156525: <4FGL_J0922.6+0434_daily_bin717> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin717> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Aug 31 08:11:16 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:11:18 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:18 2021
Terminated at Tue Aug 31 08:20:25 2021
Results reported at Tue Aug 31 08:20:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin717 140.667 4.5781 425174401 425433601 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 :                                   418.25 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             343.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   547 sec.
    Turnaround time :                            549 sec.

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

