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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin40
RA = 140.667, Dec = 4.5781
tmin = 249696001, tmax = 249955201
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='150476', job_status='RUN', time_executed='2021-08-31 07:55:15.438827', time_epoch_executed='1630421715.44' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='40'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/150476

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/150476/ft1_4FGL_J0922.6+0434_daily_bin40.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/150476/ft2_4FGL_J0922.6+0434_daily_bin40.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/150476/ft1_4FGL_J0922.6+0434_daily_bin40.fits outfile=/scratch/kocevski/150476/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin40.fits ra=140.667 dec=4.5781 rad=12.0 tmin=249696001.0 tmax=249955201.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 4.31
user 1.29
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/150476/ft1_filtered_4FGL_J0922.6+0434_daily_bin40.fits" evtable="EVENTS" scfile=/scratch/kocevski/150476/ft2_4FGL_J0922.6+0434_daily_bin40.fits sctable="SC_DATA" outfile=/scratch/kocevski/150476/ltcube_249696001_249955201_4FGL_J0922.6+0434_daily_bin40.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/150476/ft2_4FGL_J0922.6+0434_daily_bin40.fits
.....................!
real 14.68
user 13.55
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/150476/ft1_filtered_4FGL_J0922.6+0434_daily_bin40.fits evtable="EVENTS" scfile=/scratch/kocevski/150476/ft2_4FGL_J0922.6+0434_daily_bin40.fits sctable="SC_DATA" expcube=/scratch/kocevski/150476/ltcube_249696001_249955201_4FGL_J0922.6+0434_daily_bin40.fits outfile=/scratch/kocevski/150476/expmap_249696001_249955201_4FGL_J0922.6+0434_daily_bin40.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/150476/ltcube_249696001_249955201_4FGL_J0922.6+0434_daily_bin40.fits
.....................!
real 196.13
user 186.75
sys 4.00

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/150476/ft1_filtered_4FGL_J0922.6+0434_daily_bin40.fits scfile=/scratch/kocevski/150476/ft2_4FGL_J0922.6+0434_daily_bin40.fits outfile=/scratch/kocevski/150476/cmap_249696001_249955201_4FGL_J0922.6+0434_daily_bin40.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.80
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/150476/ft1_filtered_4FGL_J0922.6+0434_daily_bin40.fits scfile=/scratch/kocevski/150476/ft2_4FGL_J0922.6+0434_daily_bin40.fits outfile=/scratch/kocevski/150476/cmap_HighResolution_249696001_249955201_4FGL_J0922.6+0434_daily_bin40.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.66
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.615       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19614E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.439       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.809       1.0000         .10000E-03   10000.    
     9 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.679       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .93284       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0063       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.

 FCN=   5125.048     FROM MIGRAD    STATUS=CONVERGED    238 CALLS     1113 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5310        .90712E-02** at limit **
   2  norm          .10000E-03    11.974        .90712E-02** at limit **
   3  norm          .10000E-03    2.1224        .90712E-02** at limit **
   4  norm          11.615        7.9952        .29386E-02    .20277E-02
   5  Prefactor     .10000E-03    13.463        .90712E-02** at limit **
   6  Prefactor     .10000E-03    2.1341        .62560E-01** at limit **
   7  Prefactor     28.440        35.233        .18781E-02   -.52666E-03
   8  Prefactor     10.805        12.898        .30466E-02    .55819E-03
   9  norm          .10000E-03    .54068        .27750E-01** at limit **
  10  norm          .10000E-03    .24387        .19168E-01** at limit **
  11  Prefactor     22.680        15.695        .21028E-02   -.15748E-03
  12  Normalizat    .93275        .19092        .45320E-01    .13497E-04
  13  Prefactor     1.0064        .15447        .43929E-01    .83181E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 11.6146
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.4397
  Prefactor  = 10.805
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 22.6796
  Normalizat = 0.932752
  Prefactor  = 1.00637
 **********
 **   18 **HESSE 
 **********

 FCN=   5125.048     FROM HESSE     STATUS=OK           145 CALLS     1258 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5369        .11123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    12.305        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.1477        .10178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.615        7.9876        .58773E-03   -1.5026    
   5  Prefactor     .10000E-03    13.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.523        .19759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.440        35.223        .75125E-04   -1.4641    
   8  Prefactor     10.805        12.881        .12187E-03   -1.5050    
   9  norm          .10000E-03    .83271        .10161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .46733        .68081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.680        15.703        .84111E-04   -1.4755    
  12  Normalizat    .93275        .22036        .25328E-03   -.95319    
  13  Prefactor     1.0064        .18123        .20518E-03   -.92517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72336e-09
