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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin88
RA = 140.667, Dec = 4.5781
tmin = 262137601, tmax = 262396801
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='152413', job_status='RUN', time_executed='2021-08-31 08:02:29.664635', time_epoch_executed='1630422149.66' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='88'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152413

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152413/ft1_4FGL_J0922.6+0434_daily_bin88.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152413/ft2_4FGL_J0922.6+0434_daily_bin88.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152413/ft1_4FGL_J0922.6+0434_daily_bin88.fits outfile=/scratch/kocevski/152413/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin88.fits ra=140.667 dec=4.5781 rad=12.0 tmin=262137601.0 tmax=262396801.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 7.75
user 1.23
sys 5.32

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152413/ft1_filtered_4FGL_J0922.6+0434_daily_bin88.fits" evtable="EVENTS" scfile=/scratch/kocevski/152413/ft2_4FGL_J0922.6+0434_daily_bin88.fits sctable="SC_DATA" outfile=/scratch/kocevski/152413/ltcube_262137601_262396801_4FGL_J0922.6+0434_daily_bin88.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/152413/ft2_4FGL_J0922.6+0434_daily_bin88.fits
.....................!
real 19.30
user 12.78
sys 6.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152413/ft1_filtered_4FGL_J0922.6+0434_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/152413/ft2_4FGL_J0922.6+0434_daily_bin88.fits sctable="SC_DATA" expcube=/scratch/kocevski/152413/ltcube_262137601_262396801_4FGL_J0922.6+0434_daily_bin88.fits outfile=/scratch/kocevski/152413/expmap_262137601_262396801_4FGL_J0922.6+0434_daily_bin88.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/152413/ltcube_262137601_262396801_4FGL_J0922.6+0434_daily_bin88.fits
.....................!
real 196.72
user 184.96
sys 11.09

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/152413/ft1_filtered_4FGL_J0922.6+0434_daily_bin88.fits scfile=/scratch/kocevski/152413/ft2_4FGL_J0922.6+0434_daily_bin88.fits outfile=/scratch/kocevski/152413/cmap_262137601_262396801_4FGL_J0922.6+0434_daily_bin88.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 5.72
user 0.38
sys 5.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152413/ft1_filtered_4FGL_J0922.6+0434_daily_bin88.fits scfile=/scratch/kocevski/152413/ft2_4FGL_J0922.6+0434_daily_bin88.fits outfile=/scratch/kocevski/152413/cmap_HighResolution_262137601_262396801_4FGL_J0922.6+0434_daily_bin88.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 5.59
user 0.37
sys 5.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.3724       1.0000         .10000E-03   10000.    
     3 'norm      '    5.2902       1.0000         .10000E-03   10000.    
     4 'norm      '    10.014       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11233E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10539E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    60.484       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10411E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .97069       1.0000         .10000E-03   10000.    
    10 'norm      '    2.5618       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0112       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .90305       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96269       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.

 FCN=   8522.233     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     1121 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.3416        .18142E-02** at limit **
   2  norm          9.3716        6.8167        .13091E-03    .13895E-05
   3  norm          5.2900        3.0782        .11848E-03   -.70240E-04
   4  norm          10.013        5.6272        .12662E-03   -.26217E-04
   5  Prefactor     .10000E-03    4.7967        .18142E-02** at limit **
   6  Prefactor     .10000E-03    2.0205        .19404E-02** at limit **
   7  Prefactor     60.467        31.941        .51591E-04   -.48568E-04
   8  Prefactor     .10000E-03    42.801        .41772E-02** at limit **
   9  norm          .97079        .88068        .81374E-03    .49956E-02
  10  norm          2.5622        .64834        .35480E-04   -.68891E-03
  11  Prefactor     1.0079        17.257        .26259E-02   -.12900E-02
  12  Normalizat    .90329        .17800        .26226E-03   -.19906E-03
  13  Prefactor     .96258        .14816        .21442E-03   -.91195E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.37163
  norm       = 5.29002
  norm       = 10.0135
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.4668
  Prefactor  = 0.000100002
  norm       = 0.970793
  norm       = 2.56216
  Prefactor  = 1.00786
  Normalizat = 0.903292
  Prefactor  = 0.962584
 **********
 **   18 **HESSE 
 **********

 FCN=   8522.233     FROM HESSE     STATUS=OK           133 CALLS     1254 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.3442        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.3716        6.8167        .52363E-05   -1.5096    
   3  norm          5.2900        3.0781        .47391E-05   -1.5248    
   4  norm          10.013        5.6271        .50650E-05   -1.5075    
   5  Prefactor     .10000E-03    4.7973        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.0251        .38809E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     60.467        31.939        .10318E-04   -1.4151    
   8  Prefactor     .10000E-03    43.443        .83545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .97079        .88036        .16275E-03   -1.5511    
  10  norm          2.5622        .64827        .14192E-05   -1.5388    
  11  Prefactor     1.0079        17.258        .10503E-03   -1.5507    
  12  Normalizat    .90329        .17809        .10491E-04   -.96345    
  13  Prefactor     .96258        .14832        .85769E-05   -.93987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22049e-08
