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


Performing analysis on: 4FGL_J2022.3-4513_daily_bin271
RA = 305.591, Dec = -45.2228
tmin = 309571201, tmax = 309830401
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='846377', job_status='RUN', time_executed='2021-09-25 00:36:50.770849', time_epoch_executed='1632555410.77' WHERE source_name='4FGL J2022.3-4513' and cadence='daily' and bin_id='271'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846377

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846377/ft1_4FGL_J2022.3-4513_daily_bin271.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846377/ft1_4FGL_J2022.3-4513_daily_bin271.fits outfile=/scratch/kocevski/846377/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin271.fits ra=305.591 dec=-45.2228 rad=12.0 tmin=309571201.0 tmax=309830401.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 5.49
user 5.11
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.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/846377/ft1_filteredMKT_4FGL_J2022.3-4513_daily_bin271.fits evtable="EVENTS" outfile="/scratch/kocevski/846377/ft1_filtered_4FGL_J2022.3-4513_daily_bin271.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.61
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846377/ft1_filtered_4FGL_J2022.3-4513_daily_bin271.fits" evtable="EVENTS" scfile=/scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits sctable="SC_DATA" outfile=/scratch/kocevski/846377/ltcube_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.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/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits
.....................!
real 15.39
user 14.86
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846377/ft1_filtered_4FGL_J2022.3-4513_daily_bin271.fits evtable="EVENTS" scfile=/scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits sctable="SC_DATA" expcube=/scratch/kocevski/846377/ltcube_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.fits outfile=/scratch/kocevski/846377/expmap_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.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/846377/ltcube_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.fits
.....................!
real 159.50
user 155.19
sys 3.54

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J2022.3-4513 @ 305.591 -45.2228

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/846377/ft1_filtered_4FGL_J2022.3-4513_daily_bin271.fits scfile=/scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits outfile=/scratch/kocevski/846377/cmap_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.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=305.591 yref=-45.2228 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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846377/ft1_filtered_4FGL_J2022.3-4513_daily_bin271.fits scfile=/scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits outfile=/scratch/kocevski/846377/cmap_HighResolution_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.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=305.591 yref=-45.2228 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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/846377/ft1_filtered_4FGL_J2022.3-4513_daily_bin271.fits evtable="EVENTS" scfile=/scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846377/Model_4FGL_J2022.3-4513_daily_bin271.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/846377/ft1_filtered_4FGL_J2022.3-4513_daily_bin271.fits.....................!
real 75.54
user 73.72
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/846377/ft1_filtered_4FGL_J2022.3-4513_daily_bin271.fits', '/scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits', expMap='/scratch/kocevski/846377/expmap_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.fits', expCube='/scratch/kocevski/846377/ltcube_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/846377/Model_4FGL_J2022.3-4513_daily_bin271.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.3-4513'

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.021e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.021e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/846377/ft1_filtered_4FGL_J2022.3-4513_daily_bin271.fits
Spacecraft file(s): /scratch/kocevski/846377/ft2_4FGL_J2022.3-4513_daily_bin271.fits
Exposure map: /scratch/kocevski/846377/expmap_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.fits
Exposure cube: /scratch/kocevski/846377/ltcube_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/846377/Model_4FGL_J2022.3-4513_daily_bin271.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) = 12286.0857489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1142       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10353E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .92338       1.0000         .10000E-03   10000.    
     6 'norm      '    8.5627       1.0000         .10000E-03   10000.    
     7 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2837       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10700E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .12998E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.1264       1.0000         .10000E-03   10000.    
    13 'Prefactor '    108.32       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.3994       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10550E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.1350       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14404E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7403       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0221       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0418       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12286.08     FROM MIGRAD    STATUS=CONVERGED    418 CALLS     2049 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1181        6.5335        .28319E-06   -.19234E-03
   2  Prefactor     .10000E-03    4.7351        .15745E-06** at limit **
   3  Prefactor     .10000E-03    3.6558        .91092E-07** at limit **
   4  norm          .10000E-03    7.9753       -.32886E-05** at limit **
   5  norm          .92379        .68900        .33906E-08   -.12518E-02
   6  norm          8.5649        6.5861        .17179E-06   -.21254E-04
   7  norm          .10000E-03    10.039       -.81944E-05** at limit **
   8  norm          1.2840        1.0936        .20999E-07   -.50527E-03
   9  Prefactor     .10000E-03    39.622        .91834E-07** at limit **
  10  norm          .10000E-03    1.2275       -.20415E-07** at limit **
  11  norm          .10000E-03    7.4096        .21902E-05** at limit **
  12  Prefactor     5.1280        14.531       -.53426E-05   -.13629E-03
  13  Prefactor     108.38        59.265        .41781E-04   -.92785E-05
  14  Prefactor     5.3976        2.8383        .12988E-06   -.62226E-03
  15  Prefactor     .10000E-03    9.7468        .10283E-04** at limit **
  16  norm          3.1347        1.5142       -.17185E-06   -.85929E-03
  17  Prefactor     .10000E-03    171.48        .14344E-04** at limit **
  18  Prefactor     4.7423        6.3210        .68902E-07   -.30793E-03
  19  Normalizat    1.0219        .18803       -.56039E-05    .70466E-04
  20  Prefactor     1.0417        .83194E-01    .60226E-06   -.40359E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11806
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.923791
  norm       = 8.56492
  norm       = 0.0001
  norm       = 1.28403
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.12805
  Prefactor  = 108.383
  Prefactor  = 5.39758
  Prefactor  = 0.0001
  norm       = 3.13473
  Prefactor  = 0.0001
  Prefactor  = 4.74235
  Normalizat = 1.02191
  Prefactor  = 1.04172
 **********
 **   18 **HESSE 
 **********

 FCN=   12286.08     FROM HESSE     STATUS=OK           295 CALLS     2344 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1181        6.5303        .14075E-03   -1.5138    
   2  Prefactor     .10000E-03    4.7360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.6861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.9945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .92379        .66181        .76316E-03   -1.5516    
   6  norm          8.5649        6.5823        .13699E-03   -1.5123    
   7  norm          .10000E-03    10.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2840        1.0812        .10390E-03   -1.5481    
   9  Prefactor     .10000E-03    40.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.1416        .23844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    7.4244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.1280        14.513        .17757E-03   -1.5255    
  13  Prefactor     108.38        59.232        .19322E-03   -1.3622    
  14  Prefactor     5.3976        2.8390        .13051E-03   -1.5243    
  15  Prefactor     .10000E-03    9.8028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1347        1.5154        .90181E-04   -1.5354    
  17  Prefactor     .10000E-03    173.28        .20502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7423        6.3282        .18481E-03   -1.5272    
  19  Normalizat    1.0219        .21977        .37113E-03   -.92300    
  20  Prefactor     1.0417        .98059E-01    .16739E-03   -.91352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7843e-10
