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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin124
RA = 140.667, Dec = 4.5781
tmin = 271468801, tmax = 271728001
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='152450', job_status='RUN', time_executed='2021-08-31 07:59:35.220293', time_epoch_executed='1630421975.22' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='124'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152450

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152450/ft1_4FGL_J0922.6+0434_daily_bin124.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152450/ft2_4FGL_J0922.6+0434_daily_bin124.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152450/ft1_4FGL_J0922.6+0434_daily_bin124.fits outfile=/scratch/kocevski/152450/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin124.fits ra=140.667 dec=4.5781 rad=12.0 tmin=271468801.0 tmax=271728001.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 1.73
user 1.41
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152450/ft2_4FGL_J0922.6+0434_daily_bin124.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/152450/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin124.fits evtable="EVENTS" outfile="/scratch/kocevski/152450/ft1_filtered_4FGL_J0922.6+0434_daily_bin124.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.60
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152450/ft1_filtered_4FGL_J0922.6+0434_daily_bin124.fits evtable="EVENTS" scfile=/scratch/kocevski/152450/ft2_4FGL_J0922.6+0434_daily_bin124.fits sctable="SC_DATA" expcube=/scratch/kocevski/152450/ltcube_271468801_271728001_4FGL_J0922.6+0434_daily_bin124.fits outfile=/scratch/kocevski/152450/expmap_271468801_271728001_4FGL_J0922.6+0434_daily_bin124.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/152450/ltcube_271468801_271728001_4FGL_J0922.6+0434_daily_bin124.fits
.....................!
real 192.63
user 186.27
sys 4.71

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/152450/ft1_filtered_4FGL_J0922.6+0434_daily_bin124.fits scfile=/scratch/kocevski/152450/ft2_4FGL_J0922.6+0434_daily_bin124.fits outfile=/scratch/kocevski/152450/cmap_271468801_271728001_4FGL_J0922.6+0434_daily_bin124.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 1.89
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152450/ft1_filtered_4FGL_J0922.6+0434_daily_bin124.fits scfile=/scratch/kocevski/152450/ft2_4FGL_J0922.6+0434_daily_bin124.fits outfile=/scratch/kocevski/152450/cmap_HighResolution_271468801_271728001_4FGL_J0922.6+0434_daily_bin124.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 1.36
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .62939E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11607E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3243       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13207E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18751E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10618E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10203E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.4353       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.485       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.5170       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.1867       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=   9851.682     FROM MIGRAD    STATUS=CONVERGED    245 CALLS     1005 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5760        .57374E-07** at limit **
   2  norm          .10000E-03    4.0472       -.17190E-06** at limit **
   3  norm          .10000E-03    2.1488        .16743E-07** at limit **
   4  norm          1.3123        3.7397       -.66987E-05   -.81122E-03
   5  Prefactor     .10000E-03    13.335        .19678E-05** at limit **
   6  Prefactor     .10000E-03    3.3588        .25225E-06** at limit **
   7  Prefactor     .10000E-03    12.350        .29462E-06** at limit **
   8  Prefactor     .10000E-03    14.243       -.19136E-05** at limit **
   9  norm          .10000E-03    .46429       -.38973E-07** at limit **
  10  norm          2.4355        .70702       -.28793E-07   -.61281E-04
  11  Prefactor     32.478        17.149       -.55961E-05    .96531E-03
  12  Normalizat    1.5172        .17964        .15887E-05    .67698E-04
  13  Prefactor     1.1866        .14495        .15233E-07    .22325E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.31234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.4355
  Prefactor  = 32.4778
  Normalizat = 1.51721
  Prefactor  = 1.18656
 **********
 **   18 **HESSE 
 **********

 FCN=   9851.682     FROM HESSE     STATUS=OK           143 CALLS     1148 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5896        .15557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    16.200        .38817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.8820        .27943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3123        4.1303        .34811E-03   -1.5479    
   5  Prefactor     .10000E-03    13.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.4948        .35463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.8385        .13114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4355        .70509        .42863E-04   -1.5396    
  11  Prefactor     32.478        16.663        .70304E-04   -1.4568    
  12  Normalizat    1.5172        .21529        .27848E-03   -.77296    
  13  Prefactor     1.1866        .17480        .25349E-03   -.86746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7914e-09
Minuit parameter uncertainties:
  1  4.22888e-06
  2  1.5473e-05
  3  5.95463e-05
  4  4.13122
  5  8.10533e-05
  6  2.60849e-05
  7  1.62603e-05
  8  9.50368e-05
  9  1.5546e-06
  10  0.705089
  11  16.6649
  12  0.215419
  13  0.174884
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  2.608e-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.187e+00  1.749e-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.517e+00  2.154e-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.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152450/likelihoodResults_271468801_271728001_4FGL_J0922.6+0434_daily_bin124.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): 0
logL (Free Index) = 9851.68367047
delta logL = -0.00136578031197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9851.68230527
delta logL = -5.73116267333e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4851       1.0000          .0000       10.000    
     3 'Normalizat'    1.5171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1867       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=   9851.682     FROM MIGRAD    STATUS=FAILED        94 CALLS      247 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    76.457        .35489E-02** at limit **
   2  Index         2.3289        5.2019        .50000        .58276E-06
   3  Normalizat    1.5172        .21896E-01    .27848E-03    .13470E-03
   4  Prefactor     1.1866        .18021E-01    .25349E-03    .17599E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9851.682     FROM SIMPLEX   STATUS=UNCHANGED    147 CALLS      394 TOTAL
                     EDM=   .73E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    76.457        .28646E-03** at limit **
   2  Index         2.3289        5.2019        .70420E-04    .58276E-06
   3  Normalizat    1.5172        .21896E-01    .68497E-06    .13470E-03
   4  Prefactor     1.1866        .18021E-01    .52509E-06    .17599E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9851.682     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      429 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    224.09        .70979E-03** at limit **
   2  Index         2.3067        8.7500        .50000       -.97757E-06
   3  Normalizat    1.5172        .39558E-01    .55696E-04    .12933E-03
   4  Prefactor     1.1866        .32535E-01    .10140E-04    .17222E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.30667
  Normalizat = 1.51721
  Prefactor  = 1.18656
 **********
 **   18 **HESSE 
 **********

 FCN=   9851.682     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      458 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    717.99        .14196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3067        5.4168        .50000       -.56885    
   3  Normalizat    1.5172        .11133        .11139E-04   -.77296    
   4  Prefactor     1.1866        .90583E-01    .20279E-05   -.86746    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.42539e-09
Minuit parameter uncertainties:
  1  0.00269758
  2  1992.68
  3  0.111346
  4  0.0905946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152450': 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) = 9851.68230449
delta logL = 1.99321220862e-07

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  2.698e-03  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.307e+00  1.993e+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.187e+00  9.059e-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.517e+00  1.113e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/152450/cmap_HighResolution_271468801_271728001_4FGL_J0922.6+0434_daily_bin124.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-03', job_status='DONE', photon_flux_upper_limit='8.05e-08', time_completed='2021-08-31 08:09:09.614489', job_id='152450', GAL2='1.19', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1630422549.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.99e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='124' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:09:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 152450: <4FGL_J0922.6+0434_daily_bin124> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin124 140.667 4.5781 271468801 271728001 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 :                                   559.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             378.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   607 sec.
    Turnaround time :                            608 sec.

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

