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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin270
RA = 140.667, Dec = 4.5781
tmin = 309312001, tmax = 309571201
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='152685', job_status='RUN', time_executed='2021-08-31 08:02:01.183182', time_epoch_executed='1630422121.18' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152685

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152685/ft1_4FGL_J0922.6+0434_daily_bin270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152685/ft2_4FGL_J0922.6+0434_daily_bin270.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152685/ft1_4FGL_J0922.6+0434_daily_bin270.fits outfile=/scratch/kocevski/152685/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin270.fits ra=140.667 dec=4.5781 rad=12.0 tmin=309312001.0 tmax=309571201.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.03
user 3.77
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152685/ft1_filtered_4FGL_J0922.6+0434_daily_bin270.fits" evtable="EVENTS" scfile=/scratch/kocevski/152685/ft2_4FGL_J0922.6+0434_daily_bin270.fits sctable="SC_DATA" outfile=/scratch/kocevski/152685/ltcube_309312001_309571201_4FGL_J0922.6+0434_daily_bin270.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/152685/ft2_4FGL_J0922.6+0434_daily_bin270.fits
.....................!
real 11.91
user 11.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152685/ft1_filtered_4FGL_J0922.6+0434_daily_bin270.fits evtable="EVENTS" scfile=/scratch/kocevski/152685/ft2_4FGL_J0922.6+0434_daily_bin270.fits sctable="SC_DATA" expcube=/scratch/kocevski/152685/ltcube_309312001_309571201_4FGL_J0922.6+0434_daily_bin270.fits outfile=/scratch/kocevski/152685/expmap_309312001_309571201_4FGL_J0922.6+0434_daily_bin270.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/152685/ltcube_309312001_309571201_4FGL_J0922.6+0434_daily_bin270.fits
.....................!
real 190.82
user 185.31
sys 4.46

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/152685/ft1_filtered_4FGL_J0922.6+0434_daily_bin270.fits scfile=/scratch/kocevski/152685/ft2_4FGL_J0922.6+0434_daily_bin270.fits outfile=/scratch/kocevski/152685/cmap_309312001_309571201_4FGL_J0922.6+0434_daily_bin270.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.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152685/ft1_filtered_4FGL_J0922.6+0434_daily_bin270.fits scfile=/scratch/kocevski/152685/ft2_4FGL_J0922.6+0434_daily_bin270.fits outfile=/scratch/kocevski/152685/cmap_HighResolution_309312001_309571201_4FGL_J0922.6+0434_daily_bin270.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.54
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10273E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    16.852       1.0000         .10000E-03   10000.    
     4 'norm      '    8.0876       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.813       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21771E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .41816E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.604       1.0000         .10000E-03   10000.    
     9 'norm      '    .88727       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7800       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8361       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.0948       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0592       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=   5674.050     FROM MIGRAD    STATUS=CONVERGED    234 CALLS     1091 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.156        .45543E-06** at limit **
   2  norm          .10000E-03    2.1599        .28195E-07** at limit **
   3  norm          16.855        6.3108       -.49222E-07   -.42673E-04
   4  norm          8.0899        7.4623       -.16178E-06    .76609E-06
   5  Prefactor     22.750        27.434        .16254E-05    .22197E-04
   6  Prefactor     .10000E-03    2.2694        .23137E-06** at limit **
   7  Prefactor     .10000E-03    66.466       -.74063E-05** at limit **
   8  Prefactor     27.607        20.320       -.51415E-07   -.39750E-05
   9  norm          .88687        1.2148        .39628E-06    .41135E-03
  10  norm          1.7802        .92727        .88652E-08   -.15910E-04
  11  Prefactor     8.8368        10.843       -.67036E-07   -.67774E-05
  12  Normalizat    1.0947        .22449        .17556E-05   -.98647E-04
  13  Prefactor     1.0594        .17755       -.18228E-05    .34598E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 16.8548
  norm       = 8.08991
  Prefactor  = 22.7502
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.6071
  norm       = 0.886871
  norm       = 1.78022
  Prefactor  = 8.83676
  Normalizat = 1.09467
  Prefactor  = 1.05938
 **********
 **   18 **HESSE 
 **********

 FCN=   5674.050     FROM HESSE     STATUS=OK           153 CALLS     1244 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.1608        .10812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.855        6.3068        .97563E-04   -1.4887    
   4  norm          8.0899        7.4527        .14098E-03   -1.5139    
   5  Prefactor     22.750        27.810        .83862E-04   -1.4754    
   6  Prefactor     .10000E-03    4.8083        .21779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    67.714        .21243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.607        20.283        .76251E-04   -1.4657    
   9  norm          .88687        1.1608        .94516E-03   -1.5520    
  10  norm          1.7802        .91988        .48612E-04   -1.5441    
  11  Prefactor     8.8368        10.845        .13484E-03   -1.5113    
  12  Normalizat    1.0947        .24669        .27616E-03   -.89923    
  13  Prefactor     1.0594        .19507        .23181E-03   -.90776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92737e-10
