/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 152 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 = 7346
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0922.6+0434_daily_bin491
RA = 140.667, Dec = 4.5781
tmin = 366595201, tmax = 366854401
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='154719', job_status='RUN', time_executed='2021-08-31 08:09:09.504747', time_epoch_executed='1630422549.5' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='491'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154719

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154719/ft1_4FGL_J0922.6+0434_daily_bin491.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154719/ft2_4FGL_J0922.6+0434_daily_bin491.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154719/ft1_4FGL_J0922.6+0434_daily_bin491.fits outfile=/scratch/kocevski/154719/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin491.fits ra=140.667 dec=4.5781 rad=12.0 tmin=366595201.0 tmax=366854401.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 6.64
user 4.92
sys 1.47

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/154719/ft1_filtered_4FGL_J0922.6+0434_daily_bin491.fits" evtable="EVENTS" scfile=/scratch/kocevski/154719/ft2_4FGL_J0922.6+0434_daily_bin491.fits sctable="SC_DATA" outfile=/scratch/kocevski/154719/ltcube_366595201_366854401_4FGL_J0922.6+0434_daily_bin491.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/154719/ft2_4FGL_J0922.6+0434_daily_bin491.fits
.....................!
real 14.25
user 11.60
sys 1.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154719/ft1_filtered_4FGL_J0922.6+0434_daily_bin491.fits evtable="EVENTS" scfile=/scratch/kocevski/154719/ft2_4FGL_J0922.6+0434_daily_bin491.fits sctable="SC_DATA" expcube=/scratch/kocevski/154719/ltcube_366595201_366854401_4FGL_J0922.6+0434_daily_bin491.fits outfile=/scratch/kocevski/154719/expmap_366595201_366854401_4FGL_J0922.6+0434_daily_bin491.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/154719/ltcube_366595201_366854401_4FGL_J0922.6+0434_daily_bin491.fits
.....................!
real 191.76
user 185.38
sys 5.88

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/154719/ft1_filtered_4FGL_J0922.6+0434_daily_bin491.fits scfile=/scratch/kocevski/154719/ft2_4FGL_J0922.6+0434_daily_bin491.fits outfile=/scratch/kocevski/154719/cmap_366595201_366854401_4FGL_J0922.6+0434_daily_bin491.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.74
user 0.37
sys 1.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154719/ft1_filtered_4FGL_J0922.6+0434_daily_bin491.fits scfile=/scratch/kocevski/154719/ft2_4FGL_J0922.6+0434_daily_bin491.fits outfile=/scratch/kocevski/154719/cmap_HighResolution_366595201_366854401_4FGL_J0922.6+0434_daily_bin491.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.90
user 0.39
sys 1.37

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9116       1.0000         .10000E-03   10000.    
     2 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    14.340       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.5561       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.854       1.0000         .10000E-03   10000.    
     9 'norm      '    3.7795       1.0000         .10000E-03   10000.    
    10 'norm      '    .15063       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.7471       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.3504       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.2748       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=   7226.222     FROM MIGRAD    STATUS=CONVERGED    233 CALLS     1097 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9116        3.2485       -.66050E-06   -.29420E-03
   2  norm          .10000E-03    17.714        .55991E-06** at limit **
   3  norm          14.340        5.4874        .64708E-06   -.35181E-04
   4  norm          .10000E-03    2.5449       -.30632E-07** at limit **
   5  Prefactor     7.5574        15.310        .18981E-05   -.34735E-04
   6  Prefactor     .10000E-03    3.6802        .12895E-06** at limit **
   7  Prefactor     .10000E-03    11.326       -.13718E-06** at limit **
   8  Prefactor     15.844        15.812       -.98430E-05   -.31805E-04
   9  norm          3.7800        2.0480       -.11731E-06   -.34360E-03
  10  norm          .15093        .54756        .63694E-07   -.11083E-02
  11  Prefactor     8.7472        9.7270       -.13234E-06    .76613E-05
  12  Normalizat    1.3501        .21985        .14066E-05   -.62122E-04
  13  Prefactor     1.2750        .17285        .15717E-06    .16716E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.91163
  norm       = 0.0001
  norm       = 14.3405
  norm       = 0.0001
  Prefactor  = 7.55742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8438
  norm       = 3.78001
  norm       = 0.150934
  Prefactor  = 8.74724
  Normalizat = 1.35015
  Prefactor  = 1.275
 **********
 **   18 **HESSE 
 **********

 FCN=   7226.222     FROM HESSE     STATUS=OK           151 CALLS     1248 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9116        3.2316        .19559E-03   -1.5431    
   2  norm          .10000E-03    18.246        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          14.340        5.4867        .10577E-03   -1.4950    
   4  norm          .10000E-03    2.5686        .13242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.5574        15.287        .14589E-03   -1.5158    
   6  Prefactor     .10000E-03    3.7937        .31819E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.844        15.653        .10059E-03   -1.4912    
   9  norm          3.7800        2.0530        .83761E-04   -1.5319    
  10  norm          .15093        .92422        .10850E-02   -1.5630    
  11  Prefactor     8.7472        9.7277        .13553E-03   -1.5116    
  12  Normalizat    1.3501        .26494        .29908E-03   -.82082    
  13  Prefactor     1.2750        .20911        .24912E-03   -.84054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10762e-10