Minuit parameter uncertainties:
  1  2.11261e-06
  2  5.78094e-06
  3  5.29911e-07
  4  7.98831
  5  1.98582e-05
  6  9.12191e-05
  7  35.2485
  8  12.8841
  9  2.21241e-06
  10  4.89867e-07
  11  15.7057
  12  0.22057
  13  0.181341
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  9.122e-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:  1.006e+00  1.813e-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.328e-01  2.206e-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.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/150476/likelihoodResults_249696001_249955201_4FGL_J0922.6+0434_daily_bin40.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) = 5125.04782258
delta logL = -0.000232126742958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5125.04758674
delta logL = 3.71319038095e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15247E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6097       1.0000          .0000       10.000    
     3 'Normalizat'    .93271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0065       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=   5124.831     FROM MIGRAD    STATUS=FAILED       295 CALLS      476 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .44902E-01    .19552E-03** at limit **
   2  Index         8.3700        8.9946        .11676E-01    .32291E-03
   3  Normalizat    .88186        .86758E-01    .25981E-03   -.26080E-03
   4  Prefactor     1.0347        .72346E-01    .20272E-03   -.30375E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5124.831     FROM SIMPLEX   STATUS=UNCHANGED    137 CALLS      613 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .44902E-01    .22587E-04** at limit **
   2  Index         8.3700        8.9946        .18406E-02    .32291E-03
   3  Normalizat    .88186        .86758E-01    .38495E-04   -.26080E-03
   4  Prefactor     1.0347        .72346E-01    .17679E-04   -.30375E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5124.831     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      654 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .22671E-01    .27042E-03** at limit **
   2  Index         8.3700        9.1204        .23352E-02    .59881E-05
   3  Normalizat    .88186        .74264E-01    .51962E-04   -.24504E-03
   4  Prefactor     1.0347        .62058E-01    .40544E-04   -.29279E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.37
  Normalizat = 0.881857
  Prefactor  = 1.03472
 **********
 **   18 **HESSE 
 **********

 FCN=   5124.831     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      687 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .32021E-01    .23267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.3700        9.0345        .93409E-04    .73961    
   3  Normalizat    .88186        .82518E-01    .10392E-04   -.97101    
   4  Prefactor     1.0347        .69010E-01    .81089E-05   -.91581    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.42306e-11
Minuit parameter uncertainties:
  1  3.37628e-06
  2  9.82207
  3  0.0825302
  4  0.0690154
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/150476': 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) = 5124.83073221
delta logL = 0.216858241992

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
460   Normalization:  8.819e-01  8.253e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/150476/cmap_HighResolution_249696001_249955201_4FGL_J0922.6+0434_daily_bin40.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.84e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-08-31 08:03:07.372455', job_id='150476', GAL2='1.03', fit_tolerance='1e-08', EG2='0.88', EG='0.93', time_epoch_completed='1630422187.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.17e-01', ts2='0.48', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='40' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:03:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 150476: <4FGL_J0922.6+0434_daily_bin40> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin40> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 07:52:25 2021
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:52:26 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:52:26 2021
Terminated at Tue Aug 31 08:03:08 2021
Results reported at Tue Aug 31 08:03:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin40 140.667 4.5781 249696001 249955201 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 :                                   446.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            643 sec.

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