Minuit parameter uncertainties:
  1  1.00256e-05
  2  3.12673e-07
  3  6.307
  4  7.45358
  5  27.8256
  6  5.21313e-05
  7  0.000185469
  8  20.2876
  9  1.16083
  10  0.919884
  11  10.8476
  12  0.246953
  13  0.195204
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  5.213e-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.059e+00  1.952e-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.095e+00  2.470e-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.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152685/likelihoodResults_309312001_309571201_4FGL_J0922.6+0434_daily_bin270.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) = 5674.05079964
delta logL = -0.000989956217381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5674.04981193
delta logL = -2.25084750127e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13127E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4434       1.0000          .0000       10.000    
     3 'Normalizat'    1.0948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0593       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=   5674.050     FROM MIGRAD    STATUS=FAILED       102 CALLS      271 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11598E-03    109.76        .22958E-02** at limit **
   2  Index         2.1710        6.4812        .50000        .37663E-04
   3  Normalizat    1.0947        .18996E-01    .27616E-03    .34416E-04
   4  Prefactor     1.0594        .15804E-01    .23181E-03    .10887E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5674.050     FROM SIMPLEX   STATUS=PROGRESS     119 CALLS      390 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10662E-03    109.76        .33804E-03** at limit **
   2  Index         2.1701        6.4812        .28746E-03    .37663E-04
   3  Normalizat    1.0947        .18996E-01    .18487E-05    .34416E-04
   4  Prefactor     1.0594        .15804E-01    .16030E-05    .10887E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5674.050     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      447 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    81.107        .45915E-02** at limit **
   2  Index         1.9883        5.2157        .50000       -.54229E-07
   3  Normalizat    1.0947        .15391E-01    .11046E-04    .43226E-04
   4  Prefactor     1.0594        .12805E-01    .92726E-05    .45119E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.98835
  Normalizat = 1.09467
  Prefactor  = 1.05938
 **********
 **   18 **HESSE 
 **********

 FCN=   5674.050     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      476 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1481.4        .18366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9883        7.9281        .50000       -.64642    
   3  Normalizat    1.0947        .86814E-01    .22092E-05   -.89923    
   4  Prefactor     1.0594        .72209E-01    .18545E-05   -.90776    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.21278e-09
Minuit parameter uncertainties:
  1  0.00118326
  2  973.033
  3  0.0868256
  4  0.0722161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152685': 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) = 5674.04980443
delta logL = 5.25213636138e-06

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  1.183e-03  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  1.988e+00  9.730e+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.059e+00  7.222e-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:  1.095e+00  8.683e-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/152685/cmap_HighResolution_309312001_309571201_4FGL_J0922.6+0434_daily_bin270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2021-08-31 08:09:44.429744', job_id='152685', GAL2='1.06', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630422584.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.25e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='270' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:09:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 152685: <4FGL_J0922.6+0434_daily_bin270> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin270 140.667 4.5781 309312001 309571201 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 :                                   457.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             237.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   621 sec.
    Turnaround time :                            625 sec.

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