Minuit parameter uncertainties:
  1  1.12533e-05
  2  6.81729
  3  3.0782
  4  5.62737
  5  7.46629e-05
  6  2.9064e-05
  7  31.9482
  8  0.000540245
  9  0.880369
  10  0.648268
  11  8.34352
  12  0.178207
  13  0.14838
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  2.906e-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.626e-01  1.484e-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.033e-01  1.782e-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: 5.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152413/likelihoodResults_262137601_262396801_4FGL_J0922.6+0434_daily_bin88.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) = 8522.23519079
delta logL = -0.00235859537497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8522.23283215
delta logL = 3.67890606867e-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.4693       1.0000          .0000       10.000    
     3 'Normalizat'    .90328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96265       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=   8522.233     FROM MIGRAD    STATUS=FAILED        90 CALLS      250 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10245E-03    27.365        .25384E-02** at limit **
   2  Index         2.3716        5.1932        .50000        .60831E-04
   3  Normalizat    .90329        .13257E-01    .26226E-03   -.17617E-03
   4  Prefactor     .96258        .11216E-01    .21442E-03   -.22135E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8522.233     FROM SIMPLEX   STATUS=PROGRESS     127 CALLS      377 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    27.365        .18107E-03** at limit **
   2  Index         2.3707        5.1932        .29395E-03    .60831E-04
   3  Normalizat    .90329        .13257E-01    .33325E-05   -.17617E-03
   4  Prefactor     .96258        .11216E-01    .27241E-05   -.22135E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8522.233     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      431 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.979        .50768E-02** at limit **
   2  Index         2.1087        6.5686        .50000       -.15825E-06
   3  Normalizat    .90329        .11385E-01    .10491E-04    .13871E-04
   4  Prefactor     .96258        .96319E-02    .42884E-04    .35311E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.1087
  Normalizat = 0.903294
  Prefactor  = 0.962583
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    137.17        .10154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1087        8.9388        .50000       -.61659    
   3  Normalizat    .90329        .30015E-01    .20981E-05   -.96344    
   4  Prefactor     .96258        .25392E-01    .85769E-05   -.93987    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.38865e-10
Minuit parameter uncertainties:
  1  3.72812e-05
  2  503.39
  3  0.0300153
  4  0.0253925
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152413': 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) = 8522.23282833
delta logL = 3.864242899e-06

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  3.728e-05  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.109e+00  5.034e+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.626e-01  2.539e-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:  9.033e-01  3.002e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/152413/cmap_HighResolution_262137601_262396801_4FGL_J0922.6+0434_daily_bin88.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2021-08-31 08:12:48.101307', job_id='152413', GAL2='0.96', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630422768.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='3.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='88' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:12:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 152413: <4FGL_J0922.6+0434_daily_bin88> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin88 140.667 4.5781 262137601 262396801 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 :                                   681.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            832 sec.

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

