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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin453
RA = 140.667, Dec = 4.5781
tmin = 356745601, tmax = 357004801
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='154677', job_status='RUN', time_executed='2021-08-31 08:09:26.073456', time_epoch_executed='1630422566.07' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154677

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154677/ft1_4FGL_J0922.6+0434_daily_bin453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154677/ft2_4FGL_J0922.6+0434_daily_bin453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154677/ft1_4FGL_J0922.6+0434_daily_bin453.fits outfile=/scratch/kocevski/154677/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin453.fits ra=140.667 dec=4.5781 rad=12.0 tmin=356745601.0 tmax=357004801.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 9.66
user 3.27
sys 2.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/154677/ft1_filtered_4FGL_J0922.6+0434_daily_bin453.fits" evtable="EVENTS" scfile=/scratch/kocevski/154677/ft2_4FGL_J0922.6+0434_daily_bin453.fits sctable="SC_DATA" outfile=/scratch/kocevski/154677/ltcube_356745601_357004801_4FGL_J0922.6+0434_daily_bin453.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/154677/ft2_4FGL_J0922.6+0434_daily_bin453.fits
.....................!
real 15.67
user 11.58
sys 2.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154677/ft1_filtered_4FGL_J0922.6+0434_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/154677/ft2_4FGL_J0922.6+0434_daily_bin453.fits sctable="SC_DATA" expcube=/scratch/kocevski/154677/ltcube_356745601_357004801_4FGL_J0922.6+0434_daily_bin453.fits outfile=/scratch/kocevski/154677/expmap_356745601_357004801_4FGL_J0922.6+0434_daily_bin453.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/154677/ltcube_356745601_357004801_4FGL_J0922.6+0434_daily_bin453.fits
.....................!
real 203.71
user 186.04
sys 7.39

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/154677/ft1_filtered_4FGL_J0922.6+0434_daily_bin453.fits scfile=/scratch/kocevski/154677/ft2_4FGL_J0922.6+0434_daily_bin453.fits outfile=/scratch/kocevski/154677/cmap_356745601_357004801_4FGL_J0922.6+0434_daily_bin453.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 4.05
user 0.38
sys 2.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154677/ft1_filtered_4FGL_J0922.6+0434_daily_bin453.fits scfile=/scratch/kocevski/154677/ft2_4FGL_J0922.6+0434_daily_bin453.fits outfile=/scratch/kocevski/154677/cmap_HighResolution_356745601_357004801_4FGL_J0922.6+0434_daily_bin453.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 3.83
user 0.39
sys 2.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.7669       1.0000         .10000E-03   10000.    
     4 'norm      '    .98605       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11456E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22648       1.0000         .10000E-03   10000.    
     9 'norm      '    4.4272       1.0000         .10000E-03   10000.    
    10 'norm      '    4.6655       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.0830       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .83747       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=   5196.876     FROM MIGRAD    STATUS=CONVERGED    263 CALLS      995 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.0579       -.31674E-06** at limit **
   2  norm          .10000E-03    3.2595        .59439E-07** at limit **
   3  norm          7.7688        5.3224       -.25367E-05    .74687E-03
   4  norm          .98576        3.8737       -.98439E-06   -.80096E-03
   5  Prefactor     .10000E-03    8.1902        .37650E-06** at limit **
   6  Prefactor     .10000E-03    2.4215        .19721E-06** at limit **
   7  Prefactor     .10000E-03    10.778        .44686E-07** at limit **
   8  Prefactor     .67395E-01    14.277       -.59055E-07    .45100E-04
   9  norm          4.4265        1.9454       -.10950E-06   -.95900E-04
  10  norm          4.6664        1.0832       -.28125E-07    .41356E-04
  11  Prefactor     .10000E-03    18.969        .49597E-07** at limit **
  12  Normalizat    1.0832        .20753        .10556E-05   -.25271E-04
  13  Prefactor     .83755        .16070        .14477E-06    .37859E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.7688
  norm       = 0.985764
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0673953
  norm       = 4.42651
  norm       = 4.66637
  Prefactor  = 0.0001
  Normalizat = 1.08322
  Prefactor  = 0.837552
 **********
 **   18 **HESSE 
 **********

 FCN=   5196.876     FROM HESSE     STATUS=OK           155 CALLS     1150 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.2885        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.2635        .12711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.7688        5.1117        .12561E-03   -1.5150    
   4  norm          .98576        4.2118        .29057E-03   -1.5509    
   5  Prefactor     .10000E-03    8.2169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.4843        .21581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .67395E-01    23.761        .73651E-01   -1.5656    
   9  norm          4.4265        1.9579        .62450E-04   -1.5287    
  10  norm          4.6664        1.0849        .34047E-04   -1.5276    
  11  Prefactor     .10000E-03    19.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0832        .24553        .25988E-03   -.90293    
  13  Prefactor     .83755        .19064        .23400E-03   -.98359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58751e-09
