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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin49
RA = 140.667, Dec = 4.5781
tmin = 252028801, tmax = 252288001
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='150489', job_status='RUN', time_executed='2021-08-31 07:52:47.157669', time_epoch_executed='1630421567.16' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='49'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/150489

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/150489/ft1_4FGL_J0922.6+0434_daily_bin49.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/150489/ft2_4FGL_J0922.6+0434_daily_bin49.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/150489/ft1_4FGL_J0922.6+0434_daily_bin49.fits outfile=/scratch/kocevski/150489/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin49.fits ra=140.667 dec=4.5781 rad=12.0 tmin=252028801.0 tmax=252288001.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.48
user 1.25
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/150489/ft1_filtered_4FGL_J0922.6+0434_daily_bin49.fits" evtable="EVENTS" scfile=/scratch/kocevski/150489/ft2_4FGL_J0922.6+0434_daily_bin49.fits sctable="SC_DATA" outfile=/scratch/kocevski/150489/ltcube_252028801_252288001_4FGL_J0922.6+0434_daily_bin49.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/150489/ft2_4FGL_J0922.6+0434_daily_bin49.fits
.....................!
real 12.67
user 12.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/150489/ft1_filtered_4FGL_J0922.6+0434_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/150489/ft2_4FGL_J0922.6+0434_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/150489/ltcube_252028801_252288001_4FGL_J0922.6+0434_daily_bin49.fits outfile=/scratch/kocevski/150489/expmap_252028801_252288001_4FGL_J0922.6+0434_daily_bin49.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/150489/ltcube_252028801_252288001_4FGL_J0922.6+0434_daily_bin49.fits
.....................!
real 191.11
user 186.56
sys 4.18

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/150489/ft1_filtered_4FGL_J0922.6+0434_daily_bin49.fits scfile=/scratch/kocevski/150489/ft2_4FGL_J0922.6+0434_daily_bin49.fits outfile=/scratch/kocevski/150489/cmap_252028801_252288001_4FGL_J0922.6+0434_daily_bin49.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.65
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/150489/ft1_filtered_4FGL_J0922.6+0434_daily_bin49.fits scfile=/scratch/kocevski/150489/ft2_4FGL_J0922.6+0434_daily_bin49.fits outfile=/scratch/kocevski/150489/cmap_HighResolution_252028801_252288001_4FGL_J0922.6+0434_daily_bin49.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.55
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5173       1.0000         .10000E-03   10000.    
     2 'norm      '    15.159       1.0000         .10000E-03   10000.    
     3 'norm      '    9.0345       1.0000         .10000E-03   10000.    
     4 'norm      '    22.962       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.4592       1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.5520       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.892       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.1047       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .94596       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=   9143.467     FROM MIGRAD    STATUS=CONVERGED    227 CALLS      968 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5174        3.7594        .36504E-06    .41294E-04
   2  norm          15.159        7.8974        .10035E-06   -.20480E-04
   3  norm          9.0351        3.9169       -.51379E-07   -.15057E-03
   4  norm          22.960        7.2591       -.98109E-06    .13146E-03
   5  Prefactor     .10000E-03    28.905       -.13234E-04** at limit **
   6  Prefactor     .10000E-03    1.0541       -.81039E-08** at limit **
   7  Prefactor     .10000E-03    27.911        .12782E-04** at limit **
   8  Prefactor     3.4523        11.086        .24708E-05   -.15576E-03
   9  norm          .10000E-03    .35514       -.39894E-08** at limit **
  10  norm          2.5522        .69125       -.35093E-07   -.48708E-03
  11  Prefactor     11.893        11.354       -.68774E-06   -.38754E-04
  12  Normalizat    1.1046        .15711        .15165E-06    .49722E-04
  13  Prefactor     .94603        .12589        .25490E-07    .55789E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.51736
  norm       = 15.1591
  norm       = 9.03508
  norm       = 22.96
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.45233
  norm       = 0.0001
  norm       = 2.55217
  Prefactor  = 11.8928
  Normalizat = 1.10462
  Prefactor  = 0.946032
 **********
 **   18 **HESSE 
 **********

 FCN=   9143.467     FROM HESSE     STATUS=OK           151 CALLS     1119 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5174        3.7612        .18690E-03   -1.5333    
   2  norm          15.159        7.8972        .10287E-03   -1.4929    
   3  norm          9.0351        3.9222        .11851E-03   -1.5107    
   4  norm          22.960        7.2447        .83592E-04   -1.4749    
   5  Prefactor     .10000E-03    29.256        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.0661        .95821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.4523        10.960        .21744E-03   -1.5336    
   9  norm          .10000E-03    .63886        .11025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5522        .69015        .38870E-04   -1.5388    
  11  Prefactor     11.893        11.376        .11617E-03   -1.5018    
  12  Normalizat    1.1046        .18567        .26226E-03   -.89604    
  13  Prefactor     .94603        .14902        .23175E-03   -.94551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27234e-10
