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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin354
RA = 140.667, Dec = 4.5781
tmin = 331084801, tmax = 331344001
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='152816', job_status='RUN', time_executed='2021-08-31 08:05:03.765140', time_epoch_executed='1630422303.77' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='354'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152816

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152816/ft1_4FGL_J0922.6+0434_daily_bin354.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152816/ft2_4FGL_J0922.6+0434_daily_bin354.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152816/ft1_4FGL_J0922.6+0434_daily_bin354.fits outfile=/scratch/kocevski/152816/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin354.fits ra=140.667 dec=4.5781 rad=12.0 tmin=331084801.0 tmax=331344001.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 11.60
user 3.14
sys 8.40

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152816/ft1_filtered_4FGL_J0922.6+0434_daily_bin354.fits" evtable="EVENTS" scfile=/scratch/kocevski/152816/ft2_4FGL_J0922.6+0434_daily_bin354.fits sctable="SC_DATA" outfile=/scratch/kocevski/152816/ltcube_331084801_331344001_4FGL_J0922.6+0434_daily_bin354.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/152816/ft2_4FGL_J0922.6+0434_daily_bin354.fits
.....................!
real 21.60
user 12.10
sys 9.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152816/ft1_filtered_4FGL_J0922.6+0434_daily_bin354.fits evtable="EVENTS" scfile=/scratch/kocevski/152816/ft2_4FGL_J0922.6+0434_daily_bin354.fits sctable="SC_DATA" expcube=/scratch/kocevski/152816/ltcube_331084801_331344001_4FGL_J0922.6+0434_daily_bin354.fits outfile=/scratch/kocevski/152816/expmap_331084801_331344001_4FGL_J0922.6+0434_daily_bin354.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/152816/ltcube_331084801_331344001_4FGL_J0922.6+0434_daily_bin354.fits
.....................!
real 200.81
user 185.31
sys 14.97

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/152816/ft1_filtered_4FGL_J0922.6+0434_daily_bin354.fits scfile=/scratch/kocevski/152816/ft2_4FGL_J0922.6+0434_daily_bin354.fits outfile=/scratch/kocevski/152816/cmap_331084801_331344001_4FGL_J0922.6+0434_daily_bin354.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 8.48
user 0.37
sys 8.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152816/ft1_filtered_4FGL_J0922.6+0434_daily_bin354.fits scfile=/scratch/kocevski/152816/ft2_4FGL_J0922.6+0434_daily_bin354.fits outfile=/scratch/kocevski/152816/cmap_HighResolution_331084801_331344001_4FGL_J0922.6+0434_daily_bin354.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 7.81
user 0.38
sys 7.40

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0985       1.0000         .10000E-03   10000.    
     2 'norm      '    4.2191       1.0000         .10000E-03   10000.    
     3 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.9069       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15922E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0980       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4010       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8534       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16651E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    .46007       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.3893       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5900.340     FROM MIGRAD    STATUS=CONVERGED    233 CALLS      940 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1063        6.2781         .0000        .13014E-01
   2  norm          4.2410        5.5082         .0000        .71539E-03
   3  norm          .10000E-03    2.4492         .0000    ** at limit **
   4  norm          .10000E-03    3.9497         .0000    ** at limit **
   5  Prefactor     5.9121        9.4587         .0000       -.43270E-03
   6  Prefactor     .10000E-03    1.2907         .0000    ** at limit **
   7  Prefactor     .10000E-03    9.8517         .0000    ** at limit **
   8  Prefactor     3.1277        8.6374         .0000        .30013E-03
   9  norm          1.4012        1.5223         .0000        .63331E-03
  10  norm          1.8536        .65603         .0000        .56534E-03
  11  Prefactor     .10000E-03    6.3519         .0000    ** at limit **
  12  Normalizat    .45999        .19392         .0000        .61879E-04
  13  Prefactor     1.3893        .16426         .0000        .19655E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.1063
  norm       = 4.24104
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.91215
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.12766
  norm       = 1.40123
  norm       = 1.85357
  Prefactor  = 0.0001
  Normalizat = 0.459991
  Prefactor  = 1.38926
 **********
 **   18 **HESSE 
 **********

 FCN=   5900.340     FROM HESSE     STATUS=OK           147 CALLS     1087 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1063        6.2598        .14245E-02   -1.5418    
   2  norm          4.2410        5.5047        .19618E-03   -1.5296    
   3  norm          .10000E-03    2.5333        .23458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.0244        .14902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9121        9.4469        .16523E-03   -1.5222    
   6  Prefactor     .10000E-03    1.3026        .85176E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.8590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.1277        8.6191        .23040E-03   -1.5354    
   9  norm          1.4012        1.4975        .91706E-04   -1.5471    
  10  norm          1.8536        .65242        .35376E-04   -1.5436    
  11  Prefactor     .10000E-03    6.3680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .45999        .21031        .35424E-03   -1.1431    
  13  Prefactor     1.3893        .18044        .18447E-03   -.80690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.76991e-10