Minuit parameter uncertainties:
  1  1.09421e-05
  2  2.83381e-06
  3  5.11201
  4  4.07551
  5  1.02312e-05
  6  4.82807e-05
  7  1.19166e-06
  8  2.53006
  9  1.95798
  10  1.08486
  11  2.29498e-05
  12  0.245791
  13  0.190794
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  4.828e-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:  8.376e-01  1.908e-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.083e+00  2.458e-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.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/154677/likelihoodResults_356745601_357004801_4FGL_J0922.6+0434_daily_bin453.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) = 5196.87663232
delta logL = -0.0010620101084

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5196.87557018
delta logL = 1.31823981064e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11120E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5410       1.0000          .0000       10.000    
     3 'Normalizat'    1.0833       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83755       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=   5196.829     FROM MIGRAD    STATUS=FAILED       223 CALLS      392 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21981        22.654        .22588E-02   -.19234E-02
   2  Index         3.8176        3.2836        .34273        .33576E-04
   3  Normalizat    1.0622        .34231E-01    .25988E-03    .12687E-05
   4  Prefactor     .84635        .27506E-01    .23400E-03   -.14721E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5196.829     FROM SIMPLEX   STATUS=UNCHANGED     71 CALLS      463 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21981        22.654        .15861E-03   -.19234E-02
   2  Index         3.8176        3.2836        .29111E-02    .33576E-04
   3  Normalizat    1.0622        .34231E-01    .15092E-03    .12687E-05
   4  Prefactor     .84635        .27506E-01    .57761E-04   -.14721E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5196.829     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      497 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21981        1.9224        .90351E-04   -.37497E-04
   2  Index         3.8176        2.7786        .81824E-02    .11050E-04
   3  Normalizat    1.0622        .24493        .10395E-04   -.22748E-04
   4  Prefactor     .84635        .19207        .93600E-05   -.32794E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.219812
  Index      = 3.81761
  Normalizat = 1.06215
  Prefactor  = 0.846346
 **********
 **   18 **HESSE 
 **********

 FCN=   5196.829     FROM HESSE     STATUS=OK            25 CALLS      522 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21981        1.4298        .36140E-05   -1.5802    
   2  Index         3.8176        2.4306        .32730E-03   -.23874    
   3  Normalizat    1.0622        .24483        .20790E-05   -.90976    
   4  Prefactor     .84635        .19188        .18720E-05   -.98042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33756e-11
Minuit parameter uncertainties:
  1  1.12101
  2  2.54545
  3  0.245093
  4  0.192036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154677': 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) = 5196.8289868
delta logL = 0.0465835135274

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  2.198e-01  1.121e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  3.818e+00  2.545e+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:  8.463e-01  1.920e-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.062e+00  2.451e-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/154677/cmap_HighResolution_356745601_357004801_4FGL_J0922.6+0434_daily_bin453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.14e-03', job_status='DONE', photon_flux_upper_limit='9.18e-08', time_completed='2021-08-31 08:18:10.103065', job_id='154677', GAL2='0.85', fit_tolerance='1e-08', EG2='1.06', EG='1.08', time_epoch_completed='1630423090.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.66e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='453' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:18:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 154677: <4FGL_J0922.6+0434_daily_bin453> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin453 140.667 4.5781 356745601 357004801 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 :                                   508.49 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             262.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            736 sec.

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