Minuit parameter uncertainties:
  1  3.76143
  2  7.89775
  3  3.92234
  4  7.245
  5  0.000261638
  6  1.17654e-06
  7  6.91246e-06
  8  10.966
  9  6.46757e-07
  10  0.690157
  11  11.3781
  12  0.185776
  13  0.149087
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  1.177e-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:  9.460e-01  1.491e-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.105e+00  1.858e-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.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/150489/likelihoodResults_252028801_252288001_4FGL_J0922.6+0434_daily_bin49.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) = 9143.47186984
delta logL = -0.00445686060266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9143.4674129
delta logL = 7.97826942289e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4823       1.0000          .0000       10.000    
     3 'Normalizat'    1.1046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94603       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=   9143.467     FROM MIGRAD    STATUS=FAILED        85 CALLS      241 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10036E-03    36.005        .95997E-03** at limit **
   2  Index         2.4426        8.0471        .50000        .42392E-04
   3  Normalizat    1.1046        .23461E-01    .26226E-03    .22394E-03
   4  Prefactor     .94603        .19454E-01    .23175E-03    .24243E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9143.467     FROM SIMPLEX   STATUS=PROGRESS     136 CALLS      377 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10016E-03    36.005        .11601E-03** at limit **
   2  Index         2.4414        8.0471        .38287E-03    .42392E-04
   3  Normalizat    1.1046        .23461E-01    .29454E-05    .22394E-03
   4  Prefactor     .94603        .19454E-01    .31214E-05    .24243E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9143.467     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      426 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    183.27        .19199E-03** at limit **
   2  Index         2.2752        5.2554        .50000        .19918E-07
   3  Normalizat    1.1046        .69340E-01    .10490E-04    .24709E-04
   4  Prefactor     .94603        .57447E-01    .92702E-05    .23546E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.27517
  Normalizat = 1.10462
  Prefactor  = 0.946032
 **********
 **   18 **HESSE 
 **********

 FCN=   9143.467     FROM HESSE     STATUS=OK            29 CALLS      455 TOTAL
                     EDM=   .53E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3009        .38399E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2752        8.2530        .50000       -.57635    
   3  Normalizat    1.1046        .17969        .20981E-05   -.89604    
   4  Prefactor     .94603        .14899        .18540E-05   -.94551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.34264e-13
Minuit parameter uncertainties:
  1  3.45218e-07
  2  67.0311
  3  0.17979
  4  0.149059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/150489': 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) = 9143.46741165
delta logL = 1.33029061544e-06

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  3.452e-07  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.275e+00  6.703e+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:  9.460e-01  1.491e-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.105e+00  1.798e-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/150489/cmap_HighResolution_252028801_252288001_4FGL_J0922.6+0434_daily_bin49.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-03', job_status='DONE', photon_flux_upper_limit='5.10e-08', time_completed='2021-08-31 08:01:43.532130', job_id='150489', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630422103.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.33e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='49' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:01:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 150489: <4FGL_J0922.6+0434_daily_bin49> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin49> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 07:52:26 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:52:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 07:52:27 2021
Terminated at Tue Aug 31 08:01:44 2021
Results reported at Tue Aug 31 08:01:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin49 140.667 4.5781 252028801 252288001 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 :                                   527.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            558 sec.

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