Minuit parameter uncertainties:
  1  3.23186
  2  4.12948e-05
  3  5.48687
  4  2.69556e-06
  5  15.2949
  6  1.67578e-05
  7  4.221e-06
  8  15.6567
  9  2.05302
  10  0.746753
  11  9.72941
  12  0.265205
  13  0.209244
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  1.676e-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.275e+00  2.092e-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.350e+00  2.652e-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: 9.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/154719/likelihoodResults_366595201_366854401_4FGL_J0922.6+0434_daily_bin491.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) = 7226.22296308
delta logL = -0.00125681577447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7226.22170668
delta logL = -4.20802280132e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4981       1.0000          .0000       10.000    
     3 'Normalizat'    1.3501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2751       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=   7226.222     FROM MIGRAD    STATUS=FAILED        92 CALLS      251 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10240E-03    4.0773        .31911E-02** at limit **
   2  Index         2.7131        6.3467        .50000       -.12529E-04
   3  Normalizat    1.3501        .25412        .29908E-03    .10963E-03
   4  Prefactor     1.2750        .20754        .24912E-03    .12545E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7226.222     FROM SIMPLEX   STATUS=UNCHANGED     97 CALLS      348 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10240E-03    4.0773        .31776E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7131        6.3467        .41186E-02   -.47504    
   3  Normalizat    1.3501        .25412        .17255E-03   -.82082    
   4  Prefactor     1.2750        .20754        .40098E-04   -.84054    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7226.222     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      380 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4300        .63822E-03** at limit **
   2  Index         2.7136        6.3538        .50000       -.12224E-04
   3  Normalizat    1.3501        .25435        .11963E-04   -.52077E-03
   4  Prefactor     1.2750        .20774        .49823E-04   -.50455E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.71361
  Normalizat = 1.35014
  Prefactor  = 1.275
 **********
 **   18 **HESSE 
 **********

 FCN=   7226.222     FROM HESSE     STATUS=OK            29 CALLS      409 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0617        .12764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7136        6.3458        .50000       -.47493    
   3  Normalizat    1.3501        .25447        .23926E-05   -.82082    
   4  Prefactor     1.2750        .20783        .99647E-05   -.84054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37463e-10
Minuit parameter uncertainties:
  1  5.0745e-05
  2  4.45506
  3  0.254705
  4  0.207963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154719': 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) = 7226.22170542
delta logL = 8.42122972244e-07

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  5.074e-05  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.714e+00  4.455e+00  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.275e+00  2.080e-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.350e+00  2.547e-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/154719/cmap_HighResolution_366595201_366854401_4FGL_J0922.6+0434_daily_bin491.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.69e-03', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2021-08-31 08:17:56.276882', job_id='154719', GAL2='1.27', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1630423076.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='8.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='491' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:17:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 154719: <4FGL_J0922.6+0434_daily_bin491> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin491> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 31 08:06:00 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:06:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 08:06:02 2021
Terminated at Tue Aug 31 08:17:57 2021
Results reported at Tue Aug 31 08:17:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin491 140.667 4.5781 366595201 366854401 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 :                                   539.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            717 sec.

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