Minuit parameter uncertainties:
  1  6.53087
  2  3.12925e-06
  3  1.50252e-05
  4  6.61227e-06
  5  0.661811
  6  6.58289
  7  6.58967e-05
  8  1.08122
  9  6.88965e-05
  10  2.98885e-06
  11  5.34909e-05
  12  14.5227
  13  59.2642
  14  2.83902
  15  1.9578e-05
  16  1.5154
  17  0.000403731
  18  6.32906
  19  0.219963
  20  0.0980754
Done.

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

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  2.989e-06  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  2.021e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.042e+00  9.808e-02  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.022e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 305.591 -45.223
Photon Flux Upper Limit: 4.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846377/likelihoodResults_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.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) = 12286.08282
delta logL = -0.00151320929581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12286.0813064
delta logL = 3.82859070669e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10902E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9666       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0418       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+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=   12286.08     FROM MIGRAD    STATUS=FAILED        96 CALLS      253 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10924E-03    158.95        .25100E-02** at limit **
   2  alpha         1.6629        3.1673        .50000        .15655E-04
   3  Normalizat    1.0219        .24361E-01    .37114E-03    .15818E-03
   4  Prefactor     1.0417        .11159E-01    .16739E-03    .20552E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12286.08     FROM SIMPLEX   STATUS=PROGRESS     130 CALLS      383 TOTAL
                     EDM=   .59E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10888E-03    158.95        .31521E-03** at limit **
   2  alpha         1.6626        3.1673        .20447E-03    .15655E-04
   3  Normalizat    1.0219        .24361E-01    .45418E-05    .15818E-03
   4  Prefactor     1.0417        .11159E-01    .20141E-05    .20552E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12286.08     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      433 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    746.09        .50200E-03** at limit **
   2  alpha         1.6004        2.6528        .50000       -.12146E-06
   3  Normalizat    1.0219        .60721E-01    .14846E-04    .68922E-04
   4  Prefactor     1.0417        .27817E-01    .33477E-04    .79737E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.60044
  Normalizat = 1.0219
  Prefactor  = 1.04172
 **********
 **   18 **HESSE 
 **********

 FCN=   12286.08     FROM HESSE     STATUS=OK            29 CALLS      462 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.322        .10040E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6004        2.7360        .50000       -.36808    
   3  Normalizat    1.0219        .20960        .29691E-05   -.92300    
   4  Prefactor     1.0417        .96061E-01    .66954E-05   -.91351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89226e-11
Minuit parameter uncertainties:
  1  1.89145e-05
  2  102.133
  3  0.209771
  4  0.0960773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846377': 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) = 12286.0812989
delta logL = 7.8574885265e-06

Extracting fit parameters...

4FGL J2022.3-4513
   Spectrum: LogParabola
302         norm:  1.000e-04  1.891e-05  1.000e-04  1.000e+04 ( 1.000e-12)
303        alpha:  1.600e+00  1.021e+02  0.000e+00  5.000e+00 ( 1.000e+00)
304         beta:  1.015e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
305           Eb:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.042e+00  9.608e-02  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.022e+00  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 305.591 -45.223

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/846377/cmap_HighResolution_309571201_309830401_4FGL_J2022.3-4513_daily_bin271.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.48e-05', job_status='DONE', photon_flux_upper_limit='4.28e-08', time_completed='2021-09-25 00:49:48.075455', job_id='846377', GAL2='1.04', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632556188.08', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='7.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='271' AND source_name='4FGL J2022.3-4513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 00:49:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 846377: <4FGL_J2022.3-4513_daily_bin271> in cluster <slac> Done

Job <4FGL_J2022.3-4513_daily_bin271> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 00:36:06 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 00:36:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 00:36:35 2021
Terminated at Sat Sep 25 00:49:48 2021
Results reported at Sat Sep 25 00:49:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.3-4513_daily_bin271 305.591 -45.2228 309571201 309830401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2022.3-4513 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   773.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            822 sec.

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

