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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin625
RA = 140.667, Dec = 4.5781
tmin = 401328001, tmax = 401587201
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='154983', job_status='RUN', time_executed='2021-08-31 08:10:34.950048', time_epoch_executed='1630422634.95' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154983

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154983/ft1_4FGL_J0922.6+0434_daily_bin625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154983/ft2_4FGL_J0922.6+0434_daily_bin625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154983/ft1_4FGL_J0922.6+0434_daily_bin625.fits outfile=/scratch/kocevski/154983/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin625.fits ra=140.667 dec=4.5781 rad=12.0 tmin=401328001.0 tmax=401587201.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 3.89
user 3.15
sys 0.70

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154983/ft1_filtered_4FGL_J0922.6+0434_daily_bin625.fits evtable="EVENTS" scfile=/scratch/kocevski/154983/ft2_4FGL_J0922.6+0434_daily_bin625.fits sctable="SC_DATA" expcube=/scratch/kocevski/154983/ltcube_401328001_401587201_4FGL_J0922.6+0434_daily_bin625.fits outfile=/scratch/kocevski/154983/expmap_401328001_401587201_4FGL_J0922.6+0434_daily_bin625.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/154983/ltcube_401328001_401587201_4FGL_J0922.6+0434_daily_bin625.fits
.....................!
real 189.91
user 184.73
sys 4.79

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/154983/ft1_filtered_4FGL_J0922.6+0434_daily_bin625.fits scfile=/scratch/kocevski/154983/ft2_4FGL_J0922.6+0434_daily_bin625.fits outfile=/scratch/kocevski/154983/cmap_401328001_401587201_4FGL_J0922.6+0434_daily_bin625.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.01
user 0.36
sys 0.64

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154983/ft1_filtered_4FGL_J0922.6+0434_daily_bin625.fits scfile=/scratch/kocevski/154983/ft2_4FGL_J0922.6+0434_daily_bin625.fits outfile=/scratch/kocevski/154983/cmap_HighResolution_401328001_401587201_4FGL_J0922.6+0434_daily_bin625.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.03
user 0.37
sys 0.64

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24344E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .15268E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.1035       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6401       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.8483       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.966       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6746       1.0000         .10000E-03   10000.    
    10 'norm      '    .78380       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.5970       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.3046       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .75900       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.

 FCN=   5348.929     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     1089 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.0246        .90712E-02** at limit **
   2  norm          .10000E-03    3.2192        .90712E-02** at limit **
   3  norm          .10000E-03    1.9301        .90712E-02** at limit **
   4  norm          9.1118        7.3418        .33209E-02    .71648E-04
   5  Prefactor     7.7324        19.934        .36271E-02    .33366E-04
   6  Prefactor     .10000E-03    1.6086        .90712E-02** at limit **
   7  Prefactor     4.6493        81.288        .45673E-02    .31071E-03
   8  Prefactor     17.893        16.813        .23623E-02    .36796E-03
   9  norm          2.6745        1.2812        .62296E-02    .67300E-04
  10  norm          .78419        .78787        .12379E-01    .89468E-03
  11  Prefactor     7.6140        8.1455        .36374E-02   -.49464E-04
  12  Normalizat    1.3046        .19945        .52979E-01    .88135E-06
  13  Prefactor     .75906        .15608        .43181E-01    .12020E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 9.11183
  Prefactor  = 7.73237
  Prefactor  = 0.0001
  Prefactor  = 4.64929
  Prefactor  = 17.8934
  norm       = 2.67452
  norm       = 0.784186
  Prefactor  = 7.61402
  Normalizat = 1.30456
  Prefactor  = 0.759064
 **********
 **   18 **HESSE 
 **********

 FCN=   5348.929     FROM HESSE     STATUS=OK           151 CALLS     1240 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.0391        .14328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.2263        .12816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.9739        .99184E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.1118        7.3411        .13284E-03   -1.5104    
   5  Prefactor     7.7324        19.799        .14508E-03   -1.5152    
   6  Prefactor     .10000E-03    1.6307        .90545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6493        80.263        .91347E-03   -1.5277    
   8  Prefactor     17.893        16.785        .47246E-03   -1.4862    
   9  norm          2.6745        1.2835        .55165E-04   -1.5381    
  10  norm          .78419        .75929        .60262E-03   -1.5531    
  11  Prefactor     7.6140        8.1487        .14550E-03   -1.5156    
  12  Normalizat    1.3046        .23639        .23425E-03   -.83430    
  13  Prefactor     .75906        .18458        .23956E-03   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79612e-12
Minuit parameter uncertainties:
  1  7.64283e-07
  2  5.91159e-07
  3  9.71228e-08
  4  7.34185
  5  19.8154
  6  1.95566e-07
  7  38.6955
  8  16.7894
  9  1.28347
  10  0.759295
  11  8.14988
  12  0.236587
  13  0.184733
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  1.956e-07  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:  7.591e-01  1.847e-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.305e+00  2.366e-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: 7.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/154983/likelihoodResults_401328001_401587201_4FGL_J0922.6+0434_daily_bin625.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) = 5348.93140764
delta logL = -0.00290479478917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5348.92850293
delta logL = -7.66040102462e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4687       1.0000          .0000       10.000    
     3 'Normalizat'    1.3046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75908       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5348.928     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      249 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.1650        .92072E-02** at limit **
   2  Index         2.0320        7.7444        .50000        .34977E-06
   3  Normalizat    1.3046        .10572E-01    .23425E-03   -.59057E-03
   4  Prefactor     .75906        .85341E-02    .23956E-03   -.56979E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.03196
  Normalizat = 1.30456
  Prefactor  = 0.759063
 **********
 **   18 **HESSE 
 **********

 FCN=   5348.928     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    98.012        .10098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0320        5.6695        .50000       -.63554    
   3  Normalizat    1.3046        .36259E-01    .46850E-04   -.83430    
   4  Prefactor     .75906        .29270E-01    .47912E-04   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.29228e-09
Minuit parameter uncertainties:
  1  2.20571e-05
  2  479.138
  3  0.0362597
  4  0.0292702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154983': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5348.92849696
delta logL = 5.88435887039e-06

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  2.206e-05  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.032e+00  4.791e+02  0.000e+00  1.000e+01 (-1.000e+00)
238        Scale:  7.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  7.591e-01  2.927e-02  0.000e+00  1.000e+01 ( 1.000e+00)
462        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
463        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
460   Normalization:  1.305e+00  3.626e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.02e-08', time_completed='2021-08-31 08:17:58.542660', job_id='154983', GAL2='0.76', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1630423078.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='5.88e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='625' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:17:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 154983: <4FGL_J0922.6+0434_daily_bin625> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin625 140.667 4.5781 401328001 401587201 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 :                                   450.36 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            694 sec.

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