Minuit parameter uncertainties:
  1  6.2617
  2  5.50535
  3  2.42171e-06
  4  9.91133e-06
  5  9.44931
  6  4.51376e-06
  7  1.97864e-06
  8  8.62253
  9  1.49753
  10  0.652418
  11  1.82598e-05
  12  0.210669
  13  0.180521
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  4.514e-06  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.389e+00  1.805e-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:  4.600e-01  2.107e-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: 6.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152816/likelihoodResults_331084801_331344001_4FGL_J0922.6+0434_daily_bin354.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) = 5900.34365995
delta logL = -0.00360909427491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5900.34005087
delta logL = -1.65646270034e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4799       1.0000          .0000       10.000    
     3 'Normalizat'    .46000       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3893       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=   5900.340     FROM MIGRAD    STATUS=FAILED       102 CALLS      250 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.362        .85469E-02** at limit **
   2  Index         2.0879        8.1837        .50000       -.48814E-05
   3  Normalizat    .45999        .11916E-01    .35424E-03    .59115E-04
   4  Prefactor     1.3893        .10387E-01    .18447E-03    .14172E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5900.340     FROM SIMPLEX   STATUS=UNCHANGED    161 CALLS      411 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.362        .24059E-03** at limit **
   2  Index         2.0879        8.1837        .14461E-04   -.48814E-05
   3  Normalizat    .45999        .11916E-01    .10824E-06    .59115E-04
   4  Prefactor     1.3893        .10387E-01    .44562E-07    .14172E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5900.340     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      484 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9716        .17806E-03** at limit **
   2  Index         2.0880        7.6373        .50000       -.48478E-05
   3  Normalizat    .45999        .20565        .28339E-05    .58570E-04
   4  Prefactor     1.3893        .17946        .73788E-05    .14144E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.08803
  Normalizat = 0.459991
  Prefactor  = 1.38926
 **********
 **   18 **HESSE 
 **********

 FCN=   5900.340     FROM HESSE     STATUS=OK            27 CALLS      511 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4298        .35613E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0880        5.5257        .50000       -.62167    
   3  Normalizat    .45999        .20982        .56679E-06   -1.1431    
   4  Prefactor     1.3893        .18234        .14758E-05   -.80690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.93048e-09
Minuit parameter uncertainties:
  1  9.65074e-06
  2  83.1373
  3  0.210183
  4  0.18243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152816': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5900.34004784
delta logL = 3.01017917081e-06

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  9.651e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.088e+00  8.314e+01  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.389e+00  1.824e-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:  4.600e-01  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-03', job_status='DONE', photon_flux_upper_limit='6.26e-08', time_completed='2021-08-31 08:14:41.053743', job_id='152816', GAL2='1.39', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1630422881.05', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.39', dlogl='3.01e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='354' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:14:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 152816: <4FGL_J0922.6+0434_daily_bin354> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin354 140.667 4.5781 331084801 331344001 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 :                                   698.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             182.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

